]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.old/ChangeLog.18
Add more bug numbers to historic ChangeLog entries
[thirdparty/glibc.git] / ChangeLog.old / ChangeLog.18
CommitLineData
edf66db1 12017-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
92c3af3c 2
edf66db1
SP
3 * version.h (RELEASE): Set to "development"
4 (VERSION): Set to 2.26.90.
5 * NEWS: Add 2.27 section.
92c3af3c 6
edf66db1
SP
7 * version.h (RELEASE): Set to "stable"
8 (VERSION): Set to 2.26.
9 * include/features.h (__GLIBC_MINOR__): Set to 26.
92c3af3c 10
edf66db1
SP
11 * manual/contrib.texi: Update contributors.
12 * manual/install.texi: Update latest tested versions of gcc and
13 binutils.
14 * INSTALL: Regenerate.
92c3af3c 15
edf66db1 16 * NEWS: Add bugs fixed.
92c3af3c 17
edf66db1 18 * po/fr.po: Update translations.
92c3af3c 19
edf66db1 202017-08-01 Siddhesh Poyarekar <siddhesh@sourceware.org>
92c3af3c 21
edf66db1 22 * NEWS: Update security-related changes.
92c3af3c 23
edf66db1 242017-07-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
92c3af3c 25
edf66db1
SP
26 * po/be.po: Update translations.
27 * po/ko.po: Likewise.
28 * po/nl.po: Likewise.
29 * po/ru.po: Likewise.
92c3af3c 30
edf66db1
SP
312017-07-29 Torvald Riegel <triegel@redhat.com>
32 Carlos O'Donell <carlos@redhat.com>
33
34 [BZ 21778]
35 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Update
36 oldval if the CAS fails.
37 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
38 * nptl/tst-mutex7.c: Add comments explaining template test.
39 (ROBUST, DELAY_NSEC, ROUNDS, N): New.
40 (tf, do_test): Use them.
41 * nptl/tst-mutex7robust.c: New file.
42 * nptl/Makefile (tests): Add new test.
43
442017-07-28 Nathan Rossi <nathan@nathanrossi.com>
45
46 [BZ #21779]
47 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
48
49 * sysdeps/microblaze/libm-test-ulps: Update.
50
512017-07-28 Chung-Lin Tang <cltang@codesourcery.com>
52
53 * sysdeps/nios2/libm-test-ulps: Update.
54
552017-07-28 Torvald Riegel <triegel@redhat.com>
56 Carlos O'Donell <carlos@redhat.com>
57
58 [BZ #21298]
59 * nptl/Makefile (tests-internal): Add tst-rwlock20.
60 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Fix
61 explicit hand-over.
62 (__pthread_rwlock_wrlock_full): Likewise.
63 * nptl/tst-rwlock20.c: New file.
64 * support/Makefile (libsupport-routines): Add xpthread_rwlock_init,
65 xpthread_rwlock_rdlock, xpthread_rwlock_unlock,
66 xpthread_rwlock_wrlock, xpthread_rwlockattr_init, and
67 xpthread_rwlockattr_setkind_np.
68 * support/xpthread_rwlock_init.c: New file.
69 * support/xpthread_rwlock_rdlock.c: New file.
70 * support/xpthread_rwlock_unlock.c: New file.
71 * support/xpthread_rwlock_wrlock.c: New file.
72 * support/xpthread_rwlockattr_init.c: New file.
73 * support/xpthread_rwlockattr_setkind_np.c: New file.
74 * support/xthread.h: Add xpthread_rwlock_init, xpthread_rwlock_rdlock,
75 xpthread_rwlock_unlock, xpthread_rwlock_wrlock,
76 xpthread_rwlockattr_init, and xpthread_rwlockattr_setkind_np
77 prototypes.
92c3af3c 78
edf66db1 792017-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
92c3af3c 80
edf66db1 81 * sysdeps/alpha/fpu/libm-test-ulps: Update.
92c3af3c 82
edf66db1 832017-07-27 Mike FABIAN <mfabian@redhat.com>
92c3af3c 84
edf66db1 85 * locale/iso-639.def: add North and South Azerbaijani.
92c3af3c 86
edf66db1 872017-07-27 Rical Jasan <ricaljasan@pacific.net>
92c3af3c 88
edf66db1
SP
89 * manual/lang.texi (CHAR_BIT): Convert from an @table to an
90 @deftypevr. Change standard from ISO to C90. Mention the
91 POSIX.1-2001 requirement of the value 8.
92c3af3c 92
edf66db1 932017-07-27 Rical Jasan <ricaljasan@pacific.net>
92c3af3c 94
edf66db1
SP
95 * manual/creature.texi (_REENTRANT): Annotate as obsolete.
96 (_THREAD_SAFE): Likewise.
92c3af3c 97
edf66db1 982017-07-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
92c3af3c 99
edf66db1
SP
100 * po/bg.po: Update translations.
101 * po/cs.po: Likewise.
102 * po/de.po: Likewise.
103 * po/pl.po: Likewise.
104 * po/uk.po: Likewise.
105 * po/vi.po: Likewise.
92c3af3c 106
edf66db1 1072017-07-26 Mike FABIAN <mfabian@redhat.com>
92c3af3c 108
edf66db1
SP
109 [BZ #21828]
110 * NEWS: Mention that the Unicode 10.0.0 update causes user visible changes.
92c3af3c 111
edf66db1 1122017-07-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
92c3af3c 113
edf66db1 114 * po/sv.po: Update Translation.
92c3af3c 115
edf66db1
SP
1162017-07-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
117 Paul Eggert <eggert@cs.ucla.edu>
92c3af3c 118
edf66db1
SP
119 * timezone.zic (PRIdLINENO): Remove.
120 (verror): Use PRIdMAX.
121 * po/libc.pot: Regenerate.
92c3af3c 122
edf66db1
SP
1232017-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
124 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 125
edf66db1
SP
126 [BZ #21744]
127 * elf/dl-tunables.c: Include not-errno.h header.
128 * include/unistd.h (__access_noerrno): Remove definition.
129 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
130 * sysdeps/generic/not-errno.h: New file.
131 * sysdeps/unix/sysv/linux/not-errno.h: Likewise.
92c3af3c 132
edf66db1 1332017-07-24 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 134
edf66db1
SP
135 [BZ #21752]
136 * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down
137 __libc_argv[0] if we aren't doing backtrace. Rename do_backtrace
138 to need_backtrace.
139 * sysdeps/posix/libc_fatal.c (__libc_message): Don't call
140 __libc_secure_getenv if we aren't doing backtrace.
92c3af3c 141
edf66db1 1422017-07-24 Andreas Schwab <schwab@suse.de>
92c3af3c 143
edf66db1
SP
144 [BZ #21804]
145 * sysdeps/nptl/bits/thread-shared-types.h (__PTHREAD_SPINS_DATA)
146 [__PTHREAD_MUTEX_LOCK_ELISION && __WORDSIZE == 64]: Remove
147 trailing semicolon.
148 (struct __pthread_mutex_s): Remove semicolon after
149 __PTHREAD_COMPAT_PADDING_MID and __PTHREAD_COMPAT_PADDING_END.
150 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
151 (__PTHREAD_COMPAT_PADDING_MID, __PTHREAD_COMPAT_PADDING_END): Add
152 semicolon.
92c3af3c 153
edf66db1 1542017-07-23 Dmitry V. Levin <ldv@altlinux.org>
92c3af3c 155
edf66db1
SP
156 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H ||
157 _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined
158 later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER,
159 and PTRACE_SEIZE_DEVEL that are not defined by Linux headers.
92c3af3c 160
edf66db1 1612017-07-23 John David Anglin <danglin@gcc.gnu.org>
92c3af3c 162
edf66db1
SP
163 [BZ 19170]
164 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment.
92c3af3c 165
edf66db1 1662017-07-21 DJ Delorie <dj@redhat.com>
92c3af3c 167
edf66db1 168 * nss/tst-nss-test5.c: Correct test configuration.
92c3af3c 169
edf66db1 1702017-07-21 Steve Ellcey <sellcey@cavium.com>
92c3af3c 171
edf66db1
SP
172 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
173 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
174 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
175 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
176 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
92c3af3c 177
edf66db1 1782017-07-21 Steve Ellcey <sellcey@cavium.com>
92c3af3c 179
edf66db1 180 * nss/nss_test1.c (default_npwd_data): Fix definition.
92c3af3c 181
edf66db1 1822017-07-21 Steve Ellcey <sellcey@cavium.com>
92c3af3c 183
edf66db1
SP
184 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
185 math_force_eval.
92c3af3c 186
edf66db1 1872017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
92c3af3c 188
edf66db1 189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 190
edf66db1
SP
191 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
192 passing to syscall exit.
92c3af3c 193
edf66db1 1942017-07-19 DJ Delorie <dj@delorie.com>
92c3af3c 195
e7a57459 196 [BZ #21654]
edf66db1 197 * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
92c3af3c 198
edf66db1 1992017-07-19 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 200
edf66db1
SP
201 [BZ #21741]
202 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
203 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
204 in libc.so.
92c3af3c 205
edf66db1 2062017-07-19 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 207
edf66db1
SP
208 [BZ #21740]
209 * debug/Makefile (elide-routines.o): New.
92c3af3c 210
edf66db1 2112017-07-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
92c3af3c 212
edf66db1
SP
213 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
214 (_dl_aarch64_cap_flags): Update.
215 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
216 (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
92c3af3c 217
edf66db1 2182017-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
92c3af3c 219
edf66db1
SP
220 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
221 (_dl_hwcap_string): Check range.
92c3af3c 222
edf66db1 2232017-07-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 224
edf66db1
SP
225 [BZ #21707]
226 * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
227 relocations before or after initializing the TCB on statically
228 linked executables. That's a per-architecture definition.
229 * elf/rtld.c (dl_main): Add a comment about thread-local
230 variables initialization.
231 * sysdeps/generic/libc-start.h: New file. Define
232 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
233 * sysdeps/powerpc/Makefile:
234 [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
235 tst-tlsifunc-static.
236 [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
237 (tests-internal): Add tst-tlsifunc.
238 * sysdeps/powerpc/tst-tlsifunc.c: New file.
239 * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
240 * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
241 variable.
242 [$(subdir) = math] (test-float128% test-ifloat128%): Force
243 linking to the loader after linking to libgcc.
244 [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
245 (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
246 (tst-strfrom-locale strfrom-skeleton): Likewise.
247 * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define
248 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
249
2502017-07-17 DJ Delorie <dj@redhat.com>
251
252 * nss/nss_test.h: New.
253 * nss/nss_test1.h: Rewrite to use test-provided data. Add group
254 tests. Parameterize to allow multiple instances.
255 * nss/nss_test2.h: New. Second instance.
256 * nss/nss_test.ver: New.
257 * nss/nss_test1.c: Update to use new framework.
258 * nss/nss_test2.c: New.
259 * nss/nss_test3.c: New.
260 * nss/nss_test4.c: New.
261 * nss/nss_test5.c: New.
262 * nss/Makefile: Build new tests.
263 * shlib-versions: Add libnss_test2.
264
2652017-07-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
266
267 [BZ #21512]
268 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
269 passing to syscall exit.
270
2712017-07-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
272
273 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
274 (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
275
2762017-07-16 John David Anglin <danglin@gcc.gnu.org>
277
278 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
279 if _dl_fixup fails.
280
281 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
282 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
283 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
284 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
285
286 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
287 offset for r19 load.
288
289 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
290
291 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
292 Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack
293 pointer offset. Correct PIC register offset. Don't mention frame
294 related instructions in epilogue.
295 (PUSHARGS_1): Correct offset.
296 (PUSHARGS_2): Likewise.
297 (PUSHARGS_3): Likewise.
298 (PUSHARGS_4): Likewise.
299 (PUSHARGS_5): Likewise.
300 (PUSHARGS_6): Likewise.
301 (POPARGS_1): Don't mention register restore.
302 (POPARGS_2): Likewise.
303 (POPARGS_3): Likewise.
304 (POPARGS_4): Likewise.
305 (POPARGS_5): Likewise.
306 (POPARGS_6): Likewise.
307 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
308 copy of PIC register.
309 (LOAD_PIC): Likewise don't mention restore.
310 (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of
311 .cfi_offset. Don't record stack pointer offset. Correct PIC register
312 offset. Don't mention frame related instructions in epilogue.
313
314 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
315
316 * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
317
318 [BZ 20098]
319 * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
320 (_dl_lookup_address): Return address if it is not consistent with
321 being a linker defined function pointer. Likewise, return address
322 if address and function descriptor addresses are not accessible.
323
3242017-07-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
325
326 * po/libc.pot: Regenerate.
327
3282017-07-15 John David Anglin <danglin@gcc.gnu.org>
329
330 [BZ locale/19838]
331 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
332
333 * nptl/allocatestack.c (allocate_stack): Align old and new guard
334 addresses to page boundaries when the stack grows up.
335
336 * sysdeps/hppa/math-tests.h: New.
337
3382017-07-14 DJ Delorie <dj@redhat.com>
339
340 [BZ #21654]
341 * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
342 alignment not char alignment.
343 (__merge_grp): Likewise.
344
3452017-07-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
346 Florian Weimer <fweimer@redhat.com>
92c3af3c 347
edf66db1
SP
348 * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
349 * libio/wmemstream.c (open_wmemstream): Likewise.
350 * nptl/tst-memstream.c: New.
92c3af3c 351
edf66db1 3522017-07-12 Jiong Wang <jiong.wang@arm.com>
92c3af3c 353
edf66db1
SP
354 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0
355 of pcrel_address under Thumb mode.
92c3af3c 356
edf66db1 3572017-07-12 Akhilesh Kumar <akhilesh.k@samsung.com>
92c3af3c 358
edf66db1
SP
359 [BZ #21207]
360 * locale/iso-639.def: Add Fiji Hindi (hif).
361
3622017-07-12 John David Anglin <danglin@gcc.gnu.org>
363
364 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
365
3662017-07-12 H.J. Lu <hongjiu.lu@intel.com>
367
368 * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
369 -fstack-protector-all.
370
3712017-07-11 Chris Leonard <cjl@sugarlabs.org>
372
373 [BZ #20496]
374 * locale/iso-639.def: Add Awajún / Aguaruna (agr).
375
3762017-07-11 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
377
378 * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
379 to iterate over all possible object suffixes. Add a comment
380 explaining the use of sysdep-CFLAGS instead of CFLAGS.
381
3822017-07-11 H.J. Lu <hongjiu.lu@intel.com>
383
384 [BZ #12189]
385 * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
386 (tests): Add tst-ssp-1 if -fstack-protector works.
387 * debug/fortify_fail.c: Include <stdbool.h>.
388 (_fortify_fail_abort): New function.
389 (__fortify_fail): Call _fortify_fail_abort.
390 (__fortify_fail_abort): Add a hidden definition.
391 * debug/stack_chk_fail.c: Include <stdbool.h>.
392 (__stack_chk_fail): Call __fortify_fail_abort, instead of
393 __fortify_fail.
394 * debug/tst-ssp-1.c: New file.
395 * include/stdio.h (__libc_message_action): New enum.
396 (__libc_message): Replace int with enum __libc_message_action.
397 (__fortify_fail_abort): New hidden prototype.
398 * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
399 * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
400 with enum __libc_message_action. Call BEFORE_ABORT only if
401 action includes do_backtrace.
402 (__libc_fatal): Update __libc_message call.
92c3af3c 403
edf66db1 4042017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
92c3af3c 405
edf66db1
SP
406 [BZ #21738]
407 * manual/llio.texi (RWF_NOWAIT): New item.
408 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
409 Add RWF_NOWAIT check.
410 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
92c3af3c 411
edf66db1 4122017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 413
edf66db1
SP
414 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
415 Support running on kernels without PTRACE_SINGLEBLOCK.
92c3af3c 416
edf66db1 4172017-07-10 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 418
edf66db1
SP
419 [BZ #21742]
420 * elf/Makefile (dl-routines): Move dl-conflict to ...
421 (rtld-routines): Here.
92c3af3c 422
edf66db1 4232017-07-10 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 424
edf66db1
SP
425 [BZ #21741]
426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
427 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
428 in libc.so.
92c3af3c 429
edf66db1 4302017-07-09 John David Anglin <danglin@gcc.gnu.org>
92c3af3c 431
edf66db1 432 * sysdeps/hppa/fpu/libm-test-ulps: Update.
92c3af3c 433
edf66db1
SP
434 [BZ #21016]
435 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
436 Fix typo.
437 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
438 bits/types/struct_timespec.h.
439 (PTHREAD_MUTEX_INITIALIZER): Revise define.
440 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
441 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
442 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
443 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
444 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
445 (PTHREAD_COND_INITIALIZER): Likewise.
446 Remove old definitions.
447 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
448 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
449 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
450 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
451 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
452 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
92c3af3c 453
edf66db1 4542017-07-09 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 455
edf66db1
SP
456 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
457 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
458 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
459 * sysdeps/x86_64/multiarch/memset.c: Likewise.
460 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
461 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
462 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
463 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
464 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
465 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
466 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
467 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
468 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
469 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
470 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
471 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
472
4732017-07-09 H.J. Lu <hongjiu.lu@intel.com>
474
475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
476
4772017-07-09 Helge Deller <deller@gmx.de>
478
479 [BZ #21049]
480 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
481 up to avoid clobbering r26.
482
4832017-07-08 Andreas Schwab <schwab@linux-m68k.org>
484
485 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
486 profiled objects.
487
4882017-07-06 DJ Delorie <dj@redhat.com>
489
490 * manual/tunables.texi: Add missing @end deftp.
491
4922017-07-06 Florian Weimer <fw@deneb.enyo.de>
493
494 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
495 (do_test): Call it.
496
4972017-07-06 DJ Delorie <dj@redhat.com>
92c3af3c 498
edf66db1
SP
499 * config.make.in: Enable experimental malloc option.
500 * configure.ac: Likewise.
501 * configure: Regenerate.
502 * manual/install.texi: Document it.
503 * INSTALL: Regenerate.
504 * malloc/Makefile: Likewise.
505 * malloc/malloc.c: Add per-thread cache (tcache).
506 (tcache_put): New.
507 (tcache_get): New.
508 (tcache_thread_freeres): New.
509 (tcache_init): New.
510 (__libc_malloc): Use cached chunks if available.
511 (__libc_free): Initialize tcache if needed.
512 (__libc_realloc): Likewise.
513 (__libc_calloc): Likewise.
514 (_int_malloc): Prefill tcache when appropriate.
515 (_int_free): Likewise.
516 (do_set_tcache_max): New.
517 (do_set_tcache_count): New.
518 (do_set_tcache_unsorted_limit): New.
519 * manual/probes.texi: Document new probes.
520 * malloc/arena.c: Add new tcache tunables.
521 * elf/dl-tunables.list: Likewise.
522 * manual/tunables.texi: Document them.
523 * NEWS: Mention the per-thread cache.
524
5252017-07-06 Joseph Myers <joseph@codesourcery.com>
526
527 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
528 * misc/tst-tsearch.c (TIMEOUT): Remove.
529 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
530 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
531 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
532 * string/tst-cmp.c (TIMEOUT): Define to 600.
533
5342017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
535
536 [BZ #21715]
537 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
538 on definition.
539
5402017-07-06 Florian Weimer <fweimer@redhat.com>
541 H.J. Lu <hongjiu.lu@intel.com>
542
543 [BZ #21609]
544 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
545 (gen-as-const-headers): Add rtld-offsets.sym.
546 * sysdeps/x86_64/dl-tls.c: New file.
547 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
548 * sysdeps/x86_64/tls_get_addr.S: Likewise.
549 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
550 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
551 (TI_OFFSET_OFFSET): Likwise.
552
5532017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
554
555 [BZ# 21697]
556 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
557
5582017-07-05 Florian Weimer <fweimer@redhat.com>
559
560 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
561 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
562 * resolv/tst-resolv-threads.c: New file.
563
5642017-07-05 Florian Weimer <fweimer@redhat.com>
565
566 support: Add resolver testing mode which does not patch _res.
567 * support/resolv_test.h (struct resolv_redirect_config): Add
568 disable_redirect, server_address_overrides.
569 * support/resolv_test.c (make_server_sockets_for_address): New
570 function.
571 (resolv_test_start): Call it.
572
5732017-07-05 Florian Weimer <fweimer@redhat.com>
574
575 * support/namespace.h (struct support_chroot_configuration)
576 (struct support_chroot): Define.
577 (support_chroot_create, support_chroot_free): New functions.
578 * support/support_chroot.c: New file.
579 * support/Makefile (libsupport-routines): Add support_chroot.
580 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
581 (path_resolv_conf): Remove definitions.
582 (chroot_env): New variable.
583 (prepare): Call support_chroot_create.
584 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
585 (special_test_callback, do_test): Likewise.
586
5872017-07-05 Florian Weimer <fweimer@redhat.com>
588
589 Add subtest to check isolation of multiple loopback addresses.
590 * support/tst-support-namespace.c (test_localhost_bind): New function.
591 (do_test): Call it.
592
5932017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
594
595 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
596 * libio/libioP.h (_IO_enable_locks): Declare.
597 * libio/Versions (_IO_enable_locks): New symbol.
598 * libio/genops.c (_IO_enable_locks): Define.
599 (_IO_old_init): Initialize flags2.
600 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
601 * libio/ferror.c (_IO_ferror): Likewise.
602 * libio/fputc.c (fputc): Likewise.
603 * libio/putc.c (_IO_putc): Likewise.
604 * libio/getc.c (_IO_getc): Likewise.
605 * libio/getchar.c (getchar): Likewise.
606 * libio/ioungetc.c (_IO_ungetc): Likewise.
607 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
608 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
609 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
610
6112017-07-04 Florian Weimer <fweimer@redhat.com>
612
613 [BZ #21542]
614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
615 two if no accurate information is available.
616 * posix/tst-sysconf-empty-chroot.c: New file.
617 * posix/Makefile (tests): Add it.
618
6192017-07-04 Florian Weimer <fweimer@redhat.com>
620
621 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
622 server and sort list counts. Fix improper check for empty search
623 path (completely missing domain name) leading to assertion failure
624 in update_from_conf.
625 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
626 hostname member.
627 (run_res_init): Set host name if requested.
628 (test_cases): Update.
629
6302017-07-04 Joseph Myers <joseph@codesourcery.com>
631
632 * scripts/build-many-glibcs.py (Context.checkout): Default
633 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
634 kernel version to 4.12.
635
6362017-07-04 Florian Weimer <fweimer@redhat.com>
637
638 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
639 list management and the role of free_list_start.
640 (decrement_at_index): Put zero at the end of the free list.
641 (__resolv_conf_attach): Fix bogus assert.
642 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
643 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
644
6452017-07-03 Florian Weimer <fweimer@redhat.com>
646
647 resolv: Introduce free list for resolv_conf index slosts.
648 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
649 type to uintptr_t.
650 (struct resolv_conf_global): Add free_list_start member.
651 (resolv_conf_get_1): Check for free list entry.
652 (decrement_at_index): Put freed slot on the free list.
653 (__resolv_conf_attach): Obtain new slot from the free list.
654 * resolv/tst-resolv-res_ninit.c: New file.
655 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
656 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
657 (generated): Add mtrace-tst-resolv-res_ninit.out,
658 tst-resolv-res_ninit.mtrace.
659 (mtrace-tst-resolv-res_ninit.out): Add target.
660
6612017-06-30 Florian Weimer <fweimer@redhat.com>
662
663 [BZ #984]
664 Reload /etc/resolv.conf if has been changed on disk.
665 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
666 (__resolv_conf_load, __resolv_conf_get_current): Declare.
667 * resolv/resolv_conf.c (struct resolv_conf_global): Add
668 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
669 (__resolv_conf_get_current): New function.
670 (__resolv_conf_allocate): Do not initialize initstamp.
671 (freeres): Deallocate global->conf_current.
672 * resolv/resolv.h (RES_NORELOAD): Define.
673 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
674 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
675 * resolv/resolv_context.c (replicated_configuration_matches): New.
676 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
677 the current configration.
678 * resolv/res_init.c (__res_initstamp): Remove variable definition.
679 (has_preinit_values): New function.
680 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
681 parameter and do not call __resolv_conf_attach.
682 (__res_vinit): Reimplement based __resolv_conf_load.
683 (res_options): Handle no-reload.
684 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
685 (lock): Remove.
686 (res_int): Do not update __res_initstamp.
687 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
688 RES_NORELOAD.
689 (test_cases): Test no-reload.
690 (special_test_call_res_init): Remove.
691 (special_test_callback): Rely on automated reloading. Add tests
692 for no-reload.
693
6942017-06-30 Florian Weimer <fweimer@redhat.com>
695
696 Mirror the entire resolver configuration in struct resolv_conf.
697 * resolv/resolv_context.h (__resolv_context_nameserver_count)
698 (__resolv_context_nameserver): New functions.
699 (__resolv_context_sort_count, __resolv_context_sort_entry):
700 Likewise.
701 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
702 resolv_context parameter.
703 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
704 (addrsort): Switch to struct resolv_context.
705 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
706 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
707 sort_list, sort_list_size, options, retrans, retry, ndots members.
708 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
709 (same_address): New functions.
710 (resolv_conf_matches): Compare the new array members.
711 (__resolv_conf_allocate): Allocate and copy the new array members.
712 (update_from_conf): Copy the entire configuration.
713 * resolv/res_init.c (struct nameserver_list, struct sort_list):
714 Define using dynarray.
715 (struct resolv_conf_parser): Add nameserver_list, sort_list,
716 template members.
717 (resolv_conf_parser_init): Add preinit argument. Initialize the
718 new members.
719 (resolv_conf_parser_free): Deallocate the new arrays.
720 (allocate_address_v4): New function.
721 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
722 (res_vinit_1): Drop res_state parameter. Write all parsed date to
723 the parser object instead. Use allocate_address_v4 to allocate
724 IPv4 addresses.
725 (__res_vinit): Adjust.
726 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
727 extended name server list.
728 (test_cases): Adjust.
729
7302017-06-30 Florian Weimer <fweimer@redhat.com>
731
732 [BZ #19569]
733 [BZ #21475]
734 Support an arbitrary number of search domains.
735 * resolv/resolv_context.h (__resolv_context_search_list): New.
736 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
737 search_list_size members.
738 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
739 (__resolv_conf_allocate): Allocate and and copy search list.
740 (update_from_conf): Copy the search list.
741 * resolv/res_init.c (struct search_list): Define using dynarray.
742 (struct resolv_conf_parser): Define.
743 (resolv_conf_parser_init, resolv_conf_parser_free)
744 (domain_from_hostname): New functions.
745 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
746 struct search_list to collect search list entries. Call
747 domain_from_hostname to obtain the fallback domain name.
748 (__res_vinit): Create and destroy parser object. Pass search list
749 to __resolv_conf_allocate.
750 * resolv/res_query.c (__res_context_search): Use
751 __resolv_context_search_list to obtain search list entries.
752 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
753 from extended resolver context.
754 (test_cases): Update.
755
7562017-06-30 Florian Weimer <fweimer@redhat.com>
757
758 Add extended resolver state/configuration (struct resolv_conf).
759 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
760 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
761 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
762 (__res_vinit): Call __resolv_conf_allocate and
763 __resolv_conf_attach.
764 * resolv/resolv_context.h (struct resolv_context): Add conf member
765 of type struct resolv_conf.
766 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
767 resolv_conf. Update conf member after initialization.
768 * resolv/Makefile (routines): Add resolv_conf.
769 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
770 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
771 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
772 _u._ext.__glibc_reserved.
773
7742017-06-30 Florian Weimer <fweimer@redhat.com>
775
776 [BZ #21668]
777 Introduce temporary resolver contexts (struct resolv_conf).
778 * resolv/resolv-internal.h (__res_context_mkquery)
779 (__res_context_searchl __res_context_query, __res_context_send)
780 (__res_context_hostalias): Declare.
781 (__res_nopt): Switch to struct resolv_context.
782 * resolv/res_use_inet6.h: New file.
783 * resolv/resolv_context.h: Likewise.
784 * resolv/resolv_context.c: Likewise.
785 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
786 Renamed from res_gethostbyname2. Use struct resolv_context.
787 (res_gethostbyname2): New function. Implement using
788 res_gethostbyname2_context.
789 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
790 struct resolv_context.
791 (res_gethostbyaddr): New function. Implement using
792 res_gethostbyaddr_context.
793 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
794 resolv_context.
795 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
796 _nss_dns_gethostbyname3_r. Use struct resolv_context.
797 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
798 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
799 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
800 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
801 (_nss_dns_getnetbyaddr_r): Likewise.
802 * resolv/res-close.c (res_thread_freeres): Call
803 __resolv_context_freeres.
804 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
805 maybe_init in resolv/resolv_context.c.
806 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
807 res_nmkquery. Use struct resolv_context.
808 (context_mkquery_common): New function.
809 (res_nmkquery, res_mkquery): Use it.
810 (res_nopt): Switch to struct resolv_context.
811 * resolv/res_query.c (__res_context_querydomain): Renamed from
812 __libc_res_nquerydomain. Use struct resolv_context.
813 (__res_context_query): Renamed from __libc_res_nquery. Use struct
814 resolv_context.
815 (context_query_common): New function.
816 (res_nquery, res_query): Use it.
817 (__res_context_search): Renamed from __libc_res_nsearch. Use
818 struct resolv_context.
819 (context_search_common): New function.
820 (res_nsearch, res_search): Use it.
821 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
822 Use struct resolv_context.
823 (context_querydomain_common): New function.
824 (res_nquerydomain, res_querydomain): Use it.
825 (__res_context_hostalias): Rename from res_hostalias. Use struct
826 resolv_context.
827 (context_hostalias_common): New function.
828 (res_hostalias, hostalias): Use it.
829 * resolv/res_send.c (__res_context_send): Renamed from
830 __libc_res_nsend. Use struct resolv_context.
831 (context_send_common): New function.
832 (res_nsend, res_send): Use it.
833 * resolv/Makefile (routines): Add resolv_context.
834 * resolv/Versions (libc): Export __resolv_context_get,
835 __resolv_context_get_preinit, __resolv_context_get_override,
836 __resolv_context_put. Remove __res_maybe_init.
837 (libresolv): Export __res_context_query, __res_context_search,
838 __res_context_hostalias. Remove __libc_res_nquery,
839 __libc_res_nsearch.
840 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
841 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
842 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
843 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
844 prototypes.
845 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
846 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
847 from __nss_hostname_digits_dots. Use struct resolv_context.
848 (__nss_hostname_digits_dots): New function.
849 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
850 struct resolv_context object. Call new function
851 __nss_hostname_digits_dots_context.
852 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
853 * nss/getnssent_r.c (__nss_setent): Likewise.
854 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
855 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
856 instead of direct _res manipulation.
857 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
858
8592017-07-03 Florian Weimer <fweimer@redhat.com>
860
861 * resolv/tst-resolv-res_init-skeleton.c
862 (special_tests_count, special_test_call_res_init)
863 (special_test_callback, special_test_thread_func)
864 (run_special_test_on_thread, special_test): Define.
865 (do_test): call special_test.
866 (test_init_names): Fix typo.
867
8682017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
869
870 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
871 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
872
8732017-07-01 Florian Weimer <fweimer@redhat.com>
874 H.J. Lu <hongjiu.lu@intel.com>
875
876 [BZ #21696]
877 * posix/sched_cpucount.c: Don't include <limits.h>.
878 (__sched_cpucount): Use __builtin_popcount.
879
8802017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
881
882 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
883 Fix typo.
884
8852017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
886
887 * include/math.h (__signbitf128): Define as hidden.
888 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
889 Reimplement without builtins.
890 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
891 (__builtin_signbitf128): Define to __signbitf128.
892 * sysdeps/powerpc/bits/floatn.h: Likewise.
893 * sysdeps/x86/bits/floatn.h: Likewise.
894
8952017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
896
897 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
898 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
899 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
900 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
901 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
902 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
903 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
904 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
906 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
907 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
908 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
909 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
910 fcntl_common and add check for F_GETOWN.
911 (__libc_fcntl): Use SYSCALL_CANCEL macro.
912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
913 use default implementation.
914
9152017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
916
917 * elf/dl-tunables.h (tunable_is_name): Move from...
918 * elf/dl-tunables.c (is_name): ... here.
919 (parse_tunables, __tunables_init): Adjust.
920 * manual/tunables.texi: Document glibc.tune.cpu.
921 * sysdeps/aarch64/dl-tunables.list: New file.
922 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
923 cpu_list): New type.
924 (cpu_list): New list of CPU names and their MIDR.
925 (get_midr_from_mcpu): New function.
926 (init_cpu_features): Override MIDR if necessary.
927
928 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
929 (__libc_ifunc_impl_list): Unconditionally select thunderx
930 routine for testing.
931
9322017-06-30 H.J. Lu <hongjiu.lu@intel.com>
933
934 [BZ #21120]
935 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
936 * sysdeps/generic/malloc-alignment.h: Here. New file.
937 * sysdeps/i386/malloc-alignment.h: Likewise.
938 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
939
9402017-06-30 Florian Weimer <fweimer@redhat.com>
941
942 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
943 variable.
944 (test_file_contents): Use it.
92c3af3c 945
edf66db1 9462017-06-30 Florian Weimer <fweimer@redhat.com>
92c3af3c 947
edf66db1
SP
948 * resolv/res_init.c (res_setoptions): Remove source argument.
949 (res_vinit_1): Adjust.
92c3af3c 950
edf66db1 9512017-06-30 Florian Weimer <fweimer@redhat.com>
92c3af3c 952
edf66db1 953 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
92c3af3c 954
edf66db1 9552017-06-30 Florian Weimer <fweimer@redhat.com>
92c3af3c 956
edf66db1
SP
957 * resolv/res_data.c: Reformat to GNU style.
958 (res_close): Update comments.
92c3af3c 959
edf66db1 9602017-06-30 Florian Weimer <fweimer@redhat.com>
92c3af3c 961
edf66db1
SP
962 * resolv/res_data.c (res_query, res_search, res_querydomain)
963 (hostalias): Move to ...
964 * resolv/res_Send.c (res_query, res_search, res_querydomain)
965 (hostalias): here.
92c3af3c 966
edf66db1 9672017-06-30 Florian Weimer <fweimer@redhat.com>
92c3af3c 968
edf66db1
SP
969 * resolv/res_data.c (res_isourserver, res_send): Move to ...
970 * resolv/res_send.c (res_isourserver, res_send): here.
92c3af3c 971
edf66db1 9722017-06-30 Florian Weimer <fweimer@redhat.com>
92c3af3c 973
edf66db1
SP
974 * resolv/res_debug.c (_res_opcodes): Rename ...
975 (res_opcodes): ... as compatibility symbol.
976 (fp_nquery): Use res_opcodes.
977 * include/resolv.h (_res_opcodes): Remove declaration.
92c3af3c 978
edf66db1 9792017-06-30 Florian Weimer <fweimer@redhat.com>
92c3af3c 980
edf66db1
SP
981 * include/resolv.h (res_pquery): Remove declaration.
982 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
983 functions.
984 (_res_opcodes): Remove variable.
985 * resolv/res_debug.c (do_section): Receive pfcode instead of
986 statp.
987 (res_pquery): Rename ...
988 (fp_nquery): to this function. Skip unnecessary _res
989 initialization.
990 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
991
9922017-06-30 Florian Weimer <fweimer@redhat.com>
993
994 * resolv/res_debug.h: Remove file.
995 * resolv/README: Adjust.
996
9972017-06-30 Florian Weimer <fweimer@redhat.com>
998
999 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
1000 conditionals.
1001 (Aerror, Perror): Remove function definitions.
1002
10032017-06-30 Florian Weimer <fweimer@redhat.com>
1004
1005 * resolv/res_data.c (res_mkquery): Move ...
1006 * resolv/res_mkquery.c (res_mkquery): to here.
1007
10082017-06-30 Florian Weimer <fweimer@redhat.com>
1009
1010 * resolv/res_mkquery.c: Reformat to GNU style.
1011 (T_OPT): Remove definition. It is present in the header file.
1012
10132017-06-30 Florian Weimer <fweimer@redhat.com>
1014
1015 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
1016 conditionals.
1017
10182017-06-30 Florian Weimer <fweimer@redhat.com>
1019
1020 * support/support_capture_subprocess_check.c
1021 (support_capture_subprocess_check): Report actual exit status.
1022
10232017-06-30 Florian Weimer <fweimer@redhat.com>
1024
1025 [BZ #19570]
1026 * resolv/res_send.c (nameserver_offset): New function.
1027 (__libc_res_nsend): Use it to implement RES_ROTATE.
1028 (get_nsaddr): Add assert with name server
1029 range check.
1030 * resolv/Makefile (xtests): Add tst-resolv-rotate.
1031 (tst-resolv-rotate): Link against libpthread.
1032 * resolv/tst-resolv-rotate.c: New file.
1033
10342017-06-29 Joseph Myers <joseph@codesourcery.com>
1035
1036 [BZ #21457]
1037 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
1038 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
1039 [__WORDSIZE == 64] (MC_PC): Likewise.
1040 [__WORDSIZE == 64] (MC_NPC): Likewise.
1041 [__WORDSIZE == 64] (MC_Y): Likewise.
1042 [__WORDSIZE == 64] (MC_G1): Likewise.
1043 [__WORDSIZE == 64] (MC_G2): Likewise.
1044 [__WORDSIZE == 64] (MC_G3): Likewise.
1045 [__WORDSIZE == 64] (MC_G4): Likewise.
1046 [__WORDSIZE == 64] (MC_G5): Likewise.
1047 [__WORDSIZE == 64] (MC_G6): Likewise.
1048 [__WORDSIZE == 64] (MC_G7): Likewise.
1049 [__WORDSIZE == 64] (MC_O0): Likewise.
1050 [__WORDSIZE == 64] (MC_O1): Likewise.
1051 [__WORDSIZE == 64] (MC_O2): Likewise.
1052 [__WORDSIZE == 64] (MC_O3): Likewise.
1053 [__WORDSIZE == 64] (MC_O4): Likewise.
1054 [__WORDSIZE == 64] (MC_O5): Likewise.
1055 [__WORDSIZE == 64] (MC_O6): Likewise.
1056 [__WORDSIZE == 64] (MC_O7): Likewise.
1057 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
1058 __MC_NGREG if [__USE_MISC].
1059 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
1060 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
1061 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
1062 Define fields using __ctx.
1063 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
1064 using __ctx.
1065 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
1066 (REG_PSR): Define only for [__USE_MISC].
1067 (REG_PC): Likewise.
1068 (REG_nPC): Likewise.
1069 (REG_Y): Likewise.
1070 (REG_G1): Likewise.
1071 (REG_G2): Likewise.
1072 (REG_G3): Likewise.
1073 (REG_G4): Likewise.
1074 (REG_G5): Likewise.
1075 (REG_G6): Likewise.
1076 (REG_G7): Likewise.
1077 (REG_O0): Likewise.
1078 (REG_O1): Likewise.
1079 (REG_O2): Likewise.
1080 (REG_O3): Likewise.
1081 (REG_O4): Likewise.
1082 (REG_O5): Likewise.
1083 (REG_O6): Likewise.
1084 (REG_O7): Likewise.
1085 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
1086 [__WORDSIZE == 64] (REG_FPRS): Likewise.
1087 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
1088 (gregset_t): Define using __NGREG.
1089 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
1090 __SPARC_MAXREGWINDOW if [__USE_MISC].
1091 (struct rwindow): Rename to struct __rwindow. Define fields using
1092 __ctx.
1093 (rw_fp): Define only for [__USE_MISC].
1094 (rw_rtn): Likewise.
1095 (gwindows_t): Remove struct tag. Define fields using __ctx and
1096 __SPARC_MAXREGWINDOW.
1097 (MAXFPQ): Define only for [__USE_MISC].
1098 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
1099 (struct fq): Rename to struct __fq. Define fields using __ctx.
1100 (FPU_REGS_TYPE): Define only for [__USE_MISC].
1101 (FPU_DREGS_TYPE): Likewise.
1102 (V7_FPU_FSR_TYPE): Likewise.
1103 (V9_FPU_FSR_TYPE): Likewise.
1104 (V9_FPU_FPRS_TYPE): Likewise.
1105 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
1106 using __ctx.
1107 [__WORDSIZE != 64] (fpregset_t): Likewise.
1108 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
1109 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
1110 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
1111 Rename field filler to __glibc_reserved1.
1112 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
1113 (MC_FILLER): Remove.
1114
11152017-06-29 Florian Weimer <fweimer@redhat.com>
1116
1117 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
1118 Adjust format string.
1119 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
1120 dependency.
1121
11222017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1123
1124 * sysdeps/posix/spawni.c (__spawni_child): New function.
1125 (__spawni): Rename to __spawnix.
1126
11272017-06-29 Florian Weimer <fweimer@redhat.com>
1128
1129 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
1130 Use it to make the temporary copy at the start of the work buffer.
1131 (process_arg): Adjust call to group_number.
1132
11332017-06-29 Florian Weimer <fweimer@redhat.com>
1134
1135 * stdio-common/vfprintf.c (printf_positional): Use struct
1136 scratch_buffer to allocate backing storage for the args_value,
1137 args_size, args_type arrays.
1138
11392017-06-29 Florian Weimer <fweimer@redhat.com>
1140
1141 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
1142 scratch_buffer.
1143
11442017-06-29 Florian Weimer <fweimer@redhat.com>
1145
1146 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
1147 wchar_t builds.
1148
11492017-06-29 Florian Weimer <fweimer@redhat.com>
1150
1151 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
1152 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
1153
11542017-06-29 Florian Weimer <fweimer@redhat.com>
1155
1156 * stdio-common/tst-vfprintf-user-type.c: New file.
1157 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
1158
11592017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1160
1161 * posix/tst-spawn2.c (do_test): Use libsupport.
1162 * posix/tst-spawn3.c (do_test): Likewise.
1163
11642017-06-28 Joseph Myers <joseph@codesourcery.com>
1165
1166 * math/gen-tgmath-tests.py (Tests.__init__): Define
1167 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
1168
1169 * math/tgmath.h: Include <bits/libc-header-start.h> and
1170 <bits/floatn.h>.
1171 (__TGMATH_F128): New macro.
1172 (__TGMATH_CF128): Likewise.
1173 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
1174 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
1175 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
1176 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
1177 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
1178 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
1179 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
1180 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
1181 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1182 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1183 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1184 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1185 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1186 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1187 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1188 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1189 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1190 _FloatNx types if the corresponding HUGE_VAL macros are defined.
1191
1192 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1193 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1194 complex arguments.
1195
1196 [BZ #21687]
1197 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1198 (totalorder): Use it.
1199 (totalordermag): Likewise.
1200 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1201 totalorder and totalordermag.
1202 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1203 totalordermag in arguments of calls to those functions.
1204 (NCALLS): Change to 134.
1205
1206 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1207 cast to return type argument.
1208 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1209 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1210 (llrint): Likewise.
1211 (lround): Likewise.
1212 (llround): Likewise.
1213 (ilogb): Likewise.
1214 (llogb): Likewise.
1215 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1216 (ufromfp): Likewise.
1217 (fromfpx): Likewise.
1218 (ufromfpx): Likewise.
1219
1220 [BZ #21607]
1221 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1222 [LDBL_MANT_DIG > DBL_MANT_DIG].
1223 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1224 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1225 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1226 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1227 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1228 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1229 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1230 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1231 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1232 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1233 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1234 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1235 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1236 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1237 * math/test-tgmath.c: Include <float.h>.
1238 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1239 DBL_MANT_DIG].
1240 * math/test-tgmath2.c: Include <float.h>.
1241 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1242 DBL_MANT_DIG].
1243
1244 * math/gen-tgmath-tests.py: New file.
1245 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1246 [PYTHON] (generated): Add test-tgmath3.c.
1247 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1248 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1249
1250 * configure.ac (AS): Require binutils 2.25 or later.
1251 (LD): Likewise.
1252 * configure: Regenerated.
1253 * sysdeps/s390/configure.ac (AS): Remove version check.
1254 * sysdeps/s390/configure: Regenerated.
1255 * sysdeps/x86_64/configure.ac (AS): Remove version check.
1256 * sysdeps/x86_64/configure: Regenerated.
1257 * manual/install.texi (Tools for Compilation): Document
1258 requirement for binutils 2.25 or later.
1259 * INSTALL: Regenerated.
1260
12612017-06-28 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 [BZ #14995]
1264 * configure.ac: Allow gold 1.14 or above to configire glibc
1265 * configure: Regenerated.
92c3af3c 1266
edf66db1 12672017-06-28 Joseph Myers <joseph@codesourcery.com>
92c3af3c 1268
edf66db1
SP
1269 [BZ #21457]
1270 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1271 struct tag.
1272 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1273 Likewise.
1274 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1275 Likewise.
1276 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1277 Declare struct type with __ctx.
1278 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1279 tag.
1280 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1281 and regs field name.
92c3af3c 1282
edf66db1 12832017-06-27 Joseph Myers <joseph@codesourcery.com>
92c3af3c 1284
edf66db1 1285 * elf/loadtest.c (OUT): Define using do { } while (0).
92c3af3c 1286
edf66db1
SP
1287 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1288 (DO_NUMBER_SPACEPAD): Likewise.
92c3af3c 1289
edf66db1 12902017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
92c3af3c 1291
edf66db1
SP
1292 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1293 sysdep_routines.
1294 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1295 __memchr_neon.
1296 Add ifunc definitions for __memchr_neon and __memchr_noneon.
1297 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1298 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1299 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
92c3af3c 1300
edf66db1 13012017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 1302
edf66db1
SP
1303 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1304 Use vector and cu21 instruction.
1305 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1306 Add __to_utf8_loop_vx_cu in ifunc resolver.
92c3af3c 1307
edf66db1 13082017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 1309
edf66db1
SP
1310 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1311 Use vector and cu24 instruction.
92c3af3c 1312
edf66db1 13132017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 1314
edf66db1
SP
1315 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1316 Use vector and cu42 instruction.
1317 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1318 Add __to_utf16_loop_vx_cu in ifunc resolver.
92c3af3c 1319
edf66db1 13202017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 1321
edf66db1
SP
1322 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1323 Use vector and cu41 instruction.
1324 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1325 in ifunc resolver.
92c3af3c 1326
edf66db1 13272017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 1328
edf66db1
SP
1329 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1330 Add vxd, vxe, gs flag.
1331 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1332 HWCAP_S390_GS capability.
1333 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1334 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
92c3af3c 1335
edf66db1 13362017-06-27 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 1337
edf66db1
SP
1338 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1339 the first 32 bytes before checking size when size >= 32 bytes.
1340 Replace vpmovmskb/subl/jnz with vptest/jnc.
92c3af3c 1341
edf66db1 13422017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 1343
edf66db1
SP
1344 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1345 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
92c3af3c 1346
edf66db1 13472017-06-27 Florian Weimer <fweimer@redhat.com>
92c3af3c 1348
edf66db1
SP
1349 Work around test timeouts with ICMP rate limiting on localhost.
1350 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1351 function.
1352 (do_test): Call it.
1353
13542017-06-27 Florian Weimer <fweimer@redhat.com>
1355
1356 Call _res_hconf_init from __res_vinit.
1357 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1358 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1359 (NEED__RES): Define.
1360 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1361 (NEED__RES): Define.
1362 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1363 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1364 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1365 (NEED__RES): Define.
1366 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1367 _res_hconf_init.
1368 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1369 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1371 _res_hconf_init.
1372
13732017-06-26 Joseph Myers <joseph@codesourcery.com>
1374
1375 * sysdeps/ia64/Implies: Add ieee754/float128.
1376 * sysdeps/ia64/bits/floatn.h: New file.
1377 * sysdeps/ia64/float128-abi.h: Likewise.
1378 * manual/math.texi (Mathematics): Document support for _Float128
1379 on ia64.
1380 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1381 Makefile variable.
1382 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1383 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1384 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
1385 * sysdeps/ia64/math-tests.h: New file.
1386 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1387 based on TEST_COND_binary128 for [__ia64__].
1388 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1389 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1390
1391 [BZ #21457]
1392 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1393 ucontext_t.
1394 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1395 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1396 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1397 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1398 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1399 ucontext): Likewise.
1400 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1405 Likewise.
1406 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1409 Likewise.
1410 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1411 Likewise.
1412 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1415 ucontext): Likewise.
1416 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1419 Likewise.
1420 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1421 Likewise.
1422 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1423 Likewise.
1424 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1425 Likewise.
1426 * sysdeps/powerpc/powerpc32/backtrace.c (struct
1427 rt_signal_frame_32): Likewise.
1428 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1431 kernel_rt_sigframe): Likewise.
1432 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1433 Likewise.
1434 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1435 Likewise.
1436 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1437 Likewise.
1438 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1439 (__profil_counter): Likewise.
1440 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1441 (SIGCONTEXT): Likewise.
1442 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1443 kernel_rt_sigframe): Likewise.
1444 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1445 kernel_rt_sigframe): Likewise.
1446 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1447 Likewise.
1448 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1449 Likewise.
1450 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1451 (__start_context): Likewise.
1452 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1453 Likewise.
1454 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1455 Likewise.
1456 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1457 Likewise.
92c3af3c 1458
edf66db1
SP
1459 * sysdeps/i386/Implies: Add ieee754/float128.
1460 * sysdeps/x86_64/Implies: Likewise.
1461 * sysdeps/x86/bits/floatn.h: New file.
1462 * sysdeps/x86/float128-abi.h: Likewise.
1463 * manual/math.texi (Mathematics): Document support for _Float128
1464 on x86_64 and x86.
1465 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1466 (math_opt_barrier): Do not put _Float128 values in floating-point
1467 registers.
1468 (math_force_eval): Likewise.
1469 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1470 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1471 to Makefile variable.
1472 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1473 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1474 * sysdeps/x86/math-tests.h: New file.
1475 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1476 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1477 XFAIL_FLOAT128_PAYLOAD.
1478 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1479 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1480 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1481 Likewise.
1482 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1483 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1484 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1485 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1486 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1488 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1489 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1491
14922017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1493
1494 [BZ #21512]
1495 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1496 syscall instead of jump to _exit.
1497 (CLONE_VM_BIT): Remove unused define.
1498 (CLONE_VM): Likewise.
1499 (CLONE_THREAD_BIT): Likewise.
1500 (CLONE_THREAD): Likewise.
1501 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1502 (CLONE_VM): Remove unused define.
1503 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1504 (CLONE_VM): Remove unused define.
1505 (CLONE_THREAD): Likewise.
1506 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1507 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1508 syscall instead of jump to _exit.
1509 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1510 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1511 (CLONE_VM): Remove unused define.
1512 (CLONE_THREAD): Likewise.
1513 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1514 (CLONE_VM): Remove unused define.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1516 Likewise.
1517 (CLONE_VM): Remove unused define.
1518 (CLONE_THREAD): Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1520 Likewise.
1521 (CLONE_VM): Remove unused define.
1522 (CLONE_THREAD): Likewise.
1523 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1524 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1525 (CLONE_VM): Remove unused define.
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1527 (CLONE_VM): Remove unused define.
1528 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1529 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1530 (CLONE_VM): Remove unused define.
1531 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1532 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1533
15342017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1535 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1536
1537 * manual/math.texi (Mathematics): Mention the enabling of float128
1538 for powerpc64le.
1539 * sysdeps/powerpc/bits/floatn.h: New file.
1540 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1541 * sysdeps/powerpc/fpu/math_private.h:
1542 (__ieee754_sqrtf128): New inline override.
1543 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1544 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1545 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1546 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1547 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1549 Updated.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1551 Likewise.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1553 New file.
92c3af3c 1554
edf66db1 15552017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
92c3af3c 1556
edf66db1
SP
1557 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1558 * sysdeps/powerpc/powerpc64le/configure: Update.
92c3af3c 1559
edf66db1
SP
15602017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1561 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 1562
edf66db1
SP
1563 * INSTALL: Regenerate.
1564 * manual/install.texi (Recommended Tools for Compilation): Mention
1565 the powerpc64le-specific requirement in the manual.
1566 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1567 for the compiler features required for building float128.
1568 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
92c3af3c 1569
edf66db1 15702017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 1571
edf66db1
SP
1572 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1573 before comparing with another char.
92c3af3c 1574
edf66db1 15752017-06-25 Rical Jasan <ricaljasan@pacific.net>
92c3af3c 1576
edf66db1 1577 * manual/math.texi: Fix a grammatical error.
92c3af3c 1578
edf66db1 15792017-06-24 Florian Weimer <fweimer@redhat.com>
92c3af3c 1580
edf66db1
SP
1581 [BZ #21295]
1582 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
92c3af3c 1583
edf66db1 15842017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
92c3af3c 1585
edf66db1
SP
1586 [BZ #21295]
1587 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1588 Append addresses at the end of the list.
92c3af3c 1589
edf66db1 15902017-06-23 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 1591
edf66db1
SP
1592 [BZ #21666]
1593 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1594 (loc2): Likewise.
1595 (locs): Likewise.
92c3af3c 1596
edf66db1 15972017-06-23 Florian Weimer <fweimer@redhat.com>
92c3af3c 1598
edf66db1
SP
1599 [BZ #16637]
1600 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1601 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1602 digits between colons.
1603 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
92c3af3c 1604
edf66db1
SP
16052017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1606 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
92c3af3c 1607
edf66db1
SP
1608 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1609 (__sched_get_prioriry_min): Likewise.
1610 * include/sys/mman.h (__mmap): Likewise.
1611 (__mmap64): Likewise.
1612 (__munmap): Likewise.
1613 (__mprotect): Likewise.
1614 * include/termios.h (__tcsetattr): Likewise.
1615 * include/time.h (__nanosleep): Use hidden_proto instead of
1616 libc_hidden_proto.
1617 * posix/nanosleep.c (__nanosleep): Likewise.
1618 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1619 __sched_get_priority_min, and __sched_get_priority_max under
1620 GLIBC_PRIVATE.
1621 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1622 libc symbols.
1623 (change_stack_perm): Likewise.
1624 (change_stack_perm): Likewise.
1625 (allocate_stack): Likewise.
1626 * sysdeps/posix/gethostname.c: Likewise.
1627 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1628 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1629 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1630 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1631 (__pthread_key_delete): Likewise.
1632 (__pthread_detach): Likewise.
1633 (__pthread_cancel): Likewise.
1634 (__pthread_mutex_trylock): Likewise.
1635 (__pthread_mutexattr_init): Likewise.
1636 (__pthread_mutexattr_settype): Likewise.
1637 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1638 create alias for exported one.
1639 * nptl/pthread_join.c (pthread_join): Likewise.
1640 * nptl/pthread_detach.c (pthread_detach): Likewise.
1641 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1642 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1643 * nptl/pthread_create.c: Change static requirements for pthread
1644 symbols.
1645 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1646 for internal definition.
1647 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1648 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1649 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1650 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1651 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1652 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1653 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1654 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1655 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1656 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1657 Likewise.
1658 * nptl/pthread_self.c (__pthread_self): Likewise.
1659 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1660 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1661 * misc/mmap.c (__mmap): Add internal symbol definition.
1662 * misc/mmap.c (__mmap64): Likewise.
1663 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1664 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1665 (__mmap64): Likewise.
1666 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1667 Add __uname.
1668
16692017-06-23 Joseph Myers <joseph@codesourcery.com>
1670
1671 * sysdeps/i386/fpu/libm-test-ulps: Update.
1672 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1673
1674 * libm-test-support.c (check_float_internal): Clear exceptions at
1675 end of function.
1676 (check_int): Likewise.
1677 (check_long): Likewise.
1678 (check_bool): Likewise.
1679 (check_longlong): Likewise.
1680 (check_intmax_t): Likewise.
1681 (check_uintmax_t): Likewise.
1682
1683 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1684 Do not declare.
1685 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1686 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1687 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1688
16892017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1690
1691 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1692 Replace movzbl and orl with movb.
1693
16942017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1695
1696 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1697 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1698 and HUGE_VAL_FNx.
1699 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1700 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1701 are in math.h, to avoid having to list the _FloatN and _FloatNx
1702 variants as well. Likewise for the cabs functions.
1703 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1704 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1705 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1706 come from TS 18661-3, since this section explicitly states that
1707 these functions come from BSD.
1708 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1709 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1710 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1711 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1712 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1713 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1714 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1715 remainderfNx.
1716 (Setting and modifying single bits of FP values): Document
1717 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1718 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1719 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1720 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1721 (Floating-Point Comparison Functions): Document totalorderfN,
1722 totalorderfNx, totalordermagfN, totalordermagfNx.
1723 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1724 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1725 fdimfN, fdimfNx, fmafN, fmafNx.
1726 (Complex Numbers): Document the complex types: _FloatN complex and
1727 _FloatNx complex.
1728 (rojections, Conjugates, and Decomposing of Complex Numbers):
1729 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1730 cargfN, cargfNx, cprojfN, cprojfNx.
1731 * manual/math.texi (Mathematics): Mention that the _FloatN and
1732 _FloatNx variants of the math functions come from TS 18661-3,
1733 unless otherwise stated.
1734 (Predefined Mathematical Constants): Document the _FloatN and
1735 _FloatNx variants of the macros prefixed with M_.
1736 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1737 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1738 ccosfNx, ctanfN, ctanfNx.
1739 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1740 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1741 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1742 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1743 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1744 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1745 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1746 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1747 cpowfNx.
1748 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1749 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1750 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1751 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1752 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1753 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1754 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1755 ynfN, ynfNx.
1756
17572017-06-23 Florian Weimer <fweimer@redhat.com>
1758
1759 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1760
17612017-06-23 Florian Weimer <fweimer@redhat.com>
1762
1763 * resolv/res_libc.c: Reformat to GNU style.
1764
17652017-06-23 Florian Weimer <fweimer@redhat.com>
1766
1767 * resolv/resolv-internal.h (__res_initstamp): Declare.
1768 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1769 It is implied by the declaration.
1770 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1771
17722017-06-23 Florian Weimer <fweimer@redhat.com>
1773
1774 [BZ #21662]
1775 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1776 Use only 24 bits of the register before the subtraction.
1777 * string/test-memcmp.c (check1): Check with different lengths.
1778
17792017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1780
1781 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1782 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1783
17842017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1785
1786 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1787 Enable generation of float128 entries on the error table.
1788
17892017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1790
1791 * include/float.h: Include libc-header-start.h to get the
1792 definition of __GLIBC_USE.
1793
17942017-06-23 Paul A. Clarke <pc@us.ibm.com>
1795
1796 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1797 rearranged code and doubles float types.
1798
17992017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1800
1801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1802 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1803
18042017-06-23 Paul A. Clarke <pc@us.ibm.com>
1805
1806 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1807 to errno, and simplify remaining related code.
1808
18092017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1810
1811 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1812 PPC_FEATURE2_SCV.
1813 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1814 and darn.
1815
18162017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1817
1818 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1819 the implementation-specific function name and remove unneeded macros
1820 definition.
1821 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1822 function name if not defined and pass as parameter to macros
1823 accordingly.
1824
18252017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1826
1827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1828 (libm-sysdep_routines): Add s_llroundf-ppc64.
1829 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1830 (__llroundf): Define as strong alias of __llround.
1831 (llroundf): Define as weak alias of __llround.
1832 (__lroundf): Define as strong alias of __llround.
1833 (lroundf): Define as weak alias of __llround.
1834 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1835 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1838 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1839 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1840 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1841
18422017-06-22 Joseph Myers <joseph@codesourcery.com>
1843
1844 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1845 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1846
1847 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1848 (MATH_TESTS_TG): New macro.
1849 (SNAN_TESTS_float128): Likewise.
1850 (ROUNDING_TESTS_float128): Likewise.
1851 (EXCEPTION_TESTS_float128): Likewise.
1852 (SNAN_TESTS): Define using MATH_TESTS_TG.
1853 (ROUNDING_TESTS): Likewise.
1854 (EXCEPTION_TESTS): Likewise.
1855
1856 * sysdeps/ieee754/float128/float128_private.h
1857 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1858 pass it to SET_RESTORE_ROUNDF128.
1859
1860 * sysdeps/ieee754/float128/float128_private.h: Include
1861 <ieee754.h>.
1862
1863 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1864 typeof to argument passed to __builtin_types_compatible_p.
1865 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1866
1867 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1868 <errno.h>.
1869 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1870 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1871 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1872 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1873 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1874 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1875 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1876 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1877 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1878 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1879 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1880 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1881 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1882 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1883 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1884 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1885 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1886 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1887 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1888 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1889 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1890 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1891
1892 * sysdeps/ieee754/float128/strtof128_l.c: Include
1893 <bits/types/locale_t.h> instead of <xlocale.h>.
1894 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1895 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1896
18972017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1898
1899 * benchtests/scripts/benchout_strings.schema.json: New file.
1900 * benchtests/scripts/compare_strings.py: New file.
1901
1902 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1903 (do_one_test): Print json.
1904 (do_test): Likewise.
1905 (test_main): Likewise.
1906 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1907 (do_one_test): Print json.
1908 (do_test): Likewise.
1909 (test_main): Likewise.
1910 * benchtests/bench-memcpy.c: Include json-lib.h.
1911 (do_one_test): Print json.
1912 (do_test): Likewise.
1913 (test_main): Likewise.
1914
1915 * benchtests/json-lib.h: Include inttypes.h.
1916 (json_attr_int, json_attr_int, json_element_string,
1917 json_element_int, json_element_uint): New functions.
1918 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1919 json_element_string, json_element_int, json_element_uint): New
1920 functions.
92c3af3c 1921
edf66db1 19222017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
92c3af3c 1923
edf66db1
SP
1924 * manual/arith.texi (Remainder Functions): Describe remainder as
1925 primary and drem as an alternative name. Change the comment on
1926 remainder to ISO, since it is defined in ISO C99.
92c3af3c 1927
edf66db1 19282017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
92c3af3c 1929
edf66db1
SP
1930 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1931 macro expansion.
1932 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
92c3af3c 1933
edf66db1 19342017-06-22 Mike FABIAN <mfabian@redhat.com>
92c3af3c 1935
edf66db1
SP
1936 [BZ #21533]
1937 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1938 201706L for Unicode 10.0.
92c3af3c 1939
edf66db1 19402017-06-21 Benjamin Cama <b.cama@kerlink.fr>
92c3af3c 1941
edf66db1
SP
1942 [BZ #21657]
1943 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1944 on node-local addresses.
1945 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
92c3af3c 1946
edf66db1 19472017-06-21 Florian Weimer <fweimer@redhat.com>
92c3af3c 1948
edf66db1
SP
1949 * intl/loadmsgcat.c: Remove alloca support.
1950 (_nl_load_domain): Use calloc instead of alloca.
92c3af3c 1951
edf66db1 19522017-04-21 Florian Weimer <fweimer@redhat.com>
92c3af3c 1953
edf66db1
SP
1954 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1955 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1956 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1957 alloc_buffer_create_failure.
1958 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1959 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1960 (__libc_alloc_buffer_copy_string)
1961 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1962 * malloc/alloc_buffer_alloc_array.c: New file.
1963 * malloc/alloc_buffer_allocate.c: Likewise.
1964 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1965 * malloc/alloc_buffer_copy_string.c: Likewise.
1966 * malloc/alloc_buffer_create_failure.c: Likewise.
1967 * malloc/tst-alloc_buffer.c: Likewise.
92c3af3c 1968
edf66db1 19692017-06-21 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 1970
edf66db1
SP
1971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1972 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1973 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1974 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1975 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1976 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1977 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1978 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1979 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1980 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1981 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1982 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1983 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1984 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1985 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1986 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1987 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1988 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1989 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1990 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1991 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1992 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1993 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1994 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1995 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1997 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1998 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1999 "locale-defines.h".
2000 (UPDATE_STRNCMP_COUNTER): New.
2001 (SECTION): Likewise.
2002 (GLABEL): Likewise.
2003 (LABEL): Likewise.
2004 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
2005 for libc.a.
2006
20072017-06-21 Joseph Myers <joseph@codesourcery.com>
2008
2009 [BZ #21622]
2010 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
2011 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
2012 __USE_MISC].
2013 (SA_NODEFER): Likewise.
2014 (SA_RESETHAND): Likewise.
2015
20162017-06-21 H.J. Lu <hongjiu.lu@intel.com>
2017
2018 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
2019 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
2020 Remove security_level on all fields.
2021 * manual/tunables.texi: Replace ifunc with hwcaps.
2022 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
2023 Renamed to ..
2024 (TUNABLE_CALLBACK (set_hwcaps)): This.
2025 (init_cpu_features): Updated.
2026 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
2027 data_cache_size, data_cache_size and non_temporal_threshold to
2028 unsigned long int.
2029 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
2030 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
2031 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
2032 use DEFAULT_STRLEN.
2033
20342017-06-21 Florian Weimer <fweimer@redhat.com>
2035
2036 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
2037 asprintf to construct an absolute pathname.
2038
20392017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2040
2041 * misc/tst-preadvwritev2-common.c: New file.
2042 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
2043 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
2044
20452017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2046
2047 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
2048 annotation.
2049 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2050
20512017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2052
2053 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
2054 hidden __GI__dl_argv symbol.
2055
20562017-06-21 Florian Weimer <fweimer@redhat.com>
2057
2058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
2059 to parse addresses with IPv6 scope IDs.
2060
20612017-06-21 Florian Weimer <fweimer@redhat.com>
2062
2063 Add the __inet_pton_length helper function.
2064 * resolv/resolv-internal.h (__inet_pton_length): Declare.
2065 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
2066 Add length argument.
2067 (__inet_pton): New function.
2068 (inet_pton4): Add length argument.
2069 (hex_digit_value): New function.
2070 (inet_pton6): Add length argument. Call hex_digit_value. Use
2071 memmove and memset to fill :: gap.
2072 * resolv/Makefile (tests, tsts-static, tests-internal): Add
2073 tst-inet_pton.
2074 * resolv/tst-inet_pton.c: New file.
2075 * support/Makefile (libsupport-routines): Add xmprotect.
2076 * support/xunistd.h (xmprotect): Declare.
2077 * support/xmprotect.c: New file.
2078
20792017-06-21 Florian Weimer <fweimer@redhat.com>
2080
2081 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
2082 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
2083 (call_gai, check_ai): New functions.
2084 (expect_failure, expect_success): Use them. Add logging.
2085
20862017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2087
2088 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2089 (sysdep_routines): Add memchr_power8.
2090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2091 (memchr): Add __memchr_power8 to list of memchr functions.
2092 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
2093 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
2094 (memchr): Add __memchr_power8 to ifunc list.
2095 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
2096
20972017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2098
2099 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
2100 (__llrintf): Define as strong alias of __llrint.
2101 (llrintf): Define as weak alias of __llrint.
2102 (__lrintf): Define as strong alias of __llrint.
2103 (lrintf): Define as weak alias of __llrint.
2104 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2105 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2106 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
2107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
2108
21092017-06-20 Zack Weinberg <zackw@panix.com>
2110
c166468c 2111 [BZ #2489]
edf66db1
SP
2112 * bits/signum-generic.h: Renamed from bits/signum.h.
2113 Add proper multiple include guard and misuse check.
2114 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
2115 Move definition of SIGIO to "archaic names for compatibility" section.
2116 * bits/signum.h: New file which just includes bits/signum-generic.h.
2117 * sysdeps/unix/bsd/bits/signum.h
2118 * sysdeps/unix/sysv/linux/bits/signum.h
2119 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
2120 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
2121 * sysdeps/unix/sysv/linux/mips/bits/signum.h
2122 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
2123 Just include <bits/signum-generic.h> and then add or adjust
2124 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
2125
2126 * signal/Makefile: Install bits/signum-generic.h.
2127 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
2128
2129 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
2130 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
2131
2132 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
2133 * sysdeps/unix/sysv/linux/Makefile: Run it.
2134
21352017-06-20 Zack Weinberg <zackw@panix.com>
2136
2137 * locale/xlocale.h: Rename to...
2138 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
2139 Only define struct __locale_struct and __locale_t, not locale_t.
2140 * locale/bits/types/locale_t.h: New file; define locale_t here.
2141 * locale/Makefile (headers): Update to match.
2142
2143 * include/xlocale.h: Delete wrapper.
2144 * include/bits/types/__locale_t.h: New wrapper.
2145 * include/bits/types/locale_t.h: New wrapper.
2146
2147 * ctype/ctype.h, include/printf.h, include/time.h
2148 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
2149 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
2150 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
2151 Correct outdated comments regarding the standardization status of
2152 the functions that take locale_t arguments.
2153
2154 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
2155 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2156 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2157 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2158 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2159 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
2160 Don't include xlocale.h. If necessary, include locale.h instead.
2161
2162 * stdlib/strtold_l.c: Unconditionally include wchar.h.
2163
2164 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
2165 * include/monetary.h, include/stdlib.h, include/time.h
2166 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
2167 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
2168 * locale/localeinfo.h, locale/newlocale.c
2169 * locale/nl_langinfo_l.c, locale/uselocale.c
2170 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
2171 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
2172 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
2173 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
2174 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2175 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
2176 * string/strings.h, string/strncase.c, string/strxfrm_l.c
2177 * sysdeps/ieee754/float128/strtof128_l.c
2178 * sysdeps/ieee754/float128/wcstof128.c
2179 * sysdeps/ieee754/float128/wcstof128_l.c
2180 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2181 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2182 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2183 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2184 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2185 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2186 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2187 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2188 * sysdeps/x86_64/strcasecmp_l-nonascii.c
2189 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2190 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2191 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2192 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2193 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2194 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2195 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2196 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2197 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2198 Change all uses of __locale_t to locale_t.
2199
22002017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2201
2202 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2203 for !__OFF_T_MATCHES_OFF64_T.
2204 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2205 implementation based on open64.
2206 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2207 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2208
22092017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2210
2211 * elf/dl-tunables.list: Move x86 specific tunables to ...
2212 * sysdeps/x86/dl-tunables.list: Here. New file.
2213
22142017-06-20 Joseph Myers <joseph@codesourcery.com>
2215
2216 [BZ #21635]
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2218 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2219 * conform/data/signal.h-data (uc_mcontext): XFAIL for
2220 powerpc32-linux.
2221 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2222
2223 [BZ #21634]
2224 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2225 (conformtest-xfail-conds): New variable.
2226 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2227 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2228
22292017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2230
2231 * benchtests/powf-inputs: Add reduced trace from wrf.
2232
22332017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2234 Erich Elsen <eriche@google.com>
2235
2236 * elf/dl-tunables.list (tune): Add ifunc,
2237 x86_non_temporal_threshold,
2238 x86_data_cache_size and x86_shared_cache_size.
2239 * manual/tunables.texi: Document glibc.tune.ifunc,
2240 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2241 and glibc.tune.x86_non_temporal_threshold.
2242 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2243 * sysdeps/x86/cpu-tunables.c: Likewise.
2244 * sysdeps/x86/cacheinfo.c
2245 (init_cacheinfo): Check and get data cache size, shared cache
2246 size and non temporal threshold from cpu_features.
2247 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2248 New.
2249 [HAVE_TUNABLES] Include <unistd.h>.
2250 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2251 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2252 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2253 IFUNC selection, data cache size, shared cache size and non
2254 temporal threshold.
2255 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2256 shared_cache_size and non_temporal_threshold.
2257
22582017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2259
2260 * benchtests/README: Describe workload feature.
2261 * benchtests/bench-skeleton.c (main): Add support for
2262 benchmarking traces from workloads.
2263
22642017-06-20 Zack Weinberg <zackw@panix.com>
2265
2266 * string/string.h (__mempcpy_inline): Delete.
2267 * sysdeps/x86_64/multiarch/mempcpy.c
2268 * sysdeps/x86_64/multiarch/stpcpy.c:
2269 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2270 before including string.h.
2271
22722017-06-20 Paul A. Clarke <pc@us.ibm.com>
2273
2274 * benchtests/Makefile (bench-math): Add powf.
2275 * benchtests/powf-inputs: New file.
2276
22772017-06-20 Zack Weinberg <zackw@panix.com>
2278
2279 * bits/string.h, string/bits/string.h
2280 * sysdeps/aarch64/bits/string.h
2281 * sysdeps/m68k/m680x0/m68020/bits/string.h
2282 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2283 * sysdeps/x86/bits/string.h: Delete file.
2284
2285 * string/string.h: Don't include bits/string.h.
2286 * string/bits/string3.h: Rename to bits/string_fortified.h.
2287 No need to undef various symbols that the removed headers
2288 might have defined as macros.
2289 * string/Makefile (headers): Remove bits/string.h, change
2290 bits/string3.h to bits/string_fortified.h.
2291 * string/string-inlines.c: Update commentary. Remove definitions
2292 of various macros that nothing looks at anymore. Don't directly
2293 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2294 compiler-predefined macros.
2295 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2296 _is_ defined, provide internal hidden alias __strncat.
2297 * include/string.h: Declare internal hidden alias __strncat.
2298 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2299 not defined.
2300 * include/bits/string3.h: Rename to bits/string_fortified.h,
2301 update to match above.
2302
2303 * sysdeps/i386/string-inlines.c: Define compat symbols for
2304 everything formerly defined by sysdeps/x86/bits/string.h.
2305 Make existing definitions into compat symbols as well.
2306 Remove some no-longer-necessary messing around with macros.
2307
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2309 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2310 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2311 * sysdeps/s390/multiarch/mempcpy.c
2312 No need to define _HAVE_STRING_ARCH_mempcpy.
2313 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2314
2315 * sysdeps/i386/i686/multiarch/strncat-c.c
2316 * sysdeps/s390/multiarch/strncat-c.c
2317 * sysdeps/x86_64/multiarch/strncat-c.c
2318 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
2319
23202017-06-20 Rical Jasan <ricaljasan@pacific.net>
2321
2322 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2323 (LDBL_DIG): Likewise.
2324 (LDBL_MIN_EXP): Likewise.
2325 (LDBL_MIN_10_EXP): Likewise.
2326 (LDBL_MAX_EXP): Likewise.
2327 (LDBL_MAX_10_EXP): Likewise.
2328 (LDBL_MAX): Likewise.
2329 (LDBL_MIN): Likewise.
2330 (LDBL_EPSILON): Likewise.
2331 (FLT_ROUNDS): Change standard from ISO to C90.
2332 (FLT_RADIX): Likewise.
2333 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2334 (FLT_DIG, DBL_DIG): Likewise.
2335 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2336 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2337 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2338 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2339 (FLT_MAX, DBL_MAX): Likewise.
2340 (FLT_MIN, DBL_MIN): Likewise.
2341 (FLT_EPSILON, DBL_EPSILON): Likewise.
2342
23432017-06-19 Joseph Myers <joseph@codesourcery.com>
2344
2345 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2346 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2347 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2348 * sysdeps/mips/math-tests.h
2349 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2350 conditional code.
2351
23522017-06-19 Florian Weimer <fweimer@redhat.com>
2353
2354 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2355 It cannot change while __libc_setlocale_lock is acquired.
2356
23572017-06-19 Florian Weimer <fweimer@redhat.com>
2358
2359 * elf/rtld.c (audit_list_string): New variable.
2360 (audit_list): Update comment.
2361 (struct audit_list_iter): Define.
2362 (audit_list_iter_init, audit_list_iter_next): New function.
2363 (dl_main): Use struct audit_list_iter to process audit modules.
2364 (process_dl_audit): Call dso_name_valid_for_suid.
2365 (process_envvars): Set audit_list_string instead of calling
2366 process_dl_audit.
2367
23682017-06-19 Florian Weimer <fweimer@redhat.com>
2369
2370 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2371 (dso_name_valid_for_suid): New function.
2372 (handle_ld_preload): Likewise.
2373 (dl_main): Call it. Remove alloca.
2374
23752017-06-19 Joseph Myers <joseph@codesourcery.com>
2376
2377 [BZ #21625]
2378 * posix/sys/wait.h (strust rusage forward declaration): Change
2379 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2380 !__USE_XOPEN2K].
2381 (wait3): Likewise.
2382
2383 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2384 * configure: Regenerated.
2385 * manual/install.texi (Tools for Compilation): Document
2386 requirement for GCC 4.9 or later.
2387 * INSTALL: Regenerated.
92c3af3c 2388
edf66db1 23892017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2390
edf66db1
SP
2391 [BZ #21624]
2392 CVE-2017-1000366
2393 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2394 __libc_enable_secure.
92c3af3c 2395
edf66db1 23962017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 2397
edf66db1
SP
2398 [BZ #21539]
2399 * NEWS: Mention s390 ptrace request changes.
2400 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2401 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2402 PTRACE_SETFPREGS): Remove enum constant.
2403 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2404 Remove defines.
2405 (PTRACE_SINGLEBLOCK): New enum constant.
2406 (PT_STEPBLOCK): New define.
2407 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2408 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2409 PTRACE_TE_ABORT_RAND): New enum constant and define.
2410 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2411 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2412 New file.
2413 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
92c3af3c 2414
edf66db1 24152017-06-16 Florian Weimer <fweimer@redhat.com>
92c3af3c 2416
edf66db1
SP
2417 * resolv/res_init.c (res_vinit_1): Use getline to read from the
2418 configuration file.
2419 (__res_vinit): Adjust.
92c3af3c 2420
edf66db1 24212017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2422
edf66db1
SP
2423 * resolv/res_init.c (res_vinit_1): New function.
2424 (__res_vinit): Call it. Handle file open and memory allocation
2425 failures.
2426 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2427 erno from __res_maybe_init failure.
2428 (_nss_dns_gethostbyname4_r): Likewise.
2429 (_nss_dns_gethostbyaddr2_r): Likewise.
2430 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2431 (_nss_dns_getnetbyaddr_r): Likewise.
92c3af3c 2432
edf66db1 24332017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2434
edf66db1 2435 * resolv/res_init.c: Reformat to GNU style.
92c3af3c 2436
edf66db1 24372017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2438
edf66db1
SP
2439 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2440 (is_sort_mask): New function.
2441 (__res_vinit): Use it.
92c3af3c 2442
edf66db1 24432017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2444
edf66db1
SP
2445 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2446 conditionals.
92c3af3c 2447
edf66db1 24482017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2449
edf66db1
SP
2450 * resolv/res-close.c: New file.
2451 * resolv/res_init.c (__res_iclose, res_nclose)
2452 (res_thread_freeres): Remove definitions.
2453 * resolv/Makefile (routines): Add res-close.
92c3af3c 2454
edf66db1 24552017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2456
edf66db1
SP
2457 * resolv/res_randomid.c: New file.
2458 * resolv/res_init.c (res_randomid): Remove definition.
2459 * resolv/Makefile (routines): Add res_randomid.
92c3af3c 2460
edf66db1 24612017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2462
edf66db1
SP
2463 * include/resolv.h (__res_vinit): Declare as hidden.
2464 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2465 * resolv/res_libc.c (res_init): Likewise.
92c3af3c 2466
edf66db1 24672017-06-19 Joseph Myers <joseph@codesourcery.com>
92c3af3c 2468
edf66db1
SP
2469 [BZ #21457]
2470 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2471 _libc_xmmreg): Use __ctx in defining field.
92c3af3c 2472
edf66db1
SP
2473 [BZ #21597]
2474 * signal/signal.h (siginterrupt): Make declaration conditional on
2475 [__USE_XOPEN_EXTENDED || __USE_MISC].
92c3af3c 2476
edf66db1
SP
2477 [BZ #21584]
2478 * signal/signal.h: Make includes of <bits/sigstack.h> and
2479 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2480 __USE_MISC].
2481 (sigaltstack): Make declaration conditional on
2482 [__USE_XOPEN_EXTENDED || __USE_MISC].
92c3af3c 2483
edf66db1
SP
2484 [BZ #21575]
2485 * resource/bits/types/struct_rusage.h: New file.
2486 * include/bits/types/struct_rusage.h: Likewise.
2487 * bits/resource.h (struct rusage): Include
2488 <bits/types/struct_rusage.h> instead of defining here.
2489 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2490 Likewise.
2491 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2492 Likewise.
2493 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2494 Likewise.
2495 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2496 Likewise.
2497 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2498 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2499 Include <bits/types/struct_rusage.h>
92c3af3c 2500
edf66db1 25012017-06-19 Florian Weimer <fweimer@redhat.com>
92c3af3c 2502
edf66db1 2503 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
92c3af3c 2504
edf66db1 25052017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
92c3af3c 2506
edf66db1 2507 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
92c3af3c 2508
edf66db1 25092017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
92c3af3c 2510
edf66db1 2511 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
92c3af3c 2512
edf66db1 25132017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
92c3af3c 2514
edf66db1
SP
2515 [BZ #21537]
2516 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2517 Check SHARED instead of PIC.
2518 (SYSCALL_PIC_SETUP): Add missing semicolons.
2519 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2520 Check SHARED instead of PIC.
2521 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2522 (__makecontext_ret): Adjust code to jump to exit.
92c3af3c 2523
edf66db1 25242017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
92c3af3c 2525
edf66db1
SP
2526 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2527 Simplify code by always using SVC 0 instead of EX.
2528 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
92c3af3c 2529
edf66db1 25302017-06-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 2531
edf66db1 2532 * elf/Versions (ld): Remove _dl_out_of_memory.
92c3af3c 2533
edf66db1 25342017-06-16 Joseph Myers <joseph@codesourcery.com>
92c3af3c 2535
edf66db1
SP
2536 * timezone/private.h: Update from tzcode 2017b.
2537 * timezone/tzfile.h: Likewise.
2538 * timezone/tzselect.ksh: Likewise.
2539 * timezone/zdump.c: Likewise.
2540 * timezone/zic.c: Likewise.
2541 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2542 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2543 * time/tzset.c (SECSPERDAY): New macro.
2544
25452017-06-16 Rical Jasan <ricaljasan@pacific.net>
2546
2547 * manual/string.texi (strdup): Complete header and standards
2548 annotation.
2549 (strncpy): Likewise.
2550
25512017-06-16 Rical Jasan <ricaljasan@pacific.net>
2552
2553 * manual/arith.texi (FP_NAN): Add or complete header and standard
2554 annotations.
2555 (FP_INFINITE): Likewise.
2556 (FP_ZERO): Likewise.
2557 (FP_SUBNORMAL): Likewise.
2558 (FP_NORMAL): Likewise.
2559 (SNAN): Likewise.
2560 (SNANL): Likewise.
2561 (totalorderf): Likewise.
2562 (totalorderl): Likewise.
2563 (totalordermagf): Likewise.
2564 (totalordermagl): Likewise.
2565 (_Complex_I): Likewise.
2566 (I): Likewise.
2567
25682017-06-16 Rical Jasan <ricaljasan@pacific.net>
2569
2570 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2571 standard annotation.
2572 (ARGP_HELP_SHORT_USAGE): Likewise.
2573 (ARGP_HELP_SEE): Likewise.
2574 (ARGP_HELP_LONG): Likewise.
2575 (ARGP_HELP_PRE_DOC): Likewise.
2576 (ARGP_HELP_POST_DOC): Likewise.
2577 (ARGP_HELP_DOC): Likewise.
2578 (ARGP_HELP_BUG_ADDR): Likewise.
2579 (ARGP_HELP_LONG_ONLY): Likewise.
2580 (ARGP_HELP_EXIT_ERR): Likewise.
2581 (ARGP_HELP_EXIT_OK): Likewise.
2582 (ARGP_HELP_STD_ERR): Likewise.
2583 (ARGP_HELP_STD_USAGE): Likewise.
2584 (ARGP_HELP_STD_HELP): Likewise.
2585
25862017-06-15 Rical Jasan <ricaljasan@pacific.net>
2587
2588 * manual/Makefile: Generate summary.texi with summary.pl. Force
2589 use of the C locale. Update Perl dependency comment.
2590 * manual/header.texi: Update reference to summary.awk.
2591 * manual/macros.texi: Refer authors to `summary.pl --help'.
2592 * manual/summary.awk: Remove file.
2593 * manual/summary.pl: New file. Generate summary.texi, and check
2594 for @standards-related syntax errors.
2595 * manual/argp.texi: Convert header and standards @comments to
2596 @standards.
2597 * manual/arith.texi: Likewise.
2598 * manual/charset.texi: Likewise.
2599 * manual/conf.texi: Likewise.
2600 * manual/creature.texi: Likewise.
2601 * manual/crypt.texi: Likewise.
2602 * manual/ctype.texi: Likewise.
2603 * manual/debug.texi: Likewise.
2604 * manual/errno.texi: Likewise.
2605 * manual/filesys.texi: Likewise.
2606 * manual/getopt.texi: Likewise.
2607 * manual/job.texi: Likewise.
2608 * manual/lang.texi: Likewise.
2609 * manual/llio.texi: Likewise.
2610 * manual/locale.texi: Likewise.
2611 * manual/math.texi: Likewise.
2612 * manual/memory.texi: Likewise.
2613 * manual/message.texi: Likewise.
2614 * manual/pattern.texi: Likewise.
2615 * manual/pipe.texi: Likewise.
2616 * manual/process.texi: Likewise.
2617 * manual/resource.texi: Likewise.
2618 * manual/search.texi: Likewise.
2619 * manual/setjmp.texi: Likewise.
2620 * manual/signal.texi: Likewise.
2621 * manual/socket.texi: Likewise.
2622 * manual/startup.texi: Likewise.
2623 * manual/stdio.texi: Likewise.
2624 * manual/string.texi: Likewise.
2625 * manual/sysinfo.texi: Likewise.
2626 * manual/syslog.texi: Likewise.
2627 * manual/terminal.texi: Likewise.
2628 * manual/threads.texi: Likewise.
2629 * manual/time.texi: Likewise.
2630 * manual/users.texi: Likewise.
92c3af3c 2631
edf66db1 26322017-06-15 Rical Jasan <ricaljasan@pacific.net>
92c3af3c 2633
edf66db1
SP
2634 * manual/macros.texi (@standards): New macro. Provide placeholder
2635 for header and standards annotations.
2636 (@standardsx): New macro. Likewise, for lists of @*x elements.
92c3af3c 2637
edf66db1 26382017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
92c3af3c 2639
edf66db1
SP
2640 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2641 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2642 rule.
2643 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2644 sync_file_range.
92c3af3c 2645
edf66db1
SP
2646 * support/support_test_main.c (support_test_main): Use optstring
2647 member for option string in getopt_long.
2648 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2649 (CMDLINE_OPTSTRING): New define.
2650 * support/test-driver.h (test_config): Add optstring member.
92c3af3c 2651
edf66db1 26522017-06-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 2653
edf66db1
SP
2654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2655 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2656 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2657 Check USE_AS_STRPBRK instead of STRPBRK_P.
2658 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2659 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2660 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2661 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2662 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2663 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2664 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2665 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2666 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2667 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2668 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2669 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2670 and "#endif".
92c3af3c 2671
edf66db1 26722017-06-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 2673
edf66db1
SP
2674 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2675 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
92c3af3c 2676
edf66db1 26772017-06-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 2678
edf66db1
SP
2679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2680 strcat-sse2.
2681 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2682 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2683 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2684 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2685 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
92c3af3c 2686
edf66db1
SP
26872017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2688 Erich Elsen <eriche@google.com>
92c3af3c 2689
edf66db1
SP
2690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2691 memcmp-sse2.
2692 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2693 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2694 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2695 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2696 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2697 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
92c3af3c 2698
edf66db1
SP
26992017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2700 Erich Elsen <eriche@google.com>
92c3af3c 2701
edf66db1
SP
2702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2703 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2704 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2705 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2706 Update comments.
2707 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2708 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2709 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2710 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2711 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2712 * sysdeps/x86_64/multiarch/memset.S: Removed.
2713 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2714 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2715 (__memset_chk_erms): New function.
2716
27172017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2718
2719 * configure.ac(--enable-tunables): Enable by default.
2720 * configure: Regenerate.
2721 * NEWS: Mention change.
2722 * manual/install.texi (enable-tunables): Adjust documentation.
2723 * INSTALL: Regenerate.
2724
27252017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2726
2727 [BZ #18988]
2728 * benchtests/thread_create-inputs: New file.
2729 * benchtests/thread_create-source.c: Likewise.
2730 * support/xpthread_attr_setguardsize.c: Likewise.
2731 * support/Makefile (libsupport-routines): Add
2732 xpthread_attr_setguardsize object.
2733 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2734 * benchtests/Makefile (bench-pthread): Add thread_create.
2735 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2736 then mprotect the required area.
2737 (guard_position): New function.
2738 (setup_stack_prot): Likewise.
2739
27402017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2741 Erich Elsen <eriche@google.com>
2742 Adhemerval Zanella <adhemerval.zanella@linaro.org>
92c3af3c 2743
edf66db1
SP
2744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2745 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2746 mempcpy_chk-nonshared and memmove_chk-nonshared.
2747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2748 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2749 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2750 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2751 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2752 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2753 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2754 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2755 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2756 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2757 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2758 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2759 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2760 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2761 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2762 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2763 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2764 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2765 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2766 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2767 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2768 (__mempcpy_chk_erms): New function.
2769 (__memmove_chk_erms): Likewise.
2770 (__memcpy_chk_erms): New alias.
2771
27722017-06-14 Florian Weimer <fweimer@redhat.com>
2773
2774 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2775 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2776
27772017-06-14 Zack Weinberg <zackw@panix.com>
2778
2779 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2780 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2781 defined, don't declare anything other than the E-constants.
2782
2783 * include/errno.h: Change conditional for exposing internal
2784 declarations to (not _ISOMAC and not __ASSEMBLER__).
2785 * bits/errno.h: Remove logic for __need_Emath. Document
2786 requirements for a port-specific bits/errno.h.
2787
2788 * sysdeps/unix/sysv/linux/bits/errno.h
2789 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2790 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2791 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2792 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2793 Add multiple-include guard and check against improper inclusion.
2794 Remove __need_Emath logic. Don't declare errno here. Ensure all
2795 constants are defined as simple integer literals. Consistent
2796 formatting.
2797 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2798 enum __error_t_codes if __ASSEMBLER__ is not defined.
2799 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2800
2801 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2802 including errno.h.
2803 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2804 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2805 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2806 * sysdeps/x86_64/fpu/s_cosf.S
2807 * sysdeps/x86_64/fpu/s_sincosf.S
2808 * sysdeps/x86_64/fpu/s_sinf.S:
2809 Just include errno.h; don't define __need_Emath or include
2810 bits/errno.h directly.
2811
28122017-06-14 Zack Weinberg <zackw@panix.com>
2813
2814 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2815 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2816 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2817
2818 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2819 for IOV_MAX.
2820 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2821 Don't install bits/uio.h.
2822 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2823 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2824 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2825
2826 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2827 and __need_IOV_MAX. Don't define IOV_MAX at all.
2828 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2829
2830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2831 Include bits/types/struct_iovec.h, not bits/uio.h.
2832 Use __ssize_t, not ssize_t, in function prototypes.
2833 Don't use hard TAB for double space after period in comments.
2834
28352017-06-14 Alan Modra <amodra@gmail.com>
2836
2837 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2838 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2839 refsym and sym parameters. Adjust callers.
2840 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2841 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2842 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2843 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2844 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2845 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2846 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2847 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2848 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2849 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2850 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
92c3af3c 2851 Likewise.
edf66db1
SP
2852 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2853 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2854 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2855 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2857 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2858 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2859 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2860 (_dl_reloc_overflow): Increase buffser size. Formatting.
2861 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2862 Delete reloc param, add refsym and sym. Check optimized plt
2863 call stubs for localentry:0 functions. Adjust callers.
2864 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2865 and sym parameters. Adjust callers.
2866 (_dl_reloc_overflow): Move attribute.
2867 (_dl_error_localentry): Declare.
2868 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2869 refsym and sym to elf_machine_fixup_plt.
2870 * elf/testobj6.c (preload): Call printf.
2871
28722017-06-14 Alan Modra <amodra@gmail.com>
2873
2874 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2875 (NOPS, ENTRY_3): New macros.
2876 (ENTRY): Rewrite.
2877 (ENTRY_TOCLESS): Define.
2878 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2879 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2880 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2881 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2882 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2883 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2884 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2885 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2888 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2889 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2890 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2892 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2893 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2894 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2895 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2896 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2897 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2898 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2900 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2901 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2902 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2903 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2904 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2905 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2906 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2907 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2909 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2910 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2913 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2914 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2915 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2917 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2918 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2919 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2921 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2922 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2924 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2925 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2926 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2927 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2928 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2929 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2931 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2932 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2933 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2934 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2935 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2936 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2937 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2938 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2939 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2940 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2943 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2944 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2945 Likewise.
2946 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2947 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2948 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2949 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2951 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2952 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2953 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2954 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2956 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2957 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2958 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2959 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2960 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2961 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2962 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2963 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2964 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2965 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2966 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2967 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2968 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2969 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2970 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2971 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2972 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2973 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2974 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2975 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2976 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2977 add nop when SHARED.
2978 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2979 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2980 define.
2981 (ENTRY_TOCLESS): Define.
2982 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2983 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2984 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2985
29862017-06-14 Alan Modra <amodra@gmail.com>
2987
2988 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2989 MEMSET_is_local.
2990 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2991 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2992 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2993 Define MEMSET.
2994 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2995 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2996 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2997 nop after local calls.
2998 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2999 Don't add nop after local call.
3000 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
3001 CALL_MCOUNT.
3002
30032017-06-14 Alan Modra <amodra@gmail.com>
3004
3005 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
3006 (FUNC_LABEL): Rename from DOT_LABEL.
3007 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
3008 Use .p2align rather than .align.
3009 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
3010 (ABORT_TRANSACTION): Likewise.
3011 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
3012 particularly at end. Add semicolon at invocation as necessary.
3013 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
3014 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
3015 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
3016 END): Adjust to suit.
3017
30182017-06-14 Alan Modra <amodra@gmail.com>
3019
3020 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
3021 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
3022 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3023 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3024 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
3026 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
3027
30282017-06-14 Alan Modra <amodra@gmail.com>
3029
3030 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
3031 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
3032
30332017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
3034
3035 [BZ #21548]
3036 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
3037 8 and use it when copying general purpose registers.
3038 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
3039 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
3040 mips o32.
3041 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
3042 new test for mips o32.
3043 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
3044 8 and use it when copying general purpose registers.
3045 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
3046
30472017-06-13 Florian Weimer <fweimer@redhat.com>
3048
3049 * configure.ac (find_cxx_header): Suppress compiler error message.
3050
30512017-06-13 Florian Weimer <fweimer@redhat.com>
3052
3053 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
3054 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
3055 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
3056 begin/end.
3057 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
3058 dynarray_int_end.
3059 (test_str): Test dynarray_str_begin, dynarray_str_end.
3060
30612017-06-13 H.J. Lu <hongjiu.lu@intel.com>
3062
3063 [BZ #21573]
3064 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
3065 $(common-objpfx)bits/std_abs.h.
3066 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
3067 New target.
3068 * config.make.in (c++-bits-std_abs-h): New.
3069 * configure.ac (find_cxx_header): Use "\,$1," with sed.
3070 (CXX_BITS_STD_ABS_H): New.
3071 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
3072 * configure: Regenerated.
92c3af3c 3073
edf66db1
SP
30742017-06-13 Zack Weinberg <zackw@panix.com>
3075
3076 * posix/bits/cpu-set.h: Correct indentation of preprocessor
3077 directives.
3078
30792017-06-12 Zack Weinberg <zackw@panix.com>
3080
3081 * bits/sched.h: Remove __need_schedparam logic and replace with a
3082 normal multiple-include guard. Change field name in struct
3083 sched_param from __sched_priority to sched_priority. Delete
3084 everything under #ifndef __cpu_set_t_defined.
3085 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
3086 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
3087
3088 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
3089 For compatibility, #define sched_priority to itself, and #define
3090 __sched_priority as sched_priority.
3091 * posix/bits/cpu-set.h: New file containing, verbatim, the code
3092 that was under #ifndef __cpu_set_t_defined in
3093 sysdeps/unix/sysv/linux/bits/sched.h.
3094 * include/bits/cpu-set.h: New wrapper.
3095 * posix/Makefile: Install bits/cpu-set.h.
3096
30972017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3098 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3099 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3100
3101 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
3102 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
3103 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
3104 * math/libm-test-isfinite.inc (finite_test): Likewise.
3105 * math/libm-test-lgamma.inc (gamma_test): Likewise.
3106 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
3107 (nexttoward_test_data}: Likewise.
3108 * math/libm-test-remainder.inc (drem_test): Likewise.
3109 * math/libm-test-scalb.inc (scalb_test): Likewise.
3110 (scalb_test_data): Likewise.
3111 * math/libm-test-significand.inc (significand_test): Likewise.
3112 (significand_test_data): Likewise.
3113 * math/libm-test-support.c (check_complex): Replace __complex__
3114 FLOAT with CFLOAT to get the support for old compiler.
3115 * math/libm-test-support.h (check_complex): Likewise.
3116 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
3117 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
3118 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
3119 * math/test-float128.h: New file.
3120 * math/test-math-floatn.h: New file.
3121
31222017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3123
3124 * include/float.h: Allow the definition of macros prefixed with
3125 FLT128 even if _ISOMAC is defined, but provided that
3126 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
3127
31282017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3129
3130 * manual/math.texi (Mathematics): Add description for _FloatN and
3131 _FloatNx types and mentions that they are not support in glibc for
3132 any architecture, so far.
3133 * manual/arith.texi (wcstof, wcstold): Replace the mention to
3134 stdlib.h with wchar.h.
3135 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
3136 (Printing of Floats): Add description for strfromfN.
3137
31382017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3139 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3140 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3141
3142 * include/gmp.h (__mpn_construct_float128): New declaration.
3143 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
3144 (__strtof128_l): New declaration.
3145 (__strtof128_nan): Likewise.
3146 (__wcstof128_nan): Likewise.
3147 (__strtof128_internal): Likewise.
3148 (____strtof128_l_internal): Likewise.
3149 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
3150 (__wcstof128_l): New declaration.
3151 (__wcstof128_internal): Likewise.
3152
3153 * stdlib/Makefile (bug-strtod2): Link libm too.
3154
3155 * stdlib/stdlib.h (strtof128): New declaration.
3156 (strtof128_l): Likewise.
3157
3158 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
3159 tst-strtod.h macros to ensure float128 gets tested too.
3160
3161 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
3162
3163 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
3164 tests.
3165 (IF_FLOAT128): New macro.
3166 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
3167 the tests.
3168 (STRTOD_TEST_FOREACH): Likewise.
92c3af3c 3169
edf66db1
SP
3170 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
3171 wcstof128 functions into libc.
92c3af3c 3172
edf66db1
SP
3173 * sysdeps/ieee754/float128/Versions: Add exports for the above
3174 new functions.
92c3af3c 3175
edf66db1
SP
3176 * sysdeps/ieee754/float128/mpn2float128.c: New file.
3177 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
3178 * sysdeps/ieee754/float128/strtof128.c: New file.
3179 * sysdeps/ieee754/float128/strtof128_l.c: New file.
3180 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
3181 * sysdeps/ieee754/float128/wcstof128.c: New file.
3182 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3183 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3184 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3185 (CFLAGS-wcstof128_l): Likewise.
92c3af3c 3186
edf66db1
SP
3187 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3188 (wcstof128): New declaration.
3189 (wcstof128_l): Likewise.
92c3af3c 3190
edf66db1 31912017-06-12 Joseph Myers <joseph@codesourcery.com>
92c3af3c 3192
edf66db1
SP
3193 [BZ #21552]
3194 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3195 not [__USE_XOPEN].
3196 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
92c3af3c 3197
edf66db1
SP
3198 [BZ #21550]
3199 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
92c3af3c 3200
edf66db1 32012017-06-12 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 3202
edf66db1
SP
3203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3204 strcpy-sse2 and stpcpy-sse2.
3205 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3206 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3207 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3208 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3209 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3210 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3211 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3212 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3213 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3214 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3215 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3216 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3217 (libc_hidden_def): Always defined as empty.
3218 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3219 Always Defined as empty.
92c3af3c 3220
edf66db1 32212017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
92c3af3c 3222
edf66db1 3223 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
92c3af3c 3224
edf66db1 32252017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
92c3af3c 3226
edf66db1
SP
3227 [BZ #15105]
3228 [BZ #19463]
3229 * include/string.h: Add internal redirect for __stpcpy.
3230 * string/Makefile: Remove bits/string2.h.
3231 * string/string.h: Update comment.
3232 * string/string-inlines.c: Remove bits/string2.h include and comment.
3233 * string/bits/string2.h: Remove file.
92c3af3c 3234
edf66db1 32352017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
92c3af3c 3236
edf66db1
SP
3237 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3238 * sunrpc/clnt_gen.c (clnt_create): Likewise.
3239 * sunrpc/des_impl.c (_des_crypt): Likewise.
3240 * sunrpc/key_call.c (key_gendes): Likewise.
3241 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3242 * sunrpc/svc_simple.c (universal): Likewise.
3243 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3244 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3245 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
92c3af3c 3246
edf66db1 32472017-06-10 Zack Weinberg <zackw@panix.com>
92c3af3c 3248
edf66db1 3249 * stdlib/errno.h: Correct an outdated comment.
92c3af3c 3250
edf66db1 32512017-06-09 Paul A. Clarke <pc@us.ibm.com>
92c3af3c 3252
edf66db1
SP
3253 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3254 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3255 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3256 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3257 New file. Invoke newly supported sysconf values for powerpc,
3258 and report results. If none are supported, report so.
3259 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
3260 tst-sysconf.
92c3af3c 3261
edf66db1 32622017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 3263
edf66db1
SP
3264 * include/sys/auxv.h (__getauxval): Add a prototype and its
3265 libc_hidden_proto.
3266 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3267
32682017-06-09 Joseph Myers <joseph@codesourcery.com>
3269
3270 [BZ #21561]
3271 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3272 [__USE_XOPEN_EXTENDED].
3273 (id_t): Likewise.
3274 (include of <bits/types/siginfo_t.h): Likewise.
3275 (waitid): Likewise.
3276 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3277 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3278 (WEXITED): Likewise.
3279 (WCONTINUED): Likewise.
3280 (WNOWAIT): Likewise.
3281 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3282 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3283 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3284
3285 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3286 libc.so PLT entry optional.
3287 (__gtsf2): Likewise.
3288 (__unorddf2): Likewise.
3289 (__unordsf2): Likewise.
3290 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3291 New optional libc.so PLT entry.
3292
3293 [BZ #21554]
3294 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3295 not [__USE_XOPEN].
3296
3297 [BZ #21560]
3298 * posix/sys/wait.h: Condition include of <signal.h> on
3299 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
3300 unconditionally.
3301 [!__pid_t_defined] (pid_t): Define typedef.
92c3af3c 3302
edf66db1 33032017-06-09 Zack Weinberg <zackw@panix.com>
92c3af3c 3304
edf66db1
SP
3305 * include/errno.h (__errno_location): Use __attribute_const__
3306 instead of bare __attribute__.
92c3af3c 3307
edf66db1 33082017-06-09 Zack Weinberg <zackw@panix.com>
92c3af3c 3309
edf66db1
SP
3310 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3311 (common-generated): Add libc-modules.h and libc-modules.stmp in a
3312 more appropriate location. Also add dl-tunable-list.h and
3313 dl-tunable-list.stmp.
92c3af3c 3314
edf66db1 33152017-06-09 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 3316
edf66db1 3317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
92c3af3c 3318
edf66db1 33192017-06-09 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 3320
edf66db1
SP
3321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3322 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3324 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3325 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3326 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3327 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3328 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3329 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3330 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3331 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3332
33332017-06-09 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 3334
edf66db1
SP
3335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3336 memrchr-sse2 and memrchr-avx2.
3337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3338 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3339 __memrchr_sse2.
3340 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3341 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3342 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
92c3af3c 3343
edf66db1 33442017-06-09 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 3345
edf66db1
SP
3346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3347 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3348 wcschr-sse2 and wcschr-avx2.
3349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3350 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3351 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3352 __wcschr_sse2.
3353 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3354 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3355 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3356 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3357 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3358 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3359 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3360 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3361 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3362 * sysdeps/x86_64/multiarch/strchr.S: Removed.
3363
33642017-06-09 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 3365
edf66db1
SP
3366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3367 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3368 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3370 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3371 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3372 __wcslen_sse2 and __wcsnlen_avx2.
3373 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3374 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3375 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3376 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3377 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3378 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3379 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3380 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3381 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3382 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3383 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3384 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3385 vzeroupper is preferred and AVX unaligned load is fast.
3386
33872017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
3390 USE_AS_WMEMCHR is defined.
3391 (PCMPEQ): Likewise.
3392 (memchr): Renamed to ...
3393 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
3394 Replace pcmpeqb with PCMPEQ.
3395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3396 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3397 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3398 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3399 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3400 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3401 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3402 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3403 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3404 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3405 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3406 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3407 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3409 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3410 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3411 __wmemchr_sse2.
3412
34132017-06-09 Florian Weimer <fweimer@redhat.com>
3414
3415 * malloc/Makefile (test-srcs): Remove tst-dynarray,
3416 tst-dynarray-fail.
3417
34182017-06-09 Florian Weimer <fweimer@redhat.com>
3419
3420 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3421 * support/support_test_verify_impl.c
3422 (support_test_verify_exit_impl): Split from
3423 support_test_verify_impl.
3424 * support/check.h (TEST_VERIFY): Drop status argument from
3425 support_test_verify_impl call.
3426 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3427 (support_test_verify_impl): Remove status argument.
3428 (support_test_verify_exit_impl): Declare.
3429
34302017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3431
3432 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3433 mention of magic numbers in comments.
3434 (_dl_procinfo): Fix undefined behavior
3435
34362017-06-08 Joseph Myers <joseph@codesourcery.com>
3437
3438 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3439 [XPG4].
3440 (WEXITED): Likewise.
3441 (WSTOPPED): Likewise.
3442 (WCONTINUED): Likewise.
3443 (WNOHANG): Likewise.
3444 (WNOWAIT): Likewise.
3445 (idtype_t): Likewise.
3446 (P_ALL): Likewise.
3447 (P_PID): Likewise.
3448 (P_PGID): Likewise.
3449 (id_t): Likewise.
3450 (siginfo_t): Likewise.
3451 (wait3): Likewise.
3452 (waitid): Likewise.
3453 (signal.h): Do not allow header for [XPG4].
3454 (sys/resource.h): Likewise.
3455 (si_*): Do not allow for [XPG4].
3456 (W*): Likewise.
3457 (P_*): Likewise.
3458 (BUS_): Likewise.
3459 (CLD_): Likewise.
3460 (FPE_): Likewise.
3461 (ILL_): Likewise.
3462 (POLL_): Likewise.
3463 (SEGV_): Likewise.
3464 (SI_): Likewise.
3465 (TRAP_): Likewise.
3466 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3467 variable.
92c3af3c 3468
edf66db1 34692017-06-08 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 3470
edf66db1
SP
3471 [BZ #21528]
3472 * elf/dl-minimal.c (__strtoul_internal): Removed.
3473 (strtoul): Likewise.
3474 * elf/dl-misc.c (_dl_strtoul): New function.
3475 * elf/dl-tunables.c (tunables_strtoul): Removed.
3476 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3477 * elf/rtld.c (process_envvars): Likewise.
3478 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3479 Likewise.
3480 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3481
34822017-06-08 Zack Weinberg <zackw@panix.com>
3483
3484 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3485 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3486 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3487 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3488 between wctype.h and wchar.h.
3489
3490 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3491 Install them.
3492
3493 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3494 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3495 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3496 New wrappers.
3497 * include/stdio.h, include/wchar.h, include/wctype.h:
3498 No need to handle __need macros.
3499
3500 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3501 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3502 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3503 * wcsmbs/wchar.h, wctype/wctype.h
3504 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3505 Use the new files instead of __need macros.
3506
35072017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3508
3509 * string/test-memrchr.c (test_main): Add tests for len == 0
3510 and tests for positions close to the beginning, which are
3511 equivalent to positions close to the end for memchr.
3512
35132017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3514
3515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3516 comments.
3517 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3518 instead of wmemset.h.
3519 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3520 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3521 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3522
35232017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3524
3525 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3526 spec->info.is_binary128 to zero.
3527 * stdio-common/printf.h (printf_info): Add new member is_binary128
3528 to indicate that the number being converted to string is compatible
3529 with the IEC 60559 binary128 format.
3530 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3531 _Float128 numbers.
3532 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3533 ldbl-128/printf_fphex_macros.h
3534 (__printf_fphex): Add code to deal with _Float128 numbers.
3535 * stdio-common/printf_size.c (__printf_size): Likewise.
3536 * stdio-common/vfprintf.c (process_arg): Initialize member
3537 info.is_binary128 to zero.
3538 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3539 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3540 (strfromf128): New declaration.
3541 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3542 to one.
3543 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3544 * sysdeps/ieee754/float128/Versions: Likewise.
3545 * sysdeps/ieee754/float128/strfromf128.c: New file.
3546
35472017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3548
3549 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3550 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3551 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3552 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3553 (PRINT_FPHEX): New function-like macro that can be used for long
3554 double, as well as for _Float128
3555
35562017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3557
3558 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3559 (__printf_fp_l): Use the new macro to avoid duplicating code.
3560 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3561 (__printf_fphex): Use the new macro to avoid duplicating code.
3562 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3563 (__printf_size): Use the new macro to avoid duplicating code.
3564
35652017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3566
3567 * include/gmp.h: Include bits/floatn.h
3568 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3569 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3570 including stack-alloc.h. It could have been defined by other header
3571 which not necessarily defines HAVE_ALLOCA.
3572 * sysdeps/ieee754/float128/Makefile: New file.
3573 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3574 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3575 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3576 redefine __mpn_extract_long_double to __mpn_extract_float128.
3577 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3578 _Float128 to allow float128_private.h overrides.
3579
35802017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3581
3582 * stdlib/fpioconst.h: Include bits/floatn.h.
3583 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3584 power of ten table should be.
3585 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3586 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3587 to include larger tables when _Float128 support is enabled.
3588 (_fpioconst_pow10): Likewise.
3589
35902017-06-07 Joseph Myers <joseph@codesourcery.com>
3591
3592 * include/bits/types/clock_t.h: Use #include <path> instead of
3593 #include "../../path".
3594 * include/bits/types/clockid_t.h: Likewise.
3595 * include/bits/types/struct_iovec.h: Likewise.
3596 * include/bits/types/struct_itimerspec.h: Likewise.
3597 * include/bits/types/struct_osockaddr.h: Likewise.
3598 * include/bits/types/struct_sigstack.h: Likewise.
3599 * include/bits/types/struct_timespec.h: Likewise.
3600 * include/bits/types/struct_timeval.h: Likewise.
3601 * include/bits/types/struct_tm.h: Likewise.
3602 * include/bits/types/time_t.h: Likewise.
3603 * include/bits/types/timer_t.h: Likewise.
3604
3605 [BZ #14096]
3606 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3607 America/New_York.
3608
36092017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3612 into ...
3613 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3614 ifunc-sse4_1.h.
92c3af3c 3615
edf66db1 36162017-06-07 Arjun Shankar <arjun.is@lostca.se>
92c3af3c 3617
edf66db1
SP
3618 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3619 Remove check for NULL 'buf'.
3620 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
92c3af3c 3621
edf66db1 36222017-06-07 Arjun Shankar <arjun.is@lostca.se>
92c3af3c 3623
edf66db1
SP
3624 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3625 include test-skeleton.c.
3626 Include support/check.h and support/test-driver.c.
92c3af3c 3627
edf66db1 36282017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
92c3af3c 3629
edf66db1
SP
3630 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3631 (_dl_aarch64_cap_flags): New array.
3632 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3633 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3634 functions.
92c3af3c 3635
edf66db1
SP
3636 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3637 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3638 Likewise.
3639 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3640 up hwcap and hwcap_mask.
3641
3642 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3643 (init_cpu_features): Use glibc.tune.hwcap_mask.
3644 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3645
3646 * elf/dl-hwcaps.h: New file.
3647 * elf/dl-hwcaps.c: Include it.
3648 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3649 glibc.tune.hwcap_mask.
3650 * elf/dl-cache.c: Include dl-hwcaps.h.
3651 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3652 glibc.tune.hwcap_mask.
3653 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3654 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3655 _dl_hwcap_mask.
3656 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3657 _dl_hwcap_mask.
3658 (process_envvars)[HAVE_TUNABLES]: Likewise.
3659 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3660 Likewise.
3661 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3662 initialize dl_hwcap_mask when tunables are enabled.
3663
3664 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3665 guard.
3666 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3667
3668 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3669 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3670 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3671
3672 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3673 * elf/dl-tunables.c: Likewise.
3674 (do_tunable_update_val): New function.
3675 (__tunable_set_val): New function.
3676 (__tunable_get_val): Call CB only if the tunable was externally
3677 initialized.
3678 (tunables_strtoul): Replace strval with initialized.
3679 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3680 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3681 prevent collision.
3682 (__tunable_set_val): New function.
3683 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3684 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3685 (TUNABLE_SET_VAL): Remove.
3686 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3687 * README.tunables: Document the new macros.
3688 * malloc/arena.c (ptmalloc_init): Adjust.
3689
36902017-06-06 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 3691
edf66db1
SP
3692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3693 wcsnlen-sse4_1 and wcsnlen-c.
3694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3695 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3696 __wcsnlen_sse2.
3697 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3698 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3699 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3700 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3701 * sysdeps/x86_64/wcsnlen.S: Removed.
3702
37032017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3704
3705 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3706 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3707 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3708 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3709
37102017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3711
3712 * NEWS: Mention new spinlock implementation.
3713 * include/atomic.h:
3714 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3715 (atomic_exchange_acq): Likewise.
3716 (atomic_load_relaxed): Likewise.
3717 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3718 * nptl/pthread_spin_init.c (pthread_spin_init):
3719 Use atomic_store_relaxed.
3720 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3721 Use C11-like atomic macros.
3722 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3723 Likewise.
3724 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3725 Use atomic_store_release.
3726 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3727 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3728 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3729 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3730 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3731 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3732 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3733 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3734 * sysdeps/alpha/atomic-machine.h: Likewise.
3735 * sysdeps/arm/atomic-machine.h: Likewise.
3736 * sysdeps/i386/atomic-machine.h: Likewise.
3737 * sysdeps/ia64/atomic-machine.h: Likewise.
3738 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3739 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3740 * sysdeps/microblaze/atomic-machine.h: Likewise.
3741 * sysdeps/mips/atomic-machine.h: Likewise.
3742 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3743 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3744 * sysdeps/s390/atomic-machine.h: Likewise.
3745 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3746 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3747 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3748 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3749 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3750 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3751 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3752 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3753 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3754 * sysdeps/x86_64/atomic-machine.h: Likewise.
3755
37562017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3759 and use it instead of dl_x86_cpu_features.
3760 (handle_intel): Replace maxidx with cpu_features. Pass
3761 cpu_features to intel_check_word.
3762 (__cache_sysconf): Pass cpu_features to handle_intel.
3763 (init_cacheinfo): Likewise. Use cpu_features instead of
3764 dl_x86_cpu_features.
3765
37662017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3770 memcmp-avx2 and wmemcmp-avx2.
3771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3772 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3773 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3774 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3775 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3776 2 machines if AVX unaligned load is fast and vzeroupper is
3777 preferred.
3778 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3779 2 machines if AVX unaligned load is fast and vzeroupper is
3780 preferred.
3781
37822017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3783
3784 * include/wchar.h (__wmemset_chk): New.
3785 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3786 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3787 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3788 (WMEMSET_CHK_SYMBOL): Likewise.
3789 (WMEMSET_SYMBOL): Likewise.
3790 (__wmemset): Add hidden definition.
3791 (wmemset): Add weak hidden definition.
3792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3793 wmemset_chk-nonshared.
3794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3795 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3796 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3797 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3798 and __wmemset_chk_avx512_unaligned.
3799 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3800 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3801 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3802 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3803 (WMEMSET_SYMBOL): Likewise.
3804 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3805 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3806 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3807 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3808 (WMEMSET_SYMBOL): Likewise.
3809 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3810 (WMEMSET_CHK_SYMBOL): New.
3811 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3812 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3813 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3814 (libc_hidden_builtin_def): Also define __GI_wmemset and
3815 __GI___wmemset.
3816 (weak_alias): New.
3817 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3818 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3819 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3820 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3821 * sysdeps/x86_64/wmemset.c: Likewise.
3822 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3823
38242017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3825 H.J. Lu <hongjiu.lu@intel.com>
3826
3827 * sysdeps/x86/init-arch.h (PASTER1): New.
3828 (EVALUATOR1): Likewise.
3829 (PASTER2): Likewise.
3830 (EVALUATOR2): Likewise.
3831 (REDIRECT_NAME): Likewise.
3832 (OPTIMIZE): Likewise.
3833 (IFUNC_SELECTOR): Likewise.
3834
38352017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3836
3837 * sysdeps/x86_64/strlen.S (PMINU): New.
3838 (PCMPEQ): Likewise.
3839 (SHIFT_RETURN): Likewise.
3840 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3841 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3842 pminub with PCMPEQ and PMINU.
3843 * sysdeps/x86_64/wcsnlen.S: New file.
3844
38452017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3846
3847 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3848 the lower 32 bits. Remove redundant instructions.
3849
38502017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3851
3852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3853 0 as the high part of offset.
3854 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3855
38562017-06-05 Joseph Myers <joseph@codesourcery.com>
3857
3858 [BZ #21538]
3859 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3860 [__USE_UNIX98].
3861 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3862 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3863 Likewise.
3864 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3865 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3866 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3867 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3868 Likewise.
92c3af3c 3869
edf66db1
SP
3870 [BZ #21517]
3871 * bits/types/stack_t.h (stack_t): Remove struct tag.
3872 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3873 Likewise.
3874 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3875 Likewise.
3876 * debug/segfault.c (install_handler): Use stack_t instead of
3877 struct sigaltstack.
3878 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3879 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3880 * include/signal.h (__sigaltstack): Likwise.
3881 * signal/sigaltstack.c (__sigaltstack): Likewise.
3882 * signal/signal.h (sigaltstack): Likewise.
3883 * sysdeps/mach/hurd/i386/signal-defines.sym
3884 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3885 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3886 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3887 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3888 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3889 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3890 elf_prstatus): Likewise.
3891 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3892 Likewise.
3893 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3894 Likewise.
3895 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3896 Likewise.
3897 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3898 elf_prstatus): Likewise.
3899 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3900 Likewise.
3901 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3902 Likewise.
92c3af3c 3903
edf66db1
SP
39042017-06-04 Zack Weinberg <zackw@panix.com>
3905
3906 * sysdeps/gnu/errlist.c: Regenerate.
3907
39082017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3909
3910 * benchtests/bench-memchr.c (do_test): Print out both length
3911 and position.
3912 (test_main): Also test the position close to the beginning for
3913 memrchr.
3914
39152017-06-04 Zack Weinberg <zackw@panix.com>
3916
3917 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3918 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3919 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3920 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3921 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3922 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3923 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3924 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3925 * nis/nis_print_group_entry.c, nis/nis_remove.c
3926 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3927 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3928 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3929 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3930 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3931 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3932 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3933 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3934 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3935 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3936 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3937 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3938 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3939 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3940 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3941 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3942 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3943 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3944 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3945 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3946
3947 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3948 abi-versions.h as well as shlib-compat.h.
3949 * sunrpc/get_myaddr.c: Remove obsolete comment.
3950 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3951 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3952 * resolv/res_libc.c: Include shlib-compat.h only once.
3953
39542017-06-03 Florian Weimer <fweimer@redhat.com>
3955
3956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3957 of strdup.
3958
39592017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3960
3961 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3962 Set to the 3/4 of the total shared cache size.
3963
39642017-06-02 Rical Jasan <ricaljasan@pacific.net>
3965
3966 * manual/errno.texi: Remove redundant error strings.
3967 * manual/macros.texi (@errno): Render the error string in every
3968 description.
3969
39702017-06-02 Joseph Myers <joseph@codesourcery.com>
3971
3972 [BZ #21543]
3973 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3974 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3975 [__USE_XOPEN_EXTENDED].
3976
39772017-06-02 Florian Weimer <fweimer@redhat.com>
3978
3979 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3980 strdupa.
3981 (getcanonname): Use __strdup instead of strdup.
3982
39832017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3984
3985 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3986 (CFLAGS-preadv64v2.c): Likewise.
3987 (CFLAGS-pwritev2.c): Likewise.
3988 (CFLAGS-pwritev64v2.c): Likewise.
3989
39902017-06-02 Florian Weimer <fweimer@redhat.com>
3991
3992 Test res_init with several configuration files.
3993 * resolv/Makefile [build-shared] (tests-internal): Add
3994 tst-resolv-res_init, tst-resolv-res_init-thread.
3995 (tst-resolv-res_init): Link against libdl, libresolv.
3996 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3997 libpthread.
3998 * resolv/tst-resolv-res_init.c: New file.
3999 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
4000 * resolv/tst-resolv-res_init-thread.c: Likewise.
4001 * support/Makefile (libsupport-routines): Add support-xstat,
4002 support_can_chroot, support_capture_subprocess_check,
4003 support_isolate_in_subprocess, support_shared_allocate,
4004 support_write_file_string, xchroot, xmkdir, xopen.
4005 * support/capture_subprocess.h (enum support_capture_allow): Define.
4006 (support_capture_subprocess_check): Declare.
4007 * support/namespace.h (support_can_chroot)
4008 (support_isolate_in_subprocess): Declare.
4009 * support/support-xstat.c: New file.
4010 * support/support.h (support_shared_allocate, support_shared_free)
4011 (support_write_file_string): Declare.
4012 * support/support_can_chroot.c: New file.
4013 * support/support_capture_subprocess_check.c: Likewise.
4014 * support/support_isolate_in_subprocess.c: Likewise.
4015 * support/support_shared_allocate.c: Likewise.
4016 * support/support_write_file_string.c: Likewise.
4017 * support/xchroot.c: Likwise.
4018 * support/xmkdir.c: Likwise.
4019 * support/xopen.c: Likwise.
4020 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
4021
40222017-06-02 Florian Weimer <fweimer@redhat.com>
4023
4024 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
4025 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
4026
40272017-06-02 Florian Weimer <fweimer@redhat.com>
4028
4029 * malloc/Makefile (routines): Add dynarray_at_failure,
4030 dynarray_emplace_enlarge, dynarray_finalize.
4031 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
4032 tst-dynarray-at-fail.
4033 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
4034 (tests-special): Add tst-dynarray-mem.out,
4035 tst-dynarray-mem-fail.out.
4036 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
4037 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
4038 mtrace.
4039 * malloc/Versions (__libc_dynarray_at_failure)
4040 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
4041 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
4042 GLIBC_PRIVATE.
4043 * malloc/dynarray.h: New file.
4044 * malloc/dynarray-skeleton.c: Likewise.
4045 * malloc/dynarray_at_failure.c: Likewise.
4046 * malloc/dynarray_emplace_enlarge.c: Likewise.
4047 * malloc/dynarray_finalize.c: Likewise.
4048 * malloc/dynarray_resize.c: Likewise.
4049 * malloc/dynarray_resize_clear.c: Likewise.
4050 * malloc/tst-dynarray.c: Likewise.
4051 * malloc/tst-dynarray-fail.c: Likewise.
4052 * malloc/tst-dynarray-at-fail.c: Likewise.
4053 * malloc/tst-dynarray-shared.h: Likewise.
4054 * support/Makefile (libsupport-routines): Add
4055 support_capture_subprocess, xdup2, xpipe.
4056 (tests): Add tst-support_capture_subprocess.
4057 * support/capture_subprocess.h: New file.
4058 * support/support_capture_subprocess.c: Likewise.
4059 * support/tst-support_capture_subprocess.c: Likewise.
4060 * support/xdup2.c: Likewise.
4061 * support/xpipe.c: Likewise.
4062 * support/xunistd.h (xdup2, xpipe): Declare.
4063
40642017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4065
4066 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
4067 macros MAX and MIN.
4068
40692017-06-01 Joseph Myers <joseph@codesourcery.com>
4070
4071 * conform/data/signal.h-data (sa_sigaction): Do not expect for
4072 [XPG4].
4073 (SA_SIGINFO): Likewise.
4074 (SA_ONSTACK): Likewise.
4075 (SA_RESETHAND): Likewise.
4076 (SA_RESTART): Likewise.
4077 (SA_NOCLDWAIT): Likewise.
4078 (SA_NODEFER): Likewise.
4079 (SS_ONSTACK): Likewise.
4080 (SS_DISABLE): Likewise.
4081 (MINSIGSTKSZ): Likewise.
4082 (SIGSTKSZ): Likewise.
4083 (ucontext_t): Likewise.
4084 (stack_t): Likewise.
4085 (struct sigstack): Likewise.
4086 (SI_USER): Do not expect for [XPG4 || XPG42].
4087 (SI_QUEUE): Likewise.
4088 (SI_TIMER): Likewise.
4089 (SI_ASYNCIO): Likewise.
4090 (SI_MESGQ): Likewise.
4091 (bsd_signal): Do not expect for [XPG4].
4092 (killpg): Likewise.
4093 (sigaltstack): Likewise.
4094 (sighold): Likewise.
4095 (sigignore): Likewise.
4096 (siginterrupt): Likewise.
4097 (sigpause): Likewise.
4098 (sigrelse): Likewise.
4099 (sigset): Likewise.
4100 (sigwait): Do not expect for [XPG4 || XPG42].
4101
41022017-06-01 Zack Weinberg <zackw@panix.com>
4103
4104 [BZ #21514]
4105 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
4106 pointing to the generated file in <builddir>/misc/bits/syscall.h.
4107
41082017-06-01 Joseph Myers <joseph@codesourcery.com>
4109
4110 [BZ #21457]
4111 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
4112 NGREG to __NGREG if [__USE_MISC].
4113 (gregset_t): Define using __NGREG.
4114 (__ctx): New macro.
4115 (mcontext_t): Use __ctx in defining fields.
4116 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
4117 define NGREG to __NGREG if [__USE_MISC].
4118 (gregset_t): Define using __NGREG.
4119 (__ctx): New macro.
4120 (__ctxt): Likewise.
4121 (fpregset_t): Use __ctx and __ctxt in defining fields.
4122 (mcontext_t): Likewise.
4123 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
4124 define NGREG to __NGREG if [__USE_MISC].
4125 (gregset_t): Define using __NGREG.
4126 (__ctx): New macro.
4127 (mcontext_t): Use __ctx in defining fields.
4128 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
4129 define NGREG to __NGREG if [__USE_MISC].
4130 (gregset_t): Define using __NGREG.
4131 (__ctx): New macro.
4132 (fpregset_t): Use __ctx in defining fields.
4133 (mcontext_t): Likewise.
4134 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
4135 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4136 (gregset_t): Define using __NGREG.
4137 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4138 [__USE_MISC].
4139 (fpregset_t): Define using __NFPREG.
4140 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
4141 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4142 (gregset_t): Define using __NGREG.
4143 (__ctx): New macro.
4144 (fpregset_t): Use __ctx in defining fields.
4145 (mcontext_t): Likewise.
4146 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
4147 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4148 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4149 [__USE_MISC].
4150 (gregset_t): Define using __NGREG.
4151 (__ctx): New macro.
4152 (fpregset_t): Use __ctx in defining fields.
4153 (mcontext_t): Likewise.
4154 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
4155 (mcontext_t): Use __ctx in defining fields.
4156 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
4157 macro.
4158 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
4159 __NGREG if [__USE_MISC].
4160 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
4161 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
4162 (mcontext_t): Likewise.
4163 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
4164 __NGREG if [__USE_MISC].
4165 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
4166 to __NFPREG if [__USE_MISC].
4167 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
4168 to __NVRREG if [__USE_MISC].
4169 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
4170 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
4171 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
4172 [__WORDSIZE != 32] (vrregset_t): Likewise.
4173 [__WORDSIZE != 32] (mcontext_t): Likewise.
4174 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
4175 (__psw_t): Use __ctx in defining fields.
4176 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
4177 [__USE_MISC].
4178 (gregset_t): Define using __NGREG.
4179 (fpreg_t): Use __ctx in defining fields.
4180 (fpregset_t): Likewise.
4181 (mcontext_t): Likewise.
4182 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4183 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4184 (gregset_t): Define using __NGREG.
4185 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4186 [__USE_MISC].
4187 (fpregset_t): Define using __NFPREG.
4188 (__ctx): New macro.
4189 (mcontext_t): Use __ctx in defining fields.
4190 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4191 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4192 __NGREG if [__USE_MISC].
4193 [__x86_64__] (gregset_t): Define using __NGREG.
4194 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4195 [__x86_64__] (struct _libc_fpstate): Likewise.
4196 [__x86_64__] (mcontext_t): Likewise.
4197 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4198 __NGREG if [__USE_MISC].
4199 [!__x86_64__] (gregset_t): Define using __NGREG.
4200 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4201 [!__x86_64__] (struct _libc_fpstate): Likewise.
4202 [!__x86_64__] (mcontext_t): Likewise.
4203
42042017-06-01 Zack Weinberg <zackw@panix.com>
4205
4206 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4207 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
4208 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4209 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4210 libpthread.so no longer references __errno_location.
4211
42122017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4213
4214 * NEWS: Add note about pwritev2 and preadv2 inclusion.
4215 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4216 pwritev64v2.
4217 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4218 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4219 pwritev64v2.
4220 * misc/preadv2.c: New file.
4221 * misc/preadv64v2.c: Likewise.
4222 * misc/pwritev2.c: Likewise.
4223 * misc/pwritev64v2.c: Likewise.
4224 * misc/tst-preadvwritev2.c: Likewise.
4225 * misc/tst-preadvwritev64v2.c: Likewise.
4226 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4227 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4228 prototype.
4229 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4230 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4231 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4232 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4233 (PWRITEV): Likewise.
4234 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4235 ENOSYS.
4236 * nptl/tst-cancel4.c (tf_pwritev2): New test.
4237 (tf_preadv2): Likewise.
4238 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4239 * sysdeps/posix/preadv2.c: Likewise.
4240 * sysdeps/posix/preadv64v2.c: Likewise.
4241 * sysdeps/posix/pwritev2.c: Likewise.
4242 * sysdeps/posix/pwritev64v2.c: Likewise.
4243 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4244 support in kernel.
4245 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4246 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4247 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4248 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4249 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4250 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4251 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4252 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4253 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4254 support flags on Linux.
4255 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4256 preadv2, preadv64v2, pwritev2, pwritev64v2.
4257 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4258 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4259 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4260 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4261 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4262 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4263 Likewise.
4264 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4265 Likewise.
4266 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4267 Likewise.
4268 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4269 Likewise.
4270 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4271 Likewise.
4272 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4273 Likewise.
4274 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4275 Likewise.
4276 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4278 (GLIBC_2.26): Likewise.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4280 (GLIBC_2.26): Likewise.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4282 Likewise.
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4284 (GLIBC_2.26): Likewise.
4285 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4286 Likewise.
4287 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4288 Likewise.
4289 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4290 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4291 Likewise.
4292 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4293 Likewise.
4294 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4295 Likewise.
4296 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4297 Likewise.
4298 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4299 Likewise.
4300 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4301 Likewise.
4302 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4303 Likewise.
92c3af3c 4304
edf66db1 43052017-05-31 Andreas Schwab <schwab@suse.de>
92c3af3c 4306
edf66db1
SP
4307 * nptl/tst-fork3.c: Include <support/test-driver.c>.
4308 (main): Rename to do_test and make static.
92c3af3c 4309
edf66db1 43102017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
92c3af3c 4311
edf66db1
SP
4312 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4313 ARCH_INIT_CPU_FEATURES.
4314 (LIBC_START_MAIN): Call it.
4315 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4316 (__libc_start_main): Remove.
4317 (ARCH_INIT_CPU_FEATURES): New macro.
4318 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4319 (ARCH_INIT_CPU_FEATURES): New macro.
92c3af3c 4320
edf66db1
SP
43212017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
4322 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
92c3af3c 4323
edf66db1
SP
4324 * include/stdlib.h (__libc_reallocarray): New declaration.
4325 * malloc/Makefile (routines): Add reallocarray.
4326 (tests): Add tst-reallocarray.c.
4327 * malloc/Versions: Add reallocarray and __libc_reallocarray.
4328 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4329 function.
4330 * malloc/malloc.h (reallocarray): New declaration.
4331 * stdlib/stdlib.h (reallocarray): Likewise.
4332 * malloc/reallocarray.c: New file.
4333 * malloc/tst-reallocarray.c: New test file.
4334 * manual/memory.texi: Document reallocarray.
4335 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4336 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4337 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4338 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4339 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4340 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4341 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4342 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4343 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4344 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4345 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4346 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4347 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4348 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4350 Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4352 Likewise.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4355 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4356 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4365
43662017-05-30 H.J. Lu <hongjiu.lu@intel.com>
4367
4368 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4369 the lower 32 bits.
4370
43712017-05-29 Andreas Schwab <schwab@linux-m68k.org>
4372
4373 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4374 $(build-pie-default) = yes]: Define.
4375
43762017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 * string/test-memchr.c (test_main): Add tests for n == 0.
4379
43802017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4381
4382 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4383 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4384 (tests-internal): ... here.
4385
43862017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4387 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4390 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4391 (__tunable_set_val): Likewise.
4392
43932017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4394
4395 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4396 dl-tunables.list in subdirectories.
4397
43982017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4399 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4400 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4401
4402 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4403 (SNANF128): New macro.
4404 * math/e_sqrtf128.c: New file.
4405 * math/s_fmaxmag_template.c: Include math_private.h in order to
4406 make inline expansion of fabs128().
4407 * math/s_fminmag_template.c: Likewise.
4408
4409 * sysdeps/ieee754/float128/e_acosf128.c: New file.
4410 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4411 * sysdeps/ieee754/float128/e_asinf128.c: New file.
4412 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4413 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4414 * sysdeps/ieee754/float128/e_coshf128.c: New file.
4415 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4416 * sysdeps/ieee754/float128/e_expf128.c: New file.
4417 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4418 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4419 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4420 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4421 * sysdeps/ieee754/float128/e_j0f128.c: New file.
4422 * sysdeps/ieee754/float128/e_j1f128.c: New file.
4423 * sysdeps/ieee754/float128/e_jnf128.c: New file.
4424 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4425 * sysdeps/ieee754/float128/e_log10f128.c: New file.
4426 * sysdeps/ieee754/float128/e_log2f128.c: New file.
4427 * sysdeps/ieee754/float128/e_logf128.c: New file.
4428 * sysdeps/ieee754/float128/e_powf128.c: New file.
4429 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4430 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4431 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4432 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4433 * sysdeps/ieee754/float128/float128_private.h: New file.
4434 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4435 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4436 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4437 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4438 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4439 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4440 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4441 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4442 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4443 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4444 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4445 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4446 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4447 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4448 * sysdeps/ieee754/float128/s_erff128.c: New file.
4449 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4450 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4451 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4452 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4453 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4454 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4455 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4456 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4457 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4458 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4459 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4460 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4461 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4462 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4463 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4464 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4465 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4466 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4467 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4468 * sysdeps/ieee754/float128/s_modff128.c: New file.
4469 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4470 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4471 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4472 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4473 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4474 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4475 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4476 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4477 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4478 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4479 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4480 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4481 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4482 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4483 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4484 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4485 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4486 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4487 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4488 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4489 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4490 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4491 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4492 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4493 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4494
4495 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4496 (__iscanonicalf128): Define as a macro.
4497
44982017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4499
4500 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4501 (memmove): Use MEMMOVE for name.
4502 (memcpy): Use MEMCPY for name. Change internal labels
4503 to external labels.
4504 * sysdeps/aarch64/multiarch/Makefile: New file.
4505 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4506 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4507 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4508 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4509 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4510 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4511
45122017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4513
4514 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4515 (_dl_arm_cap_flags): Fix array subscript.
4516 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4517 Fix count.
4518
45192017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4520
4521 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4522
45232017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4526 (is_amd): Likewise.
4527 (max_cpuid): Likewise.
4528 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4529 (init_cacheinfo): Likewise.
4530
45312017-05-23 Joseph Myers <joseph@codesourcery.com>
4532
4533 [BZ #21511]
4534 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4535 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4536 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4537 !__USE_XOPEN2K) || __USE_MISC].
4538 * conform/data/signal.h-data (struct sigstack): Expect type only
4539 if [!XOPEN2K8 && !POSIX2008].
4540 (sigstack): Expect function only if [XPG42 || UNIX98].
4541
4542 [BZ #21457]
4543 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4544 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4545 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4546 <bits/types/__sigset_t.h>.
4547 (ucontext_t): Use sigset_t instead of __sigset_t.
4548 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4549 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4550 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4551 <bits/types/__sigset_t.h>.
4552 (ucontext_t): Use sigset_t instead of __sigset_t.
4553 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4554 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4555 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4556 <bits/types/__sigset_t.h>.
4557 (ucontext_t): Use sigset_t instead of __sigset_t.
4558 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4559 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4560 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4561 <bits/types/__sigset_t.h>.
4562 (ucontext_t): Use sigset_t instead of __sigset_t.
4563 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4564 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4565 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4566 <bits/types/__sigset_t.h>.
4567 (ucontext_t): Use sigset_t instead of __sigset_t.
4568 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4569 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4570 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4571 <bits/types/__sigset_t.h>.
4572 (ucontext_t): Use sigset_t instead of __sigset_t.
4573 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4574 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4575 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4576 <bits/types/__sigset_t.h>.
4577 (ucontext_t): Use sigset_t instead of __sigset_t.
4578 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4579 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4580 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4581 <bits/types/__sigset_t.h>.
4582 (ucontext_t): Use sigset_t instead of __sigset_t.
4583 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4584 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4585 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4586 <bits/types/__sigset_t.h>.
4587 (ucontext_t): Use sigset_t instead of __sigset_t.
4588 * sysdeps/unix/sysv/linux/ia64/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>.
4591 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4592 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4593 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4594 <bits/types/__sigset_t.h>.
4595 (ucontext_t): Use sigset_t instead of __sigset_t.
4596 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4597 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4598 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4599 <bits/types/__sigset_t.h>.
4600 (ucontext_t): Use sigset_t instead of __sigset_t.
4601 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4602 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4603 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4604 <bits/types/__sigset_t.h>.
4605 (ucontext_t): Use sigset_t instead of __sigset_t.
4606 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4607 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4608 <bits/ss_flags.h>.
4609 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4610 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4611 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4612 <bits/types/__sigset_t.h>.
4613 (ucontext_t): Use sigset_t instead of __sigset_t.
4614 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4615 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4616 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4617 <bits/types/__sigset_t.h>.
4618 (ucontext_t): Use sigset_t instead of __sigset_t.
4619 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4620 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4621 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4622 <bits/types/__sigset_t.h>.
4623 (ucontext_t): Use sigset_t instead of __sigset_t.
4624 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4625 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4626 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4627 <bits/types/__sigset_t.h>.
4628 (ucontext_t): Use sigset_t instead of __sigset_t.
4629 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4630 <bits/types.h>.
4631 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4632 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4633 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4634 <bits/types/__sigset_t.h>.
4635 (ucontext_t): Use sigset_t instead of __sigset_t.
4636
46372017-05-22 Zack Weinberg <zackw@panix.com>
4638
4639 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4640 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4641 bits/siginfo-arch.h, only if not already defined.
4642 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4643 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4644 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4645 Likewise.
92c3af3c 4646
edf66db1
SP
4647 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4648 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4650 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4651 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4652 Unconditionally define __SI_* macros.
92c3af3c 4653
edf66db1 46542017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
92c3af3c 4655
edf66db1
SP
4656 [BZ #21393]
4657 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4658 and add a check for dup3 failure.
4659 * libio/freopen64.c (freopen64): Likewise.
4660 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4661 libsupport.
4662 (do_test_bz21398): New test.
4663 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4664
46652017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4666
4667 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4668 Remove invalid comment.
4669
46702017-05-21 Zack Weinberg <zackw@panix.com>
4671
4672 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4673
46742017-05-20 Zack Weinberg <zackw@panix.com>
4675
4676 * bits/sigevent-consts.h
4677 * bits/siginfo-consts.h
4678 * bits/types/__sigset_t.h
4679 * bits/types/sigevent_t.h
4680 * bits/types/siginfo_t.h
4681 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4682 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4683 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4684 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4685 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4686 New system-dependent bits headers.
4687
4688 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4689 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4690 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4691 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4692 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4693 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4694 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4695 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4696 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4697 New Linux-only system-dependent bits headers.
4698
4699 * signal/bits/types/sig_atomic_t.h
4700 * signal/bits/types/sigset_t.h
4701 * signal/bits/types/sigval_t.h:
4702 New non-system-dependent bits headers.
4703
4704 * sysdeps/generic/sigsetops.h
4705 * sysdeps/unix/sysv/linux/sigsetops.h:
4706 New internal headers.
4707
4708 * include/bits/types/sig_atomic_t.h
4709 * include/bits/types/sigset_t.h
4710 * include/bits/types/sigval_t.h:
4711 New wrappers.
4712
4713 * signal/sigsetops.h
4714 * bits/siginfo.h
4715 * bits/sigset.h
4716 * sysdeps/unix/sysv/linux/bits/siginfo.h
4717 * sysdeps/unix/sysv/linux/bits/sigset.h
4718 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4719 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4720 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4721 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4722 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4723 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4724 Deleted.
4725
4726 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4727 Update lists of installed headers.
4728
4729 * posix/bits/types.h: Define __sig_atomic_t here.
4730 * signal/signal.h: Use the new bits headers; no need to handle
4731 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4732 to define sigmask.
4733 * include/signal.h: No need to handle __need_sig_atomic_t
4734 nor __need_sigset_t. Don't define __sigemptyset.
4735
4736 * io/sys/poll.h, setjmp/setjmp.h
4737 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4738 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4739 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4740 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4741 * sysdeps/pthread/bits/sigthread.h
4742 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4743 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4744 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4745 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4746 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4747 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4748 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4749 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4750 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4751 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4752 Use bits/types/__sigset_t.h.
4753
4754 * misc/sys/select.h, posix/spawn.h
4755 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4756 * sysdeps/unix/sysv/linux/sys/epoll.h
4757 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4758 Use bits/types/sigset_t.h.
4759
4760 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4761 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4762 * socket/sys/socket.h: Don't include bits/sigset.h.
4763
4764 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4765 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4766 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4767 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4768 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4769 * sysdeps/unix/sysv/linux/nptl-signals.h:
4770 Include sigsetops.h.
4771
4772 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4773 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4774 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4775 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4776 now return no value.
4777
4778 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4779 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4780 "sigsetops.h".
4781
4782 * signal/sigsetops.c: Explicitly define __sigismember,
4783 __sigaddset, and __sigdelset as compatibility symbols.
4784
4785 * signal/Versions: Correct commentary on __sigpause,
4786 __sigaddset, __sigdelset, __sigismember.
4787
4788 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4789 __sigblock/__sigsetmask to use __sigprocmask and friends.
4790
4791 * resolv/resolv.h: Remove __need_res_state logic.
4792 Move definition of res_state and related constants to ...
4793 * resolv/bits/types/res_state.h: ...this new file.
4794 * resolv/Makefile: Install bits/types/res_state.h.
4795 * include/bits/types/res_state.h: New wrapper.
4796 * include/list.h: Remove __need_list_t logic.
4797 Move definition of list_t to ...
4798 * include/list_t.h: ...this new file.
4799
4800 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4801 instead of list.h and resolv.h.
4802
4803 * resolv/resolv.h: Remove __need_res_state logic.
4804 Move definition of res_state and related constants to ...
4805 * resolv/bits/types/res_state.h: ...this new file.
4806 * resolv/Makefile: Install bits/types/res_state.h.
4807 * include/bits/types/res_state.h: New wrapper.
4808 * include/list.h: Remove __need_list_t logic.
4809 Move definition of list_t to ...
4810 * include/list_t.h: ...this new file.
4811
4812 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4813 instead of list.h and resolv.h.
4814
48152017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4816
4817 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4818
48192017-05-20 Zack Weinberg <zackw@panix.com>
4820
4821 * sysdeps/arm/sysdep.h
4822 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4823
4824 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4825 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4826 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4827 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4828 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4829 * sysdeps/arm/armv6t2/strlen.S
4830 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4831 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4832 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4833 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4834 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4835 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4836
48372017-05-20 Zack Weinberg <zackw@panix.com>
4838
4839 Remove the NaCl port.
4840 * sysdeps/arm/nacl: Remove directory and contents.
4841 * sysdeps/nacl: Remove directory and contents.
4842 * abi-tags: Remove .*-.*-nacl.* entry.
4843
48442017-05-19 Rical Jasan <ricaljasan@pacific.net>
4845
4846 * manual/errno.texi: Convert @comment-based errno documentation to
4847 @errno.
4848 * manual/macros.texi (@errno): New macro. Consolidate errors,
4849 their values, and messages, adding the error string to the Concept
4850 Index. Provide a warning in the comment about external (to the
4851 manual) dependencies.
4852 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4853 * sysdeps/mach/hurd/errnos.awk: Likewise.
4854
48552017-05-19 Joseph Myers <joseph@codesourcery.com>
4856
4857 * bits/ss_flags.h: New file.
4858 * bits/types/stack_t.h: Likewise.
4859 * include/bits/types/struct_sigstack.h: Likewise.
4860 * signal/bits/types/struct_sigstack.h: Likewise.
4861 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4862 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4863 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4864 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4865 bits/types/stack_t.h and bits/ss_flags.h.
4866 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4867 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4868 <bits/ss_flags.h>.
4869 * bits/sigstack.h (struct sigstack): Remove.
4870 (stack_t): Likewise.
4871 (SS_ONSTACK): Likewise.
4872 (SS_DISABLE): Likewise.
4873 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4874 (struct sigstack): Likewise.
4875 (stack_t): Likewise.
4876 (SS_ONSTACK): Likewise.
4877 (SS_DISABLE): Likewise.
4878 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4879 Likewise.
4880 (stack_t): Likewise.
4881 (SS_ONSTACK): Likewise.
4882 (SS_DISABLE): Likewise.
4883 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4884 Likewise.
4885 (stack_t): Likewise.
4886 (SS_ONSTACK): Likewise.
4887 (SS_DISABLE): Likewise.
4888 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4889 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4890 Likewise.
4891 (stack_t): Likewise.
4892 (SS_ONSTACK): Likewise.
4893 (SS_DISABLE): Likewise.
4894 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4895 (struct sigstack): Likewise.
4896 (stack_t): Likewise.
4897 (SS_ONSTACK): Likewise.
4898 (SS_DISABLE): Likewise.
4899 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4900 Likewise.
4901 (stack_t): Likewise.
4902 (SS_ONSTACK): Likewise.
4903 (SS_DISABLE): Likewise.
4904 * sysdeps/arm/sys/ucontext.h: Include
4905 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4906 <bits/ss_flags.h>.
4907 * sysdeps/generic/sys/ucontext.h: Likewise.
4908 * sysdeps/i386/sys/ucontext.h: Likewise.
4909 * sysdeps/m68k/sys/ucontext.h: Likewise.
4910 * sysdeps/mips/sys/ucontext.h: Likewise.
4911 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4912 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4913 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4914 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4915 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4916 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4917 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4918 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4919 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4920 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4921 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4922 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4923 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4924 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4925 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4926
49272017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4928
4929 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4930 "edx + ecx - 16" to avoid possible addition overflow.
4931 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4932
49332017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4934
4935 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4936 (CFLAGS-splice.c): Likewise.
4937 (CFLAGS-open_by_handle_at.c): Likewise.
4938 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4939 (CFLAGS-splice.c): Likewise.
4940 (CFLAGS-open_by_handle_at.c): Likewise.
4941
49422017-05-19 Joseph Myers <joseph@codesourcery.com>
4943
4944 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4945 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4946 <ldbl-compat-choose.h>.
4947 (maybe_long_double_symbol): New macro.
4948 [!declare_mgen_alias] (declare_mgen_alias): Use
4949 maybe_long_double_symbol.
4950 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4951 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4955 * Makerules [$(build-shared) = yes && !avoid-generated]
4956 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4957 [$(build-shared) = yes && !avoid-generated]
4958 ($(common-objpfx)ldbl-compat-choose.h): New target.
4959
4960 * scripts/versions.awk: Generate first-versions.h.
4961 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4962 <first-versions.h>.
4963 (LDOUBLE_cabsl_libm_version): Remove macro.
4964 (LDOUBLE_cargl_libm_version): Likewise.
4965 (LDOUBLE_cimagl_libm_version): Likewise.
4966 (LDOUBLE_conjl_libm_version): Likewise.
4967 (LDOUBLE_creall_libm_version): Likewise.
4968 (LDOUBLE_cacosl_libm_version): Likewise.
4969 (LDOUBLE_cacoshl_libm_version): Likewise.
4970 (LDOUBLE_ccosl_libm_version): Likewise.
4971 (LDOUBLE_ccoshl_libm_version): Likewise.
4972 (LDOUBLE_casinl_libm_version): Likewise.
4973 (LDOUBLE_csinl_libm_version): Likewise.
4974 (LDOUBLE_casinhl_libm_version): Likewise.
4975 (LDOUBLE_csinhl_libm_version): Likewise.
4976 (LDOUBLE_catanl_libm_version): Likewise.
4977 (LDOUBLE_catanhl_libm_version): Likewise.
4978 (LDOUBLE_ctanl_libm_version): Likewise.
4979 (LDOUBLE_ctanhl_libm_version): Likewise.
4980 (LDOUBLE_cexpl_libm_version): Likewise.
4981 (LDOUBLE_clogl_libm_version): Likewise.
4982 (LDOUBLE_cprojl_libm_version): Likewise.
4983 (LDOUBLE_csqrtl_libm_version): Likewise.
4984 (LDOUBLE_cpowl_libm_version): Likewise.
4985 (LDOUBLE_clog10l_libm_version): Likewise.
4986 (LDOUBLE___clog10l_libm_version): Likewise.
4987 (LDOUBLE_fdiml_libm_version): Likewise.
4988 (LDOUBLE_fmaxl_libm_version): Likewise.
4989 (LDOUBLE_fminl_libm_version): Likewise.
4990 (LDOUBLE_ilogbl_libm_version): Likewise.
4991 (LDOUBLE_nanl_libm_version): Likewise.
4992 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4993 FIRST_VERSION_libm_* macros.
4994 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4995 * Makerules [$(build-shared) = yes && !avoid-generated]
4996 (before-compile): Add $(common-objpfx)first-versions.h.
4997 [$(build-shared) = yes && !avoid-generated]
4998 ($(common-objpfx)first-versions.h): New target.
4999 ($(common-objpfx)sysd-versions): Depend on and change to rule for
5000 building $(common-objpfx)versions.stmp.
5001
50022017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5003
5004 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
5005 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
5006 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
5007 auto-generation list.
5008
5009 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
5010 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
5011 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
5012 from auto-generation list.
5013
5014 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5015 open_by_handle_at.
5016 (CFLAGS-open_by_handle_at.c): New flag.
5017 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
5018 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
5019 file.
5020 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
5021
5022 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
5023 (CFLAGS-splice.c): New flag.
5024 * sysdeps/unix/sysv/linux/splice.c: New file.
5025 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
5026 auto-generation syscall list.
5027 * misc/Makefile (CFLAGS-splice.c): New rule.
5028
5029 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
5030 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
5031 auto-generation syscall list.
5032 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
5033 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
5034
5035 * misc/Makefile (CFLAGS-fsync.c): New flag.
5036 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
5037 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
5038 syscall list.
5039 * sysdeps/unix/sysv/linux/fsync.c: New file.
5040 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
5041 (__errno_location): Remove.
5042
5043 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
5044 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
5045 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
5046 list.
5047 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
5048
5049 * misc/Makefile (CFLAGS-msync.c): New rule.
5050 * nptl/Makefile (CFLAGS-msync.c): Likewise.
5051 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
5052 * sysdeps/unix/sysv/linux/msync.c: New file.
5053
5054 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
5055 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
5056 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
5057 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5058 (CFLAGS-sigsuspend.c): Remove rule.
5059
5060 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
5061 (CFLAGS-tee.c): New rule.
5062 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
5063 auto-generated list.
5064 * sysdeps/unix/sysv/linux/tee.c: New file.
5065
5066 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
5067 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
5068 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
5069 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
5070 auto-generated list.
5071
5072 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
5073 auto-generated list.
5074 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
5075 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5076 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
5077 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5078 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5079
5080 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
5081 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
5082 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
5083 (__NR_pause): Undefine.
5084 * sysdeps/unix/sysv/linux/pause.c: New file.
5085 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
5086 auto-generation list.
5087 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
5088 Remove rule.
5089 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
5090
50912017-05-18 H.J. Lu <hongjiu.lu@intel.com>
5092
5093 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
5094 comments.
5095
50962017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
5097
5098 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
5099 LD_HWCAP_MASK.
5100
51012017-05-18 Rical Jasan <ricaljasan@pacific.net>
5102
5103 * manual/conf.texi: Convert @tables of annotated @items to
5104 @vtables.
5105 * manual/lang.texi: Likewise.
5106 * manual/pattern.texi: Likewise.
5107 * manual/resource.texi: Likewise.
5108 * manual/socket.texi: Likewise.
5109
51102017-05-18 Rical Jasan <ricaljasan@pacific.net>
5111
5112 * manual/crypt.texi: Move a comment out of an @*x list.
5113 * manual/filesys.texi: Refactor some comments, one of which looks
5114 like a standard. Fix incorrectly separated standards.
5115 * manual/locale.texi: Invert an annotation.
5116 * manual/resource.texi: Fix incorrectly separated standards.
5117 * manual/time.texi: Refactor a @vtable that obscures an
5118 annotation.
5119 * manual/users.texi: Refactor multiple headers to occupy a single
5120 @comment.
5121
51222017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5123
5124 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5125 (sysdep_routines): Add memcmp-power8.
5126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5127 (memcmp): Add __memcmp_power8 to list of memcmp functions.
5128 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
5129 (memcmp): Add __memcmp_power8 to ifunc list.
5130 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
5131 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
5132
51332017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5134 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5135
5136 * math/math.h (__MATH_TG): Extend the conditions to add
5137 _Float128 support.
5138 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
5139
51402017-05-17 Paul A. Clarke <pc@us.ibm.com>
5141
5142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5143 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
5144 s_cosf-ppc64.
5145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
5146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5148 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5149
51502017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5151
5152 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
5153 (gen-libm-calls): Add e_exp2F to use the template.
5154 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
5155 * math/e_exp2_template.c: New file, renamed from
5156 math/e_exp2l.c, and made into a template.
5157 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
5158
51592017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
5160
5161 * elf/dl-tunable-types.h (tunable_type_code_t): New type
5162 TUNABLE_TYPE_UINT_64.
5163 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
5164 Simplify computation of overflow.
5165 (tunable_set_val_if_valid_range_signed,
5166 tunable_set_val_if_valid_range_unsigned): Remove and replace
5167 with this...
5168 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
5169 (tunable_initialize): Adjust. Add uint64_t support.
5170 (__tunable_set_val): Add uint64_t support.
5171 * README.tunables: Document it.
5172
5173 * scripts/gen-tunables.awk: Recognize 'default' keyword in
5174 dl-tunables.list.
5175 * README.tunables: Document it.
5176
51772017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5178
5179 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
5180 * sysdeps/posix/preadv64.c: Likewise.
5181 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5182 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5183 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5184 * sysdeps/posix/pwritev64.c: Likewise.
5185 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5186 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5187 * sysdeps/posix/preadv_common.c: New file.
5188 * sysdeps/posix/pwritev_common.c: Likewise.
5189
51902017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5191
5192 * sysdeps/generic/math-type-macros-float128.h
5193 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5194 wrapper templates.
5195
51962017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5197 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5198
5199 * include/complex.h (__kernel_casinhf128): New declaration.
5200 * include/float.h: New file.
5201 * include/math.h (__finitef128): Add a hidden def.
5202 (__isinff128): Likewise.
5203 (__isnanf128): Likewise.
5204 (__fpclassify): Likewise.
5205 (__issignalling): Likewise.
5206 (__expf128): Likewise.
5207 (__expm1f128): Likewise.
5208
5209 * sysdeps/generic/fix-fp-int-convert-overflow.h:
5210 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5211 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5212
5213 * sysdeps/generic/math-type-macros-float128.h: New file.
5214
5215 * sysdeps/generic/math_private.h: Include bits/floatn.h and
5216 math_private_calls.h for _Float128.
5217 (__isinff128): New inline implementation used when GCC < 7.0,
5218 since in this case __builtin_isinf_sign is broken.
5219 (fabsf128): New inline implementation that calls the builtin.
5220 (__EXPR_FLT128): New macro.
5221 (min_of_type): Optionally include _Float128 types too.
5222
5223 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5224 Declare for _Float128.
5225 (__kernel_rem_pio2): Likewise.
5226
5227 * sysdeps/ieee754/ldbl-opt/s_sin.c:
5228 (__DECL_SIMD_sincos_disablef128): New macro.
5229
52302017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5231
5232 * math/math.h: Include bits/math-finite.h for float128.
5233 (__MATH_DECLARING_FLOATN): Define to control declaration of
5234 float128 functions.
5235 * math/bits/math-finite.h (pow10): Do not declare for float128.
5236 (gamma): Likewise.
5237 (scalb): Likewise.
5238
52392017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5240 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5241
5242 * bits/floatn.h: New file.
5243 * bits/huge_val_flt128.h: Likewise.
5244
5245 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5246 (__DECL_SIMD_sinf128): Likewise.
5247 (__DECL_SIMD_sincosf128): Likewise.
5248 (__DECL_SIMD_logf128): Likewise.
5249 (__DECL_SIMD_expf128): Likewise.
5250 (__DECL_SIMD_powf128): Likewise.
5251
5252 * math/Makefile (headers): Install bits/floatn.h and
5253 bits/huge_val_flt128.h.
5254
5255 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5256 defined.
5257
5258 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5259 (isnan, gamma, nexttoward, scalb): Only define if not
5260 __MATH_DECLARING_FLOATN.
5261 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5262 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5263 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5264 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5265
5266 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5267 Include bits/cmathcalls.h to get the declarations of _Float128
5268 versions of complex functions.
5269 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5270 Define macro.
5271
5272 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5273 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5274 get the declarations of _Float128 versions of math functions.
5275 (__MATH_DECLARING_FLOATN): New macro to control declaration of
5276 _FloatN types.
5277 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5278 is type-generic, so use it without __MATH_TG.
5279 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5280 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
5281 _Float128 type and GCC < 7.0, otherwise use the builtin.
5282 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5283 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5284 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5285 New _GNU_SOURCE enabled macros.
5286
52872017-05-12 Joseph Myers <joseph@codesourcery.com>
5288
5289 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5290 (signbitf): Likewise.
5291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5292 Likewise.
5293 (signbitl): Likewise.
5294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5295 Likewise.
5296 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5297 (signbitl): Likewise.
5298 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5299
53002017-05-12 Florian Weimer <fweimer@redhat.com>
5301
5302 [BZ #21386]
5303 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5304 parent PID. The assertion in the child is incorrect with PID
5305 namespaces.
5306
53072017-05-12 Joseph Myers <joseph@codesourcery.com>
5308
5309 * sysdeps/unix/sysv/linux/kernel-features.h
5310 (__ASSUME_STATFS_F_FLAGS): Remove macro.
5311 * sysdeps/unix/sysv/linux/internal_statvfs.c
5312 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5313
53142017-05-11 Zack Weinberg <zackw@panix.com>
5315
5316 * Makerules: New subdir configuration variables 'tests-internal'
5317 and 'test-internal-extras'. Test files in these categories will
5318 still be compiled with MODULE_NAME=nonlib. Test files in the
5319 existing categories (tests, xtests, test-srcs, test-extras) are
5320 now compiled with MODULE_NAME=testsuite.
5321 New subdir configuration variable 'modules-names-tests'. Files
5322 which are in both 'modules-names' and 'modules-names-tests' will
5323 be compiled with MODULE_NAME=testsuite instead of
5324 MODULE_NAME=extramodules.
5325 (gen-as-const-headers): Move to tests-internal.
5326 (do-tests-clean, common-mostlyclean): Support tests-internal.
5327 * Makeconfig (built-modules): Add testsuite.
5328 * Makefile: Change libof-check-installed-headers-c and
5329 libof-check-installed-headers-cxx to 'testsuite'.
5330 * Rules: Likewise. Support tests-internal.
5331 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5332 Remove extra-modules.mk.
5333
5334 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5335 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5336 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5337 very top of the file and rationalize their order.
5338 If MODULE_NAME is not defined at all, define IS_IN to always be
5339 false, and don't define _ISOMAC.
5340 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5341 true, define _ISOMAC and suppress everything else in this file,
5342 starting with the inclusion of config.h.
5343 Do check for inappropriate definitions of __OPTIMIZE__ and
5344 __FAST_MATH__ here, but only if _ISOMAC is not defined.
5345 Correct some out-of-date commentary.
5346
5347 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5348 and _Mlong_double_ before including math.h.
5349 * include/string.h: If _ISOMAC is defined, don't expose
5350 _STRING_ARCH_unaligned. Move a comment to a more appropriate
5351 location.
5352
5353 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5354 * include/time.h, include/unistd.h, include/wchar.h: No need to
5355 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5356
5357 * misc/sys/cdefs.h (__NTHNL): New macro.
5358 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5359 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5360
5361 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5362 defined, for HAVE_TUNABLES.
5363 * inet/tst-checks-posix.c: No need to define _ISOMAC.
5364 * intl/tst-gettext2.c: Provide own definition of N_.
5365 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5366 * math/test-signgam-main.c: No need to define _ISOMAC.
5367 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5368 * stdlib/tst-strtod1i.c: ...this new file.
5369 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5370 Split tests of __strtod_internal to...
5371 * stdlib/tst-strtod5i.c: ...this new file.
5372 * string/test-string.h: Include stdint.h. Duplicate definition of
5373 inhibit_loop_to_libcall here (from libc-symbols.h).
5374 * string/test-strstr.c: Provide dummy definition of
5375 libc_hidden_builtin_def when including strstr.c.
5376 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5377 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5378 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5379 Don't include init-arch.h.
5380 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5381 Don't include init-arch.h.
5382
5383 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5384 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5385 unload, unload2, circleload1, neededtest, neededtest2,
5386 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5387 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5388 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5389 ifunc tests to tests-internal.
5390 Don't add $(modules-names) to test-extras.
5391 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5392 Add tst-deadline to tests-static-internal.
5393 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5394 tests-internal.
5395 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5396 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5397 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5398 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5399 tst-sem12-static, and tst-stackguard1-static to tests-internal.
5400 Link tests-internal with libpthread also.
5401 Don't add $(modules-names) to test-extras.
5402 * nss/Makefile: Move tst-field to tests-internal.
5403 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5404 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5405 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5406 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5407 tests-internal.
5408 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5409 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5410 test-get_hwcap-static to tests-internal.
5411 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5412 tests-internal.
5413 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5414 modules-names-tests.
5415
54162017-05-11 Zack Weinberg <zackw@panix.com>
5417
5418 * libio/libio.h: Condition dummy definition of _IO_lock_t on
5419 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5420 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5421 _IO_funlockfile, and _IO_ftrylockfile. Only define
5422 _IO_cleanup_region_start and _IO_cleanup_region_end if not
5423 already defined.
5424 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5425 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5426 appropriately.
5427 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5428 Define _IO_lock_t_defined after defining _IO_lock_t.
5429
54302016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5431
5432 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5433 void* for argument type and use VDSO_SYMBOL macro.
5434 (is_sigtramp_address_rt): Likewise.
5435 (__backtrace): Setup expected frame pointer address for signal
5436 handling.
5437 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5438 void* for argumetn type and use VSDO_SYMBOL macro.
5439 (__backtrace): Setup expected frame pointer address for signal
5440 handling.
5441
5442 * sysdeps/unix/sysv/linux/writev.c: New file.
5443
5444 * sysdeps/unix/sysv/linux/readv.c: New file.
5445
5446 * include/unistd.h (write): Add hidden proto.
5447 * io/Makefile (CFLAGS-write.c): New define.
5448 * nptl/Makefile (CFLAGS-write.c): Likewise.
5449 * sysdeps/unix/sysv/linux/write.c: New file.
5450
5451 [BZ #21428]
5452 * include/unistd.h (read): Add hidden proto.
5453 * io/Makefile (CFLAGS-read.c): New define.
5454 * nptl/Makefile (CFLAGS-read.c): Likewise.
5455 * sysdeps/unix/sysv/linux/read.c: New file.
5456
5457 * io/Makefile (CFLAGS-creat.c): New rule.
5458 (CFLAGS-creat64.c): Likewise.
5459 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5460 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5461 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5462 * sysdeps/unix/sysv/linux/creat.c: New file.
5463 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5464 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5465 auto-generated list.
5466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5467
5468 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5469 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5470 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5471 * sysdeps/unix/sysv/linux/open.c: New file.
5472 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5473 iff __WORDSIZE != 64 and use __NR_openat when available.
5474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5475 from auto-generated list.
5476
5477 * nptl/Makefile (CFLAGS-close.c): New flag.
5478 * sysdeps/unix/sysv/linux/close.c: New file.
5479
54802017-05-11 DJ Delorie <dj@redhat.com>
5481
5482 * MAINTAINERS: New. Points to wiki.
5483
54842017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5485
5486 * scripts/gen-tunables.awk: Add attribute_relro to
5487 tunable_list.
5488
54892017-05-11 Joseph Myers <joseph@codesourcery.com>
5490
5491 [BZ #21457]
5492 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5493 (R1): Likewise.
5494 (R2): Likewise.
5495 (R3): Likewise.
5496 (R4): Likewise.
5497 (R5): Likewise.
5498 (R6): Likewise.
5499 (R7): Likewise.
5500 (R8): Likewise.
5501 (R9): Likewise.
5502 (R10): Likewise.
5503 (R11): Likewise.
5504 (R12): Likewise.
5505 (R13): Likewise.
5506 (R14): Likewise.
5507 (R15): Likewise.
5508 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5509 (REG_FS): Likewise.
5510 (REG_ES): Likewise.
5511 (REG_DS): Likewise.
5512 (REG_EDI): Likewise.
5513 (REG_ESI): Likewise.
5514 (REG_EBP): Likewise.
5515 (REG_ESP): Likewise.
5516 (REG_EBX): Likewise.
5517 (REG_EDX): Likewise.
5518 (REG_ECX): Likewise.
5519 (REG_EAX): Likewise.
5520 (REG_TRAPNO): Likewise.
5521 (REG_ERR): Likewise.
5522 (REG_EIP): Likewise.
5523 (REG_CS): Likewise.
5524 (REG_EFL): Likewise.
5525 (REG_UESP): Likewise.
5526 (REG_SS): Likewise.
5527 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5528 (R_D1): Likewise.
5529 (R_D2): Likewise.
5530 (R_D3): Likewise.
5531 (R_D4): Likewise.
5532 (R_D5): Likewise.
5533 (R_D6): Likewise.
5534 (R_D7): Likewise.
5535 (R_A0): Likewise.
5536 (R_A1): Likewise.
5537 (R_A2): Likewise.
5538 (R_A3): Likewise.
5539 (R_A4): Likewise.
5540 (R_A5): Likewise.
5541 (R_A6): Likewise.
5542 (R_A7): Likewise.
5543 (R_SP): Likewise.
5544 (R_PC): Likewise.
5545 (R_PS): Likewise.
5546 (fpregset_t): Likewise.
5547 (MCONTEXT_VERSION): Likewise.
5548 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5549 (CTX_AT): Likewise.
5550 (CTX_V0): Likewise.
5551 (CTX_V1): Likewise.
5552 (CTX_A0): Likewise.
5553 (CTX_A1): Likewise.
5554 (CTX_A2): Likewise.
5555 (CTX_A3): Likewise.
5556 (CTX_T0): Likewise.
5557 (CTX_T1): Likewise.
5558 (CTX_T2): Likewise.
5559 (CTX_T3): Likewise.
5560 (CTX_T4): Likewise.
5561 (CTX_T5): Likewise.
5562 (CTX_T6): Likewise.
5563 (CTX_T7): Likewise.
5564 (CTX_S0): Likewise.
5565 (CTX_S1): Likewise.
5566 (CTX_S2): Likewise.
5567 (CTX_S3): Likewise.
5568 (CTX_S4): Likewise.
5569 (CTX_S5): Likewise.
5570 (CTX_S6): Likewise.
5571 (CTX_S7): Likewise.
5572 (CTX_T8): Likewise.
5573 (CTX_T9): Likewise.
5574 (CTX_K0): Likewise.
5575 (CTX_K1): Likewise.
5576 (CTX_GP): Likewise.
5577 (CTX_SP): Likewise.
5578 (CTX_S8): Likewise.
5579 (CTX_RA): Likewise.
5580 (CTX_MDLO): Likewise.
5581 (CTX_MDHI): Likewise.
5582 (CTX_CAUSE): Likewise.
5583 (CTX_EPC): Likewise.
5584 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5585 inclusion of <sys/procfs.h> on [__USE_MISC].
5586 (greg_t): Condition on [__USE_MISC].
5587 (gregset_t): Likewise.
5588 (fpregset_t): Likewise.
5589 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5590 (NGREG): Likewise.
5591 (gregset_t): Likewise.
5592 (REG_R0): Likewise.
5593 (REG_R1): Likewise.
5594 (REG_R2): Likewise.
5595 (REG_R3): Likewise.
5596 (REG_R4): Likewise.
5597 (REG_R5): Likewise.
5598 (REG_R6): Likewise.
5599 (REG_R7): Likewise.
5600 (REG_R8): Likewise.
5601 (REG_R9): Likewise.
5602 (REG_R10): Likewise.
5603 (REG_R11): Likewise.
5604 (REG_R12): Likewise.
5605 (REG_R13): Likewise.
5606 (REG_R14): Likewise.
5607 (REG_R15): Likewise.
5608 (struct _libc_fpstate): Likewise.
5609 (fpregset_t): Likewise.
5610 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5611 (NFPREG): Likewise.
5612 (gregset_t): Likewise.
5613 (fpregset_t): Likewise.
5614 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5615 (R_D1): Likewise.
5616 (R_D2): Likewise.
5617 (R_D3): Likewise.
5618 (R_D4): Likewise.
5619 (R_D5): Likewise.
5620 (R_D6): Likewise.
5621 (R_D7): Likewise.
5622 (R_A0): Likewise.
5623 (R_A1): Likewise.
5624 (R_A2): Likewise.
5625 (R_A3): Likewise.
5626 (R_A4): Likewise.
5627 (R_A5): Likewise.
5628 (R_A6): Likewise.
5629 (R_A7): Likewise.
5630 (R_SP): Likewise.
5631 (R_PC): Likewise.
5632 (R_PS): Likewise.
5633 (fpregset_t): Likewise.
5634 (MCONTEXT_VERSION): Likewise.
5635 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5636 Likewise.
5637 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5638 (REG_R1): Likewise.
5639 (REG_R2): Likewise.
5640 (REG_R3): Likewise.
5641 (REG_R4): Likewise.
5642 (REG_R5): Likewise.
5643 (REG_R6): Likewise.
5644 (REG_R7): Likewise.
5645 (REG_R8): Likewise.
5646 (REG_R9): Likewise.
5647 (REG_R10): Likewise.
5648 (REG_R11): Likewise.
5649 (REG_R12): Likewise.
5650 (REG_R13): Likewise.
5651 (REG_R14): Likewise.
5652 (REG_R15): Likewise.
5653 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5654 of <arch/abi.h> on [__USE_MISC].
5655 (greg_t): Condition on [__USE_MISC].
5656 (NGREG): Likewise.
5657 (gregset_t): Likewise.
5658
56592017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5660
5661 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5662 (__pthread_rwlock_arch_t): Remove __data definition.
5663 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5664 (__pthread_rwlock_arch_t): Likewise.
5665
56662017-05-11 Florian Weimer <fweimer@redhat.com>
5667
5668 * resolv/inet_pton.c: Reformat in GNU style. Remove
5669 internal_function on static functions.
5670
56712017-05-11 Florian Weimer <fweimer@redhat.com>
5672
5673 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5674 from format_ai_flags.
5675 (format_ai_flags): New function. Incorporate flag formatting code
5676 from format_ai_one.
5677 (format_ai_canonname): New function.
5678 (format_ai_one): Remove flags parameter.
5679 (format_ai_family): Likewise.
5680 (support_format_addrinfo): Call format_ai_flags,
5681 format_ai_canonname.
5682 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5683 check_ai.
5684 (check_ai): Call check_ai_hints.
5685 (do_test): Add AI_CANONNAME tests.
5686
56872017-05-11 Florian Weimer <fweimer@redhat.com>
5688
5689 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5690 (gaih_inet): Likewise.
5691
56922017-05-10 Andreas Schwab <schwab@suse.de>
5693
5694 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5695 (main): Rename to do_test and make static.
5696
56972017-05-10 Joseph Myers <joseph@codesourcery.com>
5698
5699 * string/rawmemchr.c: Include <libc-diag.h>.
5700 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5701 with size (size_t)-1.
5702
57032017-05-09 Joseph Myers <joseph@codesourcery.com>
5704
5705 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5706 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5707 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5708
5709 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5710 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5711 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5712 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5713 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5714 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5715 * sysdeps/unix/sysv/linux/kernel-features.h
5716 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5717 socket syscalls.
5718 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5719 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5720 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5721 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5722 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5723 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5724 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5725 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5726 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5727 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5728 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5729 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5730 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5731 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5732 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5733
57342017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5735
5736 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5737 thread-shared-types.h.
5738 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5739 specific thread definition.
5740 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5741 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5742 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5743 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5744 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5745 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5746 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5747 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5748 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5749 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5750 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5751 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5752 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5753 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5754 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5755 thread definition between POSIX and C11.
5756 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5757 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5758 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5759 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5760 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5761 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5762 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5763 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5764 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5765 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5766 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5767 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5768 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5769 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5770 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5771 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5772 definitions shared across all architectures.
5773
57742017-05-09 Joseph Myers <joseph@codesourcery.com>
5775
5776 * sysdeps/unix/sysv/linux/kernel-features.h
5777 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5778 (__ASSUME_SENDMMSG): Likewise.
5779 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5780 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5781 sendmmsg syscall if that can be assumed to be present, socketcall
5782 otherwise, with no fallback for runtime failure.
5783
5784 * sysdeps/unix/sysv/linux/kernel-features.h
5785 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5786 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5787 (__ASSUME_RECVMMSG): Likewise.
5788 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5789 recvmmsg syscall if it can be assumed to be present, socketcall
5790 otherwise, with no fallback for runtime failure.
5791
57922017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5793 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5794
5795 * bits/libc-header-start.h:
5796 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5797 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5798 * manual/creature.texi: Likewise.
5799
58002017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5801 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5802
5803 * math/Makefile:
5804 (type-float128-suffix): New variable
5805 (type-float128-routines): Likewise
5806 (type-float128-yes): Likewise
5807 (types): Append float128 if supported
5808 (types-basic): New variable to control the use of templates for
5809 float, double, and long double, but not for float128 or newer types.
5810 (type-basic-foreach): Likewise.
5811
5812 * sysdeps/ieee754/float128/Makeconfig: New file.
5813 * sysdeps/ieee754/float128/Versions: New file.
5814
58152017-05-09 Joseph Myers <joseph@codesourcery.com>
5816
5817 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5818 Remove macro.
5819 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5820 prlimit64 is always available and does not give an ENOSYS error.
5821 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5822 unconditional.
5823 [!__NR_prlimit64]: Remove conditional code.
5824 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5825 prlimit64 is always available and does not give an ENOSYS error.
5826 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5827
58282017-05-09 Zack Weinberg <zackw@panix.com>
5829
5830 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5831
58322017-05-09 Florian Weimer <fweimer@redhat.com>
5833
5834 [BZ #21474]
5835 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5836 (__res_maybe_init): Likewise.
5837
58382017-05-09 Zack Weinberg <zackw@panix.com>
5839
5840 * extra-modules.mk: Delete file.
5841 * cppflags-iterator.mk: Rename to ...
5842 * libof-iterator.mk: ...this. Adjust comments.
5843
5844 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5845 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5846 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5847 Use libof-iterator.mk instead of cppflags-iterator.mk or
5848 extra-modules.mk.
5849
5850 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5851 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5852
58532017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5854
5855 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5856
58572017-05-08 Carlos O'Donell <carlos@redhat.com>
5858
5859 * stdio-common/vfprintf.c (EXTSIZ): Define.
5860 (vfprintf): Use EXTSIZ.
5861 (printf_positional): Likewise.
5862
58632017-05-08 Joseph Myers <joseph@codesourcery.com>
5864
5865 * sysdeps/unix/sysv/linux/kernel-features.h
5866 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5867 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5868 <kernel-features.h>.
5869 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5870
5871 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5872 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5873
58742017-05-08 Florian Weimer <fweimer@redhat.com>
5875
5876 Prevent multiple deletion of temporary files.
5877 * support/temp_file.c (struct temp_name_list): Add owner member.
5878 (add_temp_file): Record owner.
5879 (support_delete_temp_files): Delete file only if owner matches.
5880 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5881 (do_prepare): Use create_temp_file instead of add_temp_file.
5882 Initialize temp_fd1, temp_fd2.
5883 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5884 framework remove the temporary files.
5885 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5886 (do_prepare): Use create_temp_file instead of add_temp_file.
5887 Initialize temp_fd1, temp_fd2, temp_fd3.
5888 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5889 the test framework remove the temporary files.
5890 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5891 deletion.
5892 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5893 temporary directory. It is removed by the test framework.
5894 * dirent/tst-scandir.c (do_test): Likewise.
5895
58962017-05-08 Florian Weimer <fweimer@redhat.com>
5897
5898 Delete temporary files in LIFO order.
5899 * support/temp_file.c (struct temp_name_list): Replace q member
5900 with next.
5901 (add_temp_file): Add new file to front of linked list.
5902 (support_delete_temp_files): Use next member.
5903 (support_print_temp_files): Likewise.
5904
59052017-05-08 Florian Weimer <fweimer@redhat.com>
5906
5907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5908 sys/ultrasound.h.
5909 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5910
59112017-05-08 Joseph Myers <joseph@codesourcery.com>
5912
5913 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5914 Remove.
5915 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5916 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5917 (arch_minimum_kernel): Remove.
5918 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5919 * README: Update statement about Linux kernel requirements.
5920
59212017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5922
5923 * manual/llio.texi: Add preadv and pwritev documentation.
5924
59252017-05-04 Joseph Myers <joseph@codesourcery.com>
5926
5927 [BZ #21455]
5928 * bits/stdint-intn.h: New file.
5929 * bits/stdint-uintn.h: Likewise.
5930 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5931 bits/stdint-uintn.h.
5932 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5933 <stdint.h>.
5934 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5935 (__int8_t_defined): Do not define here.
5936 (int8_t): Likewise.
5937 (int16_t): Likewise.
5938 (int32_t): Likewise.
5939 (int64_t): Likewise.
5940 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5941 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5942 <stdint.h>.
5943 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5944 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5945 <bits/stdint-uintn.h>.
5946 (int8_t): Do not define here.
5947 (int16_t): Likewise.
5948 (int32_t): Likewise.
5949 (int64_t): Likewise.
5950 (uint8_t): Likewise.
5951 (uint16_t): Likewise.
5952 (uint32_t): Likewise.
5953 (uint64_t): Likewise.
5954 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5955 variable.
5956 (test-xfail-XPG42/netdb.h/conform): Likewise.
5957 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5958 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5959 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5960 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5961
59622017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5963
5964 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5965 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5966 the above.
5967 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5968 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5969
59702017-05-04 Joseph Myers <joseph@codesourcery.com>
5971
5972 [BZ #21445]
5973 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5974
5975 [BZ #21457]
5976 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5977 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5978 __glibc_reserved1.
5979 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5980 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5981 (struct _fpxreg): Likewise.
5982 [!__x86_64__] (struct _fpstate): Rename field reserved to
5983 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5984 [__x86_64__] (struct _fpstate): Rename field padding to
5985 __glibc_reserved1.
5986 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5987 Rename field reserved2 to __glibc_reserved2.
5988 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5989 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5990 __glibc_reserved1.
5991 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5992 __glibc_reserved1.
5993
59942017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5995
5996 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5997 variable name.
5998
59992017-05-03 H.J. Lu <hongjiu.lu@intel.com>
6000
6001 [BZ #21391]
6002 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
6003 Only call init_cpu_features.
6004 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
6005 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6006 * sysdeps/i386/dl-procinfo.h: Removed.
6007 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
6008 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
6009 <sysdeps/x86/dl-procinfo.h>.
6010 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
6011 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
6012 Include <sysdeps/x86/dl-procinfo.h> instead of
6013 <sysdeps/generic/dl-procinfo.h>.
6014 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
6015 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
6016 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
6017 (bit_cpu_MOVBE): Likewise.
6018 (bit_cpu_BMI1): Likewise.
6019 (bit_cpu_BMI2): Likewise.
6020 (index_cpu_BMI1): Likewise.
6021 (index_cpu_BMI2): Likewise.
6022 (index_cpu_LZCNT): Likewise.
6023 (index_cpu_MOVBE): Likewise.
6024 (index_cpu_POPCNT): Likewise.
6025 (reg_BMI1): Likewise.
6026 (reg_BMI2): Likewise.
6027 (reg_LZCNT): Likewise.
6028 (reg_MOVBE): Likewise.
6029 (reg_POPCNT): Likewise.
6030 * sysdeps/x86/dl-hwcap.h: New file.
6031 * sysdeps/x86/dl-procinfo.h: Likewise.
6032 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
6033 (_dl_x86_platforms): Likewise.
6034
60352017-05-03 DJ Delorie <dj@redhat.com>
6036
6037 [BZ #21411]
6038 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
6039
60402017-05-03 Phil Blundell <pb@pbcl.net>
6041
6042 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
6043 comments.
6044
60452017-05-03 Carlos O'Donell <carlos@redhat.com>
6046
6047 [BZ #20116]
6048 * nptl/pthread_create.c: Expand comments to describe
6049 semaphore-like and mutex-like uses of PD->lock.
6050
60512017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6052
6053 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
6054 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
6055 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
6056 auto-generation list.
6057 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6058 epoll_wait.
6059 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
6060 Remove epoll_wait.
6061
6062 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6063 osf_select.
6064 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
6065 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
6066 osf_select from auto-generation list.
6067 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6068 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6069 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
6070 * sysdeps/unix/sysv/linux/select.c: New file.
6071
6072 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
6073 * sysdeps/unix/sysv/linux/poll.c: New file.
6074 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
6075 auto-generation list.
6076
60772017-05-03 Joseph Myers <joseph@codesourcery.com>
6078
6079 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
6080 New macro.
6081
60822017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
6083
6084 [BZ #21179]
6085 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
6086 R_SPARC_REGISTER relocations.
6087
60882017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6089
6090 * include/unistd.h (__pread): Add libc_hidden_proto.
6091 (__pread64): Likewise.
6092 (__pwrite): Likewise.
6093 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
6094 (__pread64): Remove.
6095 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
6096 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
6097 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
6098
60992017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6100
6101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6102
61032017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6104
6105 * nptl/tst-cancel4-common.c: Use libsupport.
6106 * nptl/tst-cancel4-common.h: Likewise.
6107 * nptl/tst-cancel4.c (tf_read): Likewise.
6108 (tf_readv): Likewise.
6109 (tf_write): Likewise.
6110 (tf_writev): Likewise.
6111 (tf_sleep): Likewise.
6112 (tf_usleep): Likewise.
6113 (tf_nanosleep): Likewise.
6114 (tf_select): Likewise.
6115 (tf_pselect): Likewise.
6116 (tf_poll): Likewise.
6117 (tf_ppoll): Likewise.
6118 (tf_wait): Likewise.
6119 (tf_waitpid): Likewise.
6120 (tf_waitid): Likewise.
6121 (tf_sigpause): Likewise.
6122 (tf_sigsuspend): Likewise.
6123 (tf_sigwait): Likewise.
6124 (tf_sigwaitinfo): Likewise.
6125 (tf_sigtimedwait): Likewise.
6126 (tf_pause): Likewise.
6127 (tf_accept): Likewise.
6128 (tf_send): Likewise.
6129 (tf_recv): Likewise.
6130 (tf_recvfrom): Likewise.
6131 (tf_recvmsg): Likewise.
6132 (tf_open): Likewise.
6133 (tf_close): Likewise.
6134 (tf_pread): Likewise.
6135 (tf_pwrite): Likewise.
6136 (tf_preadv): Likewise.
6137 (tf_pwritev): Likewise.
6138 (tf_fsync): Likewise.
6139 (tf_fdatasync): Likewise.
6140 (tf_msync): Likewise.
6141 (tf_sendto): Likewise.
6142 (tf_sendmsg): Likewise.
6143 (tf_creat): Likewise.
6144 (tf_connect): Likewise.
6145 (tf_tcdrain): Likewise.
6146 (tf_msgrcv): Likewise.
6147 (tf_msgsnd): Likewise.
6148 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
6149 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
6150
6151 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
6152 expected arguments.
6153 (do_test): Adapt to use libsupport.
6154
61552017-05-01 Joseph Myers <joseph@codesourcery.com>
6156
6157 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
6158
6159 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
6160 (PF_MAX): Set to 44.
6161 (AF_SMC): New macro.
6162
6163 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6164 kernel version to 4.11.
6165
61662017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6167
6168 [BZ #21280]
6169 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
6170 signal of subnormals and adjust the exponent of power of 2 down
6171 when low part has opposite sign.
6172
61732017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6174
6175 * sysdeps/powerpc/powerpc64le/Implies: New file.
6176 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
6177 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
6178 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
6179 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
6180 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
6181 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
6182 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6183 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6184 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6185 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6186 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6187 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6188 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6189 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6190 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6191 * sysdeps/powerpc/preconfigure: New file.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6194
61952017-04-28 Joseph Myers <joseph@codesourcery.com>
6196
6197 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6198 inclusion.
6199 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6200 Remove.
6201
62022017-04-27 Joseph Myers <joseph@codesourcery.com>
6203
6204 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6205 (XPG3): Rename standard to XPG4.
6206 * conform/Makefile: Likewise.
6207 * conform/list-header-symbols.pl: Likewise.
6208 * conform/data/aio.h-data: Likewise.
6209 * conform/data/arpa/inet.h-data: Likewise.
6210 * conform/data/complex.h-data: Likewise.
6211 * conform/data/ctype.h-data: Likewise.
6212 * conform/data/dlfcn.h-data: Likewise.
6213 * conform/data/fcntl.h-data: Likewise.
6214 * conform/data/fenv.h-data: Likewise.
6215 * conform/data/float.h-data: Likewise.
6216 * conform/data/fmtmsg.h-data: Likewise.
6217 * conform/data/ftw.h-data: Likewise.
6218 * conform/data/grp.h-data: Likewise.
6219 * conform/data/inttypes.h-data: Likewise.
6220 * conform/data/iso646.h-data: Likewise.
6221 * conform/data/langinfo.h-data: Likewise.
6222 * conform/data/libgen.h-data: Likewise.
6223 * conform/data/limits.h-data: Likewise.
6224 * conform/data/locale.h-data: Likewise.
6225 * conform/data/math.h-data: Likewise.
6226 * conform/data/mqueue.h-data: Likewise.
6227 * conform/data/ndbm.h-data: Likewise.
6228 * conform/data/net/if.h-data: Likewise.
6229 * conform/data/netdb.h-data: Likewise.
6230 * conform/data/netinet/in.h-data: Likewise.
6231 * conform/data/poll.h-data: Likewise.
6232 * conform/data/pthread.h-data: Likewise.
6233 * conform/data/pwd.h-data: Likewise.
6234 * conform/data/sched.h-data: Likewise.
6235 * conform/data/search.h-data: Likewise.
6236 * conform/data/semaphore.h-data: Likewise.
6237 * conform/data/signal.h-data: Likewise.
6238 * conform/data/spawn.h-data: Likewise.
6239 * conform/data/stdbool.h-data: Likewise.
6240 * conform/data/stdint.h-data: Likewise.
6241 * conform/data/stdio.h-data: Likewise.
6242 * conform/data/stdlib.h-data: Likewise.
6243 * conform/data/string.h-data: Likewise.
6244 * conform/data/strings.h-data: Likewise.
6245 * conform/data/stropts.h-data: Likewise.
6246 * conform/data/sys/mman.h-data: Likewise.
6247 * conform/data/sys/resource.h-data: Likewise.
6248 * conform/data/sys/select.h-data: Likewise.
6249 * conform/data/sys/socket.h-data: Likewise.
6250 * conform/data/sys/stat.h-data: Likewise.
6251 * conform/data/sys/statvfs.h-data: Likewise.
6252 * conform/data/sys/time.h-data: Likewise.
6253 * conform/data/sys/timeb.h-data: Likewise.
6254 * conform/data/sys/types.h-data: Likewise.
6255 * conform/data/sys/uio.h-data: Likewise.
6256 * conform/data/sys/un.h-data: Likewise.
6257 * conform/data/sys/wait.h-data: Likewise.
6258 * conform/data/syslog.h-data: Likewise.
6259 * conform/data/termios.h-data: Likewise.
6260 * conform/data/tgmath.h-data: Likewise.
6261 * conform/data/time.h-data: Likewise.
6262 * conform/data/ucontext.h-data: Likewise.
6263 * conform/data/unistd.h-data: Likewise.
6264 * conform/data/utmpx.h-data: Likewise.
6265 * conform/data/varargs.h-data: Likewise.
6266 * conform/data/wchar.h-data: Likewise.
6267 * conform/data/wctype.h-data: Likewise.
6268
62692017-04-26 Joseph Myers <joseph@codesourcery.com>
6270
6271 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6272 version to 7 branch.
6273
62742017-04-25 Uros Bizjak <ubizjak@gmail.com>
6275
6276 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6277 earlyclobber to output operand of sqrt insn.
6278 (__ieee754_sqrtf): Ditto.
6279
62802017-04-25 Joseph Myers <joseph@codesourcery.com>
6281
6282 [BZ #21426]
6283 * misc/bits/types/struct_iovec.h: New file.
6284 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6285 * include/bits/types/struct_iovec.h: New file.
6286 * bits/uio.h (struct iovec): Replace by inclusion of
6287 <bits/types/struct_iovec.h>.
6288 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6289 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6290 of <sys/uio.h>.
6291 * nptl/tst-cancel4.c: Include <sys/uio.h>
6292 * posix/test-errno.c: Likewise.
6293 * support/resolv_test.c: Likewise.
6294 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6295 Remove.
6296 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6297 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6298 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6299
6300 * conform/data/sys/socket.h-data (*_t): Allow.
6301
63022017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6303
6304 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6305 assignment.
6306
63072017-04-24 Daurnimator <quae@daurnimator.com>
6308 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6309
6310 [BZ #21340]
6311 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6312 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6313 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6314 valid flags.
6315 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6316 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6317 POSIX_SPAWN_SETSID.
6318 * sysdeps/posix/spawni.c (__spawni): Likewise.
6319 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6320 * NEWS: Add note about POSIX_SPAWN_SETSID support.
6321
63222017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6323
6324 * sysdeps/generic/math_private.h: Move the declaration of many
6325 functions to sysdeps/generic/math_private_calls.h.
6326 * sysdeps/generic/math_private_calls.h: New file with the
6327 declarations of the functions removed from math_private.h
6328 macroized by floating-point type.
6329
63302017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6331
6332 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6333 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6334 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6335 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6336 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6337 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6338
63392017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6340
6341 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6342 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6343 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6344 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6345 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6346 New Define.
6347
63482017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6349
6350 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6351 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6352 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6353 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6354 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6355 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6356
63572017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6358
6359 * sysdeps/s390/multiarch/ifunc-resolve.h
6360 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6361 * sysdeps/s390/multiarch/8bit-generic.c
6362 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6363 define ifunc resolvers.
6364
63652017-04-21 Florian Weimer <fweimer@redhat.com>
6366
6367 [BZ #20424]
6368 * manual/memory.texi (Replacing malloc): New section.
6369 (Allocating Storage For Program Data): Reference it.
6370 (The GNU Allocator): Likewise.
6371
63722017-04-20 Joseph Myers <joseph@codesourcery.com>
6373
6374 * stdlib/Versions (__strtod_internal): List explicitly, not as
6375 wildcard.
6376 (__strtof_internal): Likewise.
6377 (__strtold_internal): Likewise.
6378 (__strtol_internal): Likewise.
6379 (__strtoll_internal): Likewise.
6380 (__strtoul_internal): Likewise.
6381 (__strtoull_internal): Likewise.
6382 (__strtoq_internal): Likewise.
6383 (__strtouq_internal): Likewise.
6384 * wcsmbs/Versions (__wcstod_internal): Likewise.
6385 (__wcstof_internal): Likewise.
6386 (__wcstold_internal): Likewise.
6387 (__wcstol_internal): Likewise.
6388 (__wcstoll_internal): Likewise.
6389 (__wcstoul_internal): Likewise.
6390 (__wcstoull_internal): Likewise.
6391
63922017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6393
6394 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6395 struct timespec definition.
6396
63972017-04-19 Florian Weimer <fweimer@redhat.com>
6398
6399 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6400
64012017-04-19 Florian Weimer <fweimer@redhat.com>
6402
6403 * inet/rcmd.c (rresvport_af): Fix typo in comment.
6404 * inet/rexec.c (rexec_af): Likewise.
6405
64062017-04-19 Zack Weinberg <zackw@panix.com>
6407
6408 * posix/tst-mmap-offset.c: Include stdint.h.
6409 * resolv/tst-ns_name_compress.c: Include string.h.
6410 * resolv/tst-resolv-edns.c: Include resolv.h.
6411
64122017-04-19 Florian Weimer <fweimer@redhat.com>
6413
6414 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6415 with __glibc_likely.
6416 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6417 Replace __builtin_expect with __glibc_unlikely.
6418 * resolv/res_init.c (__res_vinit): Likewise.
6419 * resolv/res_query.c (__libc_res_nquery): Likewise.
6420 * resolv/res_send.c (__libc_res_nsend): Likewise.
6421
64222017-04-19 Florian Weimer <fweimer@redhat.com>
6423
6424 [BZ #15722]
6425 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6426 with SOCK_CLOEXEC.
6427 * resolv/res_send.c (send_vc, reopen): Likewise.
6428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6429 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6430 Likewise.
6431 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6432 * inet/rexec.c (rexec_af): Add comment.
6433 * inet/rcmd.c (rresvport_af): Likewise.
6434
64352017-04-19 Florian Weimer <fweimer@redhat.com>
6436
6437 * nscd/connections.c (have_accept4): Removed definition.
6438 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6439 accept4 works.
6440 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6441 ia64 because that was the first version with accept4 support.
6442 * support/Makefile (libsupport-routines): Add xaccept4.
6443 * support/xsocket.h (xaccept4): Declare.
6444 * support/xaccept4.c: New file.
6445 * socket/tst-accept4.c: New file.
6446 * socket/Makefile (tests): Add tst-accept4.
6447 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6448 definition.
6449 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6450 comment.
6451 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6452 implementation is available.
6453 (accept4): Use the system call if available, otherwise use the
6454 socket call.
6455 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6456 Set to 3.2.18.
6457 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6458 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6459 accept4 is unconditionally available in later 3.2 stable kernels.
6460 (__ASSUME_ACCEPT4_SYSCALL): Define.
6461 * sysdeps/unix/sysv/linux/kernel-features.h
6462 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6463 definitions.
6464 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6465 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6466
64672017-04-18 Joseph Myers <joseph@codesourcery.com>
6468
6469 * conform/Makefile (tests-special): Do not make addition of
6470 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6471 (generated): Do not make addition of $(conformtest-header-base)
6472 conditional on [$(cross-compiling) = no].
6473
6474 [BZ #21267]
6475 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6476 if defined by <asm/socket.h> and not previously defined.
6477 (IOCSIZE_SHIFT): Likewise.
6478 (IOC_IN): Likewise.
6479 (IOC_INOUT): Likewise.
6480 (IOC_OUT): Likewise.
6481
64822017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6483
6484 [BZ #21396]
6485 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6486 Prefer_No_AVX512 if AVX512ER isn't available.
6487 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6488 (index_arch_Prefer_No_AVX512): Likewise.
6489 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6490 AVX512 version if Prefer_No_AVX512 is set.
6491 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6492 Likewise.
6493 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6494 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6495 Likewise.
6496 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6497 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6498 Likewise.
6499 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6500 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6501 Likewise.
6502
65032017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6504
6505 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6506 Prefer_No_VZEROUPPER if AVX512ER is available.
6507 * sysdeps/x86/cpu-features.h
6508 (bit_cpu_AVX512PF): New.
6509 (bit_cpu_AVX512ER): Likewise.
6510 (bit_cpu_AVX512CD): Likewise.
6511 (bit_cpu_AVX512BW): Likewise.
6512 (bit_cpu_AVX512VL): Likewise.
6513 (index_cpu_AVX512PF): Likewise.
6514 (index_cpu_AVX512ER): Likewise.
6515 (index_cpu_AVX512CD): Likewise.
6516 (index_cpu_AVX512BW): Likewise.
6517 (index_cpu_AVX512VL): Likewise.
6518 (reg_AVX512PF): Likewise.
6519 (reg_AVX512ER): Likewise.
6520 (reg_AVX512CD): Likewise.
6521 (reg_AVX512BW): Likewise.
6522 (reg_AVX512VL): Likewise.
6523
65242017-04-18 Florian Weimer <fweimer@redhat.com>
6525
6526 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6527 O_CLOEXEC is defined.
6528 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6529 * io/Makefile (aux): Remove.
6530 * io/have_o_cloexec.c: Remove file.
6531 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6532 defined and works.
6533 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6534 defined.
6535 * login/utmp_file.c (O_flags): Remove definition.
6536 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6537 O_CLOEXEC works.
6538 (pututline_file): Likewise.
6539 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6540 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6541 definition.
6542 (internal_setgrent): Assume that O_CLOEXEC works.
6543 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6544 Remove definition.
6545 (internal_setgrent): Assume that O_CLOEXEC works.
6546 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6547 definition.
6548 (internal_setpwent): Assume that O_CLOEXEC works.
6549 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6550 definition.
6551 (internal_setspent): Assume that O_CLOEXEC works.
6552 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6553 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6554 O_CLOEXEC is defined and works.
6555 * nss/Makefile (libnss_files-routines): Remove
6556 files-have_o_cloexec.
6557 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6558 defined.
6559 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6560 O_CLOEXEC is defined and works.
6561 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6562 * nss/nss_files/files-have_o_cloexec.c: Remove.
6563 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6564 defined.
6565 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6566 and works.
6567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6568 definition.
6569 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6570 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6571 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6572 (__opendirat, __opendir): Adjust opendir_oflags call.
6573 (check_have_o_cloexec): Remove.
6574 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6575 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6576 defined.
6577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6578 Remove definition.
6579
65802017-04-18 Florian Weimer <fweimer@redhat.com>
6581
6582 * include/unistd.h (__have_dup3): Remove declaration.
6583 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6584 dup3 is available.
6585 * libio/freopen64.c (freopen64): Likewise.
6586 * socket/Makefile (aux): Remove have_sock_cloexec.
6587 * socket/have_sock_cloexec.c: Remove file.
6588 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6589 definition.
6590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6591 Likewise.
6592 * sysdeps/nacl/kernel-features.h: Update comment.
6593
65942017-04-18 Florian Weimer <fweimer@redhat.com>
6595
6596 * include/unistd.h (__have_pipe2): Remove declaration.
6597 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6598 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6599 available.
6600 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6601 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6602 Remove definition.
6603
66042017-04-18 Florian Weimer <fweimer@redhat.com>
6605
6606 * malloc/malloc.c (cfree): Turn into compat symbol.
6607 (__cfree): Remove alias.
6608 * stdlib/stdlib.h (cfree): Remove declaration.
6609 * malloc/malloc.h (cfree): Likewise.
6610 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6611 * malloc/Versions (GLIBC_2.26): Add.
6612
66132017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6614
6615 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6616 (sysdep_routines): Add strrchr-power8.
6617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6618 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6619 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6620 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6621 (strrchr): Add __strrchr_power8 to ifunc list.
6622 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6623
66242017-04-17 Rabin Vincent <rabinv@axis.com>
6625
6626 [BZ #21357]
6627 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6628 Call free() outside of mutex.
6629
66302017-04-13 Florian Weimer <fweimer@redhat.com>
6631
6632 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6633 is defined.
6634 * elf/rtld.c (process_envvars): Likewise.
6635 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6636 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6637 O_NOFOLLOW directly.
6638 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6639
66402017-04-13 Florian Weimer <fweimer@redhat.com>
6641
6642 [BZ #21369]
6643 Remove EDNS fallback.
6644 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6645 handling.
6646 * resolv/res_send.c (send_dg): Likewise.
6647 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6648 "tcp." prefixes.
6649 (do_test): Send a "formerr."-prefixed query in an attempt to
6650 trigger EDNS fallback.
6651
66522017-04-13 Florian Weimer <fweimer@redhat.com>
6653
6654 [BZ #21361]
6655 Limit EDNS buffer size to 1200 bytes.
6656 * include/resolv.h (__res_nopt): Remove declaration.
6657 * resolv/Makefile (tests): tst-resolv-edns.
6658 (tst-resolv-edns): Link with -lresolv, -lpthread.
6659 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6660 interval [512, 1200].
6661 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6662 we can resize the buffer.
6663 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6664 (__res_nopt): Declare.
6665 * resolv/tst-resolv-edns.c: New file.
6666 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6667 (struct resolv_response_context): Add edns member.
6668 * resolv/resolv_test.c (struct query_info): Add edns member.
6669 (parse_query): Extract EDNS information from the query.
6670 (server_thread_udp_process_one): Propagate EDNS data.
6671 (server_thread_tcp_client): Likewise.
6672
66732017-04-13 Florian Weimer <fweimer@redhat.com>
6674
6675 [BZ #21359]
6676 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6677 byte in the destination buffer. Avoid out-of-bounds pointer
6678 arithmetic.
6679 * resolv/Makefile (tests): Add tst-ns_name_compress.
6680 (tst-ns_name_compress): Link with -lresolv.
6681 * resolv/tst-ns_name_compress.c: New file.
6682 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6683 (response): Recognize LONG_NAME.
6684 (do_test): Add LONG_NAME tests.
6685 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6686 for ns_name_unpack. Add tests for ns_name_pton and
6687 ns_name_compress.
6688
66892017-04-13 Florian Weimer <fweimer@redhat.com>
6690
6691 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6692 (res_nisourserver): Remove definition.
6693 (p_section, res_npquery, res_nisourserver): Remove declaration.
6694 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6695 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6696 ... here.
6697 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6698 <resolv.h>.
6699 * resolv/res_query.c: Likewise.
6700 * resolv/res_debug.c (p_section): Define as static.
6701
67022017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6703
6704 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6705 strncat-power8.
6706 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6707 __strncat_power8 to ifunc list.
6708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6709 (strncat): Add __strncat_power8 to list of strncat functions.
6710 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6711
67122017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6713
6714 [BZ #21270]
6715 * posix/tst-mmap-offset.c (do_prepare): New function.
6716 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6717 (do_test_bz21270): New function.
6718 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6719 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6720 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6721 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6722 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6723 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6724 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6725 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6726 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6727 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6728 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6729 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6730 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6731 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6732 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6733 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6734 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6735 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6736 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6737 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6738 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6739 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6740 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6741 from auto-generation list.
6742 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6744 * sysdeps/unix/sysv/linux/mmap.c: New file.
6745 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6746 offsets and support for mmap2 syscall.
6747
6748 * posix/globtest.sh: Add cleanup routine on trap 0.
6749
67502017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6751
6752 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6753 implementation-specific function name and remove unneeded
6754 macros definition.
6755 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6756 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6758 name if not defined and pass as parameter to macros accordingly.
6759 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6760 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6761
6762 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6763 implementation-specific function name and remove unneeded
6764 macros definition.
6765 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6766 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6768 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6770 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6771 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6772 name if not defined and pass as parameter to macros accordingly.
6773 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6774 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6775 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6776 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6777 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6778 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6779
6780 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6781 implementation-specific function name and remove unneeded macros
6782 definition.
6783 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6784 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6785 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6786 function name if not defined and pass as parameter to macros
6787 accordingly.
6788 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6789 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6790
6791 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6792 implementation-specific function name and remove unneeded macros
6793 definition.
6794 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6795 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6796 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6797 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6798 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6799 not defined and pass as parameter to macros accordingly.
6800 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6801 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6802 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6803 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6804
6805 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6806 strcasestr implementation name and remove unneeded macros definition.
6807 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6808 strstr implementation name and remove unneeded macros definition.
6809 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6810 name if not defined and pass as parameter to macros accordingly.
6811 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6812
6813 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6814 implementation-specific function name and remove unneeded macros
6815 definition.
6816 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6817 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6818 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6819 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6820 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6821 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6822 function name if not defined and pass as parameter to macros
6823 accordingly.
6824 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6825 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6826 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6827 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6828
6829 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6830 the strlen implementation name and remove unneeded macros definition.
6831 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6832 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6833 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6834 the strnlen implementation name and remove unneeded macros definition.
6835 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6836 name if not defined and pass as parameter to macros accordingly.
6837 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6838 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6839 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6840
6841 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6842 the implementation-specific function name and remove unneeded
6843 macros definition.
6844 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6845 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6846 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6848 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6849 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6850 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6851 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6852 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6853 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6854 name if not defined and pass as parameter to macros accordingly.
6855 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6856 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6857 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6858 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6859 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6860 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6861 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6862 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6863
6864 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6865 implementation-specific function name and remove unneeded macros
6866 definition.
6867 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6868 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6869 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6870 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6871 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6872 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6873 function name if not defined.
6874 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6875 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6876
68772017-04-11 Paul Clarke <pc@us.ibm.com>
6878
6879 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6880 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6881 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6882 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6883
68842017-04-11 Florian Weimer <fweimer@redhat.com>
6885 Zack Weinberg <zackw@panix.com>
6886
6887 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6888 readdir64 as thread-safe. Update warning about readdir_r.
6889
68902017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6891
6892 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6893 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6894 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6895 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6896 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6897 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6898 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6899
69002017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6901
6902 * sysdeps/i386/dl-procinfo.c: Include
6903 <sysdeps/x86/dl-procinfo.c>.
6904 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6905 * sysdeps/x86/dl-procinfo.c: New file.
6906
69072017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6908
6909 * sysdeps/generic/math_private.h: Remove declarations of
6910 many functions that are already declared in math.h.
6911 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6912 declaration for __frexpl.
6913 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6914 the declarations for __scalbnl and fabsl.
6915
69162017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6917
6918 [BZ #20831]
6919 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6920 of __mprotect to change protection on the excess portion
6921 to disallow all access.
6922
69232017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6924
6925 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6926 HAS_CPU_FEATURE to check for SSE.
6927 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6928 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6929 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6930 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6931 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6932 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6933 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6934 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6935 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6936 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6937 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6938 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6939 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6940 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6941 (index_cpu_SSE): Likewise.
6942 (reg_SSE): Likewise.
6943
69442017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6945
6946 * posix/getopt1.c: Include <config.h>, not "config.h".
6947
69482017-04-07 Zack Weinberg <zackw@panix.com>
6949
6950 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6951 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6952 Mention in top-of-file boilerplate that these files are shared
6953 with gnulib.
6954 * posix/getopt.h, posix/bits/getopt_posix.h:
6955 Mention in top-of-file boilerplate that these files are NOT shared
6956 with gnulib, unlike the rest of the getopt implementation.
6957
6958 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6959 New files, intended to be shared with gnulib.
6960 * posix/bits/getopt_posix.h:
6961 New file, not intended to be shared with gnulib.
6962 * posix/getopt.h: Now just includes features.h,
6963 bits/getopt_core.h, and bits/getopt_ext.h. Will
6964 no longer be shared with gnulib.
6965 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6966 * include/bits/getopt_posix.h: New wrappers.
6967 * posix/Makefile: Install new headers.
6968 * posix/unistd.h, libio/stdio.h:
6969 Include bits/getopt_posix.h instead of getopt.h.
6970
6971 * include/libc-symbols.h: For gnulib compatibility, define
6972 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6973 _GL_ATTRIBUTE_CONST.
6974 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6975 parameters with _GL_UNUSED.
6976
6977 * posix/getopt.c: When used standalone, define __libc_use_alloca
6978 as always false and alloca to abort if called.
6979 (process_long_option): Rewrite handling of ambiguous long options
6980 to use a single boolean vector, not a linked list; use
6981 __libc_use_alloca to decide whether to allocate this using alloca.
6982 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6983
6984 * posix/getopt.c (process_long_option): New function split out
6985 from _getopt_internal_r.
6986 (_getopt_internal_r): Replace both copies of the long-option
6987 processing code with calls to process_long_option.
6988 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6989 (do_test): Differentiate argv[0] in the two subtests.
6990
6991 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6992 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6993 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6994
6995 * posix/getopt.h: Add backup definition of __nonnull for
6996 consistency with gnulib. Define __getopt_argv_const to const
6997 if not already defined.
6998 (getopt): Update doc comment from gnulib. Prototype
6999 unconditionally. Add __nonnull annotation.
7000 (__posix_getopt): Add __nonnull annotation.
7001 (getopt_long, getopt_long_only): Use __getopt_argv_const in
7002 prototypes for consistency with gnulib. Add __nonnull
7003 annotations.
7004 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
7005 (getopt_internal): Change 'argv' argument to type 'char **'.
7006 Remove now-unnecessary casts.
7007 (getopt, __posix_getopt): Eliminate repetition with a macro.
7008 Cast 'argv' to 'char **' when calling _getopt_internal.
7009 * posix/getopt1.c (getopt_long, getopt_long_only):
7010 Use __getopt_argv_const for consistency with gnulib.
7011 Cast 'argv' to 'char **' when calling _getopt_internal.
7012 (_getopt_long_r, _getopt_long_only_r):
7013 Change 'argv' argument to type 'char **'.
7014 (main): Constify 'long_options'.
7015 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
7016 (_getopt_long_r, _getopt_long_only_r):
7017 Change 'argv' argument to type 'char **'.
7018
7019 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
7020 (locked_vfxprintf): New helper function. Handle arbitrary
7021 multibyte strings, not just ASCII.
7022 * include/stdio.h: Declare __fxprintf_nocancel.
7023 * posix/getopt.c: When _LIBC is defined, define fprintf to
7024 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
7025 to _IO_funlockfile. When neither _LIBC nor
7026 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
7027 funlockfile as no-ops.
7028 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
7029 the standalone error-printing code can now be used for libc as
7030 well. Add an flockfile/funlockfile pair around one case where
7031 the error message is printed in several chunks. Don't use fputc.
7032 * posix/tst-getopt-cancel.c: New test.
7033 * posix/Makefile: Run it.
7034
7035 * posix/getopt.c (_getopt_internal_r): Don't increment
7036 d->optind a second time when reporting ambiguous -W options.
7037
7038 * posix/getopt_int.h: Include getopt.h.
7039 Use impl-namespace names for all arguments to _getopt_internal and
7040 _getopt_internal_r.
7041 Declare __ordering enum outside the struct.
7042 Harmonize comments with gnulib.
7043 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
7044 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
7045 #ifdef TEST block and make unconditional. Do not define NULL.
7046 * posix/getopt.c: Partial merge from gnulib, covering the
7047 initial includes and global declarations, commentary, and
7048 a couple of semantically-neutral code changes.
7049
7050 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
7051 Use '...' instead of `...' for quotation marks inside
7052 comments and strings.
7053
7054 * config.h.in (USE_NONOPTION_FLAGS): Remove.
7055 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
7056 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7057 * posix/getopt_int.h: Likewise.
7058 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
7059 __libc_argc and __libc_argv externs, which were only used by
7060 #ifdef USE_NONOPTION_FLAGS blocks.
7061 * posix/getopt_init.c: Remove file.
7062 * posix/Makefile (routines): Remove getopt_init.
7063 * include/getopt.h: Don't declare __getopt_initialize_environment.
7064 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
7065 a comment.
7066
70672017-04-07 Florian Weimer <fweimer@redhat.com>
7068
7069 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
7070
70712017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7072
7073 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
7074 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
7075 to __wrap_.udiv.
7076 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
7077 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
7078
7079 * sysdeps/i386/symbol-hacks.h: New file.
7080 * sysdeps/m68k/symbol-hacks.h: New file.
7081 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
7082 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
7083 * sysdeps/unix/sysv/linux/i386/Makefile
7084 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
7085 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7086 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7087 * sysdeps/unix/sysv/linux/m68k/Makefile
7088 [$(subdir) = csu] (sysdep_routines): Likewise.
7089 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7090 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7092 [$(subdir) = csu] (sysdep_routines): Likewise.
7093 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7094 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7095 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7096 [$(subdir) = csu] (sysdep_routines): Likewise.
7097 [$(subdir) = csu] (sysdep-only-routines): Likewise.
7098 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7099 * sysdeps/wordsize-32/Makefile: Remove file.
7100 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
7101 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
7102
71032017-04-05 H.J. Lu <hongjiu.lu@intel.com>
7104
7105 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
7106 (TEST_FUNCTION_ARGV): New.
7107
71082017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7109
7110 * elf/next.c: Import support/test-driver.c instead of
7111 test-skeleton.c and delete TEST_FUNCTION macro definition.
7112 * elf/nodelete.c: Likewise.
7113 * elf/order2.c: Likewise.
7114 * elf/tst-_dl_addr_inside_object.c: Likewise.
7115 * elf/tst-addr1.c: Likewise.
7116 * elf/tst-align.c: Likewise.
7117 * elf/tst-align2.c: Likewise.
7118 * elf/tst-audit11.c: Likewise.
7119 * elf/tst-audit12.c: Likewise.
7120 * elf/tst-audit2.c: Likewise.
7121 * elf/tst-audit9.c: Likewise.
7122 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
7123 * elf/tst-deep1.c: Likewise.
7124 * elf/tst-dl-iter-static.c: Likewise.
7125 * elf/tst-dlmodcount.c: Likewise.
7126 * elf/tst-dlmopen1.c: Likewise.
7127 * elf/tst-dlmopen2.c: Likewise.
7128 * elf/tst-dlmopen3.c: Likewise.
7129 * elf/tst-dlopen-aout.c: Likewise.
7130 * elf/tst-dlopenrpath.c: Likewise.
7131 * elf/tst-dlsym-error.c: Likewise.
7132 * elf/tst-execstack-needed.c: Likewise.
7133 * elf/tst-execstack-prog.c: Likewise.
7134 * elf/tst-execstack.c: Likewise.
7135 * elf/tst-global1.c: Likewise.
7136 * elf/tst-gnu2-tls1.c: Likewise.
7137 * elf/tst-latepthread.c: Likewise.
7138 * elf/tst-leaks1.c: Likewise.
7139 * elf/tst-linkall-static.c: Likewise.
7140 (do_test): New function.
7141 * elf/tst-nodelete-opened.c: Likewise.
7142 * elf/tst-nodelete.cc: Likewise.
7143 * elf/tst-nodelete2.c: Likewise.
7144 * elf/tst-noload.c: Likewise.
7145 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
7146 * elf/tst-order-main.c: Likewise.
7147 * elf/tst-pathopt.c: Likewise.
7148 * elf/tst-pie2.c: Likewise.
7149 * elf/tst-piemod1.c: Likewise.
7150 * elf/tst-prelink.c: Likewise.
7151 * elf/tst-protected1a.c: Likewise.
7152 * elf/tst-protected1b.c: Likewise.
7153 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
7154 and define _GNU_SOURCE macro.
7155 (cmdline_process_function): New function.
7156 * elf/tst-relsort1.c: Likewise.
7157 * elf/tst-stackguard1.c: Likewise, import getopt.h,
7158 and define _GNU_SOURCE macro.
7159 (cmdline_process_function): New function.
7160 * elf/tst-thrlock.c: Likewise.
7161 * elf/tst-tls-dlinfo.c: Likewise.
7162 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
7163 * elf/tst-tls1.c: Likewise.
7164 * elf/tst-tls10.c: Likewise.
7165 * elf/tst-tls11.c: Likewise.
7166 * elf/tst-tls12.c: Likewise.
7167 * elf/tst-tls13.c: Likewise.
7168 * elf/tst-tls14.c: Likewise.
7169 * elf/tst-tls15.c: Likewise.
7170 * elf/tst-tls16.c: Likewise.
7171 * elf/tst-tls17.c: Likewise.
7172 * elf/tst-tls18.c: Likewise.
7173 * elf/tst-tls19.c: Likewise.
7174 * elf/tst-tls2.c: Likewise.
7175 * elf/tst-tls3.c: Likewise.
7176 * elf/tst-tls4.c: Likewise.
7177 * elf/tst-tls5.c: Likewise.
7178 * elf/tst-tls6.c: Likewise.
7179 * elf/tst-tls7.c: Likewise.
7180 * elf/tst-tls8.c: Likewise.
7181 * elf/tst-tls9.c: Likewise.
7182 * elf/tst-tlsalign-extern.c: Likewise.
7183 * elf/tst-tlsalign.c: Likewise.
7184 * elf/tst-unique1.c: Likewise.
7185 * elf/tst-unique2.c: Likewise.
7186 * elf/vismain.c: Likewise.
7187
71882017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7189
7190 * string/test-strnlen.c (do_page_tests): New function
7191 to check length of strings ending at the page boundary.
7192 (test_main): Added call to the do_page_tests function.
7193
71942017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7195 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7196
7197 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7198 (sysdep_routines): Add strnlen-power8.
7199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7200 (strnlen): Add __strnlen_power8 to list of strnlen functions.
7201 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7202 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7203 (__strnlen): Add __strnlen_power8 to ifunc list.
7204 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7205
72062017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7207
7208 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7209 the TEST_FUNCTION macro definition.
7210 * wcsmbs/tst-mbrtowc2.c: Likewise.
7211 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7212 * wcsmbs/tst-wchar-h.c: Likewise.
7213 * wcsmbs/tst-wcpncpy.c: Likewise.
7214 * wcsmbs/tst-wcrtomb.c: Likewise.
7215 * wcsmbs/tst-wcsnlen.c: Likewise.
7216 * wcsmbs/tst-wcstof.c: Likewise.
7217
72182017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7219
7220 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7221 CALL_THREAD_FCT macro usage.
7222 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7223 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7224 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7225
7226 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7227 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7228 (__ASSUME_REQUEUE_PI): Likewise.
7229 * sysdeps/unix/sysv/linux/kernel-features.h
7230 (__ASSUME_REQUEUE_PI): Likewise.
7231 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7232 (__ASSUME_REQUEUE_PI): Likewise.
7233 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7234 (__ASSUME_REQUEUE_PI): Likewise.
7235 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7236 (__ASSUME_REQUEUE_PI): Likewise.
7237
72382017-04-04 Florian Weimer <fweimer@redhat.com>
7239
7240 * resolv/tst-resolv-canonname.c: New file.
7241 * resolv/Makefile (tests): Add tst-resolv-canonname.
7242 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7243
72442017-04-04 Florian Weimer <fweimer@redhat.com>
7245
7246 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7247 Declare.
7248 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7249 (NS_MAXCDNAME): Remove definition.
7250 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7251 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7252 (NS_MAXCDNAME): Remove definition.
7253 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7254
72552017-04-04 Florian Weimer <fweimer@redhat.com>
7256
7257 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7258 call whose result is not used.
7259
72602017-04-04 Florian Weimer <fweimer@redhat.com>
7261
7262 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7263 * resolv/Makefile (tests): Add tst-ns_name.
7264 (tst-ns_name): Link with -lresolv.
7265 (tst-ns_name.out): Depend on the input data file.
7266
72672017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
7268
7269 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7270 Clobber also r14.
7271
72722017-04-03 Mike Frysinger <vapier@gentoo.org>
7273
7274 [BZ #21253]
7275 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7276 slack space by 32KiB.
7277
72782017-04-01 Wladimir van der Laan <laanwj@gmail.com>
7279
7280 [BZ #21338]
7281 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7282 instead of incorrect do_set_arena_test
7283
72842017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7285
7286 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7287 * math/bits/math-finite.h: Likewise.
7288
72892017-03-31 Slava Barinov <v.barinov@samsung.com>
7290
7291 [BZ #21289]
7292 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7293
72942017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7295
7296 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7297 non expected inotify_add_watch and quotactl return.
7298
72992017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7300
7301 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7302 to int32_t.
7303 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7304 as returning int32_t.
7305
73062017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7307
7308 * math/math.h: Include bits/math-finite.h once per
7309 floating-point type.
7310 * math/bits/math-finite.h: Macroize all declarations by
7311 floating-point type.
7312
73132017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7314
7315 [BZ #21182]
7316 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7317 near end of a page.
7318 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7319 overflow calculation.
7320
73212017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
7322
7323 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7324 (IMPL) Call with 1 instead of 0 as argument.
7325
73262017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7327
7328 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7329 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7330 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7331 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7332 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7333 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7334 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7335 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7336 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7337 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7338 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7339 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7340 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7341 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7342 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7343 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7344 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7345 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7346 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7347 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7348 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7349 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7350 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7351 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7352 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7353 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7354 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7355 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7356 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7357 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7358 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7359 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7360 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7361 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7362 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7363 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7364 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7365 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7366 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7367 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7368 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7369 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7370 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7371 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7372 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7373 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7374 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7375 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7376 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7377 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7378 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7379 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7380 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7381 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7382 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7383 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7384 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7385 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7386 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7387 defined.
7388 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7389 __NR_setgroups32 if defined.
7390 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7391 if defined.
7392 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7393 __NR_setresgid32 is defined.
7394 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7395 __NR_setresuid32 if defined.
7396 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7397 __NR_setreuid32 if defined.
7398 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7399 defined.
7400 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7401 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7402 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7403 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7404 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7405 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7406 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7407 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7408 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7409 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7410 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7411 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7412 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7413 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7414 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7415 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7416 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7417 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7418 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7419 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7420 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7421 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7422 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7423 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7424 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7425 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7426 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7427 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7428 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7429 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7430 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7431 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7432 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7433 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7434 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7435 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7436 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7437 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7438 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7439 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7440 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7441 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7442 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7443 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7444 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7445 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7446 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7447 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7448 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7449 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7450 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7451 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7452 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7453 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7454 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7455 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7456 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7457 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7458 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7459 defined.
7460 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7461 __NR_setgroups32 if defined.
7462 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7463 if defined.
7464 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7465 __NR_setresgid32 is defined.
7466 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7467 __NR_setresuid32 if defined.
7468 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7469 __NR_setreuid32 if defined.
7470 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7471 defined.
7472
74732017-03-27 Joseph Myers <joseph@codesourcery.com>
7474
7475 [BZ #21277]
7476 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7477 unconditionally.
7478 (IMAXBEL): Likewise.
7479 (IUTF8): Likewise.
7480
74812017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7482
7483 * sysdeps/aarch64/libm-test-ulps: Update.
7484
74852017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7486
7487 * README.tunables: Updated descriptions.
7488 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7489 * scripts/gen-tunables.awk: Updated the code related to the
7490 commit.
7491
74922017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7493
7494 * benchtests/Makefile (string-benchset): Add memcpy-random.
7495 * benchtests/bench-memcpy-random.c: New file.
7496
74972017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7498
7499 * stdio-common/printf.h (register_printf_modifier): Change the
7500 order of __wur and __THROW.
7501 (register_printf_type): Likewise.
7502
75032017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7504
7505 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7506 test_main ().
7507 (CMDLINE_PROCESS): Use function instead of defined macro.
7508 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7509 <suppport/support.h> to use set_fortify_handler().
7510 * string/bug-envz1.c: Import support/test-driver.c instead of
7511 test-skeleton.c.
7512 * string/bug-strcoll2.c: Likewise.
7513 * string/bug-strtok1.c: Likewise.
7514 * string/stratcliff.c: Likewise.
7515 * string/test-ffs.c: Likewise.
7516 * string/test-memccpy.c: Likewise.
7517 * string/test-memchr.c: Likewise.
7518 * string/test-memcmp.c: Likewise.
7519 * string/test-memcpy.c: Likewise.
7520 * string/test-memmem.c: Likewise.
7521 * string/test-memmove.c: Likewise.
7522 * string/test-memrchr.c: Likewise.
7523 * string/test-memset.c: Likewise.
7524 * string/test-rawmemchr.c: Likewise.
7525 * string/test-strcasecmp.c: Likewise.
7526 * string/test-strcasestr.c: Likewise.
7527 * string/test-strcat.c: Likewise.
7528 * string/test-strchr.c: Likewise.
7529 * string/test-strcmp.c: Likewise.
7530 * string/test-strcpy.c: Likewise.
7531 * string/test-string.h: Likewise.
7532 * string/test-strlen.c: Likewise.
7533 * string/test-strncasecmp.c: Likewise.
7534 * string/test-strncat.c: Likewise.
7535 * string/test-strncmp.c: Likewise.
7536 * string/test-strncpy.c: Likewise.
7537 * string/test-strnlen.c: Likewise.
7538 * string/test-strpbrk.c: Likewise.
7539 * string/test-strrchr.c: Likewise.
7540 * string/test-strspn.c: Likewise.
7541 * string/test-strstr.c: Likewise.
7542 * string/tst-bswap.c: Likewise.
7543 * string/tst-cmp.c: Likewise.
7544 * string/tst-endian.c: Likewise.
7545 * string/tst-inlcall.c: Likewise.
7546 * string/tst-strcoll-overflow.c: Likewise.
7547 * string/tst-strfry.c: Likewise.
7548 * string/tst-strlen.c: Likewise.
7549 * string/tst-strtok.c: Likewise.
7550 * string/tst-strtok_r.c: Likewise.
7551 * string/tst-strxfrm.c: Likewise.
7552 * string/tst-strxfrm2.c: Likewise.
7553 * string/tst-svc.c: Likewise.
7554 * string/tst-svc2.c: Likewise.
7555
75562017-03-22 Zack Weinberg <zackw@panix.com>
7557
7558 * stdio-common/bug25.c: Include stdlib.h.
7559 * support/tst-support_format_dns_packet.c: Include stdio.h,
7560 stdlib.h, and string.h.
7561 * support/tst-support_record_failure.c: Include string.h.
7562 * support/tst-support_record_failure-2.sh: Adjust line number
7563 expectations and correct a typo in an error message.
7564
75652017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 [BZ #21258]
7568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7569 Define only if _dl_runtime_resolve is defined to
7570 _dl_runtime_resolve_sse_vex.
7571 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7572 Fallthrough to _dl_runtime_resolve_sse_vex.
7573
75742017-03-21 Joseph Myers <joseph@codesourcery.com>
7575
7576 * INSTALL: Regenerated.
7577
75782017-03-21 Thorsten Kukuk <kukuk@suse.com>
7579
7580 * config.h.in: Add LINK_OBSOLETE_NSL.
7581 * config.make.in: Add build-obsolete-nsl.
7582 * configure.ac: Add obsolete-nsl option.
7583 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7584 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7585 * include/rpcsvc/nislib.h: Likewise.
7586 * include/rpcsvc/ypclnt.h: Likewise.
7587 * manual/install.texi: Document --enable-obsolete-nsl.
7588 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7589 * nis/nis_add.c: Replace libnsl_hidden_def with
7590 libnsl_hidden_nolink_def.
7591 * nis/nis_addmember.c: Likewise.
7592 * nis/nis_call.c: Likewise.
7593 * nis/nis_clone_obj.c: Likewise.
7594 * nis/nis_defaults.c: Likeise.
7595 * nis/nis_domain_of_r.c: Likewise.
7596 * nis/nis_error.c: Likewise.
7597 * nis/nis_file.c: Likewise.
7598 * nis/nis_free.c: Likewise.
7599 * nis_local_names.c: Likewise.
7600 * nis/nis_lookup.c: Likewise.
7601 * nis/nis_modify.c: Likewise.
7602 * nis/nis_print.c: Likewise.
7603 * nis/nis_remove.c: Likewise.
7604 * nis/nis_table.c: Likewise.
7605 * nis/nis_util.c: Likewise.
7606 * nis/nis_xdr.c: Likewise.
7607 * nis/yp_xdr.c: Likewise.
7608 * nis/ypclnt.c: Likewise.
7609 * nis/ypupdate_xdr.c: Likewise.
7610 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7611 * nis/nis_clone_dir.c: Likewise.
7612 * nis/nis_clone_res.c: Likewise.
7613 * nis/nis_creategroup.c: Likewise.
7614 * nis/nis_destroygroup.c: Likewise.
7615 * nis/nis_domain_of.c: Likewise.
7616 * nis/nis_getservlist.c: Likewise.
7617 * nis/nis_ismember.c: Likewise.
7618 * nis/nis_mkdir.c: Likewise.
7619 * nis/nis_ping.c: Likewise.
7620 * nis/nis_print_group_entry.c: Likewise.
7621 * nis/nis_removemember.c: Likewise.
7622 * nis/nis_rmdir.c: Likewise.
7623 * nis/nis_server.c: Likewise.
7624 * nis/nis_subr.c: Likewise.
7625 * nis/nis_verifygroup.c: Likewise.
7626
76272017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7628
7629 * malloc/tst-interpose-aux.c (check_for_allocations):
7630 Move compiler barrier before free.
7631
76322017-03-20 Joseph Myers <joseph@codesourcery.com>
7633
7634 [BZ #21279]
7635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7636 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7637 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7638 x86_64-x32-linux.
7639 (mq_attr.mq_maxmsg): Likewise.
7640 (mq_attr.mq_msgsize): Likewise.
7641 (mq_attr.mq_curmsgs): Likewise.
7642
7643 [BZ #21278]
7644 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7645 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7646 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7647 mips-o32-linux.
7648
7649 [BZ #21268]
7650 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7651 if [__USE_MISC]
7652 (NL3): Likewise.
7653
76542017-03-20 Mike Frysinger <vapier@gentoo.org>
7655
7656 [BZ #21275]
7657 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7658 __stack to __stackbase.
7659 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7660 checks so we can include defined(__ia64__) first.
7661
76622017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7663
7664 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7665 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7666 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7667 Call is_pty when the link does not exist or does not match, fail
7668 with ENODEV when it returns true.
7669 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7670 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7671 Call is_pty when the link does not exist or does not match, fail
7672 with ENODEV when it returns true.
7673
76742017-03-18 Joseph Myers <joseph@codesourcery.com>
7675
7676 [BZ #16437]
7677 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7678 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7679 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7680 x86_64-x32-linux.
7681 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7682 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7683 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7684
7685 [BZ #21261]
7686 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7687 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7688 names for all fields.
7689 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7690 for jmp_buf field renaming.
7691 (_JMPBUF_UNWINDS_ADJ): Likewise.
7692
7693 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7694 with allow-header.
7695
76962017-03-17 Chris Evans <scarybeasts@gmail.com>
7697
7698 * malloc/malloc.c (unlink): Add consistency check between size and
7699 next->prev->size, to further harden against 1-byte overflows.
7700
77012017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7702
7703 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7704 CPU_FEATURES_CPU_P.
7705
77062017-03-17 Joseph Myers <joseph@codesourcery.com>
7707
7708 [BZ #21259]
7709 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7710 unconditionally, not just for [__USE_MISC].
7711
7712 [BZ #17786]
7713 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7714 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7715 mips-o32-linux.
7716
7717 [BZ #21260]
7718 * sysdeps/unix/sysv/linux/alpha/Makefile
7719 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7720 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7721
7722 * conform/conformtest.pl ($cross): New variable.
7723 (--cross): New command-line option.
7724 (runtest): Skip test execution when cross-compiling.
7725 * conform/Makefile (conformtest-cross): New variable.
7726 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7727 conformtest.pl.
7728
7729 * conform/conformtest.pl ($xfail_str): New variable.
7730 (--xfail=): New command-line option.
7731 (top level): Handle expectations starting xfail[cond]-.
7732 * conform/Makefile (conformtest-xfail): New variable.
7733 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7734 conformtest.pl.
7735
77362017-03-16 Joseph Myers <joseph@codesourcery.com>
7737
7738 * conform/conformtest.pl: Use compilation instead of execution
7739 tests for testing values of constants and usability in #if.
7740
77412017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7742
7743 * math/auto-libm-test-in: Mark some catan and catanh as
7744 xfail-rounding:ibm128-libgcc.
7745 * math/auto-libm-test-out-catan: Regenerate.
7746 * math/auto-libm-test-out-catanh: Likewise.
7747
77482017-03-16 Joseph Myers <joseph@codesourcery.com>
7749
7750 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7751 (__END_NAMESPACE_STD): Likewise.
7752 (__USING_NAMESPACE_STD): Likewise.
7753 (__BEGIN_NAMESPACE_C99): Likewise.
7754 (__END_NAMESPACE_C99): Likewise.
7755 (__USING_NAMESPACE_C99): Likewise.
7756 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7757 undefine macro.
7758 (_Mdouble_END_NAMESPACE): Likewise.
7759 * ctype/ctype.h: Do not handle C++ namespaces.
7760 * libio/bits/stdio-ldbl.h: Likewise.
7761 * libio/stdio.h: Likewise.
7762 * locale/locale.h: Likewise.
7763 * math/bits/mathcalls.h: Likewise.
7764 * setjmp/setjmp.h: Likewise.
7765 * signal/signal.h: Likewise.
7766 * stdlib/bits/stdlib-float.h: Likewise.
7767 * stdlib/bits/stdlib-ldbl.h: Likewise.
7768 * stdlib/stdlib.h: Likewise.
7769 * string/string.h: Likewise.
7770 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7771 * time/bits/types/clock_t.h: Likewise.
7772 * time/bits/types/struct_tm.h: Likewise.
7773 * time/bits/types/time_t.h: Likewise.
7774 * time/time.h: Likewise.
7775 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7776 * wcsmbs/uchar.h: Likewise.
7777 * wcsmbs/wchar.h: Likewise.
7778 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7779 * wctype/wctype.h: Do not handle C++ namespaces.
7780 * scripts/begin-end-check.pl: Remove.
7781 * Makefile (installed-headers): Likewise.
7782 (tests-special): Do not add $(objpfx)begin-end-check.out.
7783 ($(objpfx)begin-end-check.out): Remove.
7784
77852017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7786 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7787
7788 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7789 (DL_PLATFORM_INIT): New define.
7790 (dl_platform_init): New function.
7791 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7792 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7793 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7794 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7795 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7796
77972017-03-15 Mike Frysinger <vapier@gentoo.org>
7798
7799 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7800 instead of PIC.
7801
78022017-03-15 Joseph Myers <joseph@codesourcery.com>
7803
7804 [BZ #21094]
7805 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7806 24+24+24-bit pi for wider range of values around pi/2.
7807 * math/auto-libm-test-in: Add more tests of cos and tan.
7808 * math/auto-libm-test-out-cos: Regenerated.
7809 * math/auto-libm-test-out-tan: Likewise.
7810
78112017-03-15 John David Anglin <danglin@gcc.gnu.org>
7812
7813 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7814 (RTLD_START): Don't record stack end address in _dl_start_user.
7815
78162017-03-15 Alexey Neyman <stilor@att.net>
7817
7818 [BZ #21088]
7819 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7820 around definitions match those around use.
7821
78222017-03-15 Alexey Neyman <stilor@att.net>
7823
7824 * configure.ac: Avoid empty subexpression in grep.
7825 * configure: Regenerate.
7826
78272017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7828
7829 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7830 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7831 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7832 (test_wrp_rv): Fix format.
7833 (test_wrp_rv2): New macro.
7834 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7835 binaries.
7836
78372017-03-15 Joseph Myers <joseph@codesourcery.com>
7838
7839 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7840 Use a union when storing pointers.
7841 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7842 cast result when passing to INIT_VEC_PTRS_LOOP.
7843 (VECTOR_WRAPPER_fFF_3): Likewise.
7844 (VECTOR_WRAPPER_fFF_4): Likewise.
7845
78462017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7847
7848 * include/bits/mathcalls-helper-functions.h: New file.
7849 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7850 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7851 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7852 math/bits/mathcalls-helper-functions.h.
7853 * math/bits/mathcalls-helper-functions.h: New file.
7854 * math/math.h: Include bits/mathcalls-helper-functions.h for
7855 float, double, and long double.
7856
78572017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7858
7859 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7860 instead of feraiseexcept.
7861
78622017-03-15 Florian Weimer <fweimer@redhat.com>
7863
7864 [BZ #21243]
7865 * support/temp_file.c (support_delete_temp_files): Add comment
7866 about ignored errors.
7867
78682017-03-15 Florian Weimer <fweimer@redhat.com>
7869
7870 [BZ #21244]
7871 * support/xclose.c: New file.
7872 * support/Makefile (libsupport-routines): Add xclose.
7873 * support/xunistd.h (xclose): Declare.
7874 * support/resolv_test.c (server_thread_tcp_client)
7875 (server_thread_tcp, make_server_sockets, resolv_test_start)
7876 (resolv_test_end): Call xclose instead of close.
7877 * support/support_enter_network_namespace.c
7878 (support_enter_network_namespace): Likewise.
7879 * support/support_run_diff.c (write_to_temp_file): Likewise.
7880
78812017-03-15 Florian Weimer <fweimer@redhat.com>
7882
7883 * support/support_format_dns_packet.c (support_format_dns_packet):
7884 Handle CNAME records in the response. Extract RDATA names from
7885 rdata, not the whole packet. Check AAAA record length.
7886 * support/tst-support_format_dns_packet.c: New file.
7887 * support/Makefile (tests): Add tst-support_format_dns_packet.
7888 (tst-support_format_dns_packet): Link against libresolv.
7889
78902017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7891
7892 [BZ #21232]
7893 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7894 posix_fadvise64 weak_alias for static build.
7895
78962017-03-14 Andreas Schwab <schwab@suse.de>
7897
7898 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7899 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7900 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7901 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7902 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7903 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7904 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7905 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7906
79072017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7908
7909 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7910 posix error code.
7911 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7912
79132017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7914
7915 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7916 no_isolate usage for SH.
7917
79182017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7919
7920 [BZ #15105]
7921 [BZ #19463]
7922 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7923 * inet/rcmd.c (rcmd_af): Likewise.
7924 * inet/rexec.c (rexec_af): Likewise.
7925 * intl/dcigettext.c (_LIBC): Likewise.
7926 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7927 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7928 * locale/setlocale.c (setlocale): Likewise.
7929 * posix/spawn_faction_addopen.c
7930 (posix_spawn_file_actions_addopen): Likewise.
7931 * stdlib/putenv.c (putenv): Use __strndup.
7932 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7934 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7935 (__Need_M_And_C) Remove define/undef.
7936 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7937 (__malloc_and_calloc_defined): Remove define.
7938 * string/bits/string2.h (__strdup): Remove define.
7939 (strdup): Likewise.
7940 (__strndup): Likewise.
7941 (strndup): Likewise.
7942
79432017-03-13 Joseph Myers <joseph@codesourcery.com>
7944
7945 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7946 macro.
7947 (IPV6_ADDR_PREFERENCES): Likewise.
7948 (IPV6_MINHOPCOUNT): Likewise.
7949 (IPV6_ORIGDSTADDR): Likewise.
7950 (IPV6_RECVORIGDSTADDR): Likewise.
7951 (IPV6_TRANSPARENT): Likewise.
7952 (IPV6_UNICAST_IF): Likewise.
7953 (IPV6_RECVFRAGSIZE): Likewise.
7954
79552017-03-13 Thorsten Kukuk <kukuk@suse.com>
7956
7957 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7958
79592017-03-12 Alexey Neyman <stilor@att.net>
7960
7961 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7962 in R_SH_DIR32 case is always false when inlined from
7963 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7964
79652016-03-12 Marko Myllynen <myllynen@redhat.com>
7966
7967 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7968 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7969 __ASSUME_SEND_SYSCALL.
7970
79712017-03-11 Thorsten Kukuk <kukuk@suse.com>
7972
7973 * sunrpc/Makefile: don't build and install rpcsvc header
7974 files, rpcgen and librpcsvc.a by default.
7975
79762017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7977
7978 * math/auto-libm-test-out-catan: Regenerated.
7979 * math/auto-libm-test-out-catanh: Likewise.
7980 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7981
79822017-03-09 Joseph Myers <joseph@codesourcery.com>
7983
7984 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7985 for long double with corrected test expectations.
7986
79872016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7988
7989 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7990 Define.
7991 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7992 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7993 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7994 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7995 * sysdeps/unix/sysv/linux/tile/sysdep.h
7996 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7997 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7998 (__ASSUME_RECV_SYSCALL): Define.
7999 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8000 (__ASSUME_RECV_SYSCALL): Likewise.
8001 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8002 (__ASSUME_RECV_SYSCALL): Likewise.
8003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8004 (__ASSUME_RECV_SYSCALL): Likewise.
8005 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8006 (__ASSUME_RECV_SYSCALL): Likewise.
8007 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8008 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
8009 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8010 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8011 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8012 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8013 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
8014 auto-generation list.
8015 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8016 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8017 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
8018 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8020 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
8021 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
8022 __ASSUME_SENDTO_SYSCALL.
8023 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
8024 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
8025 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
8026
8027 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
8028 auto-generation list.
8029 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8030 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8031 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8032 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8033 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8035 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8036 * sysdeps/unix/sysv/linux/kernel-features.h
8037 (__ASSUME_SENDTO_SYSCALL): Define by default.
8038 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8039 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
8040 __NR_sendto.
8041 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8042 (__ASSUME_SENDTO_SYSCALL): Likewise.
8043 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8044 (__ASSUME_SENDTO_SYSCALL): Likewise.
8045 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8046 (__ASSUME_SENDTO_SYSCALL): Remove definition.
8047 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8048 (__ASSUME_SENDTO_SYSCALL): Likewise.
8049 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
8050 (__ASSUME_SENDTO_SYSCALL): Likewise.
8051 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
8052
8053 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
8054 auto-generation list.
8055 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8056 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8057 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8058 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8059 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8060 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8061 (__ASSUME_RECV_SYSCALL): New define.
8062 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8063 (__ASSUME_RECV_SYSCALL): Likewise.
8064 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8065 (__ASSUME_RECV_SYSCALL): Likewise.
8066 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8067 (__ASSUME_RECV_SYSCALL): Likewise.
8068 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8069 (__ASSUME_RECV_SYSCALL): Likewise.
8070 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8071 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8073 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8074 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8075 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8076 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
8077 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
8078 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
8079 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
8080 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
8081 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
8082
8083 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
8084 auto-generation list.
8085 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8086 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8087 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8088 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8089 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8090 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8091 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8092 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8093 (__ASSUME_RECVFROM_SYSCALL): Define by default.
8094 * sysdeps/unix/sysv/linux/kernel-features.h
8095 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
8096 __NR_recvfrom.
8097 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8098 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8099 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8100 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8102 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
8103 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8104 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8105 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8106 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8107 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8108 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8109 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
8110
8111 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
8112 auto-generation list.
8113 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8114 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8116 * sysdeps/unix/sysv/linux/x86_64/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/connect.c: Simplify include list.
8121 * sysdeps/unix/sysv/linux/kernel-features.h
8122 (__ASSUME_CONNECT_SYSCALL): Define.
8123 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8124 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
8125 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8126 (__ASSUME_CONNECT_SYSCALL): Likewise.
8127 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8128 (__ASSUME_CONNECT_SYSCALL): Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8130 (__ASSUME_CONNECT_SYSCALL): Likewise.
8131
8132 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
8133 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
8134 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
8135 auto-generation list.
8136 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8137 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8138 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8139 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8140 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8141 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8142 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8143 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8144 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8145 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8146 * sysdeps/unix/sysv/linux/kernel-features.h
8147 (__ASSUME_ACCEPT_SYSCALL): New define.
8148 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8149 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8150 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
8151 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8152 (__ASSUME_ACCEPT_SYSCALL): Define.
8153 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8154 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8155 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8156 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8157 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8158 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8159 (__ASSUME_ACCEPT_SYSCALL): Undefine.
8160 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8161 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
8162
81632017-03-08 Yury Norov <ynorov@caviumnetworks.com>
8164 Zack Weinberg <zackw@panix.com>
8165
8166 * posix/test-errno.c: New file.
8167 * posix/Makefile (tests): Add test-errno.
8168 * sysdeps/unix/sysv/linux/test-errno.c: New file.
8169 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
8170
81712017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
8172
8173 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8174
81752017-03-07 Florian Weimer <fweimer@redhat.com>
8176
8177 * time/tzset.c (compute_offset): Open-code min macro.
8178 (min, max, sign): Remove.
8179
81802017-03-07 Florian Weimer <fweimer@redhat.com>
8181
8182 [BZ #15576]
8183 Remove TZNAME_MAX limit from sysconf.
8184 * include/time.h (__tzname_cur_max, __tzname_max): Remove
8185 declaration.
8186 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8187 compute_tzname_max.
8188 (compute_tzname_max): Remove.
8189 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8190 (update_vars): Do not update __tzname_cur_max.
8191 (tzset_internal): Remove argument.
8192 (__tzset): Adjust call to tzset_internal.
8193 (__tz_convert): Likewise.
8194
8195 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8196 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8197 * manual/conf.texi (Sysconf Definition): Update comment.
8198
81992017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8200
8201 [BZ #21209]
8202 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8203 AT_SECURE processes.
8204 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8205 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8206 (test_child): Likewise.
8207 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8208
82092017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8210
8211 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8212
82132017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8214
8215 * sysdeps/s390/atomic-machine.h
8216 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8217 (__arch_compare_and_exchange_val_8_acq,
8218 __arch_compare_and_exchange_val_16_acq,
8219 __arch_compare_and_exchange_val_32_acq,
8220 __arch_compare_and_exchange_val_64_acq):
8221 Delete macro.
8222 (atomic_compare_and_exchange_val_acq,
8223 atomic_compare_and_exchange_val_rel,
8224 atomic_compare_and_exchange_bool_acq,
8225 catomic_compare_and_exchange_bool_acq,
8226 atomic_exchange_acq, atomic_exchange_rel,
8227 atomic_exchange_and_add_acq,
8228 atomic_exchange_and_add_rel,
8229 catomic_exchange_and_add, atomic_or_val,
8230 atomic_or, catomic_or, atomic_bit_test_set,
8231 atomic_and_val, atomic_and, catomic_and):
8232 Define macros with help of C11 atomic builtins.
8233
82342017-03-03 Justus Winter <justus@gnupg.org>
8235
8236 * sysdeps/mach/hurd/ftruncate64.c: New file.
8237 * sysdeps/mach/hurd/truncate64.c: Likewise.
8238
82392017-03-03 Florian Weimer <fweimer@redhat.com>
8240
8241 * time/tzfile.c (NOID): Do not define.
8242 * time/tzset.c (NOID): Likewise.
8243
82442017-03-03 Florian Weimer <fweimer@redhat.com>
8245
8246 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8247
82482017-03-02 Florian Weimer <fweimer@redhat.com>
8249
8250 * elf/get-dynamic-info.h: Remove header file inclusion guard.
8251
82522017-03-02 Florian Weimer <fweimer@redhat.com>
8253
8254 [BZ #21015]
8255 * manual/install.texi (Configuring and compiling): Document
8256 --enable-bind-now.
8257 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8258 (build-shlib-helper): Use $(LDFLAGS-lib.so).
8259 (format.lds): Likewise.
8260 [bind-now] (LDFLAGS-c.so): Remove.
8261 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8262 be R_X86_64_GLOB_DAT.
8263 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8264 relocation can be R_386_GLOB_DAT.
8265 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8266 relocaiton can be R_ALPHA_GLOB_DAT.
8267 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8268
82692017-03-01 Zack Weinberg <zackw@panix.com>
8270
8271 * include/libc-pointer-arith.h: New file. Define
8272 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8273 PTR_ALIGN_DOWN here.
8274 * include/libc-internal.h: Definitions of above macros
8275 moved from here. Don't include libc-diag.h anymore either.
8276 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8277 Don't include libc-internal.h.
8278
8279 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8280 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8281 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8282 * string/strcoll_l.c, sysdeps/nacl/brk.c
8283 * sysdeps/unix/clock_settime.c
8284 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8285 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8286 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8288 Don't include libc-internal.h.
8289
8290 * elf/get-dynamic-info.h, iconv/loop.c
8291 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8292 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8293 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8294 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8295 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8296 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8298 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8299 * sysdeps/ieee754/ldbl-128/k_tanl.c
8300 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8301 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8302 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8303 Include libc-diag.h instead of libc-internal.h.
8304
8305 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8306 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8307 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8308 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8309 * sysdeps/unix/sysv/linux/spawni.c
8310 * sysdeps/x86_64/nptl/tls.h:
8311 Include libc-pointer-arith.h instead of libc-internal.h.
8312
8313 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8314 * sysdeps/x86_64/atomic-machine.h:
8315 Add multiple include guard.
8316
8317 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8318 * string/strcasestr.c: No need to include config.h.
8319 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8320 sys/auxv.h. Don't include sysdep.h.
8321 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8322
8323 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
8324 DL_LOOKUP_ADDRESS.
8325 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8326 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8327 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8328 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8329 of ARTIFICIAL_LIMIT.
8330 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8331 declaration of __clone2.
8332
83332017-02-28 Florian Weimer <fweimer@redhat.com>
8334
8335 * scripts/backport-support.sh (latest_commit): New file.
8336
83372017-02-28 Florian Weimer <fweimer@redhat.com>
8338
8339 [BZ #20257]
8340 * inet/Makefile (routines): Add deadline.
8341 (tests-static): Add tst-deadline.
8342 * inet/net-internal.h (struct deadline_current_time)
8343 (__deadline_current_time, struct deadline, __deadline_is_infinite)
8344 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8345 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8346 * inet/deadline.c: New file.
8347 * inet/tst-deadline.c: Likewise.
8348 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8349 tst-udp-timeout, tst-udp-garbage.
8350 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8351 explicitly.
8352 (tst-udp-garbage): Likewise. Also link against thread library.
8353 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8354 struct layout is part of the ABI.
8355 (clntudp_call): Rework timeout handling.
8356 * sunrpc/tst-udp-garbage.c: New file.
8357 * sunrpc/tst-udp-nonblocking.c: Likewise.
8358 * sunrpc/tst-udp-timeout.c: Likewise.
8359
83602017-02-28 Florian Weimer <fweimer@redhat.com>
8361
8362 [BZ #5010]
8363 * sunrpc/svc.c (svc_is_mapped): Remove.
8364 (svc_unregister): Obtain mapped status while the service is still
8365 registered.
8366 * sunrpc/Makefile [have-thread-library] (tests): Add
8367 tst-svc_register.
8368 (tst-svc_register): Link against libc.so explicitly and the thread
8369 library.
8370 * sunrpc/tst-svc_register.c: New file.
8371
83722017-02-28 Andreas Schwab <schwab@linux-m68k.org>
8373
8374 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8375 * sysdeps/pthread/bits/sigthread.h: Likewise.
8376
83772017-02-27 Florian Weimer <fweimer@redhat.com>
8378
8379 [BZ #21115]
8380 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8381 * sunrpc/Makefile (tests): Add tst-udp-error.
8382 (tst-udp-error): Link against libc.so explicitly.
8383 * sunrpc/tst-udp-error: New file.
8384
83852017-02-25 Zack Weinberg <zackw@panix.com>
8386
8387 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8388 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8389
8390 * sysdeps/generic/math_ldbl.h
8391 * sysdeps/ia64/fpu/math_ldbl.h
8392 * sysdeps/ieee754/ldbl-128/math_ldbl.h
8393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8394 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8395 * sysdeps/powerpc/fpu/math_ldbl.h
8396 * sysdeps/x86_64/fpu/math_ldbl.h:
8397 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
8398 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8399 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
8400 Add copyright notices.
8401
8402 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8403 Don't use EXTRACT_WORDS64.
8404
8405 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8406 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8407 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8408 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8409 Include math_ldbl.h, not math_private.h.
8410
84112017-02-25 Zack Weinberg <zackw@panix.com>
8412
8413 * include/libc-diag.h: New file. Define ignore_value,
8414 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8415 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8416
8417 * include/libc-internal.h: Definitions of above macros moved from
8418 here. Include libc-diag.h. Add copyright notice.
8419
8420 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8421 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8422 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8423 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8424 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8425 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8426 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8427 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8428 Include libc-diag.h instead of libc-internal.h.
8429
8430 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8431 call to unsetenv (NULL).
8432 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8433 call to pthread_mutexattr_destroy (NULL).
8434
84352017-02-25 Zack Weinberg <zackw@panix.com>
8436
8437 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8438 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8439 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8440 gets was removed from C++ in C++14.
8441 * include/stdio.h: Remove redundant declaration of gets.
8442 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8443 be declared, since we are testing it.
8444 * stdio-common/Makefile (tst-gets.c): Compile with
8445 -Wno-deprecated-declarations.
8446 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8447 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8448 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8449 Compile with -Wno-deprecated-declarations.
8450
84512017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8452
8453 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8454 numbers.
8455
84562017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8457
8458 * resolv/tst-resolv-qtypes.c (domain):
8459 Change type to const pointer to const char.
8460
84612017-02-24 Joseph Myers <joseph@codesourcery.com>
8462
8463 * math/Makefile (libm-tests-generated): Remove variable.
8464 (libm-tests-base-normal): New variable.
8465 (libm-tests-base-finite): Likewise.
8466 (libm-tests-base-inline): Likewise.
8467 (libm-tests-base): Likewise.
8468 (libm-tests-normal): Likewise.
8469 (libm-tests-finite): Likewise.
8470 (libm-tests-inline): Likewise.
8471 (libm-tests-vector): Likewise.
8472 (libm-tests): Define in terms of these new variables.
8473 (libm-tests-for-type): New variable.
8474 (libm-tests.o): Move definition.
8475 (tests): Move addition of $(libm-tests).
8476 (generated): Update for new and removed libm test files.
8477 ($(objpfx)libm-test.c): Remove target.
8478 ($(objpfx)libm-have-vector-test.h): Likewise.
8479 (CFLAGS-test-double-vlen2.c): Remove variable.
8480 (CFLAGS-test-double-vlen4.c): Likewise.
8481 (CFLAGS-test-double-vlen8.c): Likewise.
8482 (CFLAGS-test-float-vlen4.c): Likewise.
8483 (CFLAGS-test-float-vlen8.c): Likewise.
8484 (CFLAGS-test-float-vlen16.c): Likewise.
8485 (CFLAGS-test-float.c): Likewise.
8486 (CFLAGS-test-float-finite.c): Likewise.
8487 (CFLAGS-libm-test-support-float.c): Likewise.
8488 (CFLAGS-test-double.c): Likewise.
8489 (CFLAGS-test-double-finite.c): Likewise.
8490 (CFLAGS-libm-test-support-double.c): Likewise.
8491 (CFLAGS-test-ldouble.c): Likewise.
8492 (CFLAGS-test-ldouble-finite.c): Likewise.
8493 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8494 (libm-test-inline-cflags): New variable.
8495 (CFLAGS-test-ifloat.c): Remove variable.
8496 (CFLAGS-test-idouble.c): Likewise.
8497 (CFLAGS-test-ildouble.c): Likewise.
8498 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8499 dependencies.
8500 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8501 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8502 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8503 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8504 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8505 Likewise.
8506 (dependencies on libm-test-support-*.o): Remove.
8507 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8508 rules using iterators.
8509 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8510 Likewise.
8511 ($(objpfx)libm-test-support-$(o).o): Likewise.
8512 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8513 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8514 instead.
8515 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8516 define rule instead.
8517 * math/README.libm-test: Update.
8518 * math/libm-test-acos.inc: Include libm-test-driver.c.
8519 (do_test): New function.
8520 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8521 (do_test): New function.
8522 * math/libm-test-asin.inc: Include libm-test-driver.c.
8523 (do_test): New function.
8524 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8525 (do_test): New function.
8526 * math/libm-test-atan.inc: Include libm-test-driver.c.
8527 (do_test): New function.
8528 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8529 (do_test): New function.
8530 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8531 (do_test): New function.
8532 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8533 (do_test): New function.
8534 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8535 (do_test): New function.
8536 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8537 (do_test): New function.
8538 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8539 (do_test): New function.
8540 * math/libm-test-carg.inc: Include libm-test-driver.c.
8541 (do_test): New function.
8542 * math/libm-test-casin.inc: Include libm-test-driver.c.
8543 (do_test): New function.
8544 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8545 (do_test): New function.
8546 * math/libm-test-catan.inc: Include libm-test-driver.c.
8547 (do_test): New function.
8548 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8549 (do_test): New function.
8550 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8551 (do_test): New function.
8552 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8553 (do_test): New function.
8554 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8555 (do_test): New function.
8556 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8557 (do_test): New function.
8558 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8559 (do_test): New function.
8560 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8561 (do_test): New function.
8562 * math/libm-test-clog.inc: Include libm-test-driver.c.
8563 (do_test): New function.
8564 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8565 (do_test): New function.
8566 * math/libm-test-conj.inc: Include libm-test-driver.c.
8567 (do_test): New function.
8568 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8569 (do_test): New function.
8570 * math/libm-test-cos.inc: Include libm-test-driver.c.
8571 (do_test): New function.
8572 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8573 (do_test): New function.
8574 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8575 (do_test): New function.
8576 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8577 (do_test): New function.
8578 * math/libm-test-creal.inc: Include libm-test-driver.c.
8579 (do_test): New function.
8580 * math/libm-test-csin.inc: Include libm-test-driver.c.
8581 (do_test): New function.
8582 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8583 (do_test): New function.
8584 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8585 (do_test): New function.
8586 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8587 (do_test): New function.
8588 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8589 (do_test): New function.
8590 * math/libm-test-erf.inc: Include libm-test-driver.c.
8591 (do_test): New function.
8592 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8593 (do_test): New function.
8594 * math/libm-test-exp.inc: Include libm-test-driver.c.
8595 (do_test): New function.
8596 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8597 (do_test): New function.
8598 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8599 (do_test): New function.
8600 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8601 (do_test): New function.
8602 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8603 (do_test): New function.
8604 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8605 (do_test): New function.
8606 * math/libm-test-floor.inc: Include libm-test-driver.c.
8607 (do_test): New function.
8608 * math/libm-test-fma.inc: Include libm-test-driver.c.
8609 (do_test): New function.
8610 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8611 (do_test): New function.
8612 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8613 (do_test): New function.
8614 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8615 (do_test): New function.
8616 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8617 (do_test): New function.
8618 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8619 (do_test): New function.
8620 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8621 (do_test): New function.
8622 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8623 (do_test): New function.
8624 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8625 (do_test): New function.
8626 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8627 (do_test): New function.
8628 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8629 (do_test): New function.
8630 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8631 (do_test): New function.
8632 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8633 (do_test): New function.
8634 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8635 (do_test): New function.
8636 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8637 (do_test): New function.
8638 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8639 (do_test): New function.
8640 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8641 (do_test): New function.
8642 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8643 (do_test): New function.
8644 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8645 (do_test): New function.
8646 * math/libm-test-isless.inc: Include libm-test-driver.c.
8647 (do_test): New function.
8648 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8649 (do_test): New function.
8650 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8651 (do_test): New function.
8652 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8653 (do_test): New function.
8654 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8655 (do_test): New function.
8656 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8657 (do_test): New function.
8658 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8659 (do_test): New function.
8660 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8661 (do_test): New function.
8662 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8663 (do_test): New function.
8664 * math/libm-test-j0.inc: Include libm-test-driver.c.
8665 (do_test): New function.
8666 * math/libm-test-j1.inc: Include libm-test-driver.c.
8667 (do_test): New function.
8668 * math/libm-test-jn.inc: Include libm-test-driver.c.
8669 (do_test): New function.
8670 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8671 (do_test): New function.
8672 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8673 (do_test): New function.
8674 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8675 (do_test): New function.
8676 * math/libm-test-llround.inc: Include libm-test-driver.c.
8677 (do_test): New function.
8678 * math/libm-test-log.inc: Include libm-test-driver.c.
8679 (do_test): New function.
8680 * math/libm-test-log10.inc: Include libm-test-driver.c.
8681 (do_test): New function.
8682 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8683 (do_test): New function.
8684 * math/libm-test-log2.inc: Include libm-test-driver.c.
8685 (do_test): New function.
8686 * math/libm-test-logb.inc: Include libm-test-driver.c.
8687 (do_test): New function.
8688 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8689 (do_test): New function.
8690 * math/libm-test-lround.inc: Include libm-test-driver.c.
8691 (do_test): New function.
8692 * math/libm-test-modf.inc: Include libm-test-driver.c.
8693 (do_test): New function.
8694 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8695 (do_test): New function.
8696 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8697 (do_test): New function.
8698 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8699 (do_test): New function.
8700 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8701 (do_test): New function.
8702 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8703 (do_test): New function.
8704 * math/libm-test-pow.inc: Include libm-test-driver.c.
8705 (do_test): New function.
8706 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8707 (do_test): New function.
8708 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8709 (do_test): New function.
8710 * math/libm-test-rint.inc: Include libm-test-driver.c.
8711 (do_test): New function.
8712 * math/libm-test-round.inc: Include libm-test-driver.c.
8713 (do_test): New function.
8714 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8715 (do_test): New function.
8716 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8717 (do_test): New function.
8718 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8719 (do_test): New function.
8720 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8721 (do_test): New function.
8722 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8723 (do_test): New function.
8724 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8725 (do_test): New function.
8726 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8727 (do_test): New function.
8728 * math/libm-test-significand.inc: Include libm-test-driver.c.
8729 (do_test): New function.
8730 * math/libm-test-sin.inc: Include libm-test-driver.c.
8731 (do_test): New function.
8732 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8733 (do_test): New function.
8734 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8735 (do_test): New function.
8736 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8737 (do_test): New function.
8738 * math/libm-test-tan.inc: Include libm-test-driver.c.
8739 (do_test): New function.
8740 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8741 (do_test): New function.
8742 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8743 (do_test): New function.
8744 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8745 (do_test): New function.
8746 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8747 (do_test): New function.
8748 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8749 (do_test): New function.
8750 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8751 (do_test): New function.
8752 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8753 (do_test): New function.
8754 * math/libm-test-y0.inc: Include libm-test-driver.c.
8755 (do_test): New function.
8756 * math/libm-test-y1.inc: Include libm-test-driver.c.
8757 (do_test): New function.
8758 * math/libm-test-yn.inc: Include libm-test-driver.c.
8759 (do_test): New function.
8760 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8761 (HAVE_VECTOR): Remove macro.
8762 (START): Do not call HAVE_VECTOR.
8763 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8764 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8765 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8766 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8767 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8768 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8769 * math/test-math-vector.h (FUNC_TEST): New macro.
8770 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8771 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8772 (double-vlen4-funcs): Likewise.
8773 (double-vlen4-avx2-funcs): Likewise.
8774 (double-vlen8-funcs): Likewise.
8775 (float-vlen4-funcs): Likewise.
8776 (float-vlen8-funcs): Likewise.
8777 (float-vlen8-avx2-funcs): Likewise.
8778 (float-vlen16-funcs): Likewise.
8779 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8780 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8781 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8782 macro.
8783 (TEST_VECTOR_sin): Likewise.
8784 (TEST_VECTOR_sincos): Likewise.
8785 (TEST_VECTOR_log): Likewise.
8786 (TEST_VECTOR_exp): Likewise.
8787 (TEST_VECTOR_pow): Likewise.
8788 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8789 Likewise.
8790 (TEST_VECTOR_sin): Likewise.
8791 (TEST_VECTOR_sincos): Likewise.
8792 (TEST_VECTOR_log): Likewise.
8793 (TEST_VECTOR_exp): Likewise.
8794 (TEST_VECTOR_pow): Likewise.
8795 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8796 Likewise.
8797 (TEST_VECTOR_sinf): Likewise.
8798 (TEST_VECTOR_sincosf): Likewise.
8799 (TEST_VECTOR_logf): Likewise.
8800 (TEST_VECTOR_expf): Likewise.
8801 (TEST_VECTOR_powf): Likewise.
8802 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8803 Likewise.
8804 (TEST_VECTOR_sinf): Likewise.
8805 (TEST_VECTOR_sincosf): Likewise.
8806 (TEST_VECTOR_logf): Likewise.
8807 (TEST_VECTOR_expf): Likewise.
8808 (TEST_VECTOR_powf): Likewise.
8809 * math/gen-libm-have-vector-test.sh: Remove file.
8810 * math/libm-test.inc: Likewise.
8811 * math/libm-test-support-double.c: Likewise.
8812 * math/libm-test-support-float.c: Likewise.
8813 * math/libm-test-support-ldouble.c: Likewise.
8814 * math/test-double-finite.c: Likewise.: Likewise.
8815 * math/test-double.c: Likewise.
8816 * math/test-float-finite.c: Likewise.
8817 * math/test-float.c: Likewise.
8818 * math/test-idouble.c: Likewise.
8819 * math/test-ifloat.c: Likewise.
8820 * math/test-ildouble.c: Likewise.
8821 * math/test-ldouble-finite.c: Likewise.
8822 * math/test-ldouble.c: Likewise.
8823 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8824 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8825 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8826 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8827 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8828 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8829 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8830 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8831 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8832 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8833
88342017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8835 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8836
8837 * math/Makefile: Add wrappers to gen-libm-calls.
8838 * math/w_acos_template.c: New file.
8839 * math/w_acosh_template.c: Likewise.
8840 * math/w_asin_template.c: Likewise.
8841 * math/w_atan2_template.c: Likewise.
8842 * math/w_atanh_template.c: Likewise.
8843 * math/w_cosh_template.c: Likewise.
8844 * math/w_exp10_template.c: Likewise.
8845 * math/w_exp2_template.c: Likewise.
8846 * math/w_exp_template.c: Likewise.
8847 * math/w_fmod_template.c: Likewise.
8848 * math/w_hypot_template.c: Likewise.
8849 * math/w_j0_template.c: Likewise.
8850 * math/w_j1_template.c: Likewise.
8851 * math/w_jn_template.c: Likewise.
8852 * math/w_lgamma_r_template.c: Likewise.
8853 * math/w_lgamma_template.c: Likewise.
8854 * math/w_log10_template.c: Likewise.
8855 * math/w_log2_template.c: Likewise.
8856 * math/w_log_template.c: Likewise.
8857 * math/w_pow_template.c: Likewise.
8858 * math/w_remainder_template.c: Likewise.
8859 * math/w_sinh_template.c: Likewise.
8860 * math/w_sqrt_template.c: Likewise.
8861 * math/w_tgamma_template.c: Likewise.: Likewise.
8862 * sysdeps/generic/math-type-macros-double.h
8863 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8864 the new wrappers.
8865 * sysdeps/generic/math-type-macros-float.h: Likewise.
8866 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8867
88682017-02-22 Joseph Myers <joseph@codesourcery.com>
8869
8870 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8871 New enum constant and macro.
8872
8873 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8874 kernel version to 4.10.
8875
88762017-02-21 Joseph Myers <joseph@codesourcery.com>
8877
8878 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8879
88802017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8881
8882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8883
88842017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8885
8886 * sysdeps/powerpc/tst-set_ppr.c: New file.
8887 Implement test cases for __ppc_set_ppr_* functions.
8888 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8889 in the list of tests.
8890
88912017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8892
8893 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8894 instead of test-skeleton.c.
8895 (do_test): Replaced pthread_create and pthread_join with
8896 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8897 Removed unneeded status variable.
8898 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8899 instead of test-skeleton.c.
8900 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8901
89022017-02-20 Mike FABIAN <mfabian@redhat.com>
8903
8904 [BZ #20313]
8905 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8906 201605L, for Unicode 9.
8907
89082017-02-20 Joseph Myers <joseph@codesourcery.com>
8909
8910 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8911 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8912 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8913 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8914 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8915 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8916
89172017-02-19 Zack Weinberg <zackw@panix.com>
8918
8919 * rt/tst-mqueue4.c: Include stdint.h.
8920
89212017-02-17 Joseph Myers <joseph@codesourcery.com>
8922
8923 * sysdeps/arm/libm-test-ulps: Update.
8924 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8925 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8926 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8927
89282017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8929
8930 [BZ #21029]
8931 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8932 * sysdeps/unix/sysv/linux/i386/Makefile
8933 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8934 (uses-6-syscall-arguments): Remove.
8935 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8936 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8937 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8938 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8939 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8940 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8941 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8942 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8943 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8944 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8945 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8946 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8947 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8948 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8949 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8950 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8951 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8952 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8953 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8954 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8955 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8956 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8957 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8958 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8959 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8960 Likewise.
8961 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8962 Likewise.
8963 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8964 Likewise.
8965 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8966 Likewise.
8967 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8968 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8969 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8970 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8971 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8972 ebp on inline assembly.
8973 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8974 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8975 Set if CAN_USE_REGISTER_ASM_EBP is set.
8976
89772017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8978
8979 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8980 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8981
89822017-02-17 Joseph Myers <joseph@codesourcery.com>
8983
8984 * math/auto-libm-test-in: Add tests of catan and catanh.
8985 * math/auto-libm-test-out-catan: New generated file.
8986 * math/auto-libm-test-out-catanh: Likewise.
8987 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8988 Move tests with finite inputs, except divide-by-zero cases, to
8989 auto-libm-test-in.
8990 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8991 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8992 (libm-test-funcs-noauto): Remove catan and catanh.
8993 * sysdeps/i386/fpu/libm-test-ulps: Update.
8994 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8996
8997 * math/auto-libm-test-in: Add tests of casin and casinh.
8998 * math/auto-libm-test-out-casin: New generated file.
8999 * math/auto-libm-test-out-casinh: Likewise.
9000 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
9001 Move tests with finite inputs to auto-libm-test-in.
9002 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
9003 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
9004 (libm-test-funcs-noauto): Remove casin and casinh.
9005 * sysdeps/i386/fpu/libm-test-ulps: Update.
9006 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9008
9009 * math/auto-libm-test-in: Add tests of cacos and cacosh.
9010 * math/auto-libm-test-out-cacos: New generated file.
9011 * math/auto-libm-test-out-cacosh: Likewise.
9012 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
9013 Move tests with finite inputs to auto-libm-test-in.
9014 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
9015 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
9016 (libm-test-funcs-noauto): Remove cacos and cacosh.
9017 * sysdeps/i386/fpu/libm-test-ulps: Update.
9018 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9020
9021 Revert:
9022 2017-02-16 Zack Weinberg <zackw@panix.com>
9023
9024 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9025 Don't include init-arch.h.
9026 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9027 Don't include init-arch.h.
9028
90292017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9030
9031 [BZ #21171]
9032 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
9033 +Inf and raise divide-by-zero when x is negative.
9034 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
9035 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
9036 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
9037 -Inf and raise divide-by-zero when x = +-0.
9038 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9039 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
9040 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
9041 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
9042 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9043 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9045
90462017-02-16 Zack Weinberg <zackw@panix.com>
9047
9048 * scripts/build-many-glibcs.py (bot_build_mail): If the
9049 bot_config does not contain all of the necessary email-
9050 related settings, just print a warning and continue.
9051
90522017-02-16 Zack Weinberg <zackw@panix.com>
9053
9054 * crypt/md5.h: Test _LIBC with #if defined, not #if.
9055 * dirent/opendir-tst1.c: Include sys/stat.h.
9056 * dirent/tst-fdopendir.c: Include sys/stat.h.
9057 * dirent/tst-fdopendir2.c: Include stdlib.h.
9058 * dirent/tst-scandir.c: Include stdbool.h.
9059 * elf/tst-auditmod1.c: Include link.h and stddef.h.
9060 * elf/tst-tls15.c: Include stdlib.h.
9061 * elf/tst-tls16.c: Include stdlib.h.
9062 * elf/tst-tls17.c: Include stdlib.h.
9063 * elf/tst-tls18.c: Include stdlib.h.
9064 * iconv/tst-iconv6.c: Include endian.h.
9065 * iconvdata/bug-iconv11.c: Include limits.h.
9066 * io/test-utime.c: Include stdint.h.
9067 * io/tst-faccessat.c: Include sys/stat.h.
9068 * io/tst-fchmodat.c: Include sys/stat.h.
9069 * io/tst-fchownat.c: Include sys/stat.h.
9070 * io/tst-fstatat.c: Include sys/stat.h.
9071 * io/tst-futimesat.c: Include sys/stat.h.
9072 * io/tst-linkat.c: Include sys/stat.h.
9073 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
9074 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
9075 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
9076 * io/tst-openat.c: Include stdbool.h.
9077 * io/tst-readlinkat.c: Include sys/stat.h.
9078 * io/tst-renameat.c: Include sys/stat.h.
9079 * io/tst-symlinkat.c: Include sys/stat.h.
9080 * io/tst-unlinkat.c: Include stdbool.h.
9081 * libio/bug-memstream1.c: Include stdlib.h.
9082 * libio/bug-wmemstream1.c: Include stdlib.h.
9083 * libio/tst-fwrite-error.c: Include stdlib.h.
9084 * libio/tst-memstream1.c: Include stdlib.h.
9085 * libio/tst-memstream2.c: Include stdlib.h.
9086 * libio/tst-memstream3.c: Include stdlib.h.
9087 * malloc/tst-interpose-aux.c: Include stdint.h.
9088 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
9089 * nptl/tst-basic7.c: Include limits.h.
9090 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
9091 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
9092 * nptl/tst-cancel4_1.c: Include stddef.h.
9093 * nptl/tst-cancel4_2.c: Include stddef.h.
9094 * nptl/tst-cond16.c: Include limits.h.
9095 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9096 * nptl/tst-cond18.c: Include limits.h.
9097 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9098 * nptl/tst-cond4.c: Include stdint.h.
9099 * nptl/tst-cond6.c: Include stdint.h.
9100 * nptl/tst-stack2.c: Include limits.h.
9101 * nptl/tst-stackguard1.c: Include stddef.h.
9102 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
9103 * nptl/tst-tls4moda.c: Include stddef.h.
9104 Don't include stdio.h, unistd.h, or tls.h.
9105 * nptl/tst-tls4modb.c: Include stddef.h.
9106 Don't include stdio.h, unistd.h, or tls.h.
9107 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
9108 * posix/tst-getaddrinfo2.c: Include stdio.h.
9109 * posix/tst-getaddrinfo5.c: Include stdio.h.
9110 * posix/tst-pathconf.c: Include sys/stat.h.
9111 * posix/tst-posix_fadvise-common.c: Include stdint.h.
9112 * posix/tst-preadwrite-common.c: Include sys/stat.h.
9113 * posix/tst-regex.c: Include stdint.h.
9114 Don't include spawn.h or spawn_int.h.
9115 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
9116 * posix/tst-vfork3.c: Include sys/stat.h.
9117 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
9118 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
9119 * resolv/tst-resolv-search.c: Include stdlib.h.
9120 * stdio-common/tst-fmemopen2.c: Include stdint.h.
9121 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
9122 * stdlib/test-canon.c: Include sys/stat.h.
9123 * stdlib/tst-tls-atexit.c: Include stdbool.h.
9124 * string/test-memchr.c: Include stdint.h.
9125 * string/tst-cmp.c: Include stdint.h.
9126 * sysdeps/pthread/tst-timer.c: Include stdint.h.
9127 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
9128 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
9129 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9130 Don't include init-arch.h.
9131 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9132 Don't include init-arch.h.
9133 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
9134 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
9135 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
9136 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
9137 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
9138 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
9139 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
9140 * time/clocktest.c: Include stdint.h.
9141 * time/tst-posixtz.c: Include stdint.h.
9142 * timezone/tst-timezone.c: Include stdint.h.
9143
91442017-02-16 Zack Weinberg <zackw@panix.com>
9145
9146 * string/string.h [__USE_MISC]: Include strings.h.
9147 (__bzero, bcmp, bcopy, bzero, index, rindex)
9148 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
9149 (ffs, ffsl, ffsll): Don't declare.
9150 * string/strings.h: Do not suppress the file if string.h has
9151 already been included.
9152 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
9153 annotations.
9154 (index, rindex): Define inline forwarders even if
9155 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
9156 (ffs): Use __attribute_const__.
9157 (ffsl, ffsll): Declare here.
9158 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
9159 have now been standardized.
9160 * include/string.h (__bzero): Declare here.
9161
9162 * bits/types.h: Move to posix/bits.
9163 * include/bits/types.h: New wrapper.
9164
91652017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9166
9167 * string/bits/string2.h (strcmp): Remove define.
9168 (__strcmp_cg): Likewise.
9169 (strncmp): Likewise.
9170
91712017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9172
9173 * include/string.h: Add __cplusplus check.
9174
91752017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9176
9177 [BZ #21134]
9178 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9179 "divide by zero" exception when the input is zero.
9180 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
9181 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
9182 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9183 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9184 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9185
91862017-02-15 Joseph Myers <joseph@codesourcery.com>
9187
9188 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9189 and include ...
9190 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
9191 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9192 to, and include ...
9193 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
9194 file.
9195 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9196 and include ...
9197 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
9198 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9199 and include ...
9200 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
9201 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9202 and include ...
9203 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
9204 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9205 and include ...
9206 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
9207 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9208 to, and include ...
9209 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
9210 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9211 and include ...
9212 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
9213
92142017-02-14 Joseph Myers <joseph@codesourcery.com>
9215
9216 * math/libm-test-support.h: Do not include <math-tests-arch.h>
9217 here.
9218 * math/libm-test-support.c (libm_test_init): Do not call
9219 INIT_ARCH_EXT here.
9220 * math/libm-test-driver.c: Include <math-tests-arch.h>.
9221 (main): Call INIT_ARCH_EXT.
9222
92232017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9224
9225 [BZ #21130]
9226 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9227 with the "invalid" exception raised when x is -Inf.
9228 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9229
92302017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
9231
9232 * string/bits/string2.h (strchr): Remove define.
9233
92342017-02-09 H.J. Lu <hongjiu.lu@intel.com>
9235
9236 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9237 tst-avx512.
9238 (test-extras): Add tst-avx-aux and tst-avx512-aux.
9239 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9240 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9241 ($(objpfx)tst-sse): New rule.
9242 ($(objpfx)tst-avx): Likewise.
9243 ($(objpfx)tst-avx512): Likewise.
9244 (CFLAGS-tst-avx-aux.c): New.
9245 (CFLAGS-tst-avxmod.c): Likewise.
9246 (CFLAGS-tst-avx512-aux.c): Likewise.
9247 (CFLAGS-tst-avx512mod.c): Likewise.
9248 * sysdeps/x86_64/tst-avx-aux.c: New file.
9249 * sysdeps/x86_64/tst-avx.c: Likewise.
9250 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9251 * sysdeps/x86_64/tst-avx512.c: Likewise.
9252 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9253 * sysdeps/x86_64/tst-avxmod.c: Likewise.
9254 * sysdeps/x86_64/tst-sse.c: Likewise.
9255 * sysdeps/x86_64/tst-ssemod.c: Likewise.
9256
92572017-02-09 Joseph Myers <joseph@codesourcery.com>
9258
9259 * math/auto-libm-test-in: Add more tests of csin and csinh.
9260 * math/auto-libm-test-out-csin: Regenerated.
9261 * math/auto-libm-test-out-csinh: Likewise.
9262 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9263 auto-libm-test-in.
9264 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9265
92662017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9267
9268 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9269 libm-compat-calls-auto.
9270 (libm-compat-calls): Likewise.
9271 (libm-compat-calls-auto): Rename to libm-compat-calls and add
9272 w_lgamma_compatF and k_standardF (merged from the items above).
9273 (libm-routines): Use libm-compat-calls, instead of
9274 libm-compat-calls-auto, with type-foreach.
9275
92762017-02-09 Joseph Myers <joseph@codesourcery.com>
9277
9278 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9279 macro.
9280 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9281 (CFLAGS-test-ifloat.c): ... this. Remove
9282 -U__LIBC_INTERNAL_MATH_INLINES.
9283 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9284 (CFLAGS-test-idouble.c): ... this. Remove
9285 -U__LIBC_INTERNAL_MATH_INLINES.
9286 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9287 (CFLAGS-test-ildouble.c): ... this. Remove
9288 -U__LIBC_INTERNAL_MATH_INLINES.
9289
92902017-02-08 Joseph Myers <joseph@codesourcery.com>
9291
9292 * math/libm-test-support.c: New file. Content from
9293 math/libm-test-driver.c.
9294 * math/libm-test-support.h: Likewise.
9295 * math/libm-test-support-double.c: New file.
9296 * math/libm-test-support-float.c: Likewise.
9297 * math/libm-test-support-ldouble.c: Likewise.
9298 * math/libm-test-driver.c: Remove main comment and header
9299 includes. Include libm-test-support.h.
9300 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9301 (flag_test_errno): Remove static.
9302 (flag_test_exceptions): Likewise.
9303 (flag_test_finite): Likewise.
9304 (flag_test_inline): Likewise.
9305 (flag_test_mathvec): Likewise.
9306 (test_msg): Likewise.
9307 (NO_EXCEPTION): Remove.
9308 (INVALID_EXCEPTION): Likewise.
9309 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9310 (OVERFLOW_EXCEPTION): Likewise.
9311 (UNDERFLOW_EXCEPTION): Likewise.
9312 (INEXACT_EXCEPTION): Likewise.
9313 (INVALID_EXCEPTION_OK): Likewise.
9314 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9315 (OVERFLOW_EXCEPTION_OK): Likewise.
9316 (UNDERFLOW_EXCEPTION_OK): Likewise.
9317 (NO_INEXACT_EXCEPTION): Likewise.
9318 (EXCEPTIONS_OK): Likewise.
9319 (IGNORE_ZERO_INF_SIGN): Likewise.
9320 (TEST_NAN_SIGN): Likewise.
9321 (TEST_NAN_PAYLOAD): Likewise.
9322 (NO_TEST_INLINE): Likewise.
9323 (XFAIL_TEST): Likewise.
9324 (ERRNO_UNCHANGED): Likewise.
9325 (ERRNO_EDOM): Likewise.
9326 (ERRNO_ERANGE): Likewise.
9327 (IGNORE_RESULT): Likewise.
9328 (NON_FINITE): Likewise.
9329 (TEST_SNAN): Likewise.
9330 (NO_TEST_MATHVEC): Likewise.
9331 (__CONCATX): Likewise.
9332 (TYPE_MIN): Likewise.
9333 (TYPE_TRUE_MIN): Likewise.
9334 (TYPE_MAX): Likewise.
9335 (MIN_EXP): Likewise.
9336 (MAX_EXP): Likewise.
9337 (MANT_DIG): Likewise.
9338 (FSTR_MAX): Likewise.
9339 (ulp_idx): Likewise.
9340 (qtype_str): Remove static.
9341 (TEST_COND_binary32): Remove.
9342 (TEST_COND_binary64): Likewise.
9343 (TEST_COND_binary128): Likewise.
9344 (TEST_COND_ibm128): Likewise.
9345 (TEST_COND_intel96): Likewise.
9346 (TEST_COND_m68k96): Likewise.
9347 (TEST_COND_ibm128_libgcc): Likewise.
9348 (XFAIL_IBM128_LIBGCC): Likewise.
9349 (PAYLOAD_DIG): Likewise.
9350 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9351 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9352 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9353 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9354 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9355 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9356 (TEST_COND_long32): Likewise.
9357 (TEST_COND_long64): Likewise.
9358 (TEST_COND_before_rounding): Likewise.
9359 (TEST_COND_after_rounding): Likewise.
9360 (ulps_file_name): Likewise.
9361 (ulps_file): Likewise.
9362 (output_ulps): Likewise.
9363 (output_dir): Likewise.
9364 (noErrors): Likewise.
9365 (noTests): Likewise.
9366 (noExcTests): Likewise.
9367 (noErrnoTests): Likewise.
9368 (verbose): Likewise.
9369 (output_max_error): Likewise.
9370 (output_points): Likewise.
9371 (ignore_max_ulp): Likewise.
9372 (max_error): Likewise.
9373 (real_max_error): Likewise.
9374 (imag_max_error): Likewise.
9375 (prev_max_error): Likewise.
9376 (prev_real_max_error): Likewise.
9377 (prev_imag_max_error): Likewise.
9378 (max_valid_error): Likewise.
9379 (TYPE_DECIMAL_DIG): Likewise.
9380 (TYPE_HEX_DIG): Likewise.
9381 (fmt_ftostr): Likewise.
9382 (compare_ulp_data): Likewise.
9383 (find_ulps): Likewise.
9384 (init_max_error): Likewise.
9385 (set_max_error): Likewise.
9386 (print_float): Likewise.
9387 (print_screen): Likewise.
9388 (print_screen_max_error): Likewise.
9389 (update_stats): Likewise.
9390 (print_function_ulps): Likewise.
9391 (print_complex_function_ulps): Likewise.
9392 (fpstack_test): Likewise.
9393 (print_max_error): Likewise.
9394 (print_complex_max_error): Likewise.
9395 (test_single_exception): Likewise.
9396 (test_exceptions): Likewise.
9397 (test_single_errno): Likewise.
9398 (test_errno): Likewise.
9399 (ULPDIFF): Likewise.
9400 (ulp): Likewise.
9401 (check_float_internal): Likewise.
9402 (check_float): Likewise.
9403 (check_complex): Likewise.
9404 (check_int): Likewise.
9405 (check_long): Likewise.
9406 (check_bool): Likewise.
9407 (check_longlong): Likewise.
9408 (check_intmax_t): Likewise.
9409 (check_uintmax_t): Likewise.
9410 (enable_test): Likewise.
9411 (matherr): Likewise.
9412 (initialize): Likewise.
9413 (options): Likewise.
9414 (doc): Remove static.
9415 (argp): Likewise.
9416 (parse_opt): Remove.
9417 (check_ulp): Likewise.
9418 (libm_test_init): Likewise.
9419 (libm_test_finish): Likewise.
9420 * math/Makefile (libm-test-support): New variable.
9421 (test-extras): Add libm-test-support files.
9422 (extra-test-objs): Likewise.
9423 (CFLAGS-libm-test-support-float.c): New variable.
9424 (CFLAGS-libm-test-support-double.c): Likewise.
9425 (CFLAGS-libm-test-support-ldouble.c): Likewise.
9426 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9427 libm-test-support objects.
9428
94292017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9430
9431 * math/Makefile (libm-calls): Move w_exp...
9432 (libm-compat-calls-auto): Here.
9433
9434 * math/w_expl.c: Add suffix "_compat" to filename.
9435 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9436 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9437 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9439 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9443
9444 * math/w_expl_compat.c: New file, copied from above.
9445 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9446 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9447 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9449 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9452 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9453
9454 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9455 to filename.
9456 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9457
9458 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9459 copied from above and adjusted for the new filenames.
9460 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9461
94622017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9463
9464 * math/Makefile (libm-calls): Move w_lgammaF...
9465 (libm-compat-calls-auto): Here.
9466
9467 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9468 * math/w_lgammaf.c: Likewise.
9469 * math/w_lgammal.c: Likewise.
9470
9471 * math/w_lgamma_compat2.c: New file, copied from above.
9472 * math/w_lgammaf_compat2.c: Likewise.
9473 * math/w_lgammal_compat2.c: Likewise.
9474
94752017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9476
9477 * math/Makefile (libm-calls): Move w_lgammaF_r...
9478 (libm-compat-calls-auto): Here.
9479
9480 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9481 * math/w_lgammaf_r.c: Likewise.
9482 * math/w_lgammal_r.c: Likewise.
9483 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9484 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9485 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9486
9487 * math/w_lgamma_r_compat.c: New file, copied from above.
9488 * math/w_lgammaf_r_compat.c: Likewise.
9489 * math/w_lgammal_r_compat.c: Likewise.
9490 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9491 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9492 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9493
9494 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9495 to filename.
9496 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9497
9498 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9499 copied from above and adjusted for the new filenames.
9500 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9501
95022017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9503
9504 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9505 calculation in SYSCALL_ERROR_HANDLER().
9506
95072017-02-08 Rical Jasan <ricaljasan@pacific.net>
9508
9509 * manual/contrib.texi: Fix typo.
9510
95112017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9512
9513 [BZ #21109]
9514 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9515 tunable_val_t as argument.
9516 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9517 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9518 argument.
9519 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9520
95212017-02-08 Kir Kolyshkin <kir@openvz.org>
9522
9523 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9524 Add PTRACE_EVENT_STOP.
9525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9529 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9530 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9531
95322017-02-07 Joseph Myers <joseph@codesourcery.com>
9533
9534 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9535 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9536 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9537 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9538 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9539 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9540 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9541 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9542 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9543 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9544
9545 [BZ #21112]
9546 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9547 12 bits zero.
9548 (cp_l): Update for new value of cp_h.
9549 * math/auto-libm-test-in: Add another test of pow.
9550 * math/auto-libm-test-out-pow: Regenerated.
9551
95522017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9553
9554 * manual/contrib.texi: Fix typo.
9555
95562017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9557
9558 [BZ #15998]
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9560 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9562
95632017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9564
9565 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9566 STRCHR as __strchr_power8.
9567 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9568 strlen as __strlen_power8.
9569
95702017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9571
9572 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9573 unaligned load for shorter strings.
9574 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9575
95762017-02-06 Joseph Myers <joseph@codesourcery.com>
9577
9578 * math/libm-test-driver.c (flag_test_errno): New variable.
9579 (flag_test_exceptions): Likewise.
9580 (flag_test_finite): Likewise.
9581 (flag_test_inline): Likewise.
9582 (flag_test_mathvec): Likewise.
9583 (test_msg): Likewise.
9584 (ulp_idx): Likewise.
9585 (qtype_str): Likewise.
9586 (ULP_IDX): Remove macro.
9587 (QTYPE_STR): Likewise.
9588 (find_ulps): Use ulp_idx not ULP_IDX.
9589 (print_function_ulps): Use qtype_str, printed with %s, not
9590 QTYPE_STR, printed with concatentation to format string.
9591 (print_complex_function_ulps): Likewise.
9592 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9593 (test_errno): Use flag_test_errno not TEST_ERRNO.
9594 (enable_test): Use flag_test_inline, flag_test_finite and
9595 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9596 TEST_MATHVEC.
9597 (libm_test_init): New function. Factored out of main.
9598 (libm_test_finish): Likewise.
9599 (main): Call libm_test_init and libm_test_finish and move most
9600 code to those functions.
9601
9602 * math/libm-test-driver.c (STRX): New macro.
9603 (STR): Likewise.
9604 (STR_FLOAT): Likewise.
9605 (STR_VEC_LEN): Likewise.
9606 (TEST_MSG): Likewise. Define here instead of expecting to be
9607 defined by including file.
9608 * math/test-double-finite.c (TEST_MSG): Remove macro.
9609 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9610 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9611 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9612 * math/test-double.c (TEST_MSG): Likewise.
9613 * math/test-float-finite.c (TEST_MSG): Likewise.
9614 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9615 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9616 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9617 * math/test-float.c (TEST_MSG): Likewise.
9618 * math/test-idouble.c (TEST_MSG): Likewise.
9619 * math/test-ifloat.c (TEST_MSG): Likewise.
9620 * math/test-ildouble.c (TEST_MSG): Likewise.
9621 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9622 * math/test-ldouble.c (TEST_MSG): Likewise.
9623
9624 * math/libm-test.inc: Move all tests of individual functions to
9625 libm-test-*.inc and #include libm-test-*.c files.
9626 (acos_test_data): Remove.
9627 (acos_test): Likewise.
9628 (acosh_test_data): Likewise.
9629 (acosh_test): Likewise.
9630 (asin_test_data): Likewise.
9631 (asin_test): Likewise.
9632 (asinh_test_data): Likewise.
9633 (asinh_test): Likewise.
9634 (atan_test_data): Likewise.
9635 (atan_test): Likewise.
9636 (atanh_test_data): Likewise.
9637 (atanh_test): Likewise.
9638 (atan2_test_data): Likewise.
9639 (atan2_test): Likewise.
9640 (cabs_test_data): Likewise.
9641 (cabs_test): Likewise.
9642 (cacos_test_data): Likewise.
9643 (cacos_test): Likewise.
9644 (cacosh_test_data): Likewise.
9645 (cacosh_test): Likewise.
9646 (canonicalize_test_data): Likewise.
9647 (canonicalize_test): Likewise.
9648 (carg_test_data): Likewise.
9649 (carg_test): Likewise.
9650 (casin_test_data): Likewise.
9651 (casin_test): Likewise.
9652 (casinh_test_data): Likewise.
9653 (casinh_test): Likewise.
9654 (catan_test_data): Likewise.
9655 (catan_test): Likewise.
9656 (catanh_test_data): Likewise.
9657 (catanh_test): Likewise.
9658 (cbrt_test_data): Likewise.
9659 (cbrt_test): Likewise.
9660 (ccos_test_data): Likewise.
9661 (ccos_test): Likewise.
9662 (ccosh_test_data): Likewise.
9663 (ccosh_test): Likewise.
9664 (ceil_test_data): Likewise.
9665 (ceil_test): Likewise.
9666 (cexp_test_data): Likewise.
9667 (cexp_test): Likewise.
9668 (cimag_test_data): Likewise.
9669 (cimag_test): Likewise.
9670 (clog_test_data): Likewise.
9671 (clog_test): Likewise.
9672 (clog10_test_data): Likewise.
9673 (clog10_test): Likewise.
9674 (conj_test_data): Likewise.
9675 (conj_test): Likewise.
9676 (copysign_test_data): Likewise.
9677 (copysign_test): Likewise.
9678 (cos_test_data): Likewise.
9679 (cos_test): Likewise.
9680 (cosh_test_data): Likewise.
9681 (cosh_test): Likewise.
9682 (cpow_test_data): Likewise.
9683 (cpow_test): Likewise.
9684 (cproj_test_data): Likewise.
9685 (cproj_test): Likewise.
9686 (creal_test_data): Likewise.
9687 (creal_test): Likewise.
9688 (csin_test_data): Likewise.
9689 (csin_test): Likewise.
9690 (csinh_test_data): Likewise.
9691 (csinh_test): Likewise.
9692 (csqrt_test_data): Likewise.
9693 (csqrt_test): Likewise.
9694 (ctan_test_data): Likewise.
9695 (ctan_test): Likewise.
9696 (ctanh_test_data): Likewise.
9697 (ctanh_test): Likewise.
9698 (erf_test_data): Likewise.
9699 (erf_test): Likewise.
9700 (erfc_test_data): Likewise.
9701 (erfc_test): Likewise.
9702 (exp_test_data): Likewise.
9703 (exp_test): Likewise.
9704 (exp10_test_data): Likewise.
9705 (exp10_test): Likewise.
9706 (pow10_test): Likewise.
9707 (exp2_test_data): Likewise.
9708 (exp2_test): Likewise.
9709 (expm1_test_data): Likewise.
9710 (expm1_test): Likewise.
9711 (fabs_test_data): Likewise.
9712 (fabs_test): Likewise.
9713 (fdim_test_data): Likewise.
9714 (fdim_test): Likewise.
9715 (floor_test_data): Likewise.
9716 (floor_test): Likewise.
9717 (fma_test_data): Likewise.
9718 (fma_test): Likewise.
9719 (fmax_test_data): Likewise.
9720 (fmax_test): Likewise.
9721 (fmaxmag_test_data): Likewise.
9722 (fmaxmag_test): Likewise.
9723 (fmin_test_data): Likewise.
9724 (fmin_test): Likewise.
9725 (fminmag_test_data): Likewise.
9726 (fminmag_test): Likewise.
9727 (fmod_test_data): Likewise.
9728 (fmod_test): Likewise.
9729 (fpclassify_test_data): Likewise.
9730 (fpclassify_test): Likewise.
9731 (frexp_test_data): Likewise.
9732 (frexp_test): Likewise.
9733 (fromfp_test_data): Likewise.
9734 (fromfp_test): Likewise.
9735 (fromfpx_test_data): Likewise.
9736 (fromfpx_test): Likewise.
9737 (getpayload_test_data): Likewise.
9738 (getpayload_test): Likewise.
9739 (hypot_test_data): Likewise.
9740 (hypot_test): Likewise.
9741 (ilogb_test_data): Likewise.
9742 (ilogb_test): Likewise.
9743 (iscanonical_test_data): Likewise.
9744 (iscanonical_test): Likewise.
9745 (iseqsig_test_data): Likewise.
9746 (iseqsig_test): Likewise.
9747 (isfinite_test_data): Likewise.
9748 (isfinite_test): Likewise.
9749 (finite_test): Likewise.
9750 (isgreater_test_data): Likewise.
9751 (isgreater_test): Likewise.
9752 (isgreaterequal_test_data): Likewise.
9753 (isgreaterequal_test): Likewise.
9754 (isinf_test_data): Likewise.
9755 (isinf_test): Likewise.
9756 (isless_test_data): Likewise.
9757 (isless_test): Likewise.
9758 (islessequal_test_data): Likewise.
9759 (islessequal_test): Likewise.
9760 (islessgreater_test_data): Likewise.
9761 (islessgreater_test): Likewise.
9762 (isnan_test_data): Likewise.
9763 (isnan_test): Likewise.
9764 (isnormal_test_data): Likewise.
9765 (isnormal_test): Likewise.
9766 (issignaling_test_data): Likewise.
9767 (issignaling_test): Likewise.
9768 (issubnormal_test_data): Likewise.
9769 (issubnormal_test): Likewise.
9770 (isunordered_test_data): Likewise.
9771 (isunordered_test): Likewise.
9772 (iszero_test_data): Likewise.
9773 (iszero_test): Likewise.
9774 (j0_test_data): Likewise.
9775 (j0_test): Likewise.
9776 (j1_test_data): Likewise.
9777 (j1_test): Likewise.
9778 (jn_test_data): Likewise.
9779 (jn_test): Likewise.
9780 (lgamma_test_data): Likewise.
9781 (lgamma_test): Likewise.
9782 (gamma_test): Likewise.
9783 (llogb_test_data): Likewise.
9784 (llogb_test): Likewise.
9785 (lrint_test_data): Likewise.
9786 (lrint_test): Likewise.
9787 (llrint_test_data): Likewise.
9788 (llrint_test): Likewise.
9789 (log_test_data): Likewise.
9790 (log_test): Likewise.
9791 (log10_test_data): Likewise.
9792 (log10_test): Likewise.
9793 (log1p_test_data): Likewise.
9794 (log1p_test): Likewise.
9795 (log2_test_data): Likewise.
9796 (log2_test): Likewise.
9797 (logb_test_data): Likewise.
9798 (logb_test): Likewise.
9799 (lround_test_data): Likewise.
9800 (lround_test): Likewise.
9801 (llround_test_data): Likewise.
9802 (llround_test): Likewise.
9803 (modf_test_data): Likewise.
9804 (modf_test): Likewise.
9805 (nearbyint_test_data): Likewise.
9806 (nearbyint_test): Likewise.
9807 (nextafter_test_data): Likewise.
9808 (nextafter_test): Likewise.
9809 (nextup_test_data): Likewise.
9810 (nextup_test): Likewise.
9811 (nextdown_test_data): Likewise.
9812 (nextdown_test): Likewise.
9813 (nexttoward_test_data): Likewise.
9814 (nexttoward_test): Likewise.
9815 (pow_test_data): Likewise.
9816 (pow_test): Likewise.
9817 (remainder_test_data): Likewise.
9818 (remainder_test): Likewise.
9819 (drem_test): Likewise.
9820 (remquo_test_data): Likewise.
9821 (remquo_test): Likewise.
9822 (rint_test_data): Likewise.
9823 (rint_test): Likewise.
9824 (round_test_data): Likewise.
9825 (round_test): Likewise.
9826 (roundeven_test_data): Likewise.
9827 (roundeven_test): Likewise.
9828 (scalb_test_data): Likewise.
9829 (scalb_test): Likewise.
9830 (scalbn_test_data): Likewise.
9831 (scalbn_test): Likewise.
9832 (ldexp_test): Likewise.
9833 (scalbln_test_data): Likewise.
9834 (scalbln_test): Likewise.
9835 (setpayload_test_data): Likewise.
9836 (setpayload_test): Likewise.
9837 (setpayloadsig_test_data): Likewise.
9838 (setpayloadsig_test): Likewise.
9839 (signbit_test_data): Likewise.
9840 (signbit_test): Likewise.
9841 (sin_test_data): Likewise.
9842 (sin_test): Likewise.
9843 (sincos_test_data): Likewise.
9844 (sincos_test): Likewise.
9845 (sinh_test_data): Likewise.
9846 (sinh_test): Likewise.
9847 (sqrt_test_data): Likewise.
9848 (sqrt_test): Likewise.
9849 (tan_test_data): Likewise.
9850 (tan_test): Likewise.
9851 (tanh_test_data): Likewise.
9852 (tanh_test): Likewise.
9853 (tgamma_test_data): Likewise.
9854 (tgamma_test): Likewise.
9855 (totalorder_test_data): Likewise.
9856 (totalorder_test): Likewise.
9857 (totalordermag_test_data): Likewise.
9858 (totalordermag_test): Likewise.
9859 (trunc_test_data): Likewise.
9860 (trunc_test): Likewise.
9861 (ufromfp_test_data): Likewise.
9862 (ufromfp_test): Likewise.
9863 (ufromfpx_test_data): Likewise.
9864 (ufromfpx_test): Likewise.
9865 (y0_test_data): Likewise.
9866 (y0_test): Likewise.
9867 (y1_test_data): Likewise.
9868 (y1_test): Likewise.
9869 (yn_test_data): Likewise.
9870 (yn_test): Likewise.
9871 (significand_test_data): Likewise.
9872 (significand_test): Likewise.
9873 * math/Makefile (auto-libm-test-out-files): Remove variable.
9874 (libm-test-funcs-noauto): New variable.
9875 (libm-test-funcs-all): Likewise.
9876 (libm-test-c-auto): Likewise.
9877 (libm-test-c-noauto): Likewise.
9878 (libm-tests-generated): Add $(libm-test-c-auto) and
9879 $(libm-test-c-noauto).
9880 (generated): Do not add auto-libm-test-out.
9881 (libm-test-c-auto-obj): New variable.
9882 (libm-test-c-noauto-obj): Likewise.
9883 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9884 ($(libm-test-c-noauto-obj)): New static pattern rule.
9885 ($(libm-test-c-auto-obj)): Likewise.
9886 (libm-test-incs): New variable.
9887 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9888 and pass it to gen-libm-have-vector-test.sh.
9889 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9890 be passed on command line.
9891 * math/libm-test-acos.inc: New file. Content from
9892 math/libm-test.inc.
9893 * math/libm-test-acosh.inc: Likewise.
9894 * math/libm-test-asin.inc: Likewise.
9895 * math/libm-test-asinh.inc: Likewise.
9896 * math/libm-test-atan.inc: Likewise.
9897 * math/libm-test-atan2.inc: Likewise.
9898 * math/libm-test-atanh.inc: Likewise.
9899 * math/libm-test-cabs.inc: Likewise.
9900 * math/libm-test-cacos.inc: Likewise.
9901 * math/libm-test-cacosh.inc: Likewise.
9902 * math/libm-test-canonicalize.inc: Likewise.
9903 * math/libm-test-carg.inc: Likewise.
9904 * math/libm-test-casin.inc: Likewise.
9905 * math/libm-test-casinh.inc: Likewise.
9906 * math/libm-test-catan.inc: Likewise.
9907 * math/libm-test-catanh.inc: Likewise.
9908 * math/libm-test-cbrt.inc: Likewise.
9909 * math/libm-test-ccos.inc: Likewise.
9910 * math/libm-test-ccosh.inc: Likewise.
9911 * math/libm-test-ceil.inc: Likewise.
9912 * math/libm-test-cexp.inc: Likewise.
9913 * math/libm-test-cimag.inc: Likewise.
9914 * math/libm-test-clog.inc: Likewise.
9915 * math/libm-test-clog10.inc: Likewise.
9916 * math/libm-test-conj.inc: Likewise.
9917 * math/libm-test-copysign.inc: Likewise.
9918 * math/libm-test-cos.inc: Likewise.
9919 * math/libm-test-cosh.inc: Likewise.
9920 * math/libm-test-cpow.inc: Likewise.
9921 * math/libm-test-cproj.inc: Likewise.
9922 * math/libm-test-creal.inc: Likewise.
9923 * math/libm-test-csin.inc: Likewise.
9924 * math/libm-test-csinh.inc: Likewise.
9925 * math/libm-test-csqrt.inc: Likewise.
9926 * math/libm-test-ctan.inc: Likewise.
9927 * math/libm-test-ctanh.inc: Likewise.
9928 * math/libm-test-erf.inc: Likewise.
9929 * math/libm-test-erfc.inc: Likewise.
9930 * math/libm-test-exp.inc: Likewise.
9931 * math/libm-test-exp10.inc: Likewise.
9932 * math/libm-test-exp2.inc: Likewise.
9933 * math/libm-test-expm1.inc: Likewise.
9934 * math/libm-test-fabs.inc: Likewise.
9935 * math/libm-test-fdim.inc: Likewise.
9936 * math/libm-test-floor.inc: Likewise.
9937 * math/libm-test-fma.inc: Likewise.
9938 * math/libm-test-fmax.inc: Likewise.
9939 * math/libm-test-fmaxmag.inc: Likewise.
9940 * math/libm-test-fmin.inc: Likewise.
9941 * math/libm-test-fminmag.inc: Likewise.
9942 * math/libm-test-fmod.inc: Likewise.
9943 * math/libm-test-fpclassify.inc: Likewise.
9944 * math/libm-test-frexp.inc: Likewise.
9945 * math/libm-test-fromfp.inc: Likewise.
9946 * math/libm-test-fromfpx.inc: Likewise.
9947 * math/libm-test-getpayload.inc: Likewise.
9948 * math/libm-test-hypot.inc: Likewise.
9949 * math/libm-test-ilogb.inc: Likewise.
9950 * math/libm-test-iscanonical.inc: Likewise.
9951 * math/libm-test-iseqsig.inc: Likewise.
9952 * math/libm-test-isfinite.inc: Likewise.
9953 * math/libm-test-isgreater.inc: Likewise.
9954 * math/libm-test-isgreaterequal.inc: Likewise.
9955 * math/libm-test-isinf.inc: Likewise.
9956 * math/libm-test-isless.inc: Likewise.
9957 * math/libm-test-islessequal.inc: Likewise.
9958 * math/libm-test-islessgreater.inc: Likewise.
9959 * math/libm-test-isnan.inc: Likewise.
9960 * math/libm-test-isnormal.inc: Likewise.
9961 * math/libm-test-issignaling.inc: Likewise.
9962 * math/libm-test-issubnormal.inc: Likewise.
9963 * math/libm-test-isunordered.inc: Likewise.
9964 * math/libm-test-iszero.inc: Likewise.
9965 * math/libm-test-j0.inc: Likewise.
9966 * math/libm-test-j1.inc: Likewise.
9967 * math/libm-test-jn.inc: Likewise.
9968 * math/libm-test-lgamma.inc: Likewise.
9969 * math/libm-test-llogb.inc: Likewise.
9970 * math/libm-test-llrint.inc: Likewise.
9971 * math/libm-test-llround.inc: Likewise.
9972 * math/libm-test-log.inc: Likewise.
9973 * math/libm-test-log10.inc: Likewise.
9974 * math/libm-test-log1p.inc: Likewise.
9975 * math/libm-test-log2.inc: Likewise.
9976 * math/libm-test-logb.inc: Likewise.
9977 * math/libm-test-lrint.inc: Likewise.
9978 * math/libm-test-lround.inc: Likewise.
9979 * math/libm-test-modf.inc: Likewise.
9980 * math/libm-test-nearbyint.inc: Likewise.
9981 * math/libm-test-nextafter.inc: Likewise.
9982 * math/libm-test-nextdown.inc: Likewise.
9983 * math/libm-test-nexttoward.inc: Likewise.
9984 * math/libm-test-nextup.inc: Likewise.
9985 * math/libm-test-pow.inc: Likewise.
9986 * math/libm-test-remainder.inc: Likewise.
9987 * math/libm-test-remquo.inc: Likewise.
9988 * math/libm-test-rint.inc: Likewise.
9989 * math/libm-test-round.inc: Likewise.
9990 * math/libm-test-roundeven.inc: Likewise.
9991 * math/libm-test-scalb.inc: Likewise.
9992 * math/libm-test-scalbln.inc: Likewise.
9993 * math/libm-test-scalbn.inc: Likewise.
9994 * math/libm-test-setpayload.inc: Likewise.
9995 * math/libm-test-setpayloadsig.inc: Likewise.
9996 * math/libm-test-signbit.inc: Likewise.
9997 * math/libm-test-significand.inc: Likewise.
9998 * math/libm-test-sin.inc: Likewise.
9999 * math/libm-test-sincos.inc: Likewise.
10000 * math/libm-test-sinh.inc: Likewise.
10001 * math/libm-test-sqrt.inc: Likewise.
10002 * math/libm-test-tan.inc: Likewise.
10003 * math/libm-test-tanh.inc: Likewise.
10004 * math/libm-test-tgamma.inc: Likewise.
10005 * math/libm-test-totalorder.inc: Likewise.
10006 * math/libm-test-totalordermag.inc: Likewise.
10007 * math/libm-test-trunc.inc: Likewise.
10008 * math/libm-test-ufromfp.inc: Likewise.
10009 * math/libm-test-ufromfpx.inc: Likewise.
10010 * math/libm-test-y0.inc: Likewise.
10011 * math/libm-test-y1.inc: Likewise.
10012 * math/libm-test-yn.inc: Likewise.
10013 * math/README.libm-test: Update.
10014
10015 * math/gen-auto-libm-tests.c: Update comment about use of program.
10016 (generate_output): Add argument FUNCTION.
10017 (main): Require extra argument. Pass function name to
10018 generate_output.
10019 * math/Makefile (generated): Add auto-libm-test-out.
10020 (libm-test-funcs-auto): New variable.
10021 (auto-libm-test-out-files): New variable.
10022 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
10023 Concatenate those files to form $(objpfx)auto-libm-test-out and
10024 use it as input to gen-libm-test.pl.
10025 * math/README.libm-test: Update.
10026 * math/auto-libm-test-out: Remove.
10027 * math/auto-libm-test-out-acos: New generated file.
10028 * math/auto-libm-test-out-acosh: Likewise.
10029 * math/auto-libm-test-out-asin: Likewise.
10030 * math/auto-libm-test-out-asinh: Likewise.
10031 * math/auto-libm-test-out-atan: Likewise.
10032 * math/auto-libm-test-out-atan2: Likewise.
10033 * math/auto-libm-test-out-atanh: Likewise.
10034 * math/auto-libm-test-out-cabs: Likewise.
10035 * math/auto-libm-test-out-carg: Likewise.
10036 * math/auto-libm-test-out-cbrt: Likewise.
10037 * math/auto-libm-test-out-ccos: Likewise.
10038 * math/auto-libm-test-out-ccosh: Likewise.
10039 * math/auto-libm-test-out-cexp: Likewise.
10040 * math/auto-libm-test-out-clog: Likewise.
10041 * math/auto-libm-test-out-clog10: Likewise.
10042 * math/auto-libm-test-out-cos: Likewise.
10043 * math/auto-libm-test-out-cosh: Likewise.
10044 * math/auto-libm-test-out-cpow: Likewise.
10045 * math/auto-libm-test-out-csin: Likewise.
10046 * math/auto-libm-test-out-csinh: Likewise.
10047 * math/auto-libm-test-out-csqrt: Likewise.
10048 * math/auto-libm-test-out-ctan: Likewise.
10049 * math/auto-libm-test-out-ctanh: Likewise.
10050 * math/auto-libm-test-out-erf: Likewise.
10051 * math/auto-libm-test-out-erfc: Likewise.
10052 * math/auto-libm-test-out-exp: Likewise.
10053 * math/auto-libm-test-out-exp10: Likewise.
10054 * math/auto-libm-test-out-exp2: Likewise.
10055 * math/auto-libm-test-out-expm1: Likewise.
10056 * math/auto-libm-test-out-fma: Likewise.
10057 * math/auto-libm-test-out-hypot: Likewise.
10058 * math/auto-libm-test-out-j0: Likewise.
10059 * math/auto-libm-test-out-j1: Likewise.
10060 * math/auto-libm-test-out-jn: Likewise.
10061 * math/auto-libm-test-out-lgamma: Likewise.
10062 * math/auto-libm-test-out-log: Likewise.
10063 * math/auto-libm-test-out-log10: Likewise.
10064 * math/auto-libm-test-out-log1p: Likewise.
10065 * math/auto-libm-test-out-log2: Likewise.
10066 * math/auto-libm-test-out-pow: Likewise.
10067 * math/auto-libm-test-out-sin: Likewise.
10068 * math/auto-libm-test-out-sincos: Likewise.
10069 * math/auto-libm-test-out-sinh: Likewise.
10070 * math/auto-libm-test-out-sqrt: Likewise.
10071 * math/auto-libm-test-out-tan: Likewise.
10072 * math/auto-libm-test-out-tanh: Likewise.
10073 * math/auto-libm-test-out-tgamma: Likewise.
10074 * math/auto-libm-test-out-y0: Likewise.
10075 * math/auto-libm-test-out-y1: Likewise.
10076 * math/auto-libm-test-out-yn: Likewise.
10077
10078 * math/Makefile (generated): Do not include libm-test.stmp.
10079 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
10080 on $(objpfx)libm-test.stmp.
10081 ($(objpfx)libm-test.stmp): Remove rule.
10082 ($(objpfx)libm-test-ulps.h): New rule.
10083 ($(objpfx)libm-test.c): Likewise.
10084 ($(objpfx)libm-have-vector-test.h): Likewise.
10085 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
10086 individual generated files, not libm-test.stmp.
10087
10088 * math/gen-libm-test.pl ($output_dir): Remove variable.
10089 ($srcdir): Likewise.
10090 ($opt_a): New variable.
10091 ($opt_c): Likewise.
10092 ($opt_C): Likewise.
10093 ($opt_H): Likewise.
10094 (-n): Make option take argument and use it as NewUlps output.
10095 (-a): New option. Use its argument for auto-libm-test-out input.
10096 (-c): New option. Use its argument for libm-test.inc input.
10097 (-C): New option. Use its argument for libm-test.c output.
10098 (-H): New option. Use its argument for libm-test-ulps.h output.
10099 (top level): Only process inputs needed to generate outputs
10100 specified by command-line options. Only generate outputs
10101 specified by command-line options.
10102 * math/README.libm-test: Update example gen-libm-test.pl command.
10103 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
10104 commands.
10105 (regen-ulps): Likewise.
10106
101072017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
10108
10109 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
10110 * include/string.h (index): Remove define.
10111 (rindex): Likewise.
10112 * misc/getttyent.c (__getttyent): Rename index to strchr.
10113 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
10114 * sunrpc/rpc_main.c (mkfile_output): Likewise.
10115
101162017-02-06 Joseph Myers <joseph@codesourcery.com>
10117
10118 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
10119 * math/libm-test.inc: Move all contents, other than tests of
10120 individual functions, to libm-test-driver.c.
10121 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
10122 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
10123 [!FE_UPWARD] (FE_UPWARD): Likewise.
10124 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
10125 (NO_EXCEPTION): Likewise.
10126 (INVALID_EXCEPTION): Likewise.
10127 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
10128 (OVERFLOW_EXCEPTION): Likewise.
10129 (UNDERFLOW_EXCEPTION): Likewise.
10130 (INEXACT_EXCEPTION): Likewise.
10131 (INVALID_EXCEPTION_OK): Likewise.
10132 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10133 (OVERFLOW_EXCEPTION_OK): Likewise.
10134 (UNDERFLOW_EXCEPTION_OK): Likewise.
10135 (NO_INEXACT_EXCEPTION): Likewise.
10136 (EXCEPTIONS_OK): Likewise.
10137 (IGNORE_ZERO_INF_SIGN): Likewise.
10138 (TEST_NAN_SIGN): Likewise.
10139 (TEST_NAN_PAYLOAD): Likewise.
10140 (NO_TEST_INLINE): Likewise.
10141 (XFAIL_TEST): Likewise.
10142 (ERRNO_UNCHANGED): Likewise.
10143 (ERRNO_EDOM): Likewise.
10144 (ERRNO_ERANGE): Likewise.
10145 (IGNORE_RESULT): Likewise.
10146 (NON_FINITE): Likewise.
10147 (TEST_SNAN): Likewise.
10148 (NO_TEST_MATHVEC): Likewise.
10149 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
10150 (__CONCATX): Likewise.
10151 (TYPE_MIN): Likewise.
10152 (TYPE_TRUE_MIN): Likewise.
10153 (TYPE_MAX): Likewise.
10154 (MIN_EXP): Likewise.
10155 (MAX_EXP): Likewise.
10156 (MANT_DIG): Likewise.
10157 (FSTR_MAX): Likewise.
10158 (ULP_IDX): Likewise.
10159 (QTYPE_STR): Likewise.
10160 (TEST_COND_binary32): Likewise.
10161 (TEST_COND_binary64): Likewise.
10162 (TEST_COND_binary128): Likewise.
10163 (TEST_COND_ibm128): Likewise.
10164 (TEST_COND_intel96): Likewise.
10165 (TEST_COND_m68k96): Likewise.
10166 (TEST_COND_ibm128_libgcc): Likewise.
10167 (XFAIL_IBM128_LIBGCC): Likewise.
10168 (PAYLOAD_DIG): Likewise.
10169 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10170 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10171 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10172 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
10173 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10174 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
10175 (TEST_COND_long32): Likewise.
10176 (TEST_COND_long64): Likewise.
10177 (TEST_COND_before_rounding): Likewise.
10178 (TEST_COND_after_rounding): Likewise.
10179 (lit_pi_3_m_4_d): Likewise.
10180 (lit_pi_3_m_4_ln10_m_d): Likewise.
10181 (lit_pi_2_ln10_m_d): Likewise.
10182 (lit_pi_4_ln10_m_d): Likewise.
10183 (lit_pi_ln10_d): Likewise.
10184 (lit_pi_2_d): Likewise.
10185 (lit_pi_4_d): Likewise.
10186 (lit_pi): Likewise.
10187 (lit_e): Likewise.
10188 (ulps_file_name): Likewise.
10189 (ulps_file): Likewise.
10190 (output_ulps): Likewise.
10191 (output_dir): Likewise.
10192 (noErrors): Likewise.
10193 (noTests): Likewise.
10194 (noExcTests): Likewise.
10195 (noErrnoTests): Likewise.
10196 (verbose): Likewise.
10197 (output_max_error): Likewise.
10198 (output_points): Likewise.
10199 (ignore_max_ulp): Likewise.
10200 (plus_zero): Likewise.
10201 (minus_zero): Likewise.
10202 (plus_infty): Likewise.
10203 (minus_infty): Likewise.
10204 (qnan_value_pl): Likewise.
10205 (qnan_value): Likewise.
10206 (snan_value_pl): Likewise.
10207 (snan_value): Likewise.
10208 (max_value): Likewise.
10209 (min_value): Likewise.
10210 (min_subnorm_value): Likewise.
10211 (snan_value_ld): Likewise.
10212 (max_error): Likewise.
10213 (real_max_error): Likewise.
10214 (imag_max_error): Likewise.
10215 (prev_max_error): Likewise.
10216 (prev_real_max_error): Likewise.
10217 (prev_imag_max_error): Likewise.
10218 (max_valid_error): Likewise.
10219 (TYPE_DECIMAL_DIG): Likewise.
10220 (TYPE_HEX_DIG): Likewise.
10221 (fmt_ftostr): Likewise.
10222 (compare_ulp_data): Likewise.
10223 (find_ulps): Likewise.
10224 (init_max_error): Likewise.
10225 (set_max_error): Likewise.
10226 (print_float): Likewise.
10227 (print_screen): Likewise.
10228 (print_screen_max_error): Likewise.
10229 (update_stats): Likewise.
10230 (print_function_ulps): Likewise.
10231 (print_complex_function_ulps): Likewise.
10232 (fpstack_test): Likewise.
10233 (print_max_error): Likewise.
10234 (print_complex_max_error): Likewise.
10235 (test_single_exception): Likewise.
10236 (test_exceptions): Likewise.
10237 (test_single_errno): Likewise.
10238 (test_errno): Likewise.
10239 (ULPDIFF): Likewise.
10240 (ulp): Likewise.
10241 (check_float_internal): Likewise.
10242 (check_float): Likewise.
10243 (check_complex): Likewise.
10244 (check_int): Likewise.
10245 (check_long): Likewise.
10246 (check_bool): Likewise.
10247 (check_longlong): Likewise.
10248 (check_intmax_t): Likewise.
10249 (check_uintmax_t): Likewise.
10250 (enable_test): Likewise.
10251 (struct test_f_f_data): Likewise.
10252 (struct test_ff_f_data): Likewise.
10253 (struct test_fj_f_data): Likewise.
10254 (struct test_fi_f_data): Likewise.
10255 (struct test_fl_f_data): Likewise.
10256 (struct test_if_f_data): Likewise.
10257 (struct test_fff_f_data): Likewise.
10258 (struct test_fiu_M_data): Likewise.
10259 (struct test_fiu_U_data): Likewise.
10260 (struct test_c_f_data): Likewise.
10261 (struct test_f_f1_data): Likewise.
10262 (struct test_fF_f1_data): Likewise.
10263 (struct test_ffI_f1_data): Likewise.
10264 (struct test_c_c_data): Likewise.
10265 (struct test_cc_c_data): Likewise.
10266 (struct test_f_i_data): Likewise.
10267 (struct test_ff_i_data): Likewise.
10268 (struct test_f_l_data): Likewise.
10269 (struct test_f_L_data): Likewise.
10270 (struct test_fFF_11_data): Likewise.
10271 (struct test_Ff_b1_data): Likewise.
10272 (IF_ROUND_INIT_): Likewise.
10273 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10274 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10275 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10276 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10277 (ROUND_RESTORE_): Likewise.
10278 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10279 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10280 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10281 (ROUND_RESTORE_FE_UPWARD): Likewise.
10282 (RM_): Likewise.
10283 (RM_FE_DOWNWARD): Likewise.
10284 (RM_FE_TONEAREST): Likewise.
10285 (RM_FE_TOWARDZERO): Likewise.
10286 (RM_FE_UPWARD): Likewise.
10287 (COMMON_TEST_SETUP): Likewise.
10288 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10289 (COMMON_TEST_CLEANUP): Likewise.
10290 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10291 (RUN_TEST_f_f): Likewise.
10292 (RUN_TEST_LOOP_f_f): Likewise.
10293 (RUN_TEST_fp_f): Likewise.
10294 (RUN_TEST_LOOP_fp_f): Likewise.
10295 (RUN_TEST_2_f): Likewise.
10296 (RUN_TEST_LOOP_2_f): Likewise.
10297 (RUN_TEST_ff_f): Likewise.
10298 (RUN_TEST_LOOP_ff_f): Likewise.
10299 (RUN_TEST_LOOP_fj_f): Likewise.
10300 (RUN_TEST_fi_f): Likewise.
10301 (RUN_TEST_LOOP_fi_f): Likewise.
10302 (RUN_TEST_fl_f): Likewise.
10303 (RUN_TEST_LOOP_fl_f): Likewise.
10304 (RUN_TEST_if_f): Likewise.
10305 (RUN_TEST_LOOP_if_f): Likewise.
10306 (RUN_TEST_fff_f): Likewise.
10307 (RUN_TEST_LOOP_fff_f): Likewise.
10308 (RUN_TEST_fiu_M): Likewise.
10309 (RUN_TEST_LOOP_fiu_M): Likewise.
10310 (RUN_TEST_fiu_U): Likewise.
10311 (RUN_TEST_LOOP_fiu_U): Likewise.
10312 (RUN_TEST_c_f): Likewise.
10313 (RUN_TEST_LOOP_c_f): Likewise.
10314 (RUN_TEST_f_f1): Likewise.
10315 (RUN_TEST_LOOP_f_f1): Likewise.
10316 (RUN_TEST_fF_f1): Likewise.
10317 (RUN_TEST_LOOP_fF_f1): Likewise.
10318 (RUN_TEST_fI_f1): Likewise.
10319 (RUN_TEST_LOOP_fI_f1): Likewise.
10320 (RUN_TEST_ffI_f1_mod8): Likewise.
10321 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10322 (RUN_TEST_Ff_b1): Likewise.
10323 (RUN_TEST_LOOP_Ff_b1): Likewise.
10324 (RUN_TEST_Ffp_b1): Likewise.
10325 (RUN_TEST_LOOP_Ffp_b1): Likewise.
10326 (RUN_TEST_c_c): Likewise.
10327 (RUN_TEST_LOOP_c_c): Likewise.
10328 (RUN_TEST_cc_c): Likewise.
10329 (RUN_TEST_LOOP_cc_c): Likewise.
10330 (RUN_TEST_f_i): Likewise.
10331 (RUN_TEST_LOOP_f_i): Likewise.
10332 (RUN_TEST_f_i_tg): Likewise.
10333 (RUN_TEST_LOOP_f_i_tg): Likewise.
10334 (RUN_TEST_ff_b): Likewise.
10335 (RUN_TEST_LOOP_ff_b): Likewise.
10336 (RUN_TEST_ff_i_tg): Likewise.
10337 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10338 (RUN_TEST_f_b): Likewise.
10339 (RUN_TEST_LOOP_f_b): Likewise.
10340 (RUN_TEST_f_b_tg): Likewise.
10341 (RUN_TEST_LOOP_f_b_tg): Likewise.
10342 (RUN_TEST_f_l): Likewise.
10343 (RUN_TEST_LOOP_f_l): Likewise.
10344 (RUN_TEST_f_L): Likewise.
10345 (RUN_TEST_LOOP_f_L): Likewise.
10346 (RUN_TEST_fFF_11): Likewise.
10347 (RUN_TEST_LOOP_fFF_11): Likewise.
10348 (VEC_SUFF): Likewise.
10349 (STR_CONCAT): Likewise.
10350 (STR_CON3): Likewise.
10351 (HAVE_VECTOR): Likewise.
10352 (START): Likewise.
10353 (END): Likewise.
10354 (END_COMPLEX): Likewise.
10355 (ALL_RM_TEST): Likewise.
10356 (matherr): Likewise.
10357 (initialize): Likewise.
10358 (options): Likewise.
10359 (doc): Likewise.
10360 (parse_opt): Likewise.
10361 (argp): Likewise.
10362 (check_ulp): Likewise.
10363 (main): Likewise.
10364 (do_test): New function. Call tests of individual functions
10365 previously called from main.
10366
10367 * math/libm-test.inc: Remove comment listing functions tested and
10368 not tested.
10369
103702016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10371
10372 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10373 (allocate_stack): Remove COLORING_INCREMENT usage.
10374 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10375 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10376
103772017-02-06 Joseph Myers <joseph@codesourcery.com>
10378
10379 * manual/libm-err-tab.pl (@all_functions): Change to
10380 %all_functions. Initialize as empty.
10381 (parse_ulps): Add to %all_functions based on functions found in
10382 ulps files. Ignore results for non-default rounding modes and
10383 vector functions.
10384 (print_platforms): Use %all_platforms.
10385 * manual/math.texi (Errors in Math Functions): Document omissions
10386 from the table.
10387
10388 * math/Makefile (before-compile): Remove.
10389
103902017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10391
10392 [BZ #21075]
10393 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10394 unused assignment.
10395 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10396
103972017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10398
10399 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10400 Add __glibc_unlikely hint.
10401
104022017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10403
10404 [BZ #16640]
10405 * sysdeps/i386/i686/strtok.S: Remove file.
10406 * sysdeps/i386/i686/strtok_r.S: Likewise.
10407 * sysdeps/i386/strtok.S: Likewise.
10408 * sysdeps/i386/strtok_r.S: Likewise.
10409 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10410 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10411 * sysdeps/x86_64/strtok.S: Likewise.
10412 * sysdeps/x86_64/strtok_r.S: Likewise.
10413
10414 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10415 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10416 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10417 (__ASSUME_FADVISE64_AS_64_64): Define.
10418 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10419 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10420 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10421 __ALIGNMENT_ARG usage.
10422 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10423 __NR_fadvise64_64 if it is not defined.
10424
104252017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10426
10427 * version.h (RELEASE): Set to "development"
10428 (VERSION): Set to 2.25.90.
10429 * NEWS: Add 2.26 section.
10430
10431 * version.h (RELEASE): Set to "stable"
10432 (VERSION): Set to 2.25.
10433 * include/features.h (__GLIBC_MINOR__): Set to 25.
10434
10435 * manual/contrib.texi: Add more contributors from this release
10436 and past releases.
10437
10438 * NEWS (2.25): Add list of bugs fixed.
10439
10440 * NEWS: Add missing news items.
10441
104422017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10443
10444 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10445 parent if child exited in that manner. Print WEXITSTATUS
10446 instead of the raw status.
10447 (do_test_prep): Rename to do_test.
10448 (do_test): Return the result of run_executable_sgid.
10449 (TEST_FUNCTION_ARGV): Adjust.
10450
104512017-02-03 Alexandre Oliva <aoliva@redhat.com>
10452 Florian Weimer <fweimer@redhat.com>
10453 Carlos O'Donell <carlos@redhat.com>
10454
10455 [BZ #20915]
10456 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10457 Do not initialize DTV.
10458 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10459
104602017-02-03 David S. Miller <davem@davemloft.net>
10461
10462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10471 (libm-sysdep_routines): Update.
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10477 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10478 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10479 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10480 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10482 Likewise.
10483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10485 Likewise.
10486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10488 Likewise.
10489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10491 Likewise.
10492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10494 (libm-sysdep_routines): Update.
10495
104962017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10497
10498 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10499 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10500 against unrelocated shared library.
10501 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10502
105032017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10504
10505 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10506 * elf/tst-env-setuid-tunables.c
10507 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10508 GLIBC_TUNABLES is removed in a setgid process.
10509
10510 [BZ #21073]
10511 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10512 * elf/dl-tunables.c (tunables_strdup): Remove.
10513 (get_next_env): Also return the previous envp.
10514 (parse_tunables): Erase tunables of category
10515 TUNABLES_SECLEVEL_SXID_ERASE.
10516 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10517 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10518 (__tunables_init)[TUNABLES_FRONTEND ==
10519 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10520 after parsing.
10521 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10522 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10523 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10524 to security_level.
10525 * elf/dl-tunables.list: Add security_level annotations for all
10526 tunables.
10527 * scripts/gen-tunables.awk: Recognize and generate enum values
10528 for security_level.
10529 * elf/tst-env-setuid.c: New test case.
10530 * elf/tst-env-setuid-tunables: new test case.
10531 * elf/Makefile (tests-static): Add them.
10532
105332017-02-01 Richard Henderson <rth@twiddle.net>
10534
10535 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10536 adjusting the byte count.
10537
105382017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10539
10540 * conform/Makefile (linknamespace-libs): Define.
10541
10542 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10543 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10544 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10545 operands.
10546
105472017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10548
10549 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10550
105512017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10552
10553 [BZ #21081]
10554 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10555 (L(stosb)): Add VZEROUPPER before ret.
10556
105572016-01-28 Carlos O'Donell <carlos@redhat.com>
10558 Alexey Makhalov <amakhalov@vmware.com>
10559 Florian Weimer <fweimer@redhat.com>
10560
10561 [BZ #20116]
10562 * nptl/pthread_create.c: Document concurrency notes.
10563 Enhance thread creation notes.
10564 (create_thread): Use bool *stopped_start.
10565 (START_THREAD_DEFN): Comment ownership of PD.
10566 (__pthread_create_2_1): Add local bool stopped_start and use
10567 that instead of pd->stopped_start where appropriate.
10568 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10569 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10570 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10571 * nptl/tst-create-detached.c: New file.
10572 * nptl/Makefile (tests): Add tst-create-detached.
10573 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10574 Reference the enhanced thread creation notes.
10575 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10576 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10577 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10578 (__pthread_current_priority): Likewise.
10579 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10580 xpthread_attr_init, xpthread_attr_setdetachstate, and
10581 xpthread_attr_setstacksize.
10582 * support/xpthread_attr_destroy.c: New file.
10583 * support/xpthread_attr_init.c: New file.
10584 * support/xpthread_attr_setdetachstate.c: New file.
10585 * support/xpthread_attr_setstacksize.c: New file.
10586 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10587 xpthread_attr_init, xpthread_attr_setdetachstate, and
10588 xpthread_attr_setstacksize.
10589
105902017-01-27 Florian Weimer <fweimer@redhat.com>
10591
10592 * nptl/Makefile (tests): Add tst-robust-fork.
10593 * nptl/tst-robust-fork.c: New file.
10594 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10595 xpthread_mutex_consistent, xpthread_mutex_destroy,
10596 xpthread_mutex_init, xpthread_mutexattr_destroy,
10597 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10598 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10599 xpthread_mutexattr_settype.
10600 * support/xmmap.c: New file.
10601 * support/xmunmap.c: Likewise.
10602 * support/xpthread_mutex_consistent.c: Likewise.
10603 * support/xpthread_mutex_destroy.c: Likewise.
10604 * support/xpthread_mutex_init.c: Likewise.
10605 * support/xpthread_mutexattr_destroy.c: Likewise.
10606 * support/xpthread_mutexattr_init.c: Likewise.
10607 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10608 * support/xpthread_mutexattr_setpshared.c: Likewise.
10609 * support/xpthread_mutexattr_setrobust.c: Likewise.
10610 * support/xpthread_mutexattr_settype.c: Likewise.
10611 * support/xthread.h (xpthread_mutexattr_destroy)
10612 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10613 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10614 (xpthread_mutexattr_settype, xpthread_mutex_init)
10615 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10616 * support/xunistd.h (xmmap, xmunmap): Likewise.
10617
106182017-01-25 Florian Weimer <fweimer@redhat.com>
10619
10620 * string/Makefile (xtests): Add comment.
10621 (LOCALES): Add en_GB.UTF-8.
10622 (tst-strcoll-overflow.out): Depend on generated locales.
10623 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10624 (SIZE, TIMEOUT): Update comments.
10625 (do_test): Define as static. Fail test if setlocale fails.
10626 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10627 messages.
10628 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10629 TIMEOUT at 300 seconds should be enough to run this test
10630 successfully.
10631
106322017-01-24 Jakub Jelinek <jakub@redhat.com>
10633
10634 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10635 /* FALLTHRU */ comments.
10636
106372017-01-24 James Clarke <jrtc27@jrtc27.com>
10638
10639 [BZ #21053]
10640 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10641 constants instead of the old R* ones.
10642 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10643 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10644 (NGREG): ... to this, to fit in with other architectures.
10645 (gpregset_t): Use new NGREG macro.
10646 [__USE_GNU]: Remove condition; all architectures other than tile
10647 are unconditional.
10648 (R*): Rename to REG_R*.
10649
106502017-01-20 DJ Delorie <dj@redhat.com>
10651
10652 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10653 (tunable_set_val_if_valid_range_signed) ... this, and ...
10654 (tunable_set_val_if_valid_range_unsigned) ... this.
10655 (tunable_initialize): Call the correct one of the above based on type.
10656
106572017-01-20 Joseph Myers <joseph@codesourcery.com>
10658
10659 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10660 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10661 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10662 * sysdeps/microblaze/libm-test-ulps: Likewise.
10663 * sysdeps/sh/libm-test-ulps: Likewise.
10664
10665 * math/README.libm-test: Update list of characters for input and
10666 output types.
10667
106682017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10669
10670 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10671 (__lll_unlock_elision): Fix adapt_count decrement.
10672
106732017-01-14 Martin Galvan <martingalvan@sourceware.org>
10674
10675 * README.pretty-printers (Known issues): Warn about printers not
10676 always covering everything.
10677 * nptl/nptl-printers.py (MutexPrinter): Change output.
10678 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10679
106802017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10681
10682 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10683 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10684 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10685 (__lll_lock_elision): Do not test futex before starting a
10686 transaction. Use __glibc_likely instead of __builtin_expect.
10687 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10688 (__lll_trylock_elision): Do not test futex before starting a
10689 transaction. Use __glibc_likely instead of __builtin_expect.
10690
106912017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10692
10693 * po/Makefile (update-translations): New target.
10694
106952017-01-19 Joseph Myers <joseph@codesourcery.com>
10696
10697 [BZ #21061]
10698 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10699
107002017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10701
10702 * elf/dl-tunables (get_next_env): Always advance envp.
10703 * stdlib/tst-empty-env.c: New test case.
10704 * stdlib/Makefile (tests): Use it.
10705
107062017-01-19 Joseph Myers <joseph@codesourcery.com>
10707
10708 [BZ #21047]
10709 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10710 name for instruction.
10711 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10712
107132017-01-18 Joseph Myers <joseph@codesourcery.com>
10714
10715 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10716 for make install.
10717
107182017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10719
10720 * po/bg.po: Merge from Translation Project.
10721 * po/fr.po: Likewise.
10722 * po/ko.po: Likewise.
10723 * po/nl.po: Likewise.
10724 * po/sv.po: Likewise.
10725
107262017-01-18 Joseph Myers <joseph@codesourcery.com>
10727
10728 * manual/install.texi (Tools for Compilation): Update GCC version
10729 known to work to build glibc.
10730 * INSTALL: Regenerated.
10731
107322017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10733
10734 [BZ #21006]
10735 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10736
107372017-01-16 Joseph Myers <joseph@codesourcery.com>
10738
10739 [BZ #21045]
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10741 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10742 to __sigprocmask.
10743
107442017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10745
10746 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10747 wrap-around.
10748 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10749
10750 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10751
107522016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10753
10754 * NEWS: Fix typo.
10755
107562016-01-13 Torvald Riegel <triegel@redhat.com>
10757
10758 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10759 barriers and comments.
10760 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10761 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10762 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10763
107642016-01-13 Torvald Riegel <triegel@redhat.com>
10765
10766 [BZ #19402]
10767 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10768 mutexes.
10769
107702016-01-13 Torvald Riegel <triegel@redhat.com>
10771
10772 [BZ #20985]
10773 * nptl/Makefile: Adapt.
10774 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10775 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10776 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10777 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10778 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10779 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10780 lll_robust* functions and adapt.
10781 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10782 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10783 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10784 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10785 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10786 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10787 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10788 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10789 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10790 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10791 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10792 * nptl/lowlevelrobustlock.c: Remove file.
10793 * nptl/lowlevelrobustlock.sym: Likewise.
10794 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10795 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10796
107972017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10798
10799 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10800
108012017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10802
10803 * po/cs.po: Merge translations from the Translation Project.
10804 * po/de.po: Likewise.
10805 * po/pl.po: Likewise.
10806 * po/ru.po: Likewise.
10807 * po/tr.po: Likewise.
10808 * po/uk.po: Likewise.
10809 * po/vi.po: Likewise.
10810 * po/zh_CN.po: Likewise.
10811
108122017-01-12 Joseph Myers <joseph@codesourcery.com>
10813
10814 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10815
10816 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10817 object.
10818
108192017-01-11 Joseph Myers <joseph@codesourcery.com>
10820
10821 [BZ #16458]
10822 * bits/uintn-identity.h: New file.
10823 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10824 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10825 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10826 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10827 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10828 * string/endian.h: Include <bits/uintn-identity.h>.
10829 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10830 __uint16_identity.
10831 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10832 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10833 __uint32_identity.
10834 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10835 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10836 __uint64_identity.
10837 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10838 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10839 __uint16_identity.
10840 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10841 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10842 __uint32_identity.
10843 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10844 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10845 __uint64_identity.
10846 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10847 * string/Makefile (headers): Add bits/uintn-identity.h.
10848 (tests): Add test-endian-types.
10849 * string/test-endian-types.c: New file.
10850 * inet/Makefile (tests): Add test-hnto-types.
10851 * inet/test-hnto-types.c: New file.
10852
108532016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10854
10855 * po/be.po: Update from Translation Project.
10856 * po/bg.po: Likewise.
10857 * po/ca.po: Likewise.
10858 * po/cs.po: Likewise.
10859 * po/da.po: Likewise.
10860 * po/de.po: Likewise.
10861 * po/el.po: Likewise.
10862 * po/eo.po: Likewise.
10863 * po/es.po: Likewise.
10864 * po/fi.po: Likewise.
10865 * po/fr.po: Likewise.
10866 * po/gl.po: Likewise.
10867 * po/hr.po: Likewise.
10868 * po/hu.po: Likewise.
10869 * po/ia.po: Likewise.
10870 * po/id.po: Likewise.
10871 * po/it.po: Likewise.
10872 * po/ja.po: Likewise.
10873 * po/ko.po: Likewise.
10874 * po/lt.po: Likewise.
10875 * po/nb.po: Likewise.
10876 * po/nl.po: Likewise.
10877 * po/pl.po: Likewise.
10878 * po/pt_BR.po: Likewise.
10879 * po/ru.po: Likewise.
10880 * po/rw.po: Likewise.
10881 * po/sk.po: Likewise.
10882 * po/sl.po: Likewise.
10883 * po/sv.po: Likewise.
10884 * po/tr.po: Likewise.
10885 * po/uk.po: Likewise.
10886 * po/vi.po: Likewise.
10887 * po/zh_CN.po: Likewise.
10888 * po/zh_TW.po: Likewise.
10889
108902017-01-11 Joseph Myers <joseph@codesourcery.com>
10891
10892 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10893 -Wformat-truncation instead of -Wformat-length.
10894 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10895 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10896 GCC 7.
10897 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10898 (do_test): Ignore -Wformat-truncation for GCC 7.
10899
10900 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10901 buffer used to print long int value.
10902
10903 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10904 one byte. Print it with %ld, cast to long int.
10905
109062017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10907
10908 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10909 (re.fullmatch, subprocess.run): Likewise.
10910
109112016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10912
10913 * po/libc.pot: Regenerate.
10914
109152016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10916
10917 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10918 (min_strlen): Likewise.
10919 (disable_tunable): Likewise.
10920 (maybe_disable_malloc_check): Rename to
10921 maybe_enable_malloc_check.
10922 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10923 if /etc/suid-debug file exists.
10924 (__tunables_init): Update caller.
10925 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10926 secure.
10927
109282016-01-10 Torvald Riegel <triegel@redhat.com>
10929
10930 * nptl/DESIGN-rwlock.txt: Remove.
10931 * nptl/lowlevelrwlock.sym: Remove.
10932 * nptl/Makefile: Add new tests.
10933 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10934 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10935 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10936 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10937 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10938 PTHREAD_RWLOCK_FUTEX_USED): New.
10939 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10940 implementation.
10941 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10942 (__pthread_rwlock_rdlock): Adapt.
10943 * nptl/pthread_rwlock_timedrdlock.c
10944 (pthread_rwlock_timedrdlock): Adapt.
10945 * nptl/pthread_rwlock_timedwrlock.c
10946 (pthread_rwlock_timedwrlock): Adapt.
10947 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10948 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10949 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10950 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10951 (__pthread_rwlock_wrlock): Adapt.
10952 * nptl/tst-rwlock10.c: Adapt.
10953 * nptl/tst-rwlock11.c: Adapt.
10954 * nptl/tst-rwlock17.c: New file.
10955 * nptl/tst-rwlock18.c: New file.
10956 * nptl/tst-rwlock19.c: New file.
10957 * nptl/tst-rwlock2b.c: New file.
10958 * nptl/tst-rwlock8.c: Adapt.
10959 * nptl/tst-rwlock9.c: Adapt.
10960 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10961 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10962 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10963 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10964 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10965 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10966 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10967 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10968 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10969 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10970 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10971 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10972 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10973 (pthread_rwlock_t): Adapt.
10974 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10975 (pthread_rwlock_t): Adapt.
10976 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10977 * nptl/nptl-printers.py (): Adapt.
10978 * nptl/nptl_lock_constants.pysym: Adapt.
10979 * nptl/test-rwlock-printers.py: Adapt.
10980 * nptl/test-rwlockattr-printers.c: Adapt.
10981 * nptl/test-rwlockattr-printers.py: Adapt.
10982
109832017-01-10 Joseph Myers <joseph@codesourcery.com>
10984
10985 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10986 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10987 (fma_test_data): Likewise.
10988 (hypot_test_data): Likewise.
10989 (log1p_test_data): Likewise.
10990 (modf_test_data): Likewise.
10991 (pow_test_data): Likewise.
10992 (remainder_test_data): Likewise.
10993 (remquo_test_data): Likewise.
10994 (scalb_test_data): Likewise.
10995 (scalbn_test_data): Likewise.
10996 (scalbln_test_data): Likewise.
10997 * math/gen-libm-test.pl (parse_args): Transform
10998 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10999 on the rounding mode.
11000
110012017-01-09 Joseph Myers <joseph@codesourcery.com>
11002
11003 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
11004 xfail-rounding:ibm128-libgcc automatically to tests overflowing
11005 and those that can underflow to zero.
11006 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
11007 add others.
11008 * math/auto-libm-test-out: Regenerated.
11009
11010 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
11011 supported.
11012 (feholdexcept_tests): Skip tests requiring exceptions or rounding
11013 modes support if not supported.
11014
11015 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
11016 Add libc.so PLT entry.
11017 (__tls_get_addr): Make ld.so PLT entry optional.
11018
110192017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11020
11021 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
11022 * string/bits/string3.h: ... here.
11023
110242017-01-05 Joseph Myers <joseph@codesourcery.com>
11025
11026 [BZ #21028]
11027 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
11028 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
11029 if EXCEPTION_TESTS returns false.
11030
110312017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11032
11033 [BZ #20558]
11034 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
11035 strings_fortified.h.
11036 [__USE_MISC] (bzero): Likewise.
11037 [__USE_MISC] (explicit_bzero): Likewise.
11038 * string/strings.h: Include strings_fortified.h.
11039 * string/Makefile (headers): Add strings_fortified.h.
11040 * string/bits/strings_fortified.h: New file.
11041 * include/bits/strings_fortified.h: Likewise.
11042
110432017-01-05 Joseph Myers <joseph@codesourcery.com>
11044
11045 * elf/tst-tls13.c (TIMEOUT): Remove.
11046 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
11047 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
11048 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
11049 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
11050 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
11051
11052 [BZ #21026]
11053 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
11054 (readahead): New syscall entry.
11055
110562017-01-04 Joseph Myers <joseph@codesourcery.com>
11057
11058 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
11059 around tests of strncat with large sizes.
11060
11061 * malloc/tst-malloc.c: Include <libc-internal.h>.
11062 (do_test): Disable -Walloc-size-larger-than= around tests of
11063 malloc with negative sizes.
11064 * malloc/tst-mcheck.c: Include <libc-internal.h>.
11065 (do_test): Disable -Walloc-size-larger-than= around tests of
11066 malloc and realloc with negative sizes.
11067 * malloc/tst-realloc.c: Include <libc-internal.h>.
11068 (do_test): Disable -Walloc-size-larger-than= around tests of
11069 realloc with negative sizes.
11070
11071 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
11072 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
11073 allowed to 16 ulps.
11074 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
11075 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
11076 * math/auto-libm-test-out: Regenerated.
11077
110782017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11079
11080 * math/Makefile (libm-calls): Move wrappers...
11081 (libm-compat-call-auto): Here.
11082 (libm-routines): Add items in libm-compat-calls-auto.
11083 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
11084 the filenames of the wrappers that have been renamed.
11085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11087
11088 * math/w_acos.c: Add _compat suffix to filename.
11089 * math/w_acosf.c: Likewise.
11090 * math/w_acosh.c: Likewise.
11091 * math/w_acoshf.c: Likewise.
11092 * math/w_acoshl.c: Likewise.
11093 * math/w_acosl.c: Likewise.
11094 * math/w_asin.c: Likewise.
11095 * math/w_asinf.c: Likewise.
11096 * math/w_asinl.c: Likewise.
11097 * math/w_atan2.c: Likewise.
11098 * math/w_atan2f.c: Likewise.
11099 * math/w_atan2l.c: Likewise.
11100 * math/w_atanh.c: Likewise.
11101 * math/w_atanhf.c: Likewise.
11102 * math/w_atanhl.c: Likewise.
11103 * math/w_cosh.c: Likewise.
11104 * math/w_coshf.c: Likewise.
11105 * math/w_coshl.c: Likewise.
11106 * math/w_exp10.c: Likewise.
11107 * math/w_exp10f.c: Likewise.
11108 * math/w_exp10l.c: Likewise.
11109 * math/w_exp2.c: Likewise.
11110 * math/w_exp2f.c: Likewise.
11111 * math/w_exp2l.c: Likewise.
11112 * math/w_fmod.c: Likewise.
11113 * math/w_fmodf.c: Likewise.
11114 * math/w_fmodl.c: Likewise.
11115 * math/w_hypot.c: Likewise.
11116 * math/w_hypotf.c: Likewise.
11117 * math/w_hypotl.c: Likewise.
11118 * math/w_j0.c: Likewise.
11119 * math/w_j0f.c: Likewise.
11120 * math/w_j0l.c: Likewise.
11121 * math/w_j1.c: Likewise.
11122 * math/w_j1f.c: Likewise.
11123 * math/w_j1l.c: Likewise.
11124 * math/w_jn.c: Likewise.
11125 * math/w_jnf.c: Likewise.
11126 * math/w_jnl.c: Likewise.
11127 * math/w_log10.c: Likewise.
11128 * math/w_log10f.c: Likewise.
11129 * math/w_log10l.c: Likewise.
11130 * math/w_log2.c: Likewise.
11131 * math/w_log2f.c: Likewise.
11132 * math/w_log2l.c: Likewise.
11133 * math/w_log.c: Likewise.
11134 * math/w_logf.c: Likewise.
11135 * math/w_logl.c: Likewise.
11136 * math/w_pow.c: Likewise.
11137 * math/w_powf.c: Likewise.
11138 * math/w_powl.c: Likewise.
11139 * math/w_remainder.c: Likewise.
11140 * math/w_remainderf.c: Likewise.
11141 * math/w_remainderl.c: Likewise.
11142 * math/w_scalb.c: Likewise.
11143 * math/w_scalbf.c: Likewise.
11144 * math/w_scalbl.c: Likewise.
11145 * math/w_sinh.c: Likewise.
11146 * math/w_sinhf.c: Likewise.
11147 * math/w_sinhl.c: Likewise.
11148 * math/w_sqrt.c: Likewise.
11149 * math/w_sqrtf.c: Likewise.
11150 * math/w_sqrtl.c: Likewise.
11151 * math/w_tgamma.c: Likewise.
11152 * math/w_tgammaf.c: Likewise.
11153 * math/w_tgammal.c: Likewise.
11154
11155 * math/w_acos_compat.c: New file copied from above and
11156 adjusted for new #includes path
11157 * math/w_acosf_compat.c: Likewise.
11158 * math/w_acosh_compat.c: Likewise.
11159 * math/w_acoshf_compat.c: Likewise.
11160 * math/w_acoshl_compat.c: Likewise.
11161 * math/w_acosl_compat.c: Likewise.
11162 * math/w_asin_compat.c: Likewise.
11163 * math/w_asinf_compat.c: Likewise.
11164 * math/w_asinl_compat.c: Likewise.
11165 * math/w_atan2_compat.c: Likewise.
11166 * math/w_atan2f_compat.c: Likewise.
11167 * math/w_atan2l_compat.c: Likewise.
11168 * math/w_atanh_compat.c: Likewise.
11169 * math/w_atanhf_compat.c: Likewise.
11170 * math/w_atanhl_compat.c: Likewise.
11171 * math/w_cosh_compat.c: Likewise.
11172 * math/w_coshf_compat.c: Likewise.
11173 * math/w_coshl_compat.c: Likewise.
11174 * math/w_exp10_compat.c: Likewise.
11175 * math/w_exp10f_compat.c: Likewise.
11176 * math/w_exp10l_compat.c: Likewise.
11177 * math/w_exp2_compat.c: Likewise.
11178 * math/w_exp2f_compat.c: Likewise.
11179 * math/w_exp2l_compat.c: Likewise.
11180 * math/w_fmod_compat.c: Likewise.
11181 * math/w_fmodf_compat.c: Likewise.
11182 * math/w_fmodl_compat.c: Likewise.
11183 * math/w_hypot_compat.c: Likewise.
11184 * math/w_hypotf_compat.c: Likewise.
11185 * math/w_hypotl_compat.c: Likewise.
11186 * math/w_j0_compat.c: Likewise.
11187 * math/w_j0f_compat.c: Likewise.
11188 * math/w_j0l_compat.c: Likewise.
11189 * math/w_j1_compat.c: Likewise.
11190 * math/w_j1f_compat.c: Likewise.
11191 * math/w_j1l_compat.c: Likewise.
11192 * math/w_jn_compat.c: Likewise.
11193 * math/w_jnf_compat.c: Likewise.
11194 * math/w_jnl_compat.c: Likewise.
11195 * math/w_log10_compat.c: Likewise.
11196 * math/w_log10f_compat.c: Likewise.
11197 * math/w_log10l_compat.c: Likewise.
11198 * math/w_log2_compat.c: Likewise.
11199 * math/w_log2f_compat.c: Likewise.
11200 * math/w_log2l_compat.c: Likewise.
11201 * math/w_log_compat.c: Likewise.
11202 * math/w_logf_compat.c: Likewise.
11203 * math/w_logl_compat.c: Likewise.
11204 * math/w_pow_compat.c: Likewise.
11205 * math/w_powf_compat.c: Likewise.
11206 * math/w_powl_compat.c: Likewise.
11207 * math/w_remainder_compat.c: Likewise.
11208 * math/w_remainderf_compat.c: Likewise.
11209 * math/w_remainderl_compat.c: Likewise.
11210 * math/w_scalb_compat.c: Likewise.
11211 * math/w_scalbf_compat.c: Likewise.
11212 * math/w_scalbl_compat.c: Likewise.
11213 * math/w_sinh_compat.c: Likewise.
11214 * math/w_sinhf_compat.c: Likewise.
11215 * math/w_sinhl_compat.c: Likewise.
11216 * math/w_sqrt_compat.c: Likewise.
11217 * math/w_sqrtf_compat.c: Likewise.
11218 * math/w_sqrtl_compat.c: Likewise.
11219 * math/w_tgamma_compat.c: Likewise.
11220 * math/w_tgammaf_compat.c: Likewise.
11221 * math/w_tgammal_compat.c: Likewise.
11222
11223 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11224 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11225 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11226 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11227 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11228 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11229 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11230 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11231 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11232 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11233 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11234 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11235 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11236 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11237 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11238 * sysdeps/ia64/fpu/w_powl.c: Likewise.
11239 * sysdeps/ia64/fpu/w_powf.c: Likewise.
11240 * sysdeps/ia64/fpu/w_pow.c: Likewise.
11241 * sysdeps/ia64/fpu/w_logl.c: Likewise.
11242 * sysdeps/ia64/fpu/w_logf.c: Likewise.
11243 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11244 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11245 * sysdeps/ia64/fpu/w_log2.c: Likewise.
11246 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11247 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11248 * sysdeps/ia64/fpu/w_log10.c: Likewise.
11249 * sysdeps/ia64/fpu/w_log.c: Likewise.
11250 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11251 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11252 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11253 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11254 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11255 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11256 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11257 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11258 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11259 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11260 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11261 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11262 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11263 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11264 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11265 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11266 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11267 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11268 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11269 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11270 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11271 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11272 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11273 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11274 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11275 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11276 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11277 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11278 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11279 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11280 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11281 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11282 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11283 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11286 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11288 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11289 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11290 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11292 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11294 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11295 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11296 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11298 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11300 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11301 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11302 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11303 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11304 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11306 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11307 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11308 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11309 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11310 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11312 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11313 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11314 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11316 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11318 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11320 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11322 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11324 Likewise.
11325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11326 Likewise.
11327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11329 Likewise.
11330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11331 Likewise.
11332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11333 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11334 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11335 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11336 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11345 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11346 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11347
11348 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11349 and adjusted for new #includes path
11350 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11351 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11352 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11353 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11354 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11355 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11356 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11357 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11358 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11359 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11360 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11361 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11362 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11363 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11364 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11365 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11366 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11367 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11368 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11369 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11370 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11371 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11372 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11373 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11374 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11375 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11376 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11377 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11378 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11379 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11380 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11381 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11382 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11383 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11384 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11385 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11386 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11387 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11388 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11389 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11390 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11391 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11392 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11393 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11394 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11395 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11396 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11397 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11398 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11399 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11400 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11401 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11402 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11403 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11404 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11405 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11406 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11407 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11408 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11409 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11410 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11411 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11412 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11413 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11414 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11415 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11416 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11417 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11418 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11419 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11420 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11421 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11422 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11423 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11424 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11425 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11426 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11427 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11428 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11429 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11430 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11431 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11432 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11433 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11434 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11435 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11436 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11437 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11438 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11439 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11440 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11441 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11442 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11443 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11444 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11445 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11446 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11447 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11448 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11450 Likewise.
11451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11452 Likewise.
11453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11454 Likewise.
11455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11456 Likewise.
11457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11458 Likewise.
11459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11460 Likewise.
11461 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11462 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11463 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11464 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11465 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11466 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11468 Likewise.
11469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11470 Likewise.
11471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11472 Likewise.
11473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11474 Likewise.
11475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11477 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11478 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11479
114802017-01-04 Joseph Myers <joseph@codesourcery.com>
11481
11482 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11483 __jmp_buf_internal_tag.
11484
11485 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11486 preserve NaN payload if [__mips_nan2008].
11487 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11488
11489 [BZ #21022]
11490 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11491
114922017-01-03 Joseph Myers <joseph@codesourcery.com>
11493
11494 * sysdeps/i386/fpu/libm-test-ulps: Update.
11495
114962017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11497
11498 * sysdeps/ia64/strcat.c: Remove file.
11499 * sysdeps/powerpc/strcat.c: Likewise.
11500 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11501 C implementation.
11502 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11503 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11504
115052017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11506 Steven Munroe <sjmunroe@us.ibm.com>
11507 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11508
11509 [BZ #20822]
11510 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11511 (__lll_lock_elision): Access adapt_count via C11 atomics.
11512 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11513 (__lll_trylock_elision): Likewise.
11514 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11515 (__lll_unlock_elision): Update adapt_count variable inside the
11516 critical section using C11 atomics.
11517
115182017-01-03 Joseph Myers <joseph@codesourcery.com>
11519
11520 * math/test-fenvinline.c (do_test): Disable tests of raised
11521 exceptions if !EXCEPTION_TESTS (FLOAT).
11522
115232017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11524
11525 [BZ #19390]
11526 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11527 maximum string size.
11528 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11529 in pointer addition.
11530 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11531 Likewise.
11532
115332017-01-03 Joseph Myers <joseph@codesourcery.com>
11534
11535 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11536 passed to tst-ldconfig-X.sh.
11537
115382017-01-03 Martin Galvan <martingalvan@sourceware.org>
11539
11540 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11541
115422017-01-02 Joseph Myers <joseph@codesourcery.com>
11543
11544 [BZ #21019]
11545 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11546 New syscall entry.
11547 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11548 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11549 lseek.
11550
11551 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11552 power4 glibc for powerpc-linux-gnu.
11553
115542017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11555
11556 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11557 semctl.
11558
115592017-01-02 Joseph Myers <joseph@codesourcery.com>
11560
11561 * math/test-nearbyint-except.c: Include <stdbool.h>.
11562 (any_supported): New variable.
11563 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11564 set any_supported.
11565 (do_test): Return 77 if no floating-point type supported
11566 exceptions.
11567
11568 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11569 condition on [__mips_hard_float].
11570
115712017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11572
11573 [BZ #21014]
11574 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11575 in pointer addition.
11576 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11577
115782017-01-02 Torvald Riegel <triegel@redhat.com>
11579
11580 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11581 new condvar.
11582
115832017-01-02 Joseph Myers <joseph@codesourcery.com>
11584
11585 * scripts/build-many-glibcs.py (Context.checkout): Default
11586 binutils version to 2.28 branch.
11587
115882017-01-01 Florian Weimer <fweimer@redhat.com>
11589
11590 * support/support_format_netent.c (support_format_netent): Work
11591 around alpha struct netent definition difference.
11592
115932017-01-01 Florian Weimer <fweimer@redhat.com>
11594
11595 * support/xwrite.c (xwrite): Use %td for pointer difference.
11596
115972017-01-01 Florian Weimer <fweimer@redhat.com>
11598
11599 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11600 have-tunables only.
11601 (tests-static): Add tst-malloc-usable-static-tunables for
11602 have-tunables only.
11603
116042017-01-01 Joseph Myers <joseph@codesourcery.com>
11605
11606 * scripts/config.guess: Update to version 2017-01-01.
11607 * scripts/config.sub: Update to version 2017-01-01.
11608
11609 * NEWS: Update copyright dates.
11610 * catgets/gencat.c (print_version): Likewise.
11611 * csu/version.c (banner): Likewise.
11612 * debug/catchsegv.sh: Likewise.
11613 * debug/pcprofiledump.c (print_version): Likewise.
11614 * debug/xtrace.sh (do_version): Likewise.
11615 * elf/ldconfig.c (print_version): Likewise.
11616 * elf/ldd.bash.in: Likewise.
11617 * elf/pldd.c (print_version): Likewise.
11618 * elf/sotruss.sh: Likewise.
11619 * elf/sprof.c (print_version): Likewise.
11620 * iconv/iconv_prog.c (print_version): Likewise.
11621 * iconv/iconvconfig.c (print_version): Likewise.
11622 * locale/programs/locale.c (print_version): Likewise.
11623 * locale/programs/localedef.c (print_version): Likewise.
11624 * login/programs/pt_chown.c (print_version): Likewise.
11625 * malloc/memusage.sh (do_version): Likewise.
11626 * malloc/memusagestat.c (print_version): Likewise.
11627 * malloc/mtrace.pl: Likewise.
11628 * manual/libc.texinfo: Likewise.
11629 * nptl/version.c (banner): Likewise.
11630 * nscd/nscd.c (print_version): Likewise.
11631 * nss/getent.c (print_version): Likewise.
11632 * nss/makedb.c (print_version): Likewise.
11633 * posix/getconf.c (main): Likewise.
11634 * scripts/test-installation.pl: Likewise.
11635 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11636
11637 * All files with FSF copyright notices: Update copyright dates
11638 using scripts/update-copyrights.
11639 * intl/plural.c: Regenerated.
11640 * locale/programs/charmap-kw.h: Likewise.
11641 * locale/programs/locfile-kw.h: Likewise.
11642
116432016-12-31 Florian Weimer <fweimer@redhat.com>
11644
11645 [BZ #20593]
11646 Update DNS RR type definitions.
11647 * scripts/gen-rrtypes.py: New file.
11648 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11649 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11650 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11651 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11652 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11653 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11654 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11655 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11656 ns_t_ta, ns_t_dlv.
11657 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11658 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11659 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11660 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11661 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11662 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11663 Define.
11664 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11665 entry for ns_t_zxfr.
11666
116672016-12-31 Florian Weimer <fweimer@redhat.com>
11668
11669 [BZ #18784]
11670 CVE-2015-5180
11671 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11672 T_UNSPEC. Adjust value.
11673 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11674 * resolv/res_query.c (__libc_res_nquery): Likewise.
11675 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11676 QTYPEs.
11677 * resolv/tst-resolv-qtypes.c: New file.
11678 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11679 (tst-resolv-qtypes): Link against libresolv and libpthread.
11680
116812016-12-31 Florian Weimer <fweimer@redhat.com>
11682
11683 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11684
116852016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11686
11687 * manual/tunables.texi: New chapter.
11688 * manual/Makefile (chapters): Add it.
11689 * manual/probes.texi (@node): Point to the Tunables chapter.
11690
11691 * Makeconfig (have-tunables): Check for non-negative instead
11692 of positive.
11693 * configure.ac: Add 'valstring' as a valid value for
11694 --enable-tunables.
11695 * configure: Regenerate.
11696 * elf/Makefile (have-tunables): Check for non-negative instead
11697 of positive.
11698 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11699 dl-tunables.c.
11700 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11701 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11702 (tunables_strdup): Likewise.
11703 (disable_tunables): Likewise.
11704 (parse_tunables): Likewise.
11705 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11706 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11707 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11708 (TUNABLES_FRONTEND_yes): New macro, define as
11709 TUNABLES_FRONTEND_valstring by default.
11710 * manual/install.texi: Document new acceptable values for
11711 --enable-tunables.
11712 * INSTALL: Regenerate.
11713
11714 * config.make.in (have-loop-to-function): Define.
11715 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11716 -fno-tree-loop-distribute-patterns.
11717 * elf/dl-tunables.c: Include libc-internals.h.
11718 (GLIBC_TUNABLES): New macro.
11719 (tunables_strdup): New function.
11720 (parse_tunables): New function.
11721 (min_strlen): New function.
11722 (__tunables_init): Use the new functions and macro.
11723 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11724 * malloc/tst-malloc-usable-tunables.c: New test case.
11725 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11726 * malloc/Makefile (tests, tests-static): Add tests.
11727
11728 * manual/install.texi: Add --enable-tunables option.
11729 * INSTALL: Regenerate.
11730 * README.tunables: New file.
11731 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11732 (before-compile): Generate dl-tunable-list.h early.
11733 * config.h.in: Add HAVE_TUNABLES.
11734 * config.make.in: Add have-tunables.
11735 * configure.ac: Add --enable-tunables option.
11736 * configure: Regenerate.
11737 * csu/init-first.c (__libc_init_first): Move
11738 __libc_init_secure earlier...
11739 * csu/init-first.c (LIBC_START_MAIN):... to here.
11740 Include dl-tunables.h, libc-internal.h.
11741 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11742 binaries.
11743 * elf/Makefile (dl-routines): Add dl-tunables.
11744 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11745 namespace.
11746 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11747 only when !HAVE_TUNABLES.
11748 * elf/rtld.c (process_envvars): Likewise.
11749 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11750 (_dl_sysdep_start): Call __tunables_init.
11751 * elf/dl-tunable-types.h: New file.
11752 * elf/dl-tunables.c: New file.
11753 * elf/dl-tunables.h: New file.
11754 * elf/dl-tunables.list: New file.
11755 * malloc/tst-malloc-usable-static.c: New test case.
11756 * malloc/Makefile (tests-static): Add it.
11757 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11758 Define TUNABLE_NAMESPACE.
11759 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11760 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11761 callback functions.
11762 (ptmalloc_init): Set tunable values.
11763 * scripts/gen-tunables.awk: New file.
11764 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11765 (_dl_sysdep_start): Call __tunables_init.
11766
117672016-12-31 Florian Weimer <fweimer@redhat.com>
11768
11769 * resolv/resolv.h (RES_BLAST): Deprecate.
11770 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11771 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11772 to RES_BLAST.
11773
117742016-12-27 Florian Weimer <fweimer@redhat.com>
11775
11776 [BZ #19582]
11777 Deprecate RES_USE_INET6.
11778 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11779 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11780 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11781 RES_USE_INET6.
11782 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11783 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11784 (_nss_nisplus_gethostbyaddr_r): Likewise.
11785 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11786 of res_use_inet6.
11787 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11788 instead of RES_USE_INET6.
11789 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11790 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11791 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11792 Likewise.
11793 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11794 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11795 Likewise.
11796 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11797 (_nss_dns_gethostbyname_r): Likewise.
11798 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11799 alternate RES_USE_INET6 handling.
11800 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11801 instead of RES_USE_INET6.
11802 * resolv/res_init.c (res_setoptions): Likewise.
11803 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11804 * resolv/resolv-internal.h: New file.
11805 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11806 make the deprecation warning non-fatal.
11807 * resolv/README (Using the resolver in multi-threaded code): Drop
11808 reference to RES_USE_INET6.
11809 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11810 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11811
118122016-12-31 Florian Weimer <fweimer@redhat.com>
11813
11814 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11815 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11816 tst-resolv-search.
11817 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11818 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11819 with libresolv and libpthread.
11820 * resolv/tst-bug18665.c: New file.
11821 * resolv/tst-bug18665-tcp: Likewise.
11822 * resolv/tst-res_use_inet6: Likewise.
11823 * resolv/tst-resolv-basic: Likewise.
11824 * resolv/tst-resolv-network: Likewise.
11825 * resolv/tst-resolv-search: Likewise.
11826 * support/Makefile (libsupport-routines): Add check_addrinfo,
11827 check_dns_packet, check_hostent, check_netent, resolv_test,
11828 support_format_address_family, support_format_addrinfo,
11829 support_format_dns_packet, support_format_herrno,
11830 support_format_hostent, support_format_netent, support_run_diff,
11831 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11832 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11833 xstrdup, xwrite.
11834 * support/check_addrinfo.c: New file.
11835 * support/check_dns_packet.c: Likewise.
11836 * support/check_hostent.c: Likewise.
11837 * support/check_netent.c: Likewise.
11838 * support/check_nss.h: Likewise.
11839 * support/format_nss.h: Likewise.
11840 * support/resolv_test.c: Likewise.
11841 * support/resolv_test.h: Likewise.
11842 * support/run_diff.h: Likewise.
11843 * support/support_format_address_family.c: Likewise.
11844 * support/support_format_addrinfo.c: Likewise.
11845 * support/support_format_dns_packet.c: Likewise.
11846 * support/support_format_herrno.c: Likewise.
11847 * support/support_format_hostent.c: Likewise.
11848 * support/support_format_netent.c: Likewise.
11849 * support/support_run_diff.c: Likewise.
11850 * support/xaccept.c: Likewise.
11851 * support/xbind.c: Likewise.
11852 * support/xconnect.c: Likewise.
11853 * support/xfclose.c: Likewise.
11854 * support/xfopen.c: Likewise.
11855 * support/xgetsockname.c: Likewise.
11856 * support/xlisten.c: Likewise.
11857 * support/xmemstream.c: Likewise.
11858 * support/xmemstream.h: Likewise.
11859 * support/xpoll.c: Likewise.
11860 * support/xpthread_once.c: Likewise.
11861 * support/xrecvfrom.c: Likewise.
11862 * support/xsendto.c: Likewise.
11863 * support/xsetsockopt.c: Likewise.
11864 * support/xstdio.h: Likewise.
11865 * support/xstrdup.c: Likewise.
11866 * support/support.h (xstrdup): Declare.
11867 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11868 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11869 * support/xthread.h (xpthread_once): Likwise.
11870 * support/xunistd.h (xwrite): Declare.
11871
118722016-12-31 Florian Weimer <fweimer@redhat.com>
11873
11874 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11875 (test_verbose): Declare.
11876 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11877 * support/support_test_main.c (default_options): Likewise.
11878 (usage, support_test_main): Handle 'v'.
11879 (test_verbose): Define.
11880 * support/tst-support_record_failure.c (do_test): Use
11881 test_verbose.
11882 * support/tst-support_record_failure-2.sh (different_status): Add
11883 --verbose test.
11884
118852016-12-31 Florian Weimer <fweimer@redhat.com>
11886
11887 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11888 test failures are recorded.
11889 * support/check.c (support_print_failure_impl): Call
11890 support_record_failure.
11891 (support_exit_failure_impl): Call support_record_failure if status
11892 indicates failure.
11893 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11894 * support/xasprintf.c (xasprintf): Likewise.
11895 * support/xfork.c (xfork): Likewise.
11896 * support/xpthread_check_return.c (xpthread_check_return):
11897 Likewise.
11898 * support/xsocket.c (xsocket): Likeweise.
11899 * support/xwaitpid.c (xwaitpid): Likewise.
11900 * support/support_record_failure.c (struct test_failures): Adjust
11901 to coding style.
11902 * support/support_test_verify_impl.c (support_test_verify_impl):
11903 Adjust error messages.
11904 * support/tst-support_record_failure-2.sh (different_status):
11905 Adjust error messages.
11906
119072016-12-31 Florian Weimer <fweimer@redhat.com>
11908
11909 * support/namespace.h: New file.
11910 * support/support_become_root.c: Likewise.
11911 * support/support_enter_network_namespace.c: Likewise.
11912 * support/tst-support-namespace.c: Likewise.
11913 * support/xsocket.c: Likewise.
11914 * support/xsocket.h: Likewise.
11915 * support/Makefile (libsupport-routines): Add support_become_root,
11916 support_enter_network_namespace, xsocket.
11917 (tests): Add tst-support-namespace.
11918
119192016-12-31 Florian Weimer <fweimer@redhat.com>
11920
11921 [BZ #17252]
11922 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11923 __USE_GNU.
11924
119252016-12-31 Torvald Riegel <triegel@redhat.com>
11926
11927 [BZ #13165]
11928 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11929 use new algorithm.
11930 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11931 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11932 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11933 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11934 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11935 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11936 __condvar_cleanup_waiting, __condvar_dec_grefs,
11937 __pthread_cond_wait_common): New.
11938 (__condvar_cleanup): Remove.
11939 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11940 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11941 Likewise.
11942 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11943 Likewise.
11944 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11945 * nptl/tst-cond1.c: Add comment.
11946 * nptl/tst-cond20.c (do_test): Adapt.
11947 * nptl/tst-cond22.c (do_test): Likewise.
11948 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11949 structure.
11950 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11951 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11952 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11953 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11954 Likewise.
11955 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11956 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11957 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11958 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11959 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11960 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11961 Likewise.
11962 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11963 Likewise.
11964 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11965 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11966 (COND_CLOCK_BITS): Adapt.
11967 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11968 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11969 __PTHREAD_COND_SHARED_MASK): New.
11970 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11971 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11972 * nptl/nptl_lock_constants.pysym: Adapt.
11973 * nptl/test-cond-printers.py: Adapt.
11974 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11975 cond_compat_check_and_clear): Adapt.
11976 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11977 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11978 (__pthread_cond_timedwait): ... and move here.
11979 * nptl/DESIGN-condvar.txt: Remove file.
11980 * nptl/lowlevelcond.sym: Likewise.
11981 * nptl/pthread_cond_timedwait.c: Likewise.
11982 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11983 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11984 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11985 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11986 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11987 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11988 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11989 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11990 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11991 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11992 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11993 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11994 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11995 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11996 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11997 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11998
119992016-12-31 Joseph Myers <joseph@codesourcery.com>
12000
12001 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12002 (fromfp): New declaration.
12003 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
12004 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
12005 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
12006 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
12007 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
12008 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
12009 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
12010 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
12011 * math/math.h: Include <bits/types.h>.
12012 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
12013 constant and macro.
12014 (FP_INT_DOWNWARD): Likewise.
12015 (FP_INT_TOWARDZERO): Likewise.
12016 (FP_INT_TONEARESTFROMZERO): Likewise.
12017 (FP_INT_TONEAREST): Likewise.
12018 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
12019 (fromfpf): Likewise.
12020 (fromfpl): Likewise.
12021 (ufromfp): Likewise.
12022 (ufromfpf): Likewise.
12023 (ufromfpl): Likewise.
12024 (fromfpx): Likewise.
12025 (fromfpxf): Likewise.
12026 (fromfpxl): Likewise.
12027 (ufromfpx): Likewise.
12028 (ufromfpxf): Likewise.
12029 (ufromfpxl): Likewise.
12030 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
12031 s_fromfpxF and s_ufromfpxF.
12032 * math/gen-fromfp-tests.py: New file.
12033 * math/gen-fromfp-tests-inputs: Likewise.
12034 * math/libm-test.inc: Include <stdint.h>
12035 (check_intmax_t): New function.
12036 (check_uintmax_t): Likewise.
12037 (struct test_fiu_M_data): New type.
12038 (struct test_fiu_U_data): Likewise.
12039 (RUN_TEST_fiu_M): New macro.
12040 (RUN_TEST_LOOP_fiu_M): Likewise.
12041 (RUN_TEST_fiu_U): Likewise.
12042 (RUN_TEST_LOOP_fiu_U): Likewise.
12043 (fromfp_test_data): New array.
12044 (fromfp_test): New function.
12045 (fromfpx_test_data): New array.
12046 (fromfpx_test): New function.
12047 (ufromfp_test_data): New array.
12048 (ufromfp_test): New function.
12049 (ufromfpx_test_data): New array.
12050 (ufromfpx_test): New function.
12051 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
12052 ufromfpx_test.
12053 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
12054 characters.
12055 * math/test-tgmath-ret.c: Include <stdint.h>.
12056 (rm): New variable.
12057 (width): Likewise.
12058 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
12059 called function.
12060 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
12061 CHECK_RET_CONST_TYPE.
12062 (CHECK_RET_CONST_DOUBLE): Likewise.
12063 (CHECK_RET_CONST_LDOUBLE): Likewise.
12064 (CHECK_RET_CONST): Take extra arguments and pass them to calls
12065 macros.
12066 (fromfp): New CHECK_RET_CONST call.
12067 (ufromfp): Likewise.
12068 (fromfpx): Likewise.
12069 (ufromfpx): Likewise.
12070 (do_test): Call check_return_fromfp, check_return_ufromfp,
12071 check_return_fromfpx and check_return_ufromfpx.
12072 * math/test-tgmath.c: Include <stdint.h>
12073 (NCALLS): Increase to 138.
12074 (F(compile_test)): Initialize i. Call fromfp functions.
12075 (F(fromfp)): New function.
12076 (F(fromfpx)): Likewise.
12077 (F(ufromfp)): Likewise.
12078 (F(ufromfpx)): Likewise.
12079 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
12080 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
12081 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
12082 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
12083 ufromfpxl.
12084 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
12085 ufromfp and ufromfpx.
12086 * math/fromfp.h: New file.
12087 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
12088 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
12091 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
12092 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
12093 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
12094 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
12095 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
12096 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
12099 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
12100 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
12102 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
12103 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
12104 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
12105 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
12107 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
12108 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
12109 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
12110 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
12113 ufromfp, fromfpx and ufromfpx.
12114 (CFLAGS-nldbl-fromfp.c): New variable.
12115 (CFLAGS-nldbl-fromfpx.c): Likewise.
12116 (CFLAGS-nldbl-ufromfp.c): Likewise.
12117 (CFLAGS-nldbl-ufromfpx.c): Likewise.
12118 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
12119 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
12120 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
12121 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
12122 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
12123 * sysdeps/nacl/libm.abilist: Update.
12124 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12137 Likewise.
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12139 Likewise.
12140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12141 Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12143 Likewise.
12144 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12150 Likewise.
12151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12152 Likewise.
12153 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12156
121572016-12-30 Florian Weimer <fweimer@redhat.com>
12158
12159 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
12160 compat-gethnamaddr.
12161 (CPPFLAGS): Remove.
12162 * resolv/gethnamaddr.c: Rename ...
12163 * resolv/compat-gethnamaddr.c: ... to this file.
12164 (_endhtent): Make static.
12165 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
12166 symbol.
12167 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
12168 compat symbol.
12169 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
12170 symbol.
12171 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
12172 Turn into compat symbol.
12173 * include/resolv.h (_endhtent): Remove declaration.
12174
121752016-12-30 Joseph Myers <joseph@codesourcery.com>
12176
12177 * bits/types.h (__intmax_t): New typedef.
12178 (__uintmax_t): Likewise.
12179 * sysdeps/generic/stdint.h: Include <bits/types.h>.
12180 (intmax_t): Define using __intmax_t.
12181 (uintmax_t): Define using __uintmax_t.
12182
12183 * support/Makefile (tests-special): Make definition conditional on
12184 [$(run-built-tests) = yes].
12185 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12186 on [$(run-built-tests) = yes].
12187
121882016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
12189
12190 * Rules (tests): Add tests-printers-programs to tests to be
12191 built.
12192
121932016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12194
12195 * sysvipc/Makefile (tests): Add test-sysvshm.
12196 * sysvipc/test-sysvshm.c: New file.
12197
12198 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12199 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12200 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12201 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12202 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12203 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12204 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12205 Likewise.
12206 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12207 Likewise.
12208 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12209 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12210 is defined.
12211
12212 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12213 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12214 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12215 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12216 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12217 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12218 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12219 Likewise.
12220 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12221 Likewise.
12222 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12223 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12224 defined.
12225
12226 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12227 oldshmctl.
12228 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12229 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12230 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12231 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12232 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12233 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12234 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12235 Likewise.
12236 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12237 Likewise.
12238 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12239 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12240 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12241 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12242 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12243 implementation.
12244 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12245 if it is defined.
12246
12247 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12248 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12249 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12250 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12251 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12252 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12253 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12254 Likewise.
12255 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12256 Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12258 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12259 Define to __NR_osf_shmat.
12260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12261 defined.
12262
12263 * sysvipc/Makefile (tests): Add test-sysvsem.
12264 * sysvipc/test-sysvsem.c: New file.
12265
12266 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12267 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12268 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12269 Likewise.
12270 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12271 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12272 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12273 Likewise.
12274 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12275 Likewise.
12276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12277 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12278 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12279 add a comment about s390 syscall difference from default one.
12280 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12281 syscall if it is defined.
12282
12283 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12284 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12285 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12286 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12287 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12288 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12289 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12290 Likewise.
12291 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12292 Likewise.
12293 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12294 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12295 defined.
12296
12297 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12298 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12299 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12300 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12301 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12302 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12303 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12304 Likewise.
12305 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12306 Likewise.
12307 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12308 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12309 if it is defined.
12310
12311 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12312 oldsemctl.
12313 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12314 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12315 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12316 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12317 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12318 implementation.
12319 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12320 syscall if it is defined.
12321 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12322 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12323 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12324 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12325 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12326 Likewise.
12327 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12328
12329 * sysvipc/Makefile (tests): Add test-sysvmsg.
12330 * sysvipc/test-sysvmsg.c: New file.
12331 * support/check.h (FAIL_UNSUPPORTED): New define.
12332
12333 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12334 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12335 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12336 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12337 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12338 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12339 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12340 Likewise.
12341 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12342 Likewise.
12343 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12344 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12345 define.
12346
12347 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12348 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12349 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12350 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12351 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12352 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12353 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12354 Likewise.
12355 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12356 Likewise.
12357 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12358 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12359 if defined.
12360
12361 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12362 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12363 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12364 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12365 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12366 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12367 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12368 Likewise.
12369 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12370 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12371 Likewise.
12372 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12373 if defined.
12374 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12375
12376 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12377 oldmsgctl.
12378 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12379 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12380 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12381 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12382 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12383 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12384 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12388 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12389 implementation.
12390 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12391 if defined.
12392
12393 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12394 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12395 definition and define its own.
12396 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12397 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12398 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12399 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12400 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12401 definitions to common header.
12402 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12403 operation from ipc_ops.h.
12404
12405 * sysdeps/unix/sysv/linux/kernel-features.h
12406 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12407 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12408 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12410 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12411 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12412 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12414 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12415 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12416 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12417 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12418 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12419 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12420 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12421
124222016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12423
12424 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12425 overflow in pointer addition.
12426
124272016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12428
12429 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12430 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12432 (strchr): Add __strchr_power8 to list of strchr functions.
12433 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12434 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12435 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12436 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12437 (strchr): Add __strchr_power8 to ifunc list.
12438 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12439 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12440 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12441 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12442
124432016-12-28 Florian Weimer <fweimer@redhat.com>
12444
12445 * support/Makefile (libsupport-routines): Add
12446 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12447 (tests): Add tst-support_record_failure.
12448 (tests-special): tst-support_record_failure-2.
12449 (tst-support_record_failure-2.out): Depend on
12450 tst-support_record_failure-2.sh and tst-support_record_failure.
12451 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12452 (support_test_verify_impl, support_record_failure)
12453 (support_report_failure, support_report_failure_reset): Declare.
12454 * support/support_test_main.c (adjust_exit_status): New function.
12455 (support_test_main): Call it to incorporate record test failures.
12456 * support/support_test_verify_impl.c: New file.
12457 * support/support_record_failure.c: Likewise.
12458 * support/tst-support_record_failure.c: Likewise.
12459 * support/tst-support_record_failure-2.sh: Likewise.
12460 * support/xunistd.h: Likewise.
12461 * support/xfork.c: Likewise.
12462 * support/xwaitpid.c: Likewise.
12463
124642016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12465
12466 * scripts/check-c++-types.sh: Add comments.
12467
124682016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12469
12470 [BZ #19514]
12471 * resolv/res_send.c: Fix typo in comment.
12472 * sysdeps/i386/i386-mcount.S: Likewise.
12473 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12474 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12475 * sysdeps/sparc/sparc-mcount.S: Likewise.
12476
124772016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12478
12479 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12480 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12481 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12482 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12483 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12484 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12485 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12486 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12487
124882016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12489
12490 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12491
124922016-12-27 Florian Weimer <fweimer@redhat.com>
12493
12494 [BZ #17252]
12495 * posix/unistd.h (getentropy): Declare.
12496
124972016-12-27 Florian Weimer <fweimer@redhat.com>
12498
12499 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12500 Remove.
12501 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12502 (cmd): Remove spoof, nospoof, spoofalert.
12503 (parse_line): Ignore spoof-related lines.
12504 (do_init): Do not process RESOLV_SPOOF_CHECK.
12505
125062016-12-27 Florian Weimer <fweimer@redhat.com>
12507
12508 [BZ #20964]
12509 sunrpc: Always obtain AF_INET addresses from NSS.
12510 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12511 * sunrpc/rpc_gethostbyname.c: New file.
12512 * sunrpc/Makefile (routines): Add it.
12513 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12514 * sunrpc/clnt_simp.c (callrpc): Likewise.
12515 * sunrpc/getrpcport.c (getrpcport): Likewise.
12516
125172016-12-27 Florian Weimer <fweimer@redhat.com>
12518
12519 * sunrpc/rpcinfo.c: Remove.
12520 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12521
125222016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12523
12524 [BZ #19387]
12525 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12526 addition.
12527 * string/test-memchr.c (do_test): Remove alignment limitation.
12528 (test_main): Add test that trigger BZ #19387.
12529
125302016-12-26 Nick Alcock <nick.alcock@oracle.com>
12531
12532 [BZ #7065]
12533 Enable stack protectore if requested by ./configure.
12534 * Makeconfig (+stack-protector): New variable.
12535 (+cflags): Use it.
12536
125372016-12-26 Nick Alcock <nick.alcock@oracle.com>
12538
12539 [BZ #7065]
12540 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12542 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12544 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12545
125462016-12-26 Nick Alcock <nick.alcock@oracle.com>
12547
12548 [BZ #7065]
12549 * login/Makefile (pt_chown-cflags): Remove.
12550 * nscd/Makefile (CFLAGS-nscd): Likewise.
12551 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12552
125532016-12-26 Nick Alcock <nick.alcock@oracle.com>
12554
12555 [BZ #7065]
12556 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12557 non-libc-linking testcase.
12558
125592016-12-26 Nick Alcock <nick.alcock@oracle.com>
12560 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12561 Florian Weimer <fweimer@redhat.com>
12562
12563 [BZ #7065]
12564 PLT avoidance for __stack_chk_fail*.
12565 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12566 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12567 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12568 __stack_chk_fail_local alias.
12569 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12570 (__stack_chk_fail): Turn into hidden reference to
12571 __stack_chk_fail_local.
12572
125732016-12-26 Nick Alcock <nick.alcock@oracle.com>
12574
12575 [BZ #7065]
12576 * configure.ac: Add check for unsupported stack-protection level.
12577 (libc_cv_predef_stack_protector): Remove.
12578 (no_ssp): New variable.
12579 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12580 (stack_protector): Set to -fno-stack-protector similarly.
12581 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12582 (libc_cv_asm_set_directive): Likewise.
12583 (libc_cv_protected_data): Likewise.
12584 (libc_cv_z_combreloc): Likewise.
12585 (libc_cv_hashstyle): Likewise.
12586 (libc_cv_has_glob_dat): Likewise.
12587 (libc_cv_output_format): Likewise.
12588 (libc_cv_output_format): Likewise.
12589 (libc_cv_ehdr_start): Likewise.
12590 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12591 (LIBC_LINKER_FEATURE): Likewise.
12592 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12593
125942016-12-26 Nick Alcock <nick.alcock@oracle.com>
12595
12596 [BZ #7065]
12597 * elf/Makefile (dummy-stack-chk-fail): New.
12598 (librtld.map): Use it.
12599
126002016-12-26 Nick Alcock <nick.alcock@oracle.com>
12601
12602 [BZ #7065]
12603 Compile the dynamic linker without stack protection.
12604 * elf/Makefile (elide-stack-protector): New.
12605 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12606 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12607 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12608 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12609
126102016-12-26 Nick Alcock <nick.alcock@oracle.com>
12611
12612 [BZ #7065]
12613 * config.make.in (have-ssp, no-stack-protector): New.
12614 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12615 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12616 (CFLAGS-sbrk.op): Likewise.
12617 (CFLAGS-brk.o): Likewise.
12618 (CFLAGS-brk.op): Likewise.
12619 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12620 (CFLAGS-wordcopy.c): Likewise.
12621
126222016-12-26 Nick Alcock <nick.alcock@oracle.com>
12623
12624 [BZ #7065]
12625 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12626 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12627 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12628 (__ifunc_resolver): Use it.
12629 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12630 inhibit_stack_protector.
12631 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12632 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12633 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12634 (foo_protected_ifunc): Likewise.
12635 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12636 (foo_protected_ifunc): Likewise.
12637 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12638 * sysdeps/nacl/nacl_interface_query.c
12639 (nacl_interface_query_ifunc): Likewise.
12640 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12641 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12642 Likewise.
12643 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12644 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12645 the generated vDSO syscall resolver.
12646
126472016-12-26 Nick Alcock <nick.alcock@oracle.com>
12648 Florian Weimer <fweimer@redhat.com>
12649
12650 [BZ #7065]
12651 Initialize the stack guard earlier when linking statically.
12652 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12653 (__pthread_initialize_minimal): Declare.
12654 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12655 declaration.
12656 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12657 stack canary and apply_irel initialization up. Call
12658 __pthread_initialize_minimal only if linked in.
12659 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12660 constant values.
12661 (__pthread_initialize_minimal): Remove.
12662 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12663 (__pthread_initialize_minimal_internal): Do not call
12664 __libc_setup_tls.
12665
126662016-12-26 Nick Alcock <nick.alcock@oracle.com>
12667
12668 [BZ #7065]
12669 * configure.ac (libc_cv_ssp): Move up.
12670 (libc_cv_ssp_strong): Likewise.
12671 (libc_cv_ssp_all): New.
12672 (stack_protector): Augment, adding -fstack-protector-all.
12673 (no_stack_protector): New.
12674 (STACK_PROTECTOR_LEVEL): New.
12675 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12676 * manual/install.texi (--enable-stack-protector): Document it.
12677 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12678
126792016-12-24 Carlos O'Donell <carlos@redhat.com>
12680
12681 * README.pretty-printers: Must specify CPPFLAGS-* also.
12682 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12683 (CPPFLAGS-test-mutex-printers.c): Define.
12684 (CPPFLAGS-test-condattr-printers.c): Define.
12685 (CPPFLAGS-test-cond-printers.c): Define.
12686 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12687 (CPPFLAGS-test-rwlock-printers.c): Define.
12688
12689 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12690 (tests): Add tst-cancel-getpwuid_r.
12691 * nss/tst-cancel-getpwuid_r.c: New file.
12692
12693 [BZ #11941]
12694 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12695 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12696 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12697 tst-nodelete-dlclose.
12698 (modules-names): Add tst-nodelete-dlclose-dso and
12699 tst-nodelete-dlclose-plugin.
12700 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12701 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12702 ($(objpfx)tst-nodelete-dlclose): Define.
12703 ($(objpfx)tst-nodelete-dlclose.out): Define.
12704
127052016-12-23 Florian Weimer <fweimer@redhat.com>
12706
12707 * scripts/test_printers_common.py: Log GDB output in case of
12708 Python detection failure.
12709
127102016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12711
12712 * configure.ac: Check for python3 or python.
12713 * configure: Regenerated.
12714 * config.make.in (PYTHON): New variable.
12715 * benchtests/Makefile: Don't define PYTHON.
12716 (bench): Define target only if PYTHON was defined.
12717 * Rules: Don't define PYTHON.
12718 Define pretty printer targets only if PYTHON was defined.
12719 (tests-printers): Add to tests-unsupported if PYTHON is not
12720 found.
12721 (python-flags, python-invoke): Remove.
12722 (tests-printers-out): Use PYTHON instead of python-invoke.
12723
127242016-12-21 Joseph Myers <joseph@codesourcery.com>
12725
12726 [BZ #20978]
12727 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12728 Compare name == NULL, not name != NULL.
12729
12730 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12731 trailing whitespace removed.
12732 * scripts/config.guess: Update to version 2016-10-02.
12733 * scripts/config.sub: Update to version 2016-11-19.
12734 * scripts/install-sh: Update to version 2016-01-11.22.
12735 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12736 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12737
127382015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12739
12740 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12741 (do_one_test) Restore original string so iteration works.
12742 * string/string-inlines.c (do_test): Create better input strings.
12743 (test_main) Reduce number of testruns.
12744 * string/string-inlines.c (__old_strsep_1c): New function.
12745 (__old_strsep_2c): Likewise.
12746 (__old_strsep_3c): Likewise.
12747 * string/strsep.c (__strsep): Remove case of small delim string.
12748 Call strcspn directly rather than strpbrk.
12749 * string/bits/string2.h (__strsep): Remove define.
12750 (__strsep_1c): Remove.
12751 (__strsep_2c): Remove.
12752 (__strsep_3c): Remove.
12753 (strsep): Remove.
12754 * sysdeps/unix/sysv/linux/internal_statvfs.c
12755 (__statvfs_getflags): Rename to __strsep.
12756
127572016-12-21 Florian Weimer <fweimer@redhat.com>
12758
12759 * csu/libc-tls.c (_dl_tls_setup): Remove.
12760 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12761 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12762 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12763
127642016-12-21 Nick Alcock <nick.alcock@oracle.com>
12765
12766 [BZ #7065]
12767 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12768 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12769
127702016-12-21 Nick Alcock <nick.alcock@oracle.com>
12771 Florian Weimer <fweimer@redhat.com>
12772
12773 [BZ #7065]
12774 * csu/Makefile (tests): Empty assignment and document it.
12775 (tests-static): Remove.
12776 * csu/tst-empty.c: Move to...
12777 * misc/tst-empty.c: ... here. Switch to new test driver.
12778 * csu/tst-atomic.c: Move to...
12779 * misc/tst-atomic.c: ... here. Switch to new test driver.
12780 * csu/tst-atomic-long.c: Move to...
12781 * misc/tst-atomic-long.c: ... here.
12782 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12783 tst-atomic-long.
12784 (tests-static): Add tst-empty.
12785
127862016-12-21 Rical Jasan <ricaljasan@pacific.net>
12787
12788 * manual/nss.texi: Change incorrect @vtable to @table.
12789 * manual/arith.texi: Convert @tables of variables to @vtables
12790 and remove unnecessary indexing.
12791 * manual/filesys.texi: Likewise.
12792 * manual/llio.texi: Likewise.
12793 * manual/memory.texi: Likewise.
12794 * manual/process.texi: Likewise.
12795 * manual/resource.texi: Likewise.
12796 * manual/search.texi: Likewise.
12797 * manual/signal.texi: Likewise.
12798 * manual/socket.texi: Likewise.
12799 * manual/stdio.texi: Likewise.
12800 * manual/sysinfo.texi: Likewise.
12801 * manual/syslog.texi: Likewise.
12802 * manual/terminal.texi: Likewise.
12803 * manual/time.texi: Likewise.
12804 * manual/users.texi: Likewise.
12805
128062016-12-21 Joseph Myers <joseph@codesourcery.com>
12807
12808 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12809 (roundeven): New declaration.
12810 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12811 macro.
12812 * math/Versions (roundeven): New libm symbol at version
12813 GLIBC_2.25.
12814 (roundevenf): Likewise.
12815 (roundevenl): Likewise.
12816 * math/Makefile (libm-calls): Add s_roundevenF.
12817 * math/libm-test.inc (roundeven_test_data): New array.
12818 (roundeven_test): New function.
12819 (main): Call roundeven_test.
12820 * math/test-tgmath.c (NCALLS): Increase to 134.
12821 (F(compile_test)): Call roundeven.
12822 (F(roundeven)): New function.
12823 * manual/arith.texi (Rounding Functions): Document roundeven,
12824 roundevenf and roundevenl.
12825 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12826 * include/math.h (roundeven): Use libm_hidden_proto.
12827 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12828 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12829 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12834 roundeven.
12835 (CFLAGS-nldbl-roundeven.c): New variable.
12836 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12837 * sysdeps/nacl/libm.abilist: Update.
12838 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12851 Likewise.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12853 Likewise.
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12855 Likewise.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12857 Likewise.
12858 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12859 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12864 Likewise.
12865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12866 Likewise.
12867 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12870
128712016-12-20 Joseph Myers <joseph@codesourcery.com>
12872
12873 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12874 preprocessor indentation inside #if.
12875
128762016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12877
12878 * math/libm-test.inc (fmt_ftostr): New function.
12879 (print_float, check_float_internal): Replace some uses of
12880 FTOSTR with uses of fmt_ftostr.
12881 (print_max_error, print_complex_max_error, print_function_ulps)
12882 (print_complex_function_ulps): Remove uses of the macros
12883 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12884 * math/test-double.h (FTOSTR): Define to strfromd.
12885 (PRINTF_EXPR): Delete.
12886 (PRINTF_XEXPR): Likewise.
12887 (PRINTF_NEXPR): Likewise.
12888 * math/test-float.h (FTOSTR): Define to strfromf.
12889 (PRINTF_EXPR): Delete.
12890 (PRINTF_XEXPR): Likewise.
12891 (PRINTF_NEXPR): Likewise.
12892 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12893 (PRINTF_EXPR): Delete.
12894 (PRINTF_XEXPR): Likewise.
12895 (PRINTF_NEXPR): Likewise.
12896
128972016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12898
12899 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12900 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12901 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12902 (__lll_lock_elision): Decrement adapt_count while unlocking
12903 instead of before locking.
12904 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12905 (__lll_trylock_elision): Likewise.
12906 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12907 (__lll_unlock_elision): Likewise.
12908
129092016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12910
12911 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12912 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12913 Use __libc_tbegin_retry macro.
12914
129152016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12916
12917 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12918 Add -msoft-float.
12919 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12920 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12921 Use __libc_t* transaction macros instead of __builtin_t*.
12922 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12923 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12924
129252016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12926
12927 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12928 (__lll_lock_elision): Use atomics to load / store adapt_count.
12929 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12930 (__lll_trylock_elision): Likewise.
12931
129322016-12-20 Florian Weimer <fweimer@redhat.com>
12933
12934 Do not require memset elimination in explicit_bzero test.
12935 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12936 (enum test_expectation): Add NO_EXPECTATIONS.
12937 (subtests): NO_EXPECTATIONS for ordinary clear.
12938 (check_test_buffer): Handle NO_EXPECTATIONS.
12939 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12940
129412016-12-20 Joseph Myers <joseph@codesourcery.com>
12942
12943 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12944 (fmaxmag): New declaration.
12945 (fminmag): Likewise.
12946 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12947 macro.
12948 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12949 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12950 (fmaxmagf): Likewise.
12951 (fmaxmagl): Likewise.
12952 (fminmag): Likewise.
12953 (fminmagf): Likewise.
12954 (fminmagl): Likewise.
12955 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12956 * math/s_fmaxmag_template.c: New file.
12957 * math/s_fminmag_template.c: Likewise.
12958 * math/libm-test.inc (fmaxmag_test_data): New array.
12959 (fmaxmag_test): New function.
12960 (fminmag_test_data): New array.
12961 (fminmag_test): New function.
12962 (main): Call fmaxmag_test and fminmag_test.
12963 * math/test-tgmath.c (NCALLS): Increase to 132.
12964 (F(compile_test)): Call fmaxmag and fminmag.
12965 (F(fminmag)): New function.
12966 (F(fmaxmag)): Likewise.
12967 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12968 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12969 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12970 fminmag.
12971 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12972 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12973 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12976 and fminmag.
12977 (CFLAGS-nldbl-fmaxmag.c): New variable.
12978 (CFLAGS-nldbl-fminmag.c): Likewise.
12979 * sysdeps/nacl/libm.abilist: Update.
12980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12981 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12982 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12993 Likewise.
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12995 Likewise.
12996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12997 Likewise.
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12999 Likewise.
13000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13006 Likewise.
13007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13008 Likewise.
13009 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13012
130132016-12-19 Torvald Riegel <triegel@redhat.com>
13014
13015 [BZ #20973]
13016 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
13017 wake-up in robust mutexes.
13018 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13019
130202016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13021
13022 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
13023 (CFLAGS-bench-fmaxf.c): New rule.
13024 (CFLAGS-bench-fminf.c): Likewise.
13025 * benchtests/fmaxf-inputs: New file.
13026 * benchtests/fminf-inputs: Likewise.
13027
13028 * benchtests/Makefile (bench-math): Add fmin and fmax.
13029 (CFLAGS-bench-fmax.c): New rule.
13030 (CFLAGS-bench-fmin.c): Likewise.
13031 * benchtests/fmax-inputs: New file.
13032 * benchtests/fmin-inputs: Likewise.
13033
13034 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
13035 parenthesis.
13036 (CMDLINE_PROCESS): Define using function instead of macro.
13037 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
13038 of test-skeleton.
13039 * benchtests/bench-memchr.c: Likewise.
13040 * benchtests/bench-memcmp.c: Likewise.
13041 * benchtests/bench-memcpy-large.c: Likewise.
13042 * benchtests/bench-memcpy.c: Likewise.
13043 * benchtests/bench-memmem.c: Likewise.
13044 * benchtests/bench-memmove-large.c: Likewise.
13045 * benchtests/bench-memmove.c: Likewise.
13046 * benchtests/bench-memset-large.c: Likewise.
13047 * benchtests/bench-memset.c: Likewise.
13048 * benchtests/bench-rawmemchr.c: Likewise.
13049 * benchtests/bench-strcasecmp.c: Likewise.
13050 * benchtests/bench-strcasestr.c: Likewise.
13051 * benchtests/bench-strcat.c: Likewise.
13052 * benchtests/bench-strchr.c: Likewise.
13053 * benchtests/bench-strcmp.c: Likewise.
13054 * benchtests/bench-strcpy.c: Likewise.
13055 * benchtests/bench-strcpy_chk.c: Likewise.
13056 * benchtests/bench-strlen.c: Likewise.
13057 * benchtests/bench-strncasecmp.c: Likewise.
13058 * benchtests/bench-strncmp.c: Likewise.
13059 * benchtests/bench-strncpy.c: Likewise.
13060 * benchtests/bench-strnlen.c: Likewise.
13061 * benchtests/bench-strpbrk.c: Likewise.
13062 * benchtests/bench-strrchr.c: Likewise.
13063 * benchtests/bench-strsep.c: Likewise.
13064 * benchtests/bench-strspn.c: Likewise.
13065 * benchtests/bench-strstr.c: Likewise.
13066 * benchtests/bench-strtok.c: Likewise.
13067
130682016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
13069
13070 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
13071 stepping identification.
13072 (init_cpu_features): Add handle of Haswell.
13073
130742016-11-25 Jim Meyering <meyering@fb.com>
13075
13076 [BZ #20386]
13077 Let gcc detect assert(a = 1) errors.
13078 * assert/assert.h (assert): Rewrite, retaining the old definintion
13079 when required, but otherwise putting the expression as-is in an "if"
13080 expression (hence, with no added parentheses) within a statement
13081 expression.
13082
130832016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
13084
13085 * benchtests/Makefile (binaries-benchset): Depend on libsupport
13086 DSO.
13087
130882016-12-17 Martin Galvan <martingalvan@sourceware.org>
13089
13090 * Rules (python-flags, python-invoke): New.
13091 ($(test-printers-out)): Use $(python-flags).
13092
130932016-12-16 Joseph Myers <joseph@codesourcery.com>
13094
13095 * manual/arith.texi (Math Error Reporting): Document that sNaN
13096 arguments are not considered domain errors.
13097
130982016-12-16 Zack Weinberg <zackw@panix.com>
13099 Florian Weimer <fweimer@redhat.com>
13100 Nick Mathewson <nickm@torproject.org>
13101
13102 * string/explicit_bzero.c: New routine.
13103 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
13104 * string/Makefile (routines, strop-tests, tests): Add them.
13105 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
13106 * string/string.h [__USE_MISC]: Declare explicit_bzero.
13107
13108 * debug/explicit_bzero_chk.c: New routine.
13109 * debug/Makefile (routines): Add it.
13110 * debug/tst-chk1.c: Test fortification of explicit_bzero.
13111 * string/bits/string3.h: Fortify explicit_bzero.
13112
13113 * manual/string.texi: Document explicit_bzero.
13114 * NEWS: Mention addition of explicit_bzero.
13115
13116 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
13117 data before returning, using explicit_bzero.
13118 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
13119 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13120 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13121
13122 * include/string.h: Redirect internal uses of explicit_bzero
13123 to __explicit_bzero_chk[_internal].
13124 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
13125 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
13126 * sysdeps/arm/nacl/libc.abilist
13127 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13128 * sysdeps/unix/sysv/linux/alpha/libc.abilist
13129 * sysdeps/unix/sysv/linux/arm/libc.abilist
13130 * sysdeps/unix/sysv/linux/hppa/libc.abilist
13131 * sysdeps/unix/sysv/linux/i386/libc.abilist
13132 * sysdeps/unix/sysv/linux/ia64/libc.abilist
13133 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13134 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13135 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13136 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13137 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13138 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13139 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13140 * sysdeps/unix/sysv/linux/nios2/libc.abilist
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13145 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13146 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13147 * sysdeps/unix/sysv/linux/sh/libc.abilist
13148 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13149 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13152 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13153 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13154 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13155 Add entries for explicit_bzero and __explicit_bzero_chk.
13156
131572016-12-16 Joseph Myers <joseph@codesourcery.com>
13158
13159 * math/fenv.h
13160 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
13161 (FE_SNANS_ALWAYS_SIGNAL): New macro.
13162 * math/test-fe-snans-always-signal.c: New file.
13163 * math/Makefile (tests): Add test-fe-snans-always-signal.
13164 (CFLAGS-test-fe-snans-always-signal.c): New variable.
13165 * manual/arith.texi (Infinity and NaN): Document
13166 FE_SNANS_ALWAYS_SIGNAL.
13167
131682016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13169
13170 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
13171 bracket.
13172
131732016-12-16 Joseph Myers <joseph@codesourcery.com>
13174
13175 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
13176 before calling execv.
13177
131782016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13179
13180 [BZ #20971]
13181 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
13182 overflow in pointer addition.
13183 * string/test-memchr.c (do_test): Add an argument to pass as
13184 the size on memchr.
13185 (test_main): Add check for SIZE_MAX.
13186
131872016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13188
13189 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13190 (libm-calls): Add w_scalblnF.
13191 * math/w_scalbln.c: Remove.
13192 * math/w_scalblnf.c: Likewise.
13193 * math/w_scalblnl.c: Likewise.
13194 * math/w_scalbln_template.c: New file with type-generic
13195 implementation based on math/w_scalbln.c.
13196 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13197 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13198
131992016-12-15 Joseph Myers <joseph@codesourcery.com>
13200
13201 [BZ #20947]
13202 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13203 either is a signaling NaN.
13204 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
13205 follow fmaxl more closely.
13206 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13207 when either is a signaling NaN.
13208 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13209 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13210 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13211 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13212 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13213 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13214 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13215 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13216 (fmin_test_data): Likewise.
13217
132182016-12-15 Andreas Schwab <schwab@suse.de>
13219
13220 * support/support_test_main.c (support_test_main): Don't shadow
13221 file-local variable test_pid.
13222
132232016-12-15 Joseph Myers <joseph@codesourcery.com>
13224
13225 [BZ #20947]
13226 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13227 either is a signaling NaN.
13228 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13229
132302016-12-14 Joseph Myers <joseph@codesourcery.com>
13231
13232 [BZ #20947]
13233 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13234 when either is a signaling NaN.
13235 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13236
13237 * bits/long-double.h: New file.
13238 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13239 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13240 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13241 * sysdeps/mips/bits/long-double.h: Likewise.
13242 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13243 * math/Makefile (headers): Add bits/long-double.h.
13244 * misc/sys/cdefs.h: Include <bits/long-double.h>.
13245 * stdlib/strtold.c: Include <bits/long-double.h> instead of
13246 <bits/wordsize.h>.
13247 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13248 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13249 * math/math.h: Do not include <bits/mathdef.h>.
13250 * sysdeps/aarch64/bits/mathdef.h: Remove file.
13251 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13252 inclusion.
13253 * sysdeps/ia64/bits/mathdef.h: Remove file.
13254 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13255 * sysdeps/mips/bits/mathdef.h: Likewise.
13256 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13257 * sysdeps/s390/bits/mathdef.h: Likewise.
13258 * sysdeps/sparc/bits/mathdef.h: Likewise.
13259 * sysdeps/x86/bits/mathdef.h: Likewise.
13260 * sysdeps/s390/s390-32/bits/wordsize.h
13261 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13262 conditional code.
13263 * sysdeps/s390/s390-64/bits/wordsize.h
13264 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13265 Likewise.
13266 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13267 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13268 Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13270 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13271 Likewise.
13272 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13273 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13274 Likewise.
13275
13276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13277 <linux/falloc.h>.
13278 (FALLOC_FL_KEEP_SIZE): Remove.
13279 (FALLOC_FL_PUNCH_HOLE): Likewise.
13280 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13281 (FALLOC_FL_ZERO_RANGE): Likewise.
13282
132832016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13284
13285 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13286
132872016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13288
13289 * sysdeps/unix/sysv/linux/renameat.c: New file.
13290 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13291
13292 * sysdeps/unix/sysv/linux/rename.c: New file.
13293 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13294
132952015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13296
13297 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13298 * string/strtok.c (strtok): Change to tailcall __strtok_r.
13299 * string/strtok_r.c (__strtok_r): Optimize for performance.
13300 * string/string-inlines.c (__old_strtok_r_1c): New function.
13301 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13302
133032016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13304
13305 * math/Makefile (gen-libm-calls): Add w_log1pF.
13306 (libm-calls): Remove w_log1pF.
13307 * math/w_log1p.c: Remove.
13308 * math/w_log1pf.c: Likewise.
13309 * math/w_log1pl.c: Likewise.
13310 * math/w_log1p_template.c: New file with type-generic
13311 implementation based on math/w_log1p.c.
13312 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13313 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13314
133152015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13316
13317 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13318
133192016-12-14 Joseph Myers <joseph@codesourcery.com>
13320
13321 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13322 kernel version to 4.9.
13323
133242016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
13325
13326 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13327 ($(inst_libdir)/libm.a): Fix rule to create the target only.
13328
133292016-12-13 Andreas Schwab <schwab@suse.de>
13330
13331 * sysdeps/powerpc/dl-procinfo.c: Don't define
13332 _dl_powerpc_platforms.
13333 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13334 constants instead of referencing _dl_powerpc_platforms.
13335 (_dl_platform_string): Remove.
13336
133372016-12-13 Florian Weimer <fweimer@redhat.com>
13338
13339 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13340
133412016-12-13 Florian Weimer <fweimer@redhat.com>
13342
13343 * Rules (binaries-shared-tests, binaries-pie-tests)
13344 (binaries-static-tests): Link with $(link-extra-libs-tests).
13345 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13346 Remove $(link-extra-libs-tests).
13347
133482016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13349
13350 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13351 (sysdep_routines): Add strncmp_power9.
13352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13353 (strncmp): Add __strncmp_power9 to list of strncmp functions.
13354 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13355 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13356 (strncmp): Add __strncmp_power9 to ifunc list.
13357 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13358
133592016-12-12 Florian Weimer <fweimer@redhat.com>
13360
13361 [BZ #17252]
13362 Add getentropy, getrandom.
13363 * stdlib/sys/random.h: New file.
13364 (headers): Add it.
13365 * stdlib/Makefile (routines): Add getentropy, getrandom.
13366 (tests): Add tst-getrandom.
13367 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13368 * stdlib/getentropy.c: New file.
13369 * stdlib/getrandom.c: Likewise.
13370 * stdlib/tst-getrandom.c: Likewise.
13371 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13372 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13373 * manual/crypt.texi (Unpredictable Bytes): New section.
13374 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13375 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13376 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13385 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13391 Likewise.
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13393 Likewise.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13406
134072016-12-10 Florian Weimer <fweimer@redhat.com>
13408
13409 [BZ #20956]
13410 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13411 as additional compiler barriers.
13412 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13413 (fn2, do_test): Declare with external linkage.
13414 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13415 (do_test): Declare with external linkage.
13416 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13417 (do_test): Declare with external linkage.
13418 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13419 (do_test): Declare with external linkage.
13420
134212016-12-10 Andreas Schwab <schwab@linux-m68k.org>
13422
13423 * support/support_test_main.c (support_test_main): Use correct
13424 timeout.
13425
134262016-12-09 Carlos O'Donell <carlos@redhat.com>
13427 Florian Weimer <fweimer@redhat.com>
13428
13429 [BZ #16421]
13430 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13431 and __u6_addr32 members.
13432 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13433 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13434 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13435 Use __u6_addr32.
13436 * inet/tst-checks.c: Use <support/test-driver.c>
13437 * inet/tst-checks-posix.c: New file.
13438 * inet/Makefile (tests): Add it.
13439 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13440
134412016-12-09 Florian Weimer <fweimer@redhat.com>
13442
13443 New subdirectory support for build and test infrastructure.
13444 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13445 setting install-lib.
13446 * Makeconfig (link-extra-libs-tests): Define.
13447 (+link-pie-tests, +link-static-tests, +link-tests): Use
13448 link-extra-libs-tests.
13449 (rpath-dirs, all-subdirs): Add support.
13450 (built-modules): Add libsupport.
13451 (libsupport): Define.
13452 * support: New directory.
13453 * support/Makefile: New file.
13454 * support/check.c: Likewise.
13455 * support/check.h: Likewise.
13456 * support/delayed_exit.c: Likewise.
13457 * support/ignore_stderr.c: Likewise.
13458 * support/oom_error.c: Likewise.
13459 * support/set_fortify_handler.c: Likewise.
13460 * support/support.h: Likewise.
13461 * support/temp_file-internal.h: Likewise.
13462 * support/temp_file.c: Likewise.
13463 * support/test-driver.c: Likewise.
13464 * support/test-driver.h: Likewise.
13465 * support/test_main.c: Likewise.
13466 * support/write_message.c: Likewise.
13467 * support/xasprintf.c: Likewise.
13468 * support/xcalloc.c: Likewise.
13469 * support/xmalloc.c: Likewise.
13470 * support/xpthread_barrier_destroy.c: Likewise.
13471 * support/xpthread_barrier_init.c: Likewise.
13472 * support/xpthread_barrier_wait.c: Likewise.
13473 * support/xpthread_cancel.c: Likewise.
13474 * support/xpthread_check_return.c: Likewise.
13475 * support/xpthread_cond_wait.c: Likewise.
13476 * support/xpthread_create.c: Likewise.
13477 * support/xpthread_detach.c: Likewise.
13478 * support/xpthread_join.c: Likewise.
13479 * support/xpthread_mutex_lock.c: Likewise.
13480 * support/xpthread_mutex_unlock.c: Likewise.
13481 * support/xpthread_sigmask.c: Likewise.
13482 * support/xpthread_spin_lock.c: Likewise.
13483 * support/xpthread_spin_unlock.c: Likewise.
13484 * support/xrealloc.c: Likewise.
13485 * support/xsignal.h: Likewise.
13486 * support/xthread.h: Likewise.
13487 * support_tempfile.h: Likewise.
13488 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13489 (TEST_DATA_LIMIT): Remove unused macro.
13490 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13491 <support/check.h>.
13492 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13493 (ignore_stderr, set_fortify_handler): Remove. Now in
13494 <support/support.h>.
13495 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13496 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13497 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13498 (xpthread_join): Remove. Now in <support/xthread.h>.
13499 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13500 Introduce legacy wrappers.
13501 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13502 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13503 (write_message): Remove.
13504 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13505 test-skeleton.c.
13506 * io/test-open-tmpfile: Likewise.
13507 * io/tst-posix_fallocate-common.c: Likewise.
13508 * libio/tst-fseek.c: Likewise.
13509 * malloc/tst-malloc-backtrace.c: Likewise.
13510 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13511 * malloc/tst-malloc-thread-exit.c: Likewise.
13512 * nptl/tst-cancel7.c: Likewise.
13513 * nptl/tst-cleanup0.c: Likewise.
13514 * posix/tst-posix_fadvise-common.c: Likewise.
13515 * rt/tst-shm.c: Likewise.
13516 * time/bug-getdate1.c: Likewise.
13517 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13518 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13519 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13520
135212016-12-08 Joseph Myers <joseph@codesourcery.com>
13522
13523 * Rules [$(run-built-tests) != no] (tests-expected): Add
13524 $(tests-printers).
13525 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13526
135272016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13528
13529 [BZ #20539]
13530 * math/Makefile (install-lib-ldscripts): Add libm.a.
13531 (install_subdir): Remove.
13532 (install-others): Add.
13533 ($(inst_libdir)/libm.a): Add rule for installation as
13534 linker script.
13535 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13536
135372016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13538
13539 * INSTALL: Regenerated.
13540 * Makeconfig: Add comments and whitespace to make the control flow
13541 clearer.
13542 (+link-printers-tests, +link-pie-printers-tests,
13543 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13544 built-rtld-LDFLAGS, link-libc-rpath,
13545 link-libc-tests-after-rpath-link,
13546 link-libc-printers-tests): New.
13547 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13548 link-libc-tests): Use the new variables as required.
13549 * Makerules ($(py-const)): New rule.
13550 generated: Add $(py-const).
13551 * README.pretty-printers: New file.
13552 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13553 (others): Depend on $(py-const).
13554 (tests): Depend on $(tests-printers-programs) or
13555 $(tests-printers-out),
13556 as required. Pass $(tests-printers) to merge-test-results.sh.
13557 * manual/install.texi: Add requirements for testing the pretty
13558 printers.
13559 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13560 tests-printers, CFLAGS-test-mutexattr-printers.c
13561 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13562 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13563 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13564 * nptl/nptl-printers.py: New file.
13565 * nptl/nptl_lock_constants.pysym: Likewise.
13566 * nptl/test-cond-printers.c: Likewise.
13567 * nptl/test-cond-printers.py: Likewise.
13568 * nptl/test-condattr-printers.c: Likewise.
13569 * nptl/test-condattr-printers.py: Likewise.
13570 * nptl/test-mutex-printers.c: Likewise.
13571 * nptl/test-mutex-printers.py: Likewise.
13572 * nptl/test-mutexattr-printers.c: Likewise.
13573 * nptl/test-mutexattr-printers.py: Likewise.
13574 * nptl/test-rwlock-printers.c: Likewise.
13575 * nptl/test-rwlock-printers.py: Likewise.
13576 * nptl/test-rwlockattr-printers.c: Likewise.
13577 * nptl/test-rwlockattr-printers.py: Likewise.
13578 * scripts/gen-py-const.awk: Likewise.
13579 * scripts/test_printers_common.py: Likewise.
13580 * scripts/test_printers_exceptions.py: Likewise.
13581
135822016-12-07 Joseph Myers <joseph@codesourcery.com>
13583
13584 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13585 argument.
13586 (Glibc.build_glibc): Strip installed shared libraries if
13587 requested.
13588 (get_parser): Add --strip option.
13589 (main): Update Context call.
13590
135912016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13592 Dominik Vogt <vogt@linux.vnet.ibm.com>
13593
13594 [BZ #20847]
13595 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13596 array bounds for else branch.
13597 (__execvpe): Style fixes.
13598 * posix/tst-vfork3.c (run_script): New function.
13599 (create_script): Likewise.
13600 (do_test): Use run_script internal function.
13601 (do_prepare): Use create_script internal function.
13602
136032016-12-07 Andreas Schwab <schwab@suse.de>
13604
13605 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13606 (__elision_available): Don't declare.
13607 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13608 (__elision_available): Don't define.
13609 (elision_init): Don't set __elision_available.
13610
136112016-12-07 Joseph Myers <joseph@codesourcery.com>
13612
13613 [BZ #20940]
13614 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13615 return Inf for arguments Inf and sNaN.
13616 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13617 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13618 Likewise.
13619 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13620 Likewise.
13621 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13622 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13623 for arguments Inf and sNaN. When returning a NaN, compute it by
13624 arithmetic on the arguments.
13625 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13626 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13627 arguments.
13628
136292016-12-06 Joseph Myers <joseph@codesourcery.com>
13630
13631 [BZ #20916]
13632 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13633 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13634 to compute result.
13635 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13636 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13637
136382016-12-05 Torvald Riegel <triegel@redhat.com>
13639
13640 * include/atomic.h (__atomic_check_size_ls): New.
13641 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13642 atomic_store_release): Use it.
13643 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13644 (elision_adapt, ELIDE_LOCK): Use atomics.
13645 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13646 atomics and improve code comments.
13647 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13648 (__lll_trylock_elision): Likewise.
13649
136502016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13651
13652 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13653 programs.
13654
136552016-12-02 Joseph Myers <joseph@codesourcery.com>
13656
13657 [BZ #20916]
13658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13659 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13660 arguments to compute result.
13661 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13662 1 for arguments (sNaN, 0) or (1, sNaN).
13663 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13665
13666 [BZ #20919]
13667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13668 NaN first argument when raised to power 0.
13669 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13670 raising to power zero.
13671 * math/w_powf.c (__powf): Likewise.
13672 * math/w_powl.c (__powl): Likewise.
13673 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13674 pow (0, 0) or pow (NaN, 0).
13675
136762016-12-02 Carlos O'Donell <carlos@redhat.com>
13677
13678 [BZ #20918]
13679 * configure.ac: Test for static NSS cryptographic libraries and set
13680 libc_cv_static_nss_crypt.
13681 * configure: Regenerate.
13682 * config.make.in (static-nss-crypt): Define.
13683 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13684 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13685 (CFLAGS-tst-linkall-static.c): Define.
13686 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13687 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13688 ($(objpfx)tst-linkall-static): Define.
13689 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13690 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13691
136922016-12-02 Florian Weimer <fweimer@redhat.com>
13693
13694 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13695 (one-hundred, tst-tls-many-dynamic-modules): Define.
13696 (modules-names): Add $(tst-tls-many-dynamic-modules).
13697 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13698 macros.
13699 (tst-tls-manydynamic): Link against libdl, libpthread.
13700 (tst-tls-manydynamic.out): The test needs the test modules at run
13701 time.
13702 * elf/tst-tls-manydynamic.c: New file.
13703 * elf/tst-tls-manydynamic.h: Likewise.
13704 * elf/tst-tls-manydynamicmod.c: Likewise.
13705
137062016-12-02 Florian Weimer <fweimer@redhat.com>
13707
13708 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13709 (TLS_DTV_UNALLOCATED): Add.
13710 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13711 offsets.
13712
137132016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13714
13715 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13716
137172016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13718
13719 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13720 Add -fno-optimize-sibling-calls.
13721
137222016-12-02 Joseph Myers <joseph@codesourcery.com>
13723
13724 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13725 New declaration.
13726 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13727 macro.
13728 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13729 New macro.
13730 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13731 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13732 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13733 (llogbf): Likewise.
13734 (llogbl): Likewise.
13735 * math/Makefile (gen-libm-calls): Add w_llogbF.
13736 (tests): Add test-fp-llogb-constants.
13737 * math/w_llogb_template.c: New file. Based on
13738 math/w_ilogb_template.c.
13739 * math/libm-test.inc (llogb_test_data): New array.
13740 (llogb_test): New function.
13741 (main): Call llogb_test.
13742 * math/test-fp-llogb-constants.c: New file. Based on
13743 math/test-fp-ilogb-constants.c.
13744 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13745 (do_test): Call check_return_llogb.
13746 * math/test-tgmath.c (NCALLS): Increase to 126.
13747 (F(compile_test)): Call llogb.
13748 (F(llogb)): New function.
13749 * manual/math.texi (Exponents and Logarithms): Document llogb,
13750 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13751 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13752 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13753 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13755 (CFLAGS-nldbl-llogb.c): New variable.
13756 * sysdeps/nacl/libm.abilist: Update.
13757 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13770 Likewise.
13771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13772 Likewise.
13773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13774 Likewise.
13775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13776 Likewise.
13777 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13778 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13779 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13783 Likewise.
13784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13785 Likewise.
13786 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13789
137902016-12-01 Joseph Myers <joseph@codesourcery.com>
13791
13792 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13793 _Float128 instead of long double.
13794 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13795
13796 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13797 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13798 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13799 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13800 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13801 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13802 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13803 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13804 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13805 Likewise.
13806
138072016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13808
13809 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13810 Remove redirection to __strrchr_ppc.
13811
138122016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13813
13814 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13815 (sysdep_routines): Add strcmp_power9.
13816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13817 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13818 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13819 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13820 (strcmp): Add __strcmp_power9 to ifunc list.
13821 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13822
138232016-12-01 Joseph Myers <joseph@codesourcery.com>
13824
13825 * bits/fp-logb.h: New file.
13826 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13827 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13828 * sysdeps/x86/bits/fp-logb.h: Likewise.
13829 * math/Makefile (headers): Add bits/fp-logb.h.
13830 * math/math.h: Include <bits/fp-logb.h>.
13831 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13832 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13833 * bits/mathdef.h (FP_ILOGB0): Remove.
13834 (FP_ILOGBNAN): Likewise.
13835 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13836 (FP_ILOGBNAN): Likewise.
13837 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13838 (FP_ILOGBNAN): Likewise.
13839 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13840 (FP_ILOGBNAN): Likewise.
13841 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13842 (FP_ILOGBNAN): Likewise.
13843 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13844 (FP_ILOGBNAN): Likewise.
13845 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13846 (FP_ILOGBNAN): Likewise.
13847 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13848 (FP_ILOGBNAN): Likewise.
13849 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13850 (FP_ILOGBNAN): Likewise.
13851 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13852 (FP_ILOGBNAN): Likewise.
13853
13854 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13855 time module.
13856 (Context.__init__): Initialize self.logsdir_old.
13857 (Context.run_builds): Handle bot action.
13858 (Context.bot_cycle): Copy logs directory before running builds.
13859 (Context.bot_run_self): Take argument for whether to check
13860 subprocess result. Flush stdout before running subprocess.
13861 (Context.bot): New function.
13862 (get_parser): Allow bot action.
13863
138642016-11-30 Joseph Myers <joseph@codesourcery.com>
13865
13866 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13867 Import email.mime.text, email.utils and smtplib modules.
13868 (Context.__init__): Initialize self.bot_config_json.
13869 (Context.run_builds): Handle bot-cycle action.
13870 (Context.load_bot_config_json): New function.
13871 (Context.part_build_old): Likewise.
13872 (Context.bot_cycle): Likewise.
13873 (Context.bot_build_mail): Likewise.
13874 (Context.bot_run_self): Likewise.
13875 (get_parser): Allow bot-cycle action.
13876
138772016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13878
13879 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13880 Remove redirection to __stpcpy_ppc.
13881
138822016-11-30 Florian Weimer <fweimer@redhat.com>
13883
13884 Remove __libc_memalign from ld.so because it is unused.
13885 * elf/dl-minimal.c: Update comment on the malloc implementation.
13886 (malloc): Renamed from __libc_memalign, replacing the original
13887 malloc implementation. Replace the align parameter with
13888 MALLOC_ALIGNMENT.
13889 * elf/Versions (ld): Update comment and remove __libc_memalign.
13890 * sysdeps/nacl/ld.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13917 * sysdeps/generic/localplt.data (ld.so): Likewise.
13918 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13919 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13920 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13921 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13922 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13923 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13924 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13925 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13926 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13928 (ld.so): Likewise.
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13930 (ld.so): Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13932 Likewise.
13933 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13934 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13935 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13937 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13938
139392016-11-30 Florian Weimer <fweimer@redhat.com>
13940
13941 [BZ #16628]
13942 Implement _dl_catch_error, _dl_signal_error in libc.so.
13943 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13944 (catch_hook): Define as thread-local or regular variable,
13945 depending on DL_ERROR_BOOTSTRAP.
13946 (CATCH_HOOK): Remove.
13947 (dl_signal_error, _dl_catch_error): Use
13948 catch_hook. Add hidden definition for libc.
13949 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13950 for DL_ERROR_BOOTSTRAP only.
13951 * elf/dl-error.c: New file.
13952 * elf/dl-error-minimal.c: Likewise.
13953 * elf/tst-latepthread.c: Likewise.
13954 * elf/tst-latepthreadmod.c: Likewise.
13955 * elf/Makefile (routines): Add dl-error.
13956 (dl-routines): Remove dl-error.
13957 (rtld-routines): Add dl-error-minimal.
13958 [build-shared] (tests): Add tst-latepthread.
13959 (module-names): Add tst-latepthreadmod.
13960 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13961 symbol.
13962 (tst-latepthreadmod.so): Link against libpthread.
13963 (tst-latepthread): Link against libdbl.
13964 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13965 _dl_catch_error.
13966 [ld] (GLIBC_PRIVATE): Likewise.
13967 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13968 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13969 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13970 directly.
13971 * elf/dl-tsd.c: Remove file.
13972 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13973 _dl_catch_error, _dl_signal_error.
13974 (_dl_initial_error_catch_tsd): Remove definition.
13975 (do_preload): Remove initialization of dl_error_catch_tsd.
13976 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13977 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13978 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13979 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13980 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13981 set dl_error_catch_tsd.
13982 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13983 _dl_error_catch_tsd member.
13984 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13985 members.
13986 (_dl_initial_error_catch_tsd): Remove declaration.
13987 (_dl_dprintf): Provide definition for use outside of ld.so.
13988 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13989 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13990 prototype for libc.
13991 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13992 _dl_catch_error.
13993 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13994 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13995 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13996 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13997 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13998 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13999 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
14000 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
14001 Likewise.
14002 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
14004 (ld.so): Likewise.
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14006 (ld.so): Likewise.
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
14008 Likewise.
14009 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
14010 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
14011 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
14012 Likewise.
14013 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
14014 Likewise.
14015 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
14016
140172016-11-30 Florian Weimer <fweimer@redhat.com>
14018
14019 [BZ #4099]
14020 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
14021 _IO_BUFSIZ (8192).
14022
140232016-11-30 Carlos O'Donell <carlos@redhat.com>
14024
14025 * PROJECTS: Remove file.
14026
140272016-11-29 Florian Weimer <fweimer@redhat.com>
14028
14029 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
14030
140312016-11-29 Yury Norov <ynorov@caviumnetworks.com>
14032 Steve Ellcey <sellcey@caviumnetworks.com>
14033
14034 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
14035 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
14036 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
14037 fxstatat.
14038 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
14039 lxstat.
14040 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
14041 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
14042 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
14043 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
14044 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
14045 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
14046 __xstat.
14047
140482016-11-29 Florian Weimer <fweimer@redhat.com>
14049
14050 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
14051 Define.
14052 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
14053 definition.
14054
140552016-11-29 Florian Weimer <fweimer@redhat.com>
14056
14057 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
14058 version and turn into strong alias. Remove compat symbol.
14059
14060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14061 (__longjmp): Remove.
14062
140632016-11-29 Joseph Myers <joseph@codesourcery.com>
14064
14065 * bits/fp-fast.h: New file.
14066 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
14067 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
14068 * math/Makefile (headers): Add bits/fp-fast.h.
14069 * math/math.h: Include <bits/fp-fast.h>.
14070 * bits/mathdef.h (FP_FAST_FMA): Remove.
14071 (FP_FAST_FMAF): Likewise.
14072 (FP_FAST_FMAL): Likewise.
14073 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
14074 (FP_FAST_FMAF): Likewise.
14075 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
14076 (FP_FAST_FMAF): Likewise.
14077 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
14078 (FP_FAST_FMAF): Likewise.
14079 (FP_FAST_FMAL): Likewise.
14080 * sysdeps/arm/bits/mathdef.h: Remove file.
14081 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
14082 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14083 * sysdeps/tile/bits/mathdef.h: Likewise.
14084
140852016-11-28 Joseph Myers <joseph@codesourcery.com>
14086
14087 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
14088 * math/w_ilogb.c: Remove.
14089 * math/w_ilogbf.c: Likewise.
14090 * math/w_ilogbl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
14092 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
14093 * math/Makefile (gen-libm-calls): Add w_ilogbF.
14094 (libm-calls): Remove w_ilogbF.
14095 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
14096 (LDOUBLE_ilogbl_libm_version): New macro.
14097
14098 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
14099
14100 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
14101 [!__STRICT_ANSI__ && !__cplusplus].
14102
141032016-11-28 H.J. Lu <hongjiu.lu@intel.com>
14104
14105 [BZ #20750]
14106 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
14107 of PIC.
14108
141092016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
14110 Yury Norov <ynorov@caviumnetworks.com>
14111 Steve Ellcey <sellcey@caviumnetworks.com>
14112
14113 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
14114 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
14115 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
14116 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
14117 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
14118 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
14119 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
14120 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
14121 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
14122 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
14123 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
14124 to get correct reg name for ILP32.
14125 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
14126 (RELA_SIZE): New Macro.
14127 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
14128 to support ILP32.
14129 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
14130 cast for ILP32 mode.
14131 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
14132 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
14133 * sysdeps/aarch64/memset.S (__memset): Ditto.
14134 * sysdeps/aarch64/strchr.S (strchr): Ditto.
14135 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
14136 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
14137 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
14138 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
14139 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
14140 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
14141 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
14142 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
14143 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
14144 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
14145 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
14146 change PTR_MANGLE call to use register numbers instead of names.
14147 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
14148 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
14149 ILP32 mode, change PTR_MANGLE calls to use register numbers.
14150 * sysdeps/aarch64/start.S (_start): Ditto.
14151 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
14152 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
14153 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
14154 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
14155 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
14156 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
14157 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
14158 Make defined values dependent on __ILP32__.
14159 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
14160 (sem_t): Change __align type.
14161 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
14162 PTR_SIZE): New Macros.
14163 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
14164 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
14165 Set when in ILP32 mode.
14166 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
14167 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
14168 Set elf flags for ILP32.
14169 (add_system_dir): Set ILP32 library directories.
14170 * sysdeps/unix/sysv/linux/aarch64/init-first.c
14171 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
14172 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
14173 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
14174 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
14175 New Macros.
14176 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
14177
141782016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
14179
14180 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
14181 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
14182 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14183
141842016-11-28 Joseph Myers <joseph@codesourcery.com>
14185
14186 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14187 <asm/cachectl.h>.
14188
141892016-11-27 Zack Weinberg <zackw@panix.com>
14190
14191 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14192 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14193
141942016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14195
14196 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14197 error_t to fix usage in C++ programs.
14198
141992016-11-26 Joseph Myers <joseph@codesourcery.com>
14200
14201 * scripts/build-many-glibcs.py: Import datetime module.
14202 (Context.__init__): Load JSON build state. Initialize list of
14203 status logs.
14204 (Context.run_builds): Update saved build state.
14205 (Context.add_makefile_cmdlist): Update list of status logs.
14206 (Context.load_build_state_json): New function.
14207 (Context.store_build_state_json): Likewise.
14208 (Context.clear_last_build_state): Likewise.
14209 (Context.update_build_state): Likewise.
14210 (CommandList.status_logs): Likewise.
14211
142122016-11-25 Joseph Myers <joseph@codesourcery.com>
14213
14214 * scripts/build-many-glibcs.py (Context.__init__): Save text of
14215 script being executed.
14216 (Context.get_script_text): New function.
14217 (Context.exec_self): Likewise.
14218 (Context.checkout): Re-exec script if changed by checkout process.
14219
142202016-11-24 Joseph Myers <joseph@codesourcery.com>
14221
14222 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14223 (setpayloadsig): New declaration.
14224 * math/Versions (setpayloadsig): New libm symbol at version
14225 GLIBC_2.25.
14226 (setpayloadsigf): Likewise.
14227 (setpayloadsigl): Likewise.
14228 * math/Makefile (libm-calls): Add s_setpayloadsigF.
14229 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14230 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14231 (setpayloadsig_test_data): New array.
14232 (setpayloadsig_test): New function.
14233 (main): Call setpayloadsig_test.
14234 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14235 setpayloadsigf and setpayloadsigl.
14236 * manual/libm-err-tab.pl: Update comment on interfaces without
14237 ulps tabulated.
14238 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14239 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14244 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14245 setpayloadsig.
14246 (CFLAGS-nldbl-setpayloadsig.c): New variable.
14247 * sysdeps/nacl/libm.abilist: Update.
14248 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14261 Likewise.
14262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14263 Likewise.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14265 Likewise.
14266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14267 Likewise.
14268 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14274 Likewise.
14275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14276 Likewise.
14277 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14280
14281 * scripts/build-many-glibcs.py: Import json module.
14282 (Context.__init__): Take replace_sources argument. Load
14283 versions.json.
14284 (Context.load_versions_json): New function.
14285 (Context.store_json): Likewise.
14286 (Context.store_versions_json): Likewise.
14287 (Context.set_component_version): Likewise.
14288 (Context.checkout): Update versions.json. Check for and handle
14289 changes of version. Prefer previously explicitly specified
14290 version to default version.
14291 (Context.checkout_vcs): Return a revision identifier.
14292 (Context.git_checkout): Likewise.
14293 (Context.gcc_checkout): Likewise.
14294 (get_parser): Add --replace-sources option.
14295 (main): Pass replace_sources argument to Context call.
14296
142972016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14298
c166468c 14299 [BZ #651]
edf66db1
SP
14300 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14301 * nptl/allocatestack.c (allocate_stack): Likewise.
14302 (__reclaim_stacks): Likewise.
14303 (setxid_signal_thread): Obtain pid through syscall.
14304 * nptl/nptl-init.c (sigcancel_handler): Likewise.
14305 (sighandle_setxid): Likewise.
14306 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14307 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14308 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14309 Likewise.
14310 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14311 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14312 comment.
14313 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14314 * nptl/descr.h (struct pthread): Change comment about pid value.
14315 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14316 pid assert.
14317 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14318 Do not set pid value.
14319 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14320 pid cache check.
14321 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14322 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14323 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14324 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14325 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14326 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14327 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14328 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14329 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14330 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14331 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14332 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14333 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14334 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14335 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14336 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14337 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14338 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14339 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14340 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14341 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14342 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14343 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14344 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14345 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14348 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14349 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14350 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14351 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14352 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14353 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14354 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14355 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14356 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14357 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14358 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14359 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14360 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14361 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14362 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14363 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14366 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14367 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14368 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14369 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14371 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14372 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14373 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14374 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14375 struct access.
14376 (clone_test): Remove function.
14377 (do_test): Rewrite to take in consideration pid is not cached anymore.
14378
143792016-11-24 Joseph Myers <joseph@codesourcery.com>
14380
14381 * bits/flt-eval-method.h: New file.
14382 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14383 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14384 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14385 * math/Makefile (headers): Add bits/flt-eval-method.h.
14386 * math/math.h: Include <bits/flt-eval-method.h>.
14387 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14388 [__USE_ISOC99] (double_t): Likewise.
14389 * bits/mathdef.h (float_t): Remove.
14390 (double_t): Likewise.
14391 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14392 (double_t): Likewise.
14393 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14394 (double_t): Likewise.
14395 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14396 (double_t): Likewise.
14397 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14398 (double_t): Likewise.
14399 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14400 (double_t): Likewise.
14401 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14402 (double_t): Likewise.
14403 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14404 (double_t): Likewise.
14405 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14406 (double_t): Likewise.
14407 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14408 (double_t): Likewise.
14409 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14410 (double_t): Likewise.
14411 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14412 (double_t): Likewise.
14413 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14414 (double_t): Likewise.
14415 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14416 (double_t): Likewise.
14417
144182016-11-24 Aurelien Jarno <aurelien@aurel32.net>
14419
14420 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14421 instead of PIC.
14422
144232016-11-23 Joseph Myers <joseph@codesourcery.com>
14424
14425 [BZ #20859]
14426 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14427 (-0x7fffffff) instead of 0x80000001.
14428 * math/test-fp-ilogb-constants.c: New file.
14429 * math/Makefile (tests): Add test-fp-ilogb-constants.
14430
144312016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14432
14433 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14434 (_init): Use it in place of hardcoded R_MIPS_JALR.
14435 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14436 (_init): Use it in place of hardcoded R_MIPS_JALR.
14437 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14438 (_init): Use it in place of hardcoded R_MIPS_JALR.
14439
144402016-11-23 Joseph Myers <joseph@codesourcery.com>
14441
14442 [BZ #20787]
14443 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14444 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14445 (double_t): Do not define to double if [__x86_64__] when
14446 __FLT_EVAL_METHOD__ is nonzero.
14447 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14448 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14449 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14450 test-flt-eval-method-387 and test-flt-eval-method-sse.
14451 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14452 variable.
14453 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14454
144552016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14456
14457 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14458 use of -fno-isolate-erroneous-paths options for tilepro.
14459
144602016-11-23 Florian Weimer <fweimer@redhat.com>
14461
14462 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14463 structure initialization is no longer needed.
14464
144652016-11-23 Joseph Myers <joseph@codesourcery.com>
14466
14467 [BZ #20855]
14468 * bits/mathdef.h (float_t): Define to float.
14469 * math/test-flt-eval-method.c: New file.
14470 * math/Makefile (tests): Add test-flt-eval-method.
14471 (CFLAGS-test-flt-eval-method.c): New variable.
14472
144732016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14474
14475 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14476 and __fstatfs. Make them aliases of __fstatfs64 if
14477 STATFS_IS_STATFS64 is set to non-zero.
14478 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14479 and __statfs64.
14480 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14481 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14482 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14483 for __statfs and statfs.
14484 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14485 to 0.
14486 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14487 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14488 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14489 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14490 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14491 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14494 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14495 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14496 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14497 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14498
144992016-11-22 Andreas Schwab <schwab@suse.de>
14500
14501 * misc/mkstemp.c: Include <fcntl.h>.
14502 * misc/mkstemps.c: Likewise.
14503 * misc/mkostemp.c: Likewise.
14504 * misc/mkostemps.c: Likewise.
14505
145062016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14507
14508 [BZ #20847]
14509 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14510 array bounds.
14511 (__execvpe): Likewise.
14512
145132016-11-22 Joseph Myers <joseph@codesourcery.com>
14514
14515 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14516 -fno-isolate-erroneous-paths options for tilepro.
14517
145182016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14519
14520 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14521 to 0 when in 32 bit mode.
14522 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14523 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14524 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14525 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14527 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14528 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14529 XSTAT_IS_XSTAT64 test.
14530 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14531 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14532 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14533 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14534 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14535 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14536 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14537 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14538 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14539 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14540 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14541
145422016-11-19 Joseph Myers <joseph@codesourcery.com>
14543
14544 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14545 (setpayload): New declaration.
14546 * math/Versions (setpayload): New libm symbol at version
14547 GLIBC_2.25.
14548 (setpayloadf): Likewise.
14549 (setpayloadl): Likewise.
14550 * math/Makefile (libm-calls): Add s_setpayloadF.
14551 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14552 test_Ff_b1_data.
14553 (RUN_TEST_Ff_b1): New macro.
14554 (RUN_TEST_LOOP_Ff_b1): Likewise.
14555 (canonicalize_test_data): Update type.
14556 (setpayload_test_data): New array.
14557 (setpayload_test): New function.
14558 (main): Call setpayload_test.
14559 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14560 setpayloadf and setpayloadl.
14561 * manual/libm-err-tab.pl: Update comment on interfaces without
14562 ulps tabulated.
14563 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14564 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14566 Likewise.
14567 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14568 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14569 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14570 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14571 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14572 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14573 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14575 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14576 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14577 setpayload.
14578 (CFLAGS-nldbl-setpayload.c): New variable.
14579 * sysdeps/nacl/libm.abilist: Update.
14580 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14593 Likewise.
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14595 Likewise.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14597 Likewise.
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14599 Likewise.
14600 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14606 Likewise.
14607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14608 Likewise.
14609 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14612
146132016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14614
14615 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14616 * include/unistd.h: Extend comment about __access_noerrno return
14617 semantics.
14618 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14619 (access_common): Correct typo for EACCES.
14620
146212016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14622
14623 * sysdeps/tile/math-tests.h: New file.
14624
14625 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14626 (__old_set_dataplane): Rename from set_dataplane and make a
14627 compatibility symbol.
14628 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14629 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14630 sys/dataplane.h.
14631
146322016-11-18 Joseph Myers <joseph@codesourcery.com>
14633
14634 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14635 script quote words in command output to log suitably for input to
14636 the shell.
14637
146382016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14639 Maciej W. Rozycki <macro@imgtec.com>
14640
14641 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14642 `.Lno_weak_fn' label.
14643 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14644 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14645
146462016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14647 Yury Norov <ynorov@caviumnetworks.com>
14648
14649 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14650 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14651 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14652 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14653 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14655 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14657 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14659 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14660 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14661 (sysdep_routines): Remove oldgetrlimit64.
14662 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14663 (sysdep_routines): Likewise.
14664 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14665 (sysdep_routines): Likewise.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14667 [$(subdir) = resource] (sysdep_routines): Likewise.
14668 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14669 [$(subdir) = resource] (sysdep_routines): Likewise.
14670 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14671 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14672 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14673 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14674 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14675 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14676 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14677 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14678 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14680 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14681 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14682 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14683 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14684 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14685 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14686 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14687 setrlimit and getrlimit.
14688 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14689 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14690 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14694 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14695 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14697 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14698 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14699 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14700 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14701 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14702 (__old_getrlimit64): Add compatibility symbol.
14703 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14704
147052016-11-17 Joseph Myers <joseph@codesourcery.com>
14706
14707 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14708 newly built gmp, mpfr and mpc.
14709
14710 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14711
147122016-11-16 Joseph Myers <joseph@codesourcery.com>
14713
14714 * conform/Makefile (linknamespace-libs): Rename to
14715 linknamespace-libs-thr.
14716 (linknamespace-libs-posix): New variable.
14717 (linknamespace-libs-xsi): Likewise.
14718 (linknamespace-libs-XPG3): Include libcrypt.a.
14719 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14720 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14721 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14722 (linknamespace-libs-XOPEN2K): Likewise.
14723 (linknamespace-libs-XOPEN2K8): Likewise.
14724 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14725
14726 [BZ #20829]
14727 * stdio-common/Versions (__snprintf): Add to version
14728 GLIBC_PRIVATE.
14729 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14730 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14731 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14732 of snprintf.
14733 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14734
147352016-11-16 Zack Weinberg <zackw@panix.com>
14736
14737 * string/string.h: Remove obsolete comment stating that
14738 strcoll_l and strxfrm_l have not yet been standardized.
14739
147402016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14741
14742 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14743 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14744 __access_noerrno.
14745 * io/access.c (__access_noerrno): New function.
14746 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14747 (hurd_fail_seterrno): Likewise.
14748 (access_common): Likewise.
14749 (__access_noerrno): Likewise.
14750 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14751 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14752 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14753 macro.
14754
147552016-11-16 Joseph Myers <joseph@codesourcery.com>
14756
14757 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14758 Only declare fpregs if [__SH_FPU_ANY__].
14759
147602016-11-15 Joseph Myers <joseph@codesourcery.com>
14761
14762 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14763 Make code unconditional.
14764 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14765
147662016-11-15 Rical Jasan <ricaljasan@pacific.net>
14767
14768 * manual/sysinfo.texi (S_APPEND): Delete.
14769 (S_IMMUTABLE): Likewise.
14770
147712016-11-15 Denis Kaganovich <mahatma@eu.by>
14772 Magnus Granberg <zorry@gentoo.org>
14773 Mike Frysinger <vapier@gentoo.org>
14774
14775 [BZ #20662]
14776 * configure.ac (libc_cv_predef_stack_protector): Also check for
14777 __stack_chk_fail_local symbols.
14778 * configure: Regenerated.
14779
147802016-11-15 Florian Weimer <fweimer@redhat.com>
14781
14782 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14783 (libc_hidden_def): Remove redefinition.
14784 (__sigsetjmp): Add hidden definition.
14785 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14786 (libc_hidden_def): Remove redefinition.
14787 (__sigsetjmp): Add hidden definition.
14788
147892016-11-14 Joseph Myers <joseph@codesourcery.com>
14790
14791 * scripts/build-many-glibcs.py (os.path): Do not import.
14792 (Context): Inherit explicitly from object. Remove blank line
14793 between class and docstring.
14794 (Config): Likewise.
14795 (Glibc): Likewise.
14796 (Command): Likewise.
14797 (CommandList): Likewise.
14798 (Context.write_files): Store chmod mode in a variable.
14799
14800 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14801 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14802 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14803
148042016-11-14 Zack Weinberg <zackw@panix.com>
14805
14806 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14807 creating or re-creating it.
14808
14809 * string/bits/string2.h: Fix typo in comment.
14810
148112016-11-14 Zack Weinberg <zackw@panix.com>
14812
14813 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14814 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14815 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14816 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14817 of redirected function names.
14818
14819 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14820 as well. Document that MESSAGE must be a single string literal.
14821
148222016-11-11 Joseph Myers <joseph@codesourcery.com>
14823
14824 * scripts/build-many-glibcs.py: New file.
14825
14826 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14827 (do_test): Disable -Wmaybe-uninitialized around uses of
14828 except_mask.
14829
14830 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14831
148322016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14833
14834 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14835 (atomic_store_release): Provide tilepro-specific implementations.
14836
148372016-11-10 Joseph Myers <joseph@codesourcery.com>
14838
14839 * math/math.h (__MATH_TG): New macro.
14840 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14841 [__USE_ISOC99] (signbit): Likewise.
14842 [__USE_ISOC99] (isfinite): Likewise.
14843 [__USE_ISOC99] (isnan): Likewise.
14844 [__USE_ISOC99] (isinf): Likewise.
14845 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14846 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14847 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14848 __MATH_TG and __MATH_EVAL_FMT2.
14849 * sysdeps/generic/math_private.h (fabs_tg): Define using
14850 __MATH_TG.
14851 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14852 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14853 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14854 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14855 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14856 macro.
14857 (__iscanonical): Likewise.
14858 (iscanonical): Define using __MATH_TG.
14859
148602016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14861
14862 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14863 guards.
14864
14865 * sysdeps/unix/sysv/linux/access.c: New file.
14866 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14867
148682016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14869
14870 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14871 and __WORDSIZE32_PTRDIFF_LONG.
14872
148732016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14874
14875 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14876
148772016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14878
14879 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14880 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14881 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14882 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14883 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14885 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14886 * sysdeps/unix/sysv/linux/truncate.c: New file.
14887 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14888 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14889 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14890 Remove.
14891 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14892 Likewise.
14893
14894 * posix/tst-truncate-common.c: New file.
14895 * posix/tst-truncate.c: Use tst-truncate-common.c.
14896 * posix/tst-truncate64.c: Likewise and add LFS tests.
14897 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14898 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14899 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14900 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14901 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14903 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14904 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14905 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14906 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14907 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14908 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14909 Remove.
14910 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14911 Likewise.
14912
149132016-11-08 Joseph Myers <joseph@codesourcery.com>
14914
14915 [BZ #20790]
14916 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14917 to MAXLINESIZE.
14918 * sunrpc/bug20790.x: New file.
14919 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14920 variable.
14921 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14922 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14923
14924 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14925
14926 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14927
14928 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14929 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14930 calloc, realloc, free, memalign and __libc_memalign rather than
14931 making them optional.
14932
14933 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14934 for libc.so.
14935
149362016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14937
14938 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14939 ptw-lseek64.
14940 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14941 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14942 Likewise.
14943 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14944 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14945 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14946 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14947 * sysdeps/unix/sysv/linux/lseek.c: New file.
14948 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14949 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14950 __libc_lseek64 from auto-generation.
14951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14952 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14953
149542016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14955
14956 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14957 * nptl/tst-cleanup1.c (do_test): Likewise.
14958 * nptl/tst-cleanup3.c (do_test): Likewise.
14959 * nptl/tst-key1.c (do_test): Likewise.
14960 * nptl/tst-key2.c (tf, do_test): Likewise.
14961 * nptl/tst-key3.c (tf, do_test): Likewise.
14962 * nptl/tst-stdio1.c (do_test): Likewise.
14963 * nptl/tst-stdio2.c (do_test): Likewise.
14964
14965 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14966 * nptl/tst-kill6.c (handler): Likewise.
14967 * nptl/tst-tls2.c (CB): Likewise.
14968 * nptl/tst-tls3.c (CB): Likewise.
14969
149702016-11-07 Joseph Myers <joseph@codesourcery.com>
14971
14972 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14973
149742016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14975 Steve Ellcey <sellcey@caviumnetworks.com>
14976
14977 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14978 __ASSUME_ST_INO_64_BIT as 0
14979 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14980 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14981 over the code where __ASSUME_ST_INO_64_BIT is used.
14982 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14983 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14984 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14985
149862016-11-07 Florian Weimer <fweimer@redhat.com>
14987
14988 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14989 Document ABI exposure of the __kind offset.
14990 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14991 Mention reason for the __kind offset exposure in the ABI.
14992 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14993 Likewise.
14994 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14995 Likewise.
14996 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14997 Likewise.
14998 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14999 (struct __pthread_mutex_s): Likewise.
15000 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15001 Likewise.
15002 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15003 Likewise.
15004 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15005 Likewise.
15006 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15007 Likewise.
15008 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15009 Likewise.
15010 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15011 Likewise.
15012 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
15013 (struct __pthread_mutex_s): Likewise.
15014 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15015 (struct __pthread_mutex_s): Likewise.
15016 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
15017 Likewise.
15018
150192016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
15020
15021 * test-skeleton.c: Document do_test usage.
15022
150232016-11-06 Aurelien Jarno <aurelien@aurel32.net>
15024
15025 * iconv/gconv.h (__gconv_info): Define __data element using a
15026 zero-length array.
15027
150282016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
15029
15030 * math/test-tgmath2.c: Split up test function.
15031
150322016-11-04 Joseph Myers <joseph@codesourcery.com>
15033
15034 * Rules (tests-expected): New variable, depending on
15035 $(run-built-tests).
15036 (tests): Pass $(tests-expected) to merge-test-results.sh, not
15037 $(tests).
15038
15039 * Rules [$(run-built-tests) = no] (tests): Do not depend on
15040 $(tests-unsupported).
15041
150422016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15043
15044 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
15045 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
15046
150472016-11-04 Joseph Myers <joseph@codesourcery.com>
15048
15049 [BZ #20768]
15050 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
15051 __fegetenv instead of fegetenv.
15052
15053 [BZ #14139]
15054 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
15055 (find_files): Obtain platform name from libm-test-ulps-name and
15056 store in %pplatforms.
15057 (canonicalize_platform): Remove.
15058 (print_platforms): Use $pplatforms directly.
15059 (by_platforms): Do not allow for platforms missing from
15060 %pplatforms.
15061 * sysdeps/aarch64/libm-test-ulps-name: New file.
15062 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
15063 * sysdeps/arm/libm-test-ulps-name: Likewise.
15064 * sysdeps/generic/libm-test-ulps-name: Likewise.
15065 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
15066 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
15067 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
15068 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
15069 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
15070 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
15071 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
15072 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
15073 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
15074 * sysdeps/nios2/libm-test-ulps-name: Likewise.
15075 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
15076 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
15077 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
15078 * sysdeps/sh/libm-test-ulps-name: Likewise.
15079 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
15080 * sysdeps/tile/libm-test-ulps-name: Likewise.
15081 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
15082
15083 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
15084
15085 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
15086 (test-xfail-check-execstack): New variable.
15087
15088 * sysdeps/mips/localplt.data: New file.
15089
150902016-11-04 Yury Norov <ynorov@caviumnetworks.com>
15091 Steve Ellcey <sellcey@caviumnetworks.com>
15092
15093 * bits/wordsize.h: Add documentation.
15094 * sysdeps/aarch64/bits/wordsize.h : New file
15095 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
15096 definitions.
15097 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
15098 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
15099 with #if instead of #ifdef.
15100 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
15101 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
15102 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
15103 Add or change defines.
15104 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
15105 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15106 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
15107 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
15108 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15109 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15110 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
15111 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15112 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
15113 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
15115 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
15116 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
15117 * sysdeps/x86/bits/wordsize.h: Likewise.
15118
151192016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
15120 Kevin Petit <kevin.petit@arm.com>
15121
15122 * sysdeps/aarch64/memchr.S (__memchr): New file.
15123
151242016-11-04 Joseph Myers <joseph@codesourcery.com>
15125
15126 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
15127
151282016-11-03 Joseph Myers <joseph@codesourcery.com>
15129
15130 [BZ #19398]
15131 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
15132 $(linknamespace-symlists-tests).
15133
151342016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
15135
15136 * time/tst-strptime2.c: Ignore -Wformat-length warning.
15137
151382016-11-02 Florian Weimer <fweimer@redhat.com>
15139 Carlos O'Donell <carlos@redhat.com>
15140
15141 [Bug #20729]
15142 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
15143 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
15144 for -Os related change.
15145
151462016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
15147
15148 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
15149
151502016-11-01 Joseph Myers <joseph@codesourcery.com>
15151
15152 [BZ #19673]
15153 * manual/math.texi (Exponents and Logarithms): Correct description
15154 of clog10.
15155
151562016-10-31 Carlos O'Donell <carlos@redhat.com>
15157
15158 [Bz #20729]
15159 * locale/weight.h: Include libc-internal.h.
15160 * locale/weightwc.h: Likewise.
15161 * nptl/nptl_dbP.h: Likewise.
15162
151632016-10-31 Brent W. Baccala <cosine@freesoft.org>
15164
15165 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
15166 when it is MACH_PORT_NULL.
15167
151682016-10-31 Andreas Schwab <schwab@suse.de>
15169
15170 [BZ #20707]
15171 * posix/glob.c (glob): Initialize pglob before checking for
15172 GLOB_BRACE. Don't call glob recursively if pattern contains no
15173 valid brace expression despite GLOB_BRACE.
15174 * posix/globtest.sh: Test it.
15175
151762016-10-28 Carlos O'Donell <carlos@redhat.com>
15177
15178 [BZ #20729]
15179 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
15180 Define.
15181 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
15182 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
15183 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15184 for seq2.back_us and seq1.back_us only for -Os compiles.
15185 * locale/weightwc.h (findix): Likewise.
15186 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15187 DB_GET_FIELD_ADDRESS only for -Os compiles.
15188 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15189 for slen only for -Os compiles.
15190 * string/strcoll_l.c (get_next_seq): Ignore
15191 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15192 for -Os compiles.
15193
15194 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15195 * include/crypt.h: New file.
15196
151972016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15198
15199 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15200 from test-skeleton.c.
15201 (statclass): Replace calls to write with calls to write_message.
15202
152032016-10-28 Joseph Myers <joseph@codesourcery.com>
15204
15205 * math/math.h
15206 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15207 New macro.
15208 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15209 Likewise.
15210 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15211 Likewise.
15212 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15213 SNANL.
15214 * math/test-double.h (snan_value_MACRO): New macro.
15215 * math/test-float.h (snan_value_MACRO): Likewise.
15216 * math/test-ldouble.h (snan_value_MACRO): Likewise.
15217 * math/libm-test.inc (issignaling_test_data): Add tests of
15218 snan_value_MACRO.
15219
152202016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15221
15222 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15223 behavior when eliding a lock not held by the current thread.
15224 * sysdeps/powerpc/nptl/elide.h: Likewise.
15225
152262016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15227
15228 [BZ #20728]
15229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15230 branch to _exit() by a function call.
15231
152322016-10-28 Florian Weimer <fweimer@redhat.com>
15233
15234 * malloc/malloc.c: Update chunk layout comments.
15235 (chunk_main_arena): Update comment.
15236
152372016-10-28 Florian Weimer <fweimer@redhat.com>
15238
15239 * crypt/sha256.c, crypt/sha256-block.c,
15240 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15241 sha256_process_block to __sha256_process_block.
15242 * crypt/sha512.c, crypt/sha512-block.c,
15243 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15244 sha512_process_block to __sha512_process_block.
15245
152462016-10-28 Carlos O'Donell <carlos@redhat.com>
15247
15248 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15249
15250 * math/test-nan-overflow.c: Include stdlib.h for malloc.
15251
152522016-10-28 H.J. Lu <hongjiu.lu@intel.com>
15253
15254 [BZ #20019]
15255 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15256 definition in unrelocated shared library.
15257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15258
152592016-10-28 Florian Weimer <fweimer@redhat.com>
15260
15261 [BZ #20729]
15262 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15263 * sysdeps/unix/sysv/linux/i386/Makefile
15264 (uses-6-syscall-arguments): Define.
15265 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15266 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15267 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15268 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15269 Likewise.
15270 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15271 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15272 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15273 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15274 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15275 (CFLAGS-fallocate64.os): Likewise.
15276 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15277 (CFLAGS-pthread_rwlock_timedrdlock.os)
15278 (CFLAGS-pthread_rwlock_timedwrlock.o)
15279 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15280 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15281 (CFLAGS-sem_timedwait.os): Likewise.
15282
152832016-10-28 Florian Weimer <fweimer@redhat.com>
15284
15285 * elf/tst-linkall-static.c: New file.
15286 * elf/Makefile (tests-static): Add tst-linkall-static.
15287 (tst-linkall-static): Link against static libraries.
15288
152892016-10-27 Florian Weimer <fweimer@redhat.com>
15290
15291 * malloc/malloc.c (sysmalloc): Initialize previous size field of
15292 mmaped chunks.
15293
152942016-10-28 Florian Weimer <fweimer@redhat.com>
15295
15296 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15297 members to mchunk_prev_size, mchunk_size.
15298 (chunk_main_arena): Reverse sense and rename from
15299 chunk_non_main_arena.
15300 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15301 mchunk_size instead of size.
15302 (set_non_main_arena): Define.
15303 (chunksize): Use chunksize_nomask instead of direct member access.
15304 (chunksize_nomask): Define.
15305 (next_chunk): Use chunksize instead of direct member access.
15306 (prev_size, set_prev_size): Define.
15307 (prev_chunk): Use prev_size instead of direct member access.
15308 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15309 (inuse_bit_at_offset, set_inuse_bit_at_offset)
15310 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15311 (mchunk_prev_size, mchunk_size): Poison tokens.
15312 (unlink): Use chunksize_nomask, prev_size accessors.
15313 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15314 (do_check_free_chunk): Use prev_size accessor.
15315 (sysmalloc): Use set_prev_size, set_head accessors.
15316 (munmap_chunk, mremap_chunk): Use prev_size accessor.
15317 (__libc_free): Use chunksize_nomask accessor.
15318 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15319 chunk_main_arena accessors.
15320 (_int_free): Use chunksize_nomask, prev_size accessors.
15321 (malloc_consolidate): Use chunksize, prev_size accessors.
15322 (_int_realloc): Use chunksize_nomask accessor.
15323 (_int_memalign): Use set_prev_size accessor.
15324 (__malloc_info): Use chunksize_nomask accessor.
15325 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15326 accessors.
15327 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15328 (heap_trim): Use chunksize_nomask, prev_size accessors.
15329
153302016-10-28 Joseph Myers <joseph@codesourcery.com>
15331
15332 [BZ #19380]
15333 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15334 for inexact results.
15335 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15336 of inexact result where mpfr_subnormalize is the only inexact
15337 step.
15338 * stdlib/tst-strtod-round-data.h: Regenerated.
15339 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15340 Define to 0.
15341 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15342
153432016-10-27 David S. Miller <davem@davemloft.net>
15344
15345 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15346
153472016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
15348
15349 * malloc/malloc.c (do_set_mallopt_check): New function.
15350 (do_set_mmap_threshold): Likewise.
15351 (do_set_mmaps_max): Likewise.
15352 (do_set_top_pad): Likewise.
15353 (do_set_perturb_byte): Likewise.
15354 (do_set_trim_threshold): Likewise.
15355 (do_set_arena_max): Likewise.
15356 (do_set_arena_test): Likewise.
15357 (__libc_mallopt): Use them.
15358
153592016-10-26 Joseph Myers <joseph@codesourcery.com>
15360
15361 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15362 (canonicalize): New declaration.
15363 * math/Versions (canonicalize): New libm symbol at version
15364 GLIBC_2.25.
15365 (canonicalizef): Likewise.
15366 (canonicalizel): Likewise.
15367 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15368 * math/s_canonicalize_template.c: New file.
15369 * math/libm-test.inc: Update comment on functions tested and
15370 testing of NaN payloads.
15371 (TEST_NAN_PAYLOAD): New macro.
15372 (NO_TEST_INLINE): Update value.
15373 (XFAIL_TEST): Likewise.
15374 (ERRNO_UNCHANGED): Likewise.
15375 (ERRNO_EDOM): Likewise.
15376 (ERRNO_ERANGE): Likewise.
15377 (IGNORE_RESULT): Likewise.
15378 (NON_FINITE): Likewise.
15379 (TEST_SNAN): Likewise.
15380 (NO_TEST_MATHVEC): Likewise.
15381 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15382 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15383 (struct test_Ffp_b1_data): New type.
15384 (RUN_TEST_Ffp_b1): New macro.
15385 (RUN_TEST_LOOP_Ffp_b1): Likewise.
15386 (canonicalize_test_data): New array.
15387 (canonicalize_test): New function.
15388 (main): Call canonicalize_test.
15389 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15390 canonicalizef and canonicalizel.
15391 * manual/libm-err-tab.pl: Update comment on interfaces without
15392 ulps tabulated.
15393 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15394 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15395 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15396 canonicalize.
15397 (CFLAGS-nldbl-canonicalize.c): New variable.
15398 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15399 to ...
15400 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15401 ... here.
15402 (do_test): Also test canonicalizel.
15403 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15404 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15405 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15406 file.
15407 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15408 Use libm_hidden_def.
15409 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15410 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15411 (do_test): Also test canonicalizel.
15412 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15413 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15414 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15415 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15416 libm_hidden_def.
15417 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15418 macro.
15419 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15420 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15421 * sysdeps/nacl/libm.abilist: Update.
15422 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15424 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15425 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15426 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15427 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15428 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15429 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15432 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15433 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15435 Likewise.
15436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15437 Likewise.
15438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15439 Likewise.
15440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15441 Likewise.
15442 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15443 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15444 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15445 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15446 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15448 Likewise.
15449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15450 Likewise.
15451 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15454
15455 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15456 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15457 getpayload.
15458 (CFLAGS-nldbl-getpayload.c): New variable.
15459
154602016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15461
15462 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15463 integer from the format string.
15464
154652016-10-26 Florian Weimer <fweimer@redhat.com>
15466
15467 [BZ #19473]
15468 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15469 declarations.
15470 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15471 weak aliases.
15472 * malloc/hooks.c (__malloc_get_state): Remove definition.
15473 (malloc_get_state): New stub implementation as
15474 compatibility symbol.
15475 (malloc_set_state): Rename from __malloc_set_state. Turn into
15476 compat symbol.
15477 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15478 malloc_set_state.
15479 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15480
154812016-10-26 Florian Weimer <fweimer@redhat.com>
15482
15483 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15484 (names): Turn into concatenation of strings.
15485 (gconv_init): Adapt iteration over names.
15486
154872016-10-26 Florian Weimer <fweimer@redhat.com>
15488
15489 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15490 make const.
15491 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15492 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15493 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15494 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15495 character in sbconv.
15496 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15497 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15498 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15499
155002016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15501
15502 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15503
15504 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15505 (M_TRIM_THRESHOLD): Likewise.
15506
15507 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15508 (M_ARENA_MAX): Likewise.
15509 * malloc/malloc.c: Remove obsolete comment.
15510
15511 * manual/memory.texi: Add environment variable alternatives to
15512 setting mallopt parameters.
15513
155142016-10-26 Carlos O'Donell <carlos@redhat.com>
15515
15516 * include/atomic.h
15517 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15518 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15519
155202016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15521
15522 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15523 * stdlib/tst-strfrom.h: New file.
15524 * stdlib/tst-strfrom.c: New file.
15525 * stdlib/tst-strfrom-locale.c: New file.
15526
15527 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15528 * stdlib/bug-strtod2.c: Likewise.
15529 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15530 * stdlib/tst-strtod6.c: Likewise.
15531 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15532
155332016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15534
15535 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15536 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15537 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15538 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15539 * stdlib/stdlib.h (strfromd): New declaration.
15540 (strfromf): Likewise.
15541 (strfroml): Likewise.
15542 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15543 strfrom.
15544 * stdlib/strfromd.c: New file.
15545 * stdlib/strfromf.c: Likewise.
15546 * stdlib/strfroml.c: Likewise.
15547 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15548 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15549 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15550 * sysdeps/arm/nacl/libc.abilist: Update.
15551 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15552 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15553 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15554 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15556 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15557 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15558 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15559 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15560 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15561 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15562 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15563 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15564 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15570 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15571 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15572 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15573 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15577 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15578 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15579
155802016-10-25 Joseph Myers <joseph@codesourcery.com>
15581
15582 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15583 instead of cmpli.
15584 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15585 instead of cmpli.
15586
155872016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15588
15589 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15590 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15591 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15592 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15593 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15594 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15595
155962016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15597
15598 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15599 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15600 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15601 SYSCALL_LL64_PRW.
15602 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15603 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15604 __ASSUME_PRW_DUMMY_ARG.
15605 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15606 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15607 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15608 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15609 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15610 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15611
156122016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15613
15614 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15615
156162016-10-22 Florian Weimer <fweimer@redhat.com>
15617
15618 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15619 "C++", to override a potential extern "C" directive around the
15620 header file inclusion.
15621
156222016-10-21 Joseph Myers <joseph@codesourcery.com>
15623
15624 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15625
156262016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15627
15628 * sysdeps/powerpc/fpu/fenv_private.h:
15629 (_FPU_MASK_ALL): Rename to...
15630 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15631 XE FPSCR bits.
15632
15633 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15634
15635 (_FPU_MASK_ROUNDING): Rename to...
15636 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15637 NI bits.
15638
15639 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15640 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15641 bits and rounding bits.
15642
15643 (__libc_feholdbits_ppc): New inline function to mask, set,
15644 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15645 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15646 (libc_feholdexcept_setround_ppc): Likewise.
15647
15648 (__libc_femergeenv_ppc): New function to dynamically mask both
15649 old and new FP environments and merge.
15650 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15651 (libc_feresetround_ppc): Likewise.
15652 (libc_feupdateenv_test_ppc): Likewise.
15653 (libc_feupdateenv_ppc): Likewise.
15654
15655 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15656 of ISA RN bits, and update macro names.
15657 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15658 effectively the same as the previously mentioned function.
15659
15660 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15661 usage with fe_resetround_ppc.
15662
15663 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15664 to be used.
15665 (libc_feholdexcept_setround_ctxf): Likewise.
15666 (libc_feholdexcept_setround_ctxl): Likewise.
15667
156682016-10-21 Florian Weimer <fweimer@redhat.com>
15669
15670 [BZ #20715]
15671 * math/math.h [__cplusplus] (iszero): Define as function template.
15672 * math/Makefile [CXX] (tests): Add test-math-iszero.
15673 (CFLAGS-test-math-iszero.cc): Set.
15674 * math/test-math-iszero.cc: New file.
15675
156762016-10-20 Joseph Myers <joseph@codesourcery.com>
15677
15678 [BZ #20660]
15679 * sysdeps/arm/e_sqrt.c: New file.
15680 * sysdeps/arm/e_sqrtf.c: Likewise.
15681
156822016-10-19 Joseph Myers <joseph@codesourcery.com>
15683
15684 [BZ #20718]
15685 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15686 not use floating-point comparisons to test sign.
15687 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15688 Likewise.
15689
15690 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15691 (getpayload): New declaration.
15692 * math/Versions (getpayload): New libm symbol at version
15693 GLIBC_2.25.
15694 (getpayloadf): Likewise.
15695 (getpayloadl): Likewise.
15696 * math/Makefile (libm-calls): Add s_getpayloadF.
15697 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15698 (struct test_f_f_data): Add comment.
15699 (RUN_TEST_fp_f): New macro.
15700 (RUN_TEST_LOOP_fp_f): Likewise.
15701 (getpayload_test_data): New array.
15702 (getpayload_test): New function.
15703 (main): Call getpayload_test.
15704 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15705 descriptor.
15706 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15707 getpayloadf and getpayloadl.
15708 * manual/libm-err-tab.pl: Update comment on interfaces without
15709 ulps tabulated.
15710 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15711 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15712 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15716 * sysdeps/nacl/libm.abilist: Update.
15717 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15719 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15720 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15721 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15722 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15723 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15727 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15728 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15730 Likewise.
15731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15732 Likewise.
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15734 Likewise.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15736 Likewise.
15737 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15743 Likewise.
15744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15745 Likewise.
15746 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15747 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15749
157502016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15751
15752 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15753 tst-fallocate{64}.
15754 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15755 on syscall return.
15756
157572016-10-17 Carlos O'Donell <carlos@redhat.com>
15758
15759 [BZ #20689]
15760 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15761 usable.
15762
157632016-10-17 Joseph Myers <joseph@codesourcery.com>
15764
15765 * sysdeps/generic/nan-high-order-bit.h: New file.
15766 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15767 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15768 * sysdeps/hppa/math_private.h: Remove file.
15769 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15770 not define here.
15771 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15772 <nan-high-order-bit.h>.
15773 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15774 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15775 <nan-high-order-bit.h>.
15776 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15777 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15778 <nan-high-order-bit.h>.
15779 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15780 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15781 <nan-high-order-bit.h>.
15782 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15783 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15784 <nan-high-order-bit.h>.
15785 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15786 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15787 <nan-high-order-bit.h>.
15788 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15789 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15790 <nan-high-order-bit.h>.
15791 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15792 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15793 <nan-high-order-bit.h>.
15794 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15795 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15796 <nan-high-order-bit.h>.
15797 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15798 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15799 <nan-high-order-bit.h>.
15800 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15801 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15802 <nan-high-order-bit.h>.
15803 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15804 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15805 <nan-high-order-bit.h>.
15806 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15807 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15808 <nan-high-order-bit.h>.
15809 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15810 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15811 <nan-high-order-bit.h>.
15812 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15813 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15814 <nan-high-order-bit.h>.
15815 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15816 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15817 <nan-high-order-bit.h>.
15818 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15819 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15820 <nan-high-order-bit.h>.
15821 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15822 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15823 <nan-high-order-bit.h>.
15824 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15825
158262016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15827
15828 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15829
158302016-09-22 John David Anglin <dave.anglin@bell.net>
15831
15832 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15833 abort-instr.h.
15834 (EFAULT): Remove conditional define.
15835 (ENOSYS): Likewise.
15836 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15837 instead of conditional branch instructions.
15838
158392016-10-15 Joseph Myers <joseph@codesourcery.com>
15840
15841 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15842 (totalordermag): New declaration.
15843 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15844 New macro.
15845 * math/Versions (totalordermag): New libm symbol at version
15846 GLIBC_2.25.
15847 (totalordermagf): Likewise.
15848 (totalordermagl): Likewise.
15849 * math/Makefile (libm-calls): Add s_totalordermagF.
15850 * math/libm-test.inc (totalordermag_test_data): New array.
15851 (totalordermag_test): New function.
15852 (main): Call totalordermag_test.
15853 * math/test-tgmath.c (NCALLS): Increase to 125.
15854 (F(compile_test)): Call totalordermag.
15855 (F(totalordermag)): New function.
15856 * manual/arith.texi (FP Comparison Functions): Document
15857 totalordermag, totalordermagf and totalordermagl.
15858 * manual/libm-err-tab.pl: Update comment on interfaces without
15859 ulps tabulated.
15860 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15861 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15862 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15867 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15868 totalordermag.
15869 (CFLAGS-nldbl-totalordermag.c): New variable.
15870 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15871 (do_test): Also test totalordermagl.
15872 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15873 Likewise.
15874 * sysdeps/nacl/libm.abilist: Update.
15875 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15888 Likewise.
15889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15890 Likewise.
15891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15892 Likewise.
15893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15894 Likewise.
15895 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15901 Likewise.
15902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15903 Likewise.
15904 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15907
159082016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15909
15910 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15911 boolean.
15912
159132016-10-13 Joseph Myers <joseph@codesourcery.com>
15914
15915 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15916 raising FE_INVALID with feraisexcept in case where part of
15917 argument is infinite, subtract that part of argument from itself.
15918 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15919 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15920 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15921
159222016-10-12 Joseph Myers <joseph@codesourcery.com>
15923
15924 * math/libm-test.inc (totalorder_test_data): Add more tests.
15925
159262016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15927
15928 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15929 Undefine weak_alias and add a comment why mips64 require
15930 versioning.
15931
159322016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15933
15934 [BZ #20647]
15935 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15936 maximum CPUID level is less than 2.
15937
159382016-10-12 Joseph Myers <joseph@codesourcery.com>
15939
15940 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15941 (totalorder): New declaration.
15942 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15943 New macro.
15944 * math/Versions (totalorder): New libm symbol at version
15945 GLIBC_2.25.
15946 (totalorderf): Likewise.
15947 (totalorderl): Likewise.
15948 * math/Makefile (libm-calls): Add s_totalorderF.
15949 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15950 string.
15951 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15952 (qnan_value_pl): Likewise.
15953 (snan_value_pl): Likewise.
15954 (qnan_value): Define using qnan_value_pl.
15955 (snan_value): Define using snan_value_pl.
15956 (struct test_ff_i_data): Add comment about which tests use this
15957 structure.
15958 (RUN_TEST_ff_b): New macro.
15959 (RUN_TEST_LOOP_ff_b): Likewise.
15960 (totalorder_test_data): New array.
15961 (totalorder_test): New function.
15962 (main): Call totalorder_test.
15963 * math/test-tgmath.c (NCALLS): Increase to 122.
15964 (F(compile_test)): Call totalorder.
15965 (F(totalorder)): New function.
15966 * manual/arith.texi (FP Comparison Functions): Document
15967 totalorder, totalorderf and totalorderl.
15968 * manual/libm-err-tab.pl: Update comment on interfaces without
15969 ulps tabulated.
15970 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15971 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15972 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15977 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15978 totalorder.
15979 (CFLAGS-nldbl-totalorder.c): New variable.
15980 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15981 file.
15982 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15983 Add test-totalorderl-ldbl-128ibm.
15984 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15985 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15986 test-totalorderl-ldbl-96.
15987 * sysdeps/nacl/libm.abilist: Update.
15988 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16001 Likewise.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16003 Likewise.
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16005 Likewise.
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16007 Likewise.
16008 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16014 Likewise.
16015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16016 Likewise.
16017 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16020
160212016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16022
16023 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
16024 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
16025 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
16026 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
16027 remove ENOSYS implementation.
16028 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
16029 Consolidate all Linux implementations.
16030
160312016-10-11 Florian Weimer <fweimer@redhat.com>
16032
16033 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
16034 * resolv/herror.c (herror): Cast away const-ness.
16035 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
16036 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
16037
160382016-10-11 Joseph Myers <joseph@codesourcery.com>
16039
16040 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
16041 instead of M_NAN + M_NAN.
16042 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
16043
160442016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16045
16046 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
16047 unused variable 'p'.
16048
160492016-10-09 Alan Modra <amodra@gmail.com>
16050 Andreas Schwab <schwab@linux-m68k.org>
16051
16052 [BZ #20554]
16053 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
16054 [PIC && !SHARED]: Set up PIC register for PLT call.
16055
160562016-10-07 Joseph Myers <joseph@codesourcery.com>
16057
16058 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
16059 conditional on value of [__FLT_EVAL_METHOD__].
16060 * math/test-iseqsig-excess-precision.c: New file.
16061 * math/Makefile (tests): Add test-iseqsig-excess-precision.
16062
160632016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16064
16065 * math/s_iseqsig_template.c: Include math-private.h.
16066
16067 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
16068 * posix/tst-posix_fadvise.c: New file.
16069 * posix/tst-posix_fadvise64.c: Likewise.
16070 * posix/tst-posix_fadvise-common.c: Likewise.
16071 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16072 (__ASSUME_FADVISE64_64_6ARG): Define.
16073 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16074 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
16075 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16076 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
16077 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
16078 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
16079 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
16080 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
16081 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
16082 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
16083 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
16084 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
16087 Likewise.
16088 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
16089 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
16090 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
16091 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16092 Alias to __posix_fadvise64_l32.
16093 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
16094 Add compat definition to posix_fadvise64.
16095 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16096 Add versioned definition to posix_fadvise64.
16097 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
16098 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
16099 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
16100 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
16101 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
16102
16103 * io/Makefile (tests): Add tst-posix_fallocate and
16104 tst-posix_fallocate64.
16105 * io/tst-posix_fallocate-common.c: New file.
16106 * io/tst-posix_fallocate.c: Likewise.
16107 * io/tst-posix_fallocate64.c: Likewise.
16108 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
16109 file.
16110 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
16111 Likewise.
16112 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
16113 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
16114 Likewise.
16115 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
16116 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
16117 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
16118 SYSCALL_LL to pass both offset and len arguments.
16119 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
16120 Likewise.
16121 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
16122 __libc_pwrite64 alias used by posix_fallocate64.
16123
16124 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16125 tst-fallocate64.
16126 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16127 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16128 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16129 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16130 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16131 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16132 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16133 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16134 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16135 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16136 macro on offset argument.
16137 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16138 SYSCALL_LL64 on offset argument.
16139
16140 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16141 tst-fallocate64.
16142 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16143 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16144 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16145 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16146 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16147 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16148 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16149 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16150 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16151 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16152 macro on offset argument.
16153 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16154 SYSCALL_LL64 on offset argument.
16155 * test-skeleton.c (FAIL_RET): Add macro.
16156 (FAIL_EXIT): Likewise.
16157 (FAIL_EXIT1): Likewise.
16158 (_FAIL): Likewise.
16159
161602016-10-07 Florian Weimer <fweimer@redhat.com>
16161
16162 [BZ #20629]
16163 resolv: Remove RES_USEBSTRING and its implementation.
16164 * resolv/resolv.h (RES_USEBSTRING): Remove.
16165 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
16166 (digitvalue, encode_bitstring, decode_bitstring): Remove.
16167 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
16168 (labellen): Remove extended label types support.
16169 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
16170 * resolv/res_init.c (res_setoptions): Likewise.
16171 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16172
161732016-10-07 Florian Weimer <fweimer@redhat.com>
16174
16175 resolv: Remove RES_NOIP6DOTINT and its implementation.
16176 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
16177 (RES_NOIP6DOTINT): Remove.
16178 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
16179 handling.
16180 * resolv/res_debug.c (p_option): Likewise.
16181 * resolv/res_init.c (res_setoptions): Likewise.
16182 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16183
161842016-10-07 Florian Weimer <fweimer@redhat.com>
16185
16186 resolv: Deprecate unimplemented flags.
16187 * misc/sys/cdefs.h (__glibc_macro_warning1)
16188 (__glibc_macro_warning): Define.
16189 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16190 (RES_KEEPTSIG): Mark as deprecated.
16191 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16192 RES_NOCHECKNAME, RES_KEEPTSIG.
16193 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16194
161952016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16196
16197 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16198 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16199 Use strong_alias to create symbols for glibc verison 2.19.
16200
162012016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16202
16203 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16204
162052016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16206
16207 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16208
162092016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16210
16211 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16212
162132016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16214
16215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16216 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16217 in header for using it as type for ifunc function because __GI_* symbols
16218 for ppc32 do not target the ifunc symbols.
16219 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16220
162212016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16222
16223 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16224 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16225 libc_ifunc_hidden_def.
16226 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16227 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16228 Redirect ifunced function in header for using it as type of ifunc'ed
16229 function. Redefine libc_hidden_def to use fallback non ifunc'ed
16230 function for __GI_* symbol.
16231 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16232 * include/libc-symbols.h
16233 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16234
162352016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16236
16237 [BZ #20478]
16238 * sysdeps/s390/multiarch/ifunc-resolve.h
16239 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16240 to create ifunc symbols.
16241 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16242 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16243 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16244 for using it as type for ifunc function.
16245 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16246 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16247 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16248 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16249 * sysdeps/s390/multiarch/strcat.c: Likewise.
16250 * sysdeps/s390/multiarch/strchr.c: Likewise.
16251 * sysdeps/s390/multiarch/strcmp.c: Likewise.
16252 * sysdeps/s390/multiarch/strcpy.c: Likewise.
16253 * sysdeps/s390/multiarch/strcspn.c: Likewise.
16254 * sysdeps/s390/multiarch/strlen.c: Likewise.
16255 * sysdeps/s390/multiarch/strncmp.c: Likewise.
16256 * sysdeps/s390/multiarch/strncpy.c: Likewise.
16257 * sysdeps/s390/multiarch/strnlen.c: Likewise.
16258 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16259 * sysdeps/s390/multiarch/strrchr.c: Likewise.
16260 * sysdeps/s390/multiarch/strspn.c: Likewise.
16261 * sysdeps/s390/multiarch/wcschr.c: Likewise.
16262 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16263 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16264 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16265 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16266 * sysdeps/s390/multiarch/wmemset.c: Likewise.
16267 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16268 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16269 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16270 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16271 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16272 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16273
162742016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16275
16276 * include/libc-symbols.h (__ifunc_resolver):
16277 New macro is used by __ifunc* macros.
16278 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16279 depending on HAVE_GCC_IFUNC.
16280 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16281 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16283 Redirect ifunced function in header for using as type for ifunc function.
16284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16290 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16291 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16292 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16293 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16294 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16296 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16303 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16304 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16305 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16306 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16307 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16308 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16309 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16310 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16311 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16312 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16313 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16314 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16315 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16316 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16318 Add libc_hidden_def() and use libc_ifunc_hidden() macro
16319 instead of libc_ifunc() macro.
16320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16321 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16322
163232016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16324
16325 * config.h.in (HAVE_GCC_IFUNC): New undef.
16326 * configure.ac: Add check if gcc supports attribute ifunc feature.
16327 * configure: Regenerated.
16328 * manual/install.texi: Add recommendation for gcc with
16329 indirect-function support.
16330 * INSTALL: Regenerated.
16331
163322016-10-06 Joseph Myers <joseph@codesourcery.com>
16333
16334 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16335 macro.
16336 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16337 (__iseqsig): New declaration.
16338 * math/s_iseqsig_template.c: New file.
16339 * math/Versions (__iseqsigf): New libm symbol at version
16340 GLIBC_2.25.
16341 (__iseqsig): Likewise.
16342 (__iseqsigl): Likewise.
16343 * math/libm-test.inc (iseqsig_test_data): New array.
16344 (iseqsig_test): New function.
16345 (main): Call iseqsig_test.
16346 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16347 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16348 * manual/libm-err-tab.pl: Update comment on interfaces without
16349 ulps tabulated.
16350 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16351 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16352 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16353 * sysdeps/nacl/libm.abilist: Update.
16354 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16355 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16356 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16357 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16358 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16359 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16360 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16361 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16362 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16363 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16364 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16365 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16367 Likewise.
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16369 Likewise.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16371 Likewise.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16373 Likewise.
16374 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16375 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16376 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16377 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16378 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16380 Likewise.
16381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16382 Likewise.
16383 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16384 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16385 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16386
163872016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16388
16389 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16390 do_sincos_2, sloww, sloww1): Update comments.
16391
16392 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16393 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16394
16395 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16396 K boolean and rename it.
16397 (__sin): Adjust.
16398 (__cos): Adjust.
16399
164002016-10-06 Rical Jasan <ricaljasan@pacific.net>
16401 Siddhesh Poyarekar <siddhesh@sourceware.org>
16402
16403 * manual/nss.texi: Fix typos in the manual.
16404
164052016-10-06 Rical Jasan <ricaljasan@pacific.net>
16406
16407 * manual/contrib.texi: Fix typos in the manual.
16408
16409 * manual/maint.texi: Fix typos in the manual.
16410
16411 * manual/install.texi: Fix typos in the manual.
16412 * INSTALL: Regenerated.
16413
16414 * manual/lang.texi: Fix typos in the manual.
16415
16416 * manual/probes.texi: Fix typos in the manual.
16417
16418 * manual/threads.texi: Fix typos in the manual.
16419
16420 * manual/debug.texi: Fix typos in the manual.
16421
16422 * manual/crypt.texi: Fix typos in the manual.
16423
16424 * manual/conf.texi: Fix typos in the manual.
16425
16426 * manual/sysinfo.texi: Fix typos in the manual.
16427
16428 * manual/users.texi: Fix typos in the manual.
16429
16430 * manual/job.texi: Fix typos in the manual.
16431
16432 * manual/process.texi: Fix typos in the manual.
16433
16434 * manual/argp.texi: Fix typos in the manual.
16435 * manual/getopt.texi: Likewise.
16436 * manual/startup.texi: Likewise.
16437
16438 * manual/signal.texi: Fix typos in the manual.
16439
16440 * manual/setjmp.texi: Fix typos in the manual.
16441
16442 * manual/resource.texi: Fix typos in the manual.
16443
16444 * manual/time.texi: Fix typos in the manual.
16445
16446 * manual/arith.texi: Fix typos in the manual.
16447
16448 * manual/math.texi: Fix typos in the manual.
16449
16450 * manual/syslog.texi: Fix typos in the manual.
16451
16452 * manual/terminal.texi: Fix typos in the manual.
16453
16454 * manual/socket.texi: Fix typos in the manual.
16455
16456 * manual/filesys.texi: Fix typos in the manual.
16457
16458 * manual/llio.texi: Fix typos in the manual.
16459
16460 * manual/stdio.text: Fix typos in the manual.
16461
164622016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16463
16464 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16465 instead of K1.
16466
16467 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16468 SHIFT_QUADRANT and make it bool.
16469 (do_sincos_2): Likewise.
16470 (sloww): Likewise.
16471 (sloww1): Likewise.
16472 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16473 (__cos): Likewise.
16474
164752016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16476
16477 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16478
164792016-10-04 Joseph Myers <joseph@codesourcery.com>
16480
16481 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16482 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16483 0x7fffffffL].
16484 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16485
164862016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16487
16488 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16489 inline by __inline__.
16490 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16491 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16492 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16493 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16494 sigset_t from signal.h.
16495 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16496 which is already required.
16497
164982016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16499
16500 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16501
165022016-10-03 Joseph Myers <joseph@codesourcery.com>
16503
16504 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16505 (struct tcp_repair_window): New type.
16506
165072016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16508
16509 * libio/tst-memstream3.c: Include string.h.
16510
165112016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16512
16513 [BZ #18241]
16514 [BZ #20181]
16515 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16516 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16517 write position is at the end the buffer.
16518 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16519 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16520 (_IO_str_seekoff): Set correct offset from negative displacement and
16521 set EINVAL for invalid ones.
16522 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16523 buffer length.
16524 (_IO_wstr_switch_to_get_mode): New function.
16525 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16526 set EINVAL for invalid ones.
16527 * libio/tst-memstream3.c: New file.
16528 * libio/tst-wmemstream3.c: Likewise.
16529 * manual/examples/memstrm.c: Remove warning when priting size_t.
16530
165312016-09-30 Joseph Myers <joseph@codesourcery.com>
16532
16533 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16534 macro to use __builtin_fma.
16535 * sysdeps/x86_64/fpu/dla.h: Remove file.
16536
16537 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16538 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16539 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16540
165412016-09-30 Carlos O'Donell <carlos@redhat.com>
16542
16543 [BZ #20292]
16544 * elf/Makefile (routines): Add dl-addr-obj.
16545 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16546 tst-_dl_addr_inside_object.
16547 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16548 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16549 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16550 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16551 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16552 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16553 * elf/dl-open.c: Likewise.
16554 * elf/dl-addr-obj.c: New file.
16555 * elf/tst-_dl_addr_inside_object.c: New file.
16556
165572016-09-30 Joseph Myers <joseph@codesourcery.com>
16558
16559 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16560 <bits/iscanonical.h>.
16561 * bits/iscanonical.h: New file.
16562 * math/s_iscanonicall.c: Likewise.
16563 * math/Versions (__iscanonicall): New libm symbol at version
16564 GLIBC_2.25.
16565 * math/libm-test.inc (iscanonical_test_data): New array.
16566 (iscanonical_test): New function.
16567 (main): Call iscanonical_test.
16568 * math/Makefile (headers): Add bits/iscanonical.h.
16569 (type-ldouble-routines): Add s_iscanonicall.
16570 * manual/arith.texi (Floating Point Classes): Document
16571 iscanonical.
16572 * manual/libm-err-tab.pl: Update comment on interfaces without
16573 ulps tabulated.
16574 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16575 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16576 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16577 Likewise.
16578 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16579 test-iscanonical-ldbl-128ibm.
16580 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16581 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16582 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16583 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16584 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16585 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16586 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16588 Likewise.
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16590 Likewise.
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16592 Likewise.
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16594 Likewise.
16595 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16596 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16597
165982016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16599
16600 * string/bits/string3.h: Remove C++ style comments.
16601
166022016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16603
16604 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16605 instead of ternary condition.
16606 (do_sincos_2): Likewise.
16607 (__sin): Likewise.
16608 (__cos): Likewise.
16609 (slow): Likewise.
16610 (sloww): Likewise.
16611 (sloww1): Likewise.
16612 (bsloww): Likewise.
16613 (bsloww1): Likewise.
16614
16615 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16616 instead of ternary condition.
16617 (do_sin_slow): Likewise.
16618 (do_sincos_1): Likewise.
16619 (do_sincos_2): Likewise.
16620 (__cos): Likewise.
16621 (sloww): Likewise.
16622 (sloww1): Likewise.
16623 (sloww2): Likewise.
16624 (bsloww): Likewise.
16625 (bsloww1): Likewise.
16626 (bsloww2): Likewise.
16627
16628 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16629 check from here...
16630 (slow2): ... and here...
16631 (__sin): ... to here.
16632
166332016-09-28 Joseph Myers <joseph@codesourcery.com>
16634
16635 * math/math.h
16636 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16637 Cast argument to its own type.
16638 * math/test-iszero-excess-precision.c: New file.
16639 * math/Makefile (tests): Add test-iszero-excess-precision.
16640 (CFLAGS-test-iszero-excess-precision.c): New variable.
16641
166422016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16643
16644 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16645 field, add err field.
16646 (__spawni_child): Report error through err member instead of pipe.
16647 (__spawnix): Likewise.
16648
166492016-09-28 Zack Weinberg <zackw@panix.com>
16650
16651 * scripts/check-installed-headers.sh: Generalize treatment of
16652 sys/elf.h to all target architectures.
16653
16654 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16655 deleted typedef ucontext_t.
16656
166572016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16658
16659 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16660 (__INTERNAL_SYSCALL1): Likewise.
16661 (__INTERNAL_SYSCALL2): Likewise.
16662 (__INTERNAL_SYSCALL3): Likewise.
16663 (__INTERNAL_SYSCALL4): Likewise.
16664 (__INTERNAL_SYSCALL5): Likewise.
16665 (__INTERNAL_SYSCALL6): Likewise.
16666 (__INTERNAL_SYSCALL7): Likewise.
16667 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16668 (__INTERNAL_SYSCALL_NARGS): Likewise.
16669 (__INTERNAL_SYSCALL_DISP): Likewise.
16670 (INTERNAL_SYSCALL_CALL): Likewise.
16671 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16672 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16673 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16674 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16675 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16676 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16677 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16678 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16679 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16680 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16681 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16682 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16683 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16684
166852016-09-23 Joseph Myers <joseph@codesourcery.com>
16686
16687 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16688 macro.
16689 * math/libm-test.inc (iszero_test_data): New array.
16690 (iszero_test): New function.
16691 (main): Call iszero_test.
16692 * manual/arith.texi (Floating Point Classes): Document iszero.
16693 * manual/libm-err-tab.pl: Update comment on interfaces without
16694 ulps tabulated.
16695
166962016-09-23 Zack Weinberg <zackw@panix.com>
16697
16698 * scripts/check-installed-headers.sh: New script.
16699 * Rules: In each directory that defines header files to be installed,
16700 run check-installed-headers.sh on them as a special test.
16701 * Makefile: Likewise for the headers installed at top level.
16702
16703 * include/aliases.h, include/alloca.h, include/argz.h
16704 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16705 * include/elf.h, include/envz.h, include/err.h
16706 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16707 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16708 * include/link.h, include/malloc.h, include/mcheck.h
16709 * include/mntent.h, include/netinet/ether.h
16710 * include/nss.h, include/obstack.h, include/printf.h
16711 * include/pty.h, include/resolv.h, include/rpc/auth.h
16712 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16713 * include/rpc/clnt.h, include/rpc/des_crypt.h
16714 * include/rpc/key_prot.h, include/rpc/netdb.h
16715 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16716 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16717 * include/rpc/rpc_msg.h, include/rpc/svc.h
16718 * include/rpc/svc_auth.h, include/rpc/xdr.h
16719 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16720 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16721 * include/rpcsvc/ypupd.h, include/shadow.h
16722 * include/stdio_ext.h, include/sys/epoll.h
16723 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16724 * include/sys/prctl.h, include/sys/profil.h
16725 * include/sys/statfs.h, include/sys/sysctl.h
16726 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16727 * sysdeps/arm/nacl/include/bits/setjmp.h
16728 * sysdeps/mips/include/sys/asm.h
16729 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16730 * sysdeps/unix/sysv/linux/include/sys/timex.h
16731 * sysdeps/x86/fpu/include/bits/fenv.h:
16732 Add #ifndef _ISOMAC guard around internal declarations.
16733 Add multiple-inclusion guard if not already present.
16734
167352016-09-23 Zack Weinberg <zackw@panix.com>
16736
16737 * sysdeps/generic/sys/ucontext.h
16738 * sysdeps/arm/sys/ucontext.h
16739 * sysdeps/i386/sys/ucontext.h
16740 * sysdeps/m68k/sys/ucontext.h
16741 * sysdeps/mips/sys/ucontext.h
16742 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16743 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16744 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16745 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16746 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16747 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16748 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16749 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16750 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16752 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16753 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16754 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16755 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16756 Include both bits/sigcontext.h and bits/sigstack.h.
16757 Fix grammar error in comment, if present.
16758
16759 * bits/sigstack.h
16760 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16761 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16762 * sysdeps/unix/sysv/linux/bits/sigstack.h
16763 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16764 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16765 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16766 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16767 * bits/sigcontext.h
16768 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16769 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16770 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16771 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16772 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16773 as well as signal.h, if this was not already allowed. Request
16774 definition of size_t if necessary. Minimize semantically-null
16775 differences across files.
16776
167772016-09-23 Zack Weinberg <zackw@panix.com>
16778
16779 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16780 Remove all logic conditional on __need macros. Move all the
16781 conditionally defined types to their own headers...
16782 * time/bits/types/clock_t.h: Define clock_t here.
16783 * time/bits/types/clockid_t.h: Define clockid_t here.
16784 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16785 * time/bits/types/struct_timespec.h: Define struct timespec here.
16786 * time/bits/types/struct_timeval.h: Define struct timeval here.
16787 * time/bits/types/struct_tm.h: Define struct tm here.
16788 * time/bits/types/time_t.h: Define time_t here.
16789 * time/bits/types/timer_t.h: Define timer_t here.
16790 * time/Makefile: Install the new headers.
16791
16792 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16793 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16794 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16795 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16796 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16797 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16798 * sysdeps/unix/sysv/linux/bits/resource.h
16799 * sysdeps/unix/sysv/linux/bits/timex.h
16800 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16801 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16802 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16803 * sysdeps/unix/sysv/linux/sys/acct.h
16804 * sysdeps/unix/sysv/linux/sys/timerfd.h
16805 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16806 * time/sys/time.h, time/sys/timeb.h
16807 Use the new bits/types headers.
16808
16809 * include/time.h: Remove __need logic.
16810 * include/bits/time.h
16811 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16812 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16813 * include/bits/types/struct_itimerspec.h
16814 * include/bits/types/struct_timespec.h
16815 * include/bits/types/struct_timeval.h
16816 * include/bits/types/struct_tm.h:
16817 New wrapper headers.
16818
168192016-09-23 Zack Weinberg <zackw@panix.com>
16820
16821 * sysdeps/mach/hurd/net/if_ppp.h
16822 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16823 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16824 if __USE_MISC is defined, to ensure struct ifreq is declared.
16825
16826 * inet/netinet/ether.h: Condition all function prototypes
16827 on __USE_MISC, to ensure struct ether_addr is declared.
16828
16829 * socket/bits/types/struct_osockaddr.h: New header.
16830 * include/bits/types/struct_osockaddr.h: New wrapper.
16831 * socket/Makefile: Install the new header.
16832 * socket/sys/socket.h, inet/protocols/talkd.h:
16833 Refer to bits/types/struct_osockaddr.h for the definition of
16834 struct osockaddr.
16835
168362016-09-23 Zack Weinberg <zackw@panix.com>
16837
16838 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16839 * inet/protocols/routed.h, inet/protocols/talkd.h
16840 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16841 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16842 * sysdeps/generic/netinet/if_ether.h
16843 * sysdeps/generic/netinet/in_systm.h
16844 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16845 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16846 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16847 * sysdeps/mach/hurd/net/if_arp.h
16848 * sysdeps/mach/hurd/net/if_ppp.h
16849 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16850 * sysdeps/unix/sysv/linux/bits/in.h
16851 * sysdeps/unix/sysv/linux/net/ethernet.h
16852 * sysdeps/unix/sysv/linux/net/if_arp.h
16853 * sysdeps/unix/sysv/linux/net/if_ppp.h
16854 * sysdeps/unix/sysv/linux/net/if_shaper.h
16855 * sysdeps/unix/sysv/linux/net/route.h
16856 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16857 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16858 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16859 * sysdeps/unix/sysv/linux/netipx/ipx.h
16860 * sysdeps/unix/sysv/linux/sys/acct.h
16861 * include/arpa/nameser.h, include/resolv.h:
16862 Change all uses of u_char to unsigned char,
16863 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16864 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16865 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16866 and u_int64_t and u_quad_t to uint64_t.
16867
16868 * mach/sys/reboot.h: Remove two casts of integer literals
16869 to the types they already have.
16870
16871 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16872 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16873 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16874 from referring to 'unsigned char' to 'uint8_t' for consistency with
16875 the macro definition below.
16876
16877 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16878 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16879 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16880 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16881 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16882 * sysdeps/unix/sysv/linux/sys/acct.h
16883 * include/arpa/nameser.h, include/resolv.h:
16884 Fix indentation disrupted by mechanical edits.
16885
16886 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16887 * sysdeps/generic/netinet/in_systm.h
16888 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16889 * sysdeps/gnu/netinet/udp.h
16890 * sysdeps/unix/sysv/linux/net/ethernet.h
16891 * sysdeps/unix/sysv/linux/net/if_arp.h
16892 * sysdeps/unix/sysv/linux/net/if_ppp.h
16893 * sysdeps/unix/sysv/linux/net/if_shaper.h
16894 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16895 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16896 * sysdeps/unix/sysv/linux/netipx/ipx.h
16897 * sysdeps/unix/sysv/linux/sys/acct.h
16898 Include stdint.h for uintNN_t definitions.
16899 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16900
169012016-09-23 Zack Weinberg <zackw@panix.com>
16902
16903 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16904 * sysdeps/unix/sysv/linux/netrose/rose.h:
16905 Include sys/socket.h and netax25/ax25.h.
16906
16907 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16908 * resolv/arpa/nameser_compat.h:
16909 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16910
16911 * sysdeps/unix/sysv/linux/sys/quota.h:
16912 Use __caddr_t instead of caddr_t.
16913 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16914 Use __clockid_t instead of clockid_t.
16915
16916 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16917
16918 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16919 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16920 expanding it.
16921
16922 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16923 Define __glibc_c99_flexarr_available to 1 when the compiler
16924 supports C99-compatible flexible array members, 0 otherwise.
16925 * sysdeps/unix/sysv/linux/bits/socket.h
16926 * sysdeps/mach/hurd/bits/socket.h
16927 * bits/socket.h: Use __glibc_c99_flexarr_available in
16928 definitions of struct cmsghdr and CMSG_DATA.
16929
169302016-09-23 Florian Weimer <fweimer@redhat.com>
16931
16932 * manual/nss.texi (NSS Modules Interface): Adjust function return
16933 type to enum nss_status. Document errnop argument. Clarify
16934 h_errnop semantics. Fix cross-reference formatting.
16935 (NSS Module Function Internals): Mention that *errnop needs to be
16936 set on failure, but not to zero.
16937
169382016-09-23 Florian Weimer <fweimer@redhat.com>
16939
16940 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16941 (get_random_name): New functions.
16942 (check_wrapper_flags_mode): Use linkat to give the new file a name
16943 determined by get_random_name.
16944 (do_test): Add calls to test open64 and openat64.
16945
169462016-09-23 Florian Weimer <fweimer@redhat.com>
16947
16948 * test-skeleton.c: Remove #include <stdarg.h>.
16949
169502016-09-21 Alexandre Oliva <aoliva@redhat.com>
16951
16952 [BZ #19826]
16953 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16954 initialization of static TLS entries.
16955 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16956 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16957
169582016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16959
16960 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16961 _hurd_malloc_fork_prepare.
16962 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16963 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16964 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16965 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16966 (_hurd_fork_child_hook): Drop malloc_fork_child.
16967 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16968 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16969 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16970 after locking locks (notably hurd_dtable_lock). Call
16971 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16972 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16973 __malloc_fork_unlock_child.
16974 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16975
169762016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16977
16978 * soft-fp/extendhftf2.c: New.
16979 * soft-fp/fixhfti.c: Likewise.
16980 * soft-fp/fixunshfti.c: Likewise.
16981 * soft-fp/floattihf.c: Likewise.
16982 * soft-fp/floatuntihf.c: Likewise.
16983 * soft-fp/half.h: Likewise.
16984 * soft-fp/trunctfhf2.c: Likewise.
16985
169862016-09-21 Joseph Myers <joseph@codesourcery.com>
16987
16988 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16989 macro.
16990 * math/libm-test.inc (issubnormal_test_data): New array.
16991 (issubnormal_test): New function.
16992 * manual/arith.texi (Floating Point Classes): Document
16993 issubnormal.
16994 * manual/libm-err-tab.pl: Update comment on interfaces without
16995 ulps tabulated.
16996
16997 * sysdeps/generic/stdint.h: Define
16998 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16999 <bits/libc-header-start.h> instead of including <features.h>.
17000 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
17001 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
17002 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
17003 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
17004 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
17005 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
17006 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
17007 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
17008 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
17009 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
17010 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
17011 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
17012 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
17013 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
17014 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
17015 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
17016 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
17017 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
17018 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
17019 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
17020 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
17021 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
17022 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
17023 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
17024 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
17025 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
17026 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
17027 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
17028 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
17029 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
17030 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
17031 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
17032 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
17033 * manual/arith.texi (Integers): Document these macros for types
17034 specified by width properties.
17035 * manual/lang.texi (Width of Type): Document these macros for
17036 other standard typedefs.
17037 * stdlib/tst-width-stdint.c: New file.
17038 * stdlib/Makefile (tests): Add tst-width-stdint.
17039
170402016-09-21 Florian Weimer <fweimer@redhat.com>
17041
17042 [BZ #20016]
17043 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
17044 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
17045 Move ...
17046 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
17047 ... here, as compatibility symbols in a new file.
17048 * resolv/Makefile (libresolv-routines): Add compat-hooks.
17049 * resolv/res_init.c (__res_vinit): Adjust member names.
17050 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
17051 * resolv/resolv.h (res_sendhookact, res_send_qhook)
17052 (res_send_rhook): Remove.
17053 (struct __res_state): Rename qhook, rhook members.
17054
170552016-09-21 Florian Weimer <fweimer@redhat.com>
17056
17057 malloc: Use __libc_lock wrappers.
17058 * malloc/arena.c (list_lock, free_list_lock): Define using
17059 __libc_lock_define_initialized.
17060 (arena_lock): Adjust formatting.
17061 * malloc/malloc.c (struct malloc_state): Define mutex using
17062 __libc_lock_define.
17063 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
17064 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
17065 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
17066 (mutex_unlock, mutex_trylock): Remove.
17067 (__pthread_initialize): Remove unused macro.
17068 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
17069 (mutex_unlock, mutex_trylock): Remove.
17070
170712016-09-21 Florian Weimer <fweimer@redhat.com>
17072
17073 [BZ #20592]
17074 Remove RR type classification macros.
17075 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
17076 (ns_t_udp_p, ns_t_xfr_p): Remove.
17077
170782016-09-21 Florian Weimer <fweimer@redhat.com>
17079
17080 Remove misleading version information.
17081 * resolv/arpa/nameser.h (__NAMESER): Remove.
17082 * resolv/arpa/nameser_compat.h (__BIND): Remove.
17083
170842016-09-21 Florian Weimer <fweimer@redhat.com>
17085
17086 Remove the always-defined BIND_4_COMPAT macro.
17087 * resolv/arpa/nameser.h: Unconditionally include
17088 <arpa/nameser_compat.h>.
17089 (BIND_4_COMPAT): Remove.
17090 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
17091
170922016-09-21 Florian Weimer <fweimer@redhat.com>
17093
17094 [BZ #20591]
17095 Remove obsolete DNSSEC support.
17096 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
17097 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
17098 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
17099 (ns_verify_tcp, ns_verify_tcp_init): Remove.
17100 (ns_cert_types): Add comment.
17101 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
17102 separately.
17103 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
17104 (dst_s_dns_key_id): Remove.
17105 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
17106 variables.
17107
171082016-09-21 Florian Weimer <fweimer@redhat.com>
17109
17110 [BZ #20524]
17111 * manual/string.texi (String/Array Comparison): Clarify the
17112 strverscmp behavior.
17113
171142016-09-21 Florian Weimer <fweimer@redhat.com>
17115
17116 * test-skeleton.c (xasprintf): Add function.
17117 * io/tst-open-tmpfile.c: New test.
17118 * io/Makefile (tests): Add it.
17119
171202016-09-21 Florian Weimer <fweimer@redhat.com>
17121
17122 Avoid running $(CXX) during build to obtain header file paths.
17123 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
17124 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
17125 * Makerules (cstdlib, cmath): Remove variables. Use
17126 $(c++-cstdlib-header), $(c++-cmath-header) instead.
17127 * configure: Regenerate.
17128
171292016-09-21 Florian Weimer <fweimer@redhat.com>
17130
17131 * Makeconfig (all-object-suffixes): Include .op only if
17132 $(build-profile).
17133
171342016-09-21 Florian Weimer <fweimer@redhat.com>
17135
17136 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
17137 conditionals. Do not define PATH_MAX.
17138
171392016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17140
17141 * posix/Makefile (tests): Add tst-spawn3.
17142 * posix/tst-spawn3.c: New file.
17143 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
17144 if it is already opened for open action.
17145
17146 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
17147 all signals when executing the clone vfork child.
17148 (SIGALL_SET): Remove macro.
17149
17150 * nptl/Makefile (tests): Add tst-exec5.
17151 * nptl/tst-exec5.c: New file.
17152 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
17153 asynchronous cancellation.
17154
171552016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17156
17157 * hurd/exc2signal.c: #include <hurd/signal.h>
17158 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
17159 'sigcode', 'error' parameters with 'detail' parameter. Fix code
17160 accordingly.
17161 * mach/mach_error.c (mach_error): Fix old-style function definition.
17162 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
17163
171642016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17165
17166 * math/Makefile (libm-calls): Remove s_nanF.
17167 (gen-libm-calls): Add s_nanF.
17168
17169 * math/s_nan.c: Refactor into ...
17170 * math/s_nan_template.c: New file.
17171
17172 * math/s_nanf.c: Removed.
17173 * math/s_nanl.c: Removed.
17174 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
17175 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
17176
17177 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17178 (LDOUBLE_nanl_libm_version): New macro.
17179
17180 * sysdeps/generic/math-type-macros-double.h:
17181 (M_STRTO_NAN): New macro.
17182 * sysdeps/generic/math-type-macros-float.h: Likewise.
17183 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17184
17185 * sysdeps/generic/math-type-macros.h: Document
17186 M_STRTO_NAN.
17187
171882016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17189
17190 * math/s_nanf.c: Remove __nanf undef.
17191 * math/s_nan.c: Remove __nan undef.
17192 * math/s_nanl.c: Remove __nanl undef.
17193
17194 * sysdeps/generic/math_private.h (__nan): Remove macro
17195 override.
17196 (__nanf): Likewise.
17197 (__nanl): Likewise.
17198
171992016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17200
17201 * math/Makefile (gen-all-calls): New variable.
17202 (generated): Replace gen-libm-calls with gen-all-calls.
17203 (gen-libm-templates.stmp): Likewise. Also, ensure
17204 the output directory exists or is created and add
17205 dependency on the Makefile.
17206 (calls): Move s_ldexpF into gen-calls.
17207 (gen-calls): New variable.
17208
17209 * math/s_ldexpf.c: Removed.
17210 * math/s_ldexpl.c: Removed.
17211 * math/s_ldexp.c: Refactored into ...
17212 * math/s_ldexp_template.c: New file.
17213
17214 * sysdeps/generic/math-type-macros-double.h: Remove
17215 redundant fall-through definition of declare_mgen_alias.
17216 (declare_mgen_alias_2): New macro.
17217
17218 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17219 New macro for function aliased to two exported symbols.
17220
17221 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17222 new template file.
17223 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17224
172252016-09-20 Florian Weimer <fweimer@redhat.com>
17226
17227 * Makeconfig (all-object-suffixes): Remove .og.
17228 * Makerules (elide-routines.og): Remove.
17229 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17230 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17231 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17232
172332016-09-20 Florian Weimer <fweimer@redhat.com>
17234
17235 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17236 .os objects.
17237
172382016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17239
17240 [BZ #20615]
17241 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17242 fpu directory by non-fpu.
17243 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17244 on non-fpu directory from a fpu directory.
17245
172462016-09-19 Joseph Myers <joseph@codesourcery.com>
17247
17248 * include/limits.h: Define
17249 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17250 <bits/libc-header-start.h> instead of including <features.h>.
17251 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17252 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17253 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17254 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17255 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17256 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17257 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17258 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17259 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17260 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17261 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17262 * manual/lang.texi (Width of Type): Document these macros.
17263 * stdlib/tst-width.c: New file.
17264 * stdlib/Makefile (tests): Add tst-width.
17265
172662016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17267
17268 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17269 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17270
172712016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17272
17273 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17274 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17275 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17276
172772016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17278
17279 [BZ #18243]
17280 * rt/Makefile (test): Add tst-shm-cancel.
17281 * rt/tst-shm-cancel.c: New file.
17282 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17283
17284 [BZ #18243]
17285 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17286 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17287 definition.
17288 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17289 uncontended case.
17290 * nptl/sem_wait.c (__new_sem_wait): Likewise.
17291 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17292 (tf): Fix check for uncontended case.
17293 (do_test): Likewise.
17294 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17295 (tf): Fix check for uncontended case.
17296 (do_test): Likewise.
17297 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17298 (tf): Fix check for uncontended case.
17299 (do_test): Likewise.
17300 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17301 (tf): Fix check for uncontended case.
17302 (do_test): Likewise.
17303
17304 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17305 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17306
17307 [BZ #15765]
17308 * nptl/Makefile (tests): Add tst-sem16.
17309 * nptl/tst-sem16.c: New file.
17310 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17311
17312 * nptl/sem_open.c (sem_open): Init pad value to 0.
17313 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17314 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17315
173162016-09-15 Florian Weimer <fweimer@redhat.com>
17317
17318 [BZ #20611]
17319 * inet/Makefile (routines): Add inet6_scopeid_pton.
17320 (tests): Add tst-inet6_scopeid_pton.
17321 * inet/inet6_scopeid_pton.c: New file.
17322 * inet/net-internal.h: Likewise.
17323 * inet/tst-inet6_scopeid_pton.c: New test.
17324 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17325 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17327
173282016-09-14 Florian Weimer <fweimer@redhat.com>
17329
17330 Remove support for compiling wrappers with PTW.
17331 * sysdeps/nptl/Makeconfig: Drop ptw- support.
17332 * nptl/Makefile (pthread-compat-wrappers): Define.
17333 (libpthread-routines): Use pthread-compat-wrappers.
17334 * sysdeps/unix/sysv/linux/alpha/Makefile
17335 (libpthread-routines, libpthread-shared-only-routines): Remove
17336 ptw- prefix.
17337 * sysdeps/s390/nptl/Makefile
17338 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17339 * sysdeps/ia64/nptl/Makefile
17340 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17341 * sysdeps/nacl/Makefile (libpthread-routines): Use
17342 pthread-compat-wrappers to filter the routines list instead of the
17343 ptw- prefix.
17344
173452016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17346
17347 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17348 with L() and remove explicit suffix, convert real literals
17349 which can be equivalentally substituted with integers, and
17350 transform -L(x) to L(-x).
17351
17352 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17397 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17400 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17402
174032016-09-13 Florian Weimer <fweimer@redhat.com>
17404
17405 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17406
174072016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
17408
17409 * malloc/Makefile (tests): Remove individual static test names
17410 and just add all of tests-static.
17411
17412 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17413
174142016-09-07 Joseph Myers <joseph@codesourcery.com>
17415
17416 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17417 file.
17418
17419 * sysdeps/sparc/fpu/fegetmode.c: New file.
17420 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17421
17422 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17423 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17424
17425 * sysdeps/s390/fpu/fegetmode.c: New file.
17426 * sysdeps/s390/fpu/fesetmode.c: Likewise.
17427
17428 * sysdeps/powerpc/fpu/fegetmode.c: New file.
17429 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17430 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17431 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17432 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17433 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17434
17435 * sysdeps/mips/fpu/fegetmode.c: New file.
17436 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17437
17438 * sysdeps/m68k/fpu/fegetmode.c: New file.
17439 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17440
17441 * sysdeps/ia64/fpu/fegetmode.c: New file.
17442 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17443
17444 * sysdeps/hppa/fpu/fegetmode.c: New file.
17445 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17446
17447 * sysdeps/arm/fegetmode.c: New file.
17448 * sysdeps/arm/fesetmode.c: Likewise.
17449
17450 * sysdeps/alpha/fpu/fegetmode.c: New file.
17451 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17452
17453 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17454 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17455
17456 * math/fegetmode.c: New file.
17457 * math/fesetmode.c: Likewise.
17458 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17459 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17460 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17461 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17462 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17463 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17464 declaration.
17465 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17466 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17467 typedef.
17468 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17469 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17470 (femode_t): New typedef.
17471 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17472 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17473 (femode_t): New typedef.
17474 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17475 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17476 (femode_t): New typedef.
17477 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17478 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17479 (femode_t): New typedef.
17480 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17481 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17482 (femode_t): New typedef.
17483 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17484 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17485 (femode_t): New typedef.
17486 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17487 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17488 (femode_t): New typedef.
17489 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17490 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17491 (femode_t): New typedef.
17492 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17493 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17494 (femode_t): New typedef.
17495 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17496 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17497 (femode_t): New typedef.
17498 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17499 declaration.
17500 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17501 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17502 (femode_t): New typedef.
17503 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17504 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17505 (femode_t): New typedef.
17506 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17507 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17508 (femode_t): New typedef.
17509 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17510 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17511 (femode_t): New typedef.
17512 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17513 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17514 (femode_t): New typedef.
17515 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17516 * manual/arith.texi (FE_DFL_MODE): Document macro.
17517 (fegetmode): Document function.
17518 (fesetmode): Likewise.
17519 * math/Versions (fegetmode): New libm symbol at version
17520 GLIBC_2.25.
17521 (fesetmode): Likewise.
17522 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17523 (tests): Add test-femode and test-femode-traps.
17524 * math/test-femode-traps.c: New file.
17525 * math/test-femode.c: Likewise.
17526 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17527 alias for __fe_dfl_env.
17528 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17529 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17530 (__fe_dfl_mode): Likewise.
17531 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17532 version GLIBC_2.25.
17533 * sysdeps/nacl/libm.abilist: Update.
17534 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17547 Likewise.
17548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17549 Likewise.
17550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17551 Likewise.
17552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17553 Likewise.
17554 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17555 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17556 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17560 Likewise.
17561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17562 Likewise.
17563 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17564 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17566
175672016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17568
17569 [BZ #20495]
17570 [BZ #20508]
17571 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17572 processors, set Use_dl_runtime_resolve_slow and set
17573 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17574 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17575 New.
17576 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17577 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17578 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17579 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17580 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17581 if Use_dl_runtime_resolve_opt is set. Use
17582 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17583 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17584 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17585 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17586 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17587 New.
17588 (_dl_runtime_resolve_opt): Likewise.
17589 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17590 defined.
17591
175922016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17593
17594 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17595 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17596
175972016-09-06 Florian Weimer <fweimer@redhat.com>
17598
17599 Convert malloc to __libc_lock. Automated part, using this Perl
17600 s/// command:
17601 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17602 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17603 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17604 conversion.
17605
176062016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17607
17608 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17609 (linknamespace-symlists-tests): Likewise.
17610 (linknamespace-header-tests): Likewise.
17611
176122016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17613
17614 [BZ #19810]
17615 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17616 * elf/tst-noload.c: New test case.
17617 * elf/Makefile (tests): Add tst-noload.
17618
176192016-09-02 Roland McGrath <roland@hack.frob.com>
17620
17621 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17622
17623 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17624 not any more.
17625
17626 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17627
176282016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17629
17630 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17631 (do_cos_slow): Likewise.
17632 (do_sin): Likewise.
17633 (do_sin_slow): Likewise.
17634 (slow): Likewise.
17635 (slow1): Likewise.
17636 (slow2): Likewise.
17637 (sloww): Likewise.
17638 (sloww1): Likewise.
17639 (sloww2): Likewise.
17640 (bsloww): Likewise.
17641 (bsloww1): Likewise.
17642 (bsloww2): Likewise.
17643 (cslow2): Likewise.
17644
17645 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17646
17647 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17648 arguments. Consolidate input partitioning from callers here.
17649 (do_cos_slow): Likewise.
17650 (do_sin): Likewise.
17651 (do_sin_slow): Likewise.
17652 (do_sincos_1): Remove the no longer necessary input partitioning.
17653 (do_sincos_2): Likewise.
17654 (__sin): Likewise.
17655 (__cos): Likewise.
17656 (slow1): Likewise.
17657 (slow2): Likewise.
17658 (sloww1): Likewise.
17659 (sloww2): Likewise.
17660 (bsloww1): Likewise.
17661 (bsloww2): Likewise.
17662 (cslow2): Likewise.
17663
176642016-09-02 Florian Weimer <fweimer@redhat.com>
17665
17666 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17667 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17668 outside of allocated array.
17669
176702016-09-02 Florian Weimer <fweimer@redhat.com>
17671
17672 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17673 instead of MB_CUR_MAX to avoid variable-length array.
17674
176752016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17676
17677 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17678 (type-double-routines): Add k_rem_pio2.
17679 (type-float-routines): Add k_rem_pio2f.
17680
17681 * sysdeps/generic/math_private.h:
17682 (__kernel_rem_pio2l): Removed.
17683
17684 * math/k_rem_pio2l.c: Removed.
17685 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17686 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17687 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17688 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17689
176902016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17691
17692 * math/Makefile (gen-libm-calls): Add s_fmin
17693 (libm-calls): Remove above.
17694
17695 * math/s_fmin.c: Refactor into ...
17696 * math/s_fmin_template.c: New file.
17697
17698 * math/s_fminf.c: Removed.
17699 * math/s_fminl.c: Removed.
17700 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17701 (LDOUBLE_fmin_libm_version): New macro.
17702
17703 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17704 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17705
177062016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17707
17708 * math/Makefile: (gen-libm-calls): Add s_fmax.
17709 (libm-calls): Remove above.
17710
17711 * math/s_fmax.c: Refactor into ...
17712 * math/s_fmax_template.c: New file.
17713 * math/s_fmaxf.c: Removed.
17714 * math/s_fmaxl.c: Removed.
17715
17716 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17717 (LDOUBLE_fmaxl_libm_version): New macro.
17718
17719 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17720 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17721
17722 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17723 s_fmin.c to pick the aarch64 version of the file.
17724 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17725 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17726
177272016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17728
17729 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17730 (libm-calls): Remove above.
17731
17732 * math/s_nextdown.c: Refactor into ...
17733 * math/s_nextdown_template.c: New file.
17734 * math/s_nextdownf.c: Removed.
17735 * math/s_nextdownl.c: Removed.
17736
17737 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17738
177392016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17740
17741 * math/Makefile (gen-libm-calls): Add s_fdim.
17742 (libm-calls): Move to above.
17743
17744 * math/s_fdim.c: Renamed and refactored into to ...
17745 * math/s_fdim_template.c: New file.
17746 * math/s_fdiml.c: Removed.
17747 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17748 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17749
17750 * sysdeps/generic/math-type-macros-double.h:
17751 (declare_mgen_alias): Don't declare if already declared.
17752 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17753 Likewise.
17754
17755 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17756 (declare_mgen_alias): Don't declare if already declared.
17757 (M_LIBM_NEED_COMPAT): Likewise.
17758 (declare_mgen_libm_compat): Likewise.
17759 (LDOUBLE_fdiml_libm_version): New macro.
17760
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17762 Include math/s_fdim.c now that ldbl-opt version is not needed.
17763 (declare_mgen_alias): New macro to disable aliasing.
17764
17765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17766 (declare_mgen_alias): Likewise.
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17768 (declare_mgen_alias): Likewise.
17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17770 (declare_mgen_alias): Likewise.
17771 (M_LIBM_NEED_COMPAT): Likewise.
17772
177732016-09-01 Florian Weimer <fweimer@redhat.com>
17774
17775 [BZ #20525]
17776 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17777 Include <linux/quota.h>.
17778 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17779 and btodb.
17780 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17781 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17782 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17783 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17784 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17785 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17786 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17787 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17788 types.
17789 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17790 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17791
177922016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17793
17794 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17795 (gammal_positive): Fix spacing.
17796 (__ieee754_gammal_r): Likewise.
17797
177982016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17799
17800 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17801 (_Float128): Define as long double, always.
17802 (L): Apply long double type suffix, always.
17803
17804 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17805 _Float128, excepting comments.
17806
17807 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17840 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17847 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17873 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17875
17876 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17877 _Float128, and include math_private.h.
17878 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17879
17880 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17881 long double semantics.
17882 (_Float128): Likewise.
17883 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17884 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17885 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17886 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17887
178882016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17889
17890 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17891 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17892 * sysdeps/s390/configure: Regenerated.
17893 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17894 instruction for raising over-/underflow if z196 zarch is supported
17895 by default.
17896 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17897
178982016-08-30 Svante Signell <svante.signell@gmail.com>
17899
17900 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17901 it point to a dumb buffer for RPC to fill it.
17902
179032016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17904
17905 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17906 instead of if/else.
17907 (do_sin_slow): Likewise.
17908 (do_sincos_1): Use fabs instead of if/else.
17909 (do_sincos_2): Likewise.
17910 (__sin): Likewise.
17911 (__cos): Likewise.
17912 (slow2): Likewise.
17913 (sloww): Likewise.
17914 (sloww1): Likewise. Drop argument M.
17915 (sloww2): Use fabs instead of if/else.
17916 (bsloww): Likewise.
17917 (bsloww1): Likewise.
17918 (bsloww2): Likewise.
17919
17920 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17921 fall through comment.
17922 (do_sincos_1): Likewise.
17923
17924 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17925 Consolidate switch cases 0 and 2.
17926
179272016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17928
17929 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17930 (libm-calls): Remove the above.
17931
17932 * math/s_cexp_template.c: Update using type-generic macros.
17933 * math/s_clog10_template.c: Likewise.
17934 * math/s_cpow_template.c: Likewise.
17935 * math/s_clog_template.c: Likewise.
17936 * math/s_cproj_template.c: Likewise.
17937 * math/s_csqrt_template.c: Likewise.
17938
17939 * math/s_cexp.c: Removed.
17940 * math/s_cexpf.c: Removed.
17941 * math/s_cexpl.c: Removed.
17942 * math/s_clog10.c: Removed.
17943 * math/s_clog10f.c: Removed.
17944 * math/s_clog10l.c: Removed.
17945 * math/s_cpow.c: Removed.
17946 * math/s_cpowf.c: Removed.
17947 * math/s_cpowl.c: Removed.
17948 * math/s_clog.c: Removed.
17949 * math/s_clogf.c: Removed.
17950 * math/s_clogl.c: Removed.
17951 * math/s_cproj.c: Removed.
17952 * math/s_cprojf.c: Removed.
17953 * math/s_cprojl.c: Removed.
17954 * math/s_csqrt.c: Removed.
17955 * math/s_csqrtf.c: Removed.
17956 * math/s_csqrtl.c: Removed.
17957
17958 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17959 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17960 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17961 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17962 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17963 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17964
17965 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17966 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17967 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17968 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17969 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17970 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17971 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17972 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17973 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17974 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17975 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17976
17977 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17978 version.
17979
17980 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17981 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17982 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17983 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17984
179852016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17986
17987 * s_cexp_template.c: Copy of s_cexp.c.
17988 * s_clog_template.c: Copy of s_clog.c.
17989 * s_clog10_template.c: Copy of s_clog10.c.
17990 * s_cpow_template.c: Copy of s_cpow.c.
17991 * s_cproj_template.c: Copy of s_cproj.c.
17992 * s_csqrt_template.c: Copy of s_csqrt.c.
17993
179942016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17995
17996 [BZ #20517]
17997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17998 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17999 exported.
18000
180012016-08-29 Joseph Myers <joseph@codesourcery.com>
18002
18003 * math/fetestexceptflag.c: New file.
18004 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
18005 Stefan Liebler.
18006 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
18007 (fetestexceptflag): New function declaration.
18008 * manual/arith.texi (fetestexceptflag): Document function.
18009 * math/Versions (fetestexceptflag): New libm symbol at version
18010 GLIBC_2.25.
18011 * math/Makefile (libm-support): Add fetestexceptflag.
18012 (tests): Add test-fetestexceptflag.
18013 * math/test-fetestexceptflag.c: New file.
18014 * sysdeps/nacl/libm.abilist: Update.
18015 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18028 Likewise.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18030 Likewise.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18032 Likewise.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18034 Likewise.
18035 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18041 Likewise.
18042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18043 Likewise.
18044 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18047
180482016-08-26 Florian Weimer <fweimer@redhat.com>
18049
18050 [BZ #20432]
18051 Avoid strong references to malloc-internal symbols when linking
18052 statically, to support statically interposed mallocs.
18053 * include/libc-symbols.h (call_function_static_weak): New macro.
18054 * malloc/Makefile (tests): Add tst-interpose-nothread,
18055 tst-interpose-thread, tst-interpose-static-nothread,
18056 tst-interpose-static-thread.
18057 (tests-static): Add tst-interpose-static-nothread,
18058 tst-interpose-static-thread.
18059 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
18060 tst-interpose-aux-thread.o.
18061 (test-extras): Add tst-interpose-aux-nothread,
18062 tst-interpose-aux-thread.
18063 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
18064 tst-interpose-aux-nothread.o.
18065 (tst-interpose-thread, tst-interpose-static-thread): Link with
18066 tst-interpose-aux-thread.o and libthread.
18067 * malloc/tst-interpose-aux-nothread.c: New file.
18068 * malloc/tst-interpose-aux-thread.c: Likewise.
18069 * malloc/tst-interpose-aux.c: Likewise.
18070 * malloc/tst-interpose-aux.h: Likewise.
18071 * malloc/tst-interpose-nothread.c: Likewise.
18072 * malloc/tst-interpose-skeleton.c: Likewise.
18073 * malloc/tst-interpose-static-nothread.c: Likewise.
18074 * malloc/tst-interpose-static-thread.c: Likewise.
18075 * malloc/tst-interpose-thread.c: Likewise.
18076 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
18077 * sysdeps/mach/hurd/fork.c (__fork): Only call
18078 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18079 __malloc_fork_unlock_child if defined.
18080 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18081
180822016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18083
18084 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
18085 timespec C99 designated initialization.
18086
180872016-08-26 Florian Weimer <fweimer@redhat.com>
18088
18089 [BZ #19946]
18090 Avoid expected SIGALRM signals.
18091 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
18092 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
18093 (xpthread_create, xpthread_detach, xpthread_join)
18094 (delayed_exit_thread, delayed_exit): New functions.
18095 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
18096 (tf): Use xpthread_cond_wait.
18097 (do_test): Likewise. Replace alarm with delayed_exit.
18098 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18099 (do_test): Call delayed_exit. Report failure.
18100 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18101 (do_test): Call delayed_exit.
18102 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18103 (do_test): Call delayed_exit. Use xpthread_join. Report error.
18104 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18105 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
18106 error.
18107 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18108 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
18109 error.
18110 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
18111 (do_test): Call delayed_exit.
18112 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
18113 (do_test): Call delayed_exit.
18114 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
18115 (do_test): Call delayed_exit instead of alarm. Use
18116 xpthread_mutex_lock.
18117 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
18118 (do_test): Call delayed_exit instead of alarm. Use
18119 xpthread_mutex_lock.
18120 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
18121 (do_test): Call delayed_exit instead of alarm.
18122 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
18123 (do_test): Call delayed_exit instead of alarm. Use
18124 xpthread_spin_lock.
18125 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
18126 (do_test): Call delayed_exit instead of alarm. Use
18127 xpthread_join.
18128
181292016-08-26 H.J. Lu <hongjiu.lu@intel.com>
18130
18131 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
18132 adjust CFA when allocating register save area on re-aligned
18133 stack.
18134
181352016-08-26 Florian Weimer <fweimer@redhat.com>
18136
18137 * string/tst-cmp.c: New test.
18138 * string/Makefile (tests): Add it.
18139
181402016-08-25 Mark Wielaard <mark@klomp.org>
18141
18142 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
18143 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
18144 (check_tree_recurse): Use newly defined accessors.
18145 (check_tree): Likewise.
18146 (maybe_split_for_insert): Likewise.
18147 (__tfind): Likewise.
18148 (__tdelete): Likewise.
18149 (trecurse): Likewise.
18150 (tdestroy_recurse): Likewise.
18151 (__tsearch): Likewise. And add asserts for malloc alignment.
18152 (__twalk): Cast root to node in case CHECK_TREE is defined.
18153
181542016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18155
18156 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
18157
181582016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18159
18160 * math/Makefile (libm-gen-calls): Add
18161 catan, catanh, ctan, ctanh.
18162 (libm-calls): Remove the above.
18163
18164 * math/s_catan_template.c: Update using type-generic macros.
18165 * math/s_catanh_template.c: Likewise.
18166 * math/s_ctan_template.c: Likewise.
18167 * math/s_ctanh_template.c: Likewise.
18168
18169 * math/s_catanf.c: Removed.
18170 * math/s_catan.c: Removed.
18171 * math/s_catanl.c: Removed.
18172 * math/s_catanhf.c: Removed.
18173 * math/s_catanh.c: Removed.
18174 * math/s_catanhl.c: Removed.
18175 * math/s_ctanf.c: Removed.
18176 * math/s_ctan.c: Removed.
18177 * math/s_ctanl.c: Removed.
18178 * math/s_ctanhf.c: Removed.
18179 * math/s_ctanh.c: Removed.
18180 * math/s_ctanhl.c: Removed.
18181
18182 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
18183 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18184 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18185 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18186 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18187 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18188
18189 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18190 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18191 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18192 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18193
181942016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18195
18196 * s_catan_template.c: Copy of s_catan.c.
18197 * s_catanh_template.c: Copy of s_catanh.c.
18198 * s_ctan_template.c: Copy of s_ctan.c.
18199 * s_ctanh_template.c: Copy of s_ctanh.c.
18200
182012016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18202
18203 * math/Makefile (gen-libm-calls): Move
18204 casin, casinh, csin, csinh here.
18205 (libm-calls): Remove the above.
18206
18207 * math/s_casin_template.c: Update using type-generic macros.
18208 * math/s_casinh_template.c: Likewise.
18209 * math/s_csin_template.c: Likewise.
18210 * math/s_csinh_template.c: Likewise.
18211 * math/k_casinh_template.c: Likewise.
18212
18213 * math/s_casinf.c: Removed.
18214 * math/s_casin.c: Removed.
18215 * math/s_casinl.c: Removed.
18216 * math/s_casinh.c: Removed.
18217 * math/s_casinhf.c: Removed.
18218 * math/s_casinhl.c: Removed.
18219 * math/s_csin.c: Removed.
18220 * math/s_csinf.c: Removed.
18221 * math/s_csinl.c: Removed.
18222 * math/s_csinh.c: Removed.
18223 * math/s_csinhf.c: Removed.
18224 * math/s_csinhl.c: Removed.
18225 * math/k_casinh.c: Removed.
18226 * math/k_casinhf.c: Removed.
18227 * math/k_casinhl.c: Removed.
18228
18229 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18230 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18231 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18232 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18233
18234 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18235 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18236 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18237 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18238 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18239 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18240 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18241 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18242
18243 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18244 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18245 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18246 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18247
18248 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18249 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18250 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18251 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18252
182532016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18254
18255 * s_casin_template.c: Copy of s_casin.c.
18256 * s_casinh_template.c: Copy of s_casinh.c.
18257 * s_csin_template.c: Copy of s_csin.c.
18258 * s_csinh_template.c: Copy of s_csinh.c.
18259 * k_casinh_template.c: Copy of k_casinh.c.
18260
182612016-08-19 H.J. Lu <hongjiu.lu@intel.com>
18262
18263 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18264
182652016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18266
18267 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18268 (mul_split) Remove, rename as mul_splitl, remove
18269 redundant float.h include, and include via mul_splitl.h
18270
18271 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18276
18277 * math/mul_splitl.h: New file.
18278
18279 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18280 Move into mul_split.h, and remove redundant float.h include.
18281
18282 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18286
18287 * math/mul_split.h: New file.
18288
182892016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18290
18291 * math/Makefile (libm-gen-calls): Move
18292 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18293 (libm-calls): Remove above.
18294
18295 * math/s_cacos_template.c: Update using type-generic macros.
18296 * math/s_cacosh_template.c: Likewise.
18297 * math/s_ccos_template.c: Likewise.
18298 * math/s_ccosh_template.c: Likewise.
18299
18300 * math/s_cacosf.c: Removed.
18301 * math/s_cacos.c: Removed.
18302 * math/s_cacosl.c: Removed.
18303 * math/s_cacoshf.c: Removed.
18304 * math/s_cacosh.c: Removed.
18305 * math/s_cacoshl.c: Removed.
18306 * math/s_ccosf.c: Removed.
18307 * math/s_ccos.c: Removed.
18308 * math/s_ccosl.c: Removed.
18309 * math/s_ccoshf.c: Removed.
18310 * math/s_ccosh.c: Removed.
18311 * math/s_ccoshl.c: Removed.
18312
18313 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18314 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18315 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18316 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18317 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18318 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18319
18320 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18321 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18322 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18323 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18324
18325 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18326 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18327 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18328 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18329
183302016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18331
18332 * s_cacos_template.c: Copy of s_cacos.c.
18333 * s_cacosh_template.c: Copy of s_cacosh.c.
18334 * s_ccos_template.c: Copy of s_ccos.c.
18335 * s_ccosh_template.c: Copy of s_ccosh.c.
18336
183372016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18338
18339 * stdlib/tst-strtod-round-skeleton.c:
18340 Refactored from tst-strtod-round.c.
18341
18342 (L_): New macro to apply literal modifier.
18343 (FNPFX): New macro to select str or wcs prefix.
18344 (CHAR): New macro to choose wchar_t or char.
18345 (STRM): New macro to choose printf for tested character type.
18346
18347 (STRTO): New macro to choose appropriate string -> real function.
18348 (FNPFXS): Stringitized version of FNPFX.
18349 (STR): Support for above macro.
18350 (STRX): Likewise.
18351
18352 (TEST): Update with above macros.
18353 (test): Likewise.
18354 (GEN_ONE_TEST): Likewise.
18355 (test_in_one_mode): Likewise.
18356
18357 * stdlib/tst-strtod-round.c: New file.
18358 * wcsmbs/tst-wcstod-round.c: New file.
18359
18360 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18361 (tst-wcstod-round): Add libm depencency for fesetround.
18362
183632016-08-19 Zack Weinberg <zackw@panix.com>
18364
18365 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18366
183672016-08-18 Torvald Riegel <triegel@redhat.com>
18368
18369 [BZ #20477]
18370 * resolv/res_hconf.c (do_init): Use atomic access.
18371 * resolv/res_hconf.h: Add comments.
18372 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18373 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18375
183762016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
18377
18378 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18379 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18380 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18381 Likewise.
18382
183832016-08-18 Florian Weimer <fweimer@redhat.com>
18384
18385 [BZ #16907]
18386 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18387 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18388 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18389 (__attribute__): Remove definition.
18390
183912016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18392
18393 * sysdeps/ieee754/ldbl-128/e_asinl.c:
18394 Remove unused sqrtl declaration.
18395
183962016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18397
18398 * math/Makefile: (gen-libm-templates.stmp): New rule.
18399 (libm-calls): Move carg conj cimag and cabs into ...
18400 (gen-libm-calls): New variable.
18401 (generated): Inform Make objects from gen-libm-calls
18402 may be generated.
18403
18404 * sysdeps/generic/math-type-macros.h: New file.
18405 * sysdeps/generic/math-type-macros-float.h: Likewise.
18406 * sysdeps/generic/math-type-macros-double.h: Likewise.
18407 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18408 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18409 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18410
18411 * math/cabs.c: Refactor into
18412 * math/cabs_template.c: new file.
18413 * math/cabsf.c: Removed.
18414 * math/cabsl.c: Removed.
18415 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18416 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18417
18418 * math/carg.c: Refactor into
18419 * math/carg_template.c: new file.
18420 * math/cargf.c: Removed.
18421 * math/cargl.c: Removed.
18422 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18423 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18424
18425 * math/conj.c: Refactor into
18426 * math/conj_template.c: new file.
18427 * math/conjf.c: Removed.
18428 * math/conjl.c: Removed.
18429 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18430 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18431
18432 * math/cimag.c: Refactor into
18433 * math/cimag_template.c: new file.
18434 * math/cimagf.c: Removed.
18435 * math/cimagl.c: Removed.
18436 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18437 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18438
18439 * math/cimag.c: Refactor into
18440 * math/cimag_template.c: new file.
18441 * math/cimagf.c: Removed.
18442 * math/cimagl.c: Removed.
18443 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18444 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18445
184462016-08-17 Florian Weimer <fweimer@redhat.com>
18447
18448 Reduce time to expected nptl/tst-once5 failure.
18449 * nptl/tst-once5.cc (TIMEOUT): Define.
18450
184512016-08-17 Florian Weimer <fweimer@redhat.com>
18452
18453 [BZ #20452]
18454 Avoid additional copies of objects in libc.a in static libraries.
18455 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18456 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18457 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18458 rt-sysdep.
18459 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18460 Add nptl-sysdep.
18461 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18462 Add ptw-sysdep.
18463 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18464 rt-sysdep.
18465 * sysdeps/unix/sysv/linux/alpha/Makefile
18466 (libpthread-shared-only-routines): Add ptw-sysdep,
18467 ptw-sigprocmask, ptw-rt_sigaction.
18468 * sysdeps/unix/sysv/linux/ia64/Makefile
18469 (librt-shared-only-routines): Add rt-sysdep.
18470 * sysdeps/unix/sysv/linux/i386/Makefile
18471 (libpthread-shared-only-routines): Add libc-do-syscall.
18472 * sysdeps/unix/sysv/linux/microblaze/Makefile
18473 (libpthread-shared-only-routines): Add sysdep.
18474 * sysdeps/unix/sysv/linux/powerpc/Makefile
18475 (librt-shared-only-routines): Add rt-sysdep.
18476 (libpthread-shared-only-routines): Add sysdep.
18477 * sysdeps/unix/sysv/linux/s390/Makefile
18478 (librt-shared-only-routines): Add rt-sysdep.
18479 * sysdeps/unix/sysv/linux/sparc/Makefile
18480 (librt-shared-only-routines): Add rt-sysdep.
18481 (libpthread-shared-only-routines): Add sysdep.
18482 * sysdeps/unix/sysv/linux/tile/Makefile
18483 (libpthread-shared-only-routines): Likewise.
18484
184852016-08-16 Joseph Myers <joseph@codesourcery.com>
18486
18487 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18488 Mask implicit bit out of unpacked value.
18489 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18490 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18491 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18492
18493 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18494
18495 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18496
18497 * sysdeps/s390/fpu/fesetexcept.c: New file.
18498
18499 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18500 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18501 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18502
18503 * sysdeps/mips/fpu/fesetexcept.c: New file.
18504
18505 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18506
18507 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18508
18509 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18510
18511 * sysdeps/arm/fesetexcept.c: New file.
18512
18513 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18514
18515 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18516
18517 * math/fesetexcept.c: New file.
18518 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18519 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18520 * math/fenv.h: Define
18521 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18522 <bits/libc-header-start.h> instead of including <features.h>.
18523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18524 declaration.
18525 * manual/arith.texi (fesetexcept): Document function.
18526 * math/Versions (fesetexcept): New libm symbol at version
18527 GLIBC_2.25.
18528 * math/Makefile (libm-support): Add fesetexcept.
18529 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18530 * math/test-fesetexcept.c: New file.
18531 * math/test-fesetexcept-traps.c: Likewise.
18532 * sysdeps/nacl/libm.abilist: Update.
18533 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18535 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18538 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18539 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18540 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18541 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18542 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18543 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18544 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18546 Likewise.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18548 Likewise.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18550 Likewise.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18552 Likewise.
18553 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18559 Likewise.
18560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18561 Likewise.
18562 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18565
185662016-08-16 Florian Weimer <fweimer@redhat.com>
18567
18568 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18569 New.
18570 (do_test): Apply default_stack_size_in_mb if not set.
18571 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18572
185732016-08-15 Andreas Schwab <schwab@suse.de>
18574
18575 [BZ #20435]
18576 CVE-2016-6323
18577 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18578 as .cantunwind.
18579
185802016-08-12 Joseph Myers <joseph@codesourcery.com>
18581
18582 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18583 comment from fraiseexcpt.c.
18584
18585 * math/test-fexcept.c (feraiseexcept_exact): New function.
18586 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18587 (test_except): Likewise.
18588
185892016-08-10 Joseph Myers <joseph@codesourcery.com>
18590
18591 [BZ #20455]
18592 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18593 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18594 to be restored.
18595
18596 * math/test-fexcept-traps.c: New file.
18597 * math/test-fexcept.c: Likewise.
18598 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18599 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18600 macro.
18601 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18602 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18603
186042016-08-09 Torvald Riegel <triegel@redhat.com>
18605
18606 * include/atomic.h (atomic_fetch_and_relaxed,
18607 atomic_fetch_and_release, atomic_fetch_or_release,
18608 atomic_fetch_xor_release): New.
18609
186102016-08-06 Christian Seiler <christian@iwakd.de>
18611
18612 [BZ #20444]
18613 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18614 MACH_PORT_NULL.
18615
186162016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18617
18618 * math/s_fdim.c: Avoid alias renamed.
18619 * math/s_fdimf.c: Likewise.
18620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18621 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18622 Add s_fdimf-vis3, s_fdim-vis3.
18623 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18624 (CFLAGS-s_fdim-vis3.c): Likewise.
18625 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18626 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18627
186282016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18629
18630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18631 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18632 Remove s_fdimf-vis3, s_fdim-vis3.
18633 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18634 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18641 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18642 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18643
186442016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18645
18646 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18647 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18648 -Wa,-Av9a -mvis.
18649
186502016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18651
18652 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18653 LIT() to individual constants in simple expressions
18654 after splitting on spaces.
18655 (_apply_lit): Rename replaced version, and use it to
18656 apply to what appears to be a token.
18657
18658 * math/libm-test.inc: Fix many, many issues with
18659 spacing.
18660
186612016-08-05 Joseph Myers <joseph@codesourcery.com>
18662
18663 * math/math.h: Move comment about <bits/mathdef.h> definitions
18664 above inclusion of <bits/mathdef.h>. Do not mention
18665 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18666
186672016-08-05 Torvald Riegel <triegel@redhat.com>
18668
18669 * include/atomic.h (atomic_exchange_relaxed): New.
18670
186712016-08-04 Joseph Myers <joseph@codesourcery.com>
18672
18673 * math/e_scalb.c: Do not include <fenv.h>.
18674 (invalid_fn): Do calculation resulting in NaN instead of raising
18675 FE_INVALID and returning a NaN explicitly.
18676 * math/e_scalbf.c: Do not include <fenv.h>.
18677 (invalid_fn): Do calculation resulting in NaN instead of raising
18678 FE_INVALID and returning a NaN explicitly.
18679 * math/e_scalbl.c: Do not include <fenv.h>.
18680 (invalid_fn): Do calculation resulting in NaN instead of raising
18681 FE_INVALID and returning a NaN explicitly.
18682
186832016-08-04 Carlos O'Donell <carlos@redhat.com>
18684
18685 * po/de.po: Updated from Translation Project.
18686 * po/fi.po: Likewise.
18687 * po/sv.po: Likewise.
18688
186892016-08-04 Florian Weimer <fweimer@redhat.com>
18690
18691 [BZ #20452]
18692 Use sysdep.o from libc.a in static libraries.
18693 * sysdeps/unix/sysv/linux/i386/Makefile
18694 (libpthread-shared-only-routines): Add sysdep.
18695 (librt-shared-only-routines): Likewise.
18696
186972016-08-03 Joseph Myers <joseph@codesourcery.com>
18698
18699 * math/tgmath.h (nextdown): Define if
18700 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18701 (nextup): Likewise.
18702
18703 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18704 macro.
18705 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18706 Document.
18707 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18708 Document macro.
18709 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18710 (exp10f): Likewise.
18711 (exp10l): Likewise.
18712 * math/bits/mathcalls.h (exp10): Declare if
18713 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18714
18715 * manual/arith.texi (nextup): Fix typo in last change.
18716
187172016-08-03 Zack Weinberg <zackw@panix.com>
18718
18719 [BZ #19239]
18720 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18721 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18722 define major, minor, and makedev to issue deprecation warnings on use.
18723 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18724 previously-activated deprecation warnings for these macros and prevent
18725 subsequent inclusions of this header from having any effect.
18726 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18727 including <sys/sysmacros.h>, and undefine it again afterward.
18728
187292016-08-03 Zack Weinberg <zackw@panix.com>
18730
18731 * sysdeps/generic/sys/sysmacros.h: Delete file.
18732 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18733 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18734 * bits/sysmacros.h: ... here; this encoding is now the generic
18735 encoding. Now defines only the following macros:
18736 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18737 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18738 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18739
18740 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18741 bits/sysmacros.h and the above new macros to generate the
18742 public implementations of major, minor, and makedev.
18743 * misc/tst-makedev.c: New test.
18744 * include/sys/sysmacros.h: New wrapper.
18745
18746 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18747 (routines): Add makedev.
18748 (tests): Add tst-makedev.
18749 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18750 gnu_dev_makedev.
18751 * posix/Makefile (headers): Remove sys/sysmacros.h.
18752 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18753
18754 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18755 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18756 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18757 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18758 * sysdeps/unix/sysv/linux/arm/libc.abilist
18759 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18760 * sysdeps/unix/sysv/linux/i386/libc.abilist
18761 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18762 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18763 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18764 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18765 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18766 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18767 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18768 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18769 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18774 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18775 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18776 * sysdeps/unix/sysv/linux/sh/libc.abilist
18777 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18778 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18781 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18782 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18783 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18784 Add GLIBC_2.25.
18785
18786 * include/features.h (__glibc_clang_prereq): New macro.
18787 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18788 (__attribute_deprecated_msg__): New macros.
18789
187902016-08-03 Joseph Myers <joseph@codesourcery.com>
18791
18792 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18793 macro.
18794 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18795 * manual/arith.texi (issignaling): Document as ISO from TS
18796 18661-1:2014.
18797 (nextup): Likewise.
18798 (nextupf): Likewise.
18799 (nextupl): Likewise.
18800 (nextdown): Likewise.
18801 (nextdownf): Likewise.
18802 (nextdownl): Likewise.
18803 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18804 macro.
18805 * math/math.h: Define
18806 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18807 <bits/libc-header-start.h> instead of including <features.h>.
18808 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18809 [__USE_GNU].
18810 * math/bits/mathcalls.h (nextdown): Declare if
18811 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18812 (nextup): Likewise.
18813 (__issignaling): Likewise.
18814
188152016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18816
18817 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18818 check, and remove __glibc_likely hint
18819 from FP_INFINITE check.
18820 * s_csinhf.c (__csinhf): Likewise.
18821
18822 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18823 hint from FP_INFINITE check.
18824 * s_csinhl.c (__csinhl): Likewise.
18825
188262016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18827
18828 * math/Makefile (libm-calls): Insert F placeholder into
18829 object names. Move w_lgamma_compat* routines into
18830 (libm-compat-calls): New variable.
18831 (libm-compat-calls-ldouble-yes): New variable.
18832 (calls): Insert F placeholder.
18833 (generated): Redefine using new type-foreach macro call.
18834 (routines): Likewise.
18835
18836 (types): New variable to hold a list of symbolic names
18837 for each type supported by the target machine.
18838 (libm-routines): Redefine using new types variable.
18839 (type-foreach): macro to replace fooF with the
18840 appropriately suffixed foo for each types.
18841
18842 (type-ldouble-suffix): New variable.
18843 (type-ldouble-routines): Likewise.
18844 (type-ldouble-yes): Likewise.
18845 (type-double-suffix): Likewise.
18846 (type-double-routines): Likewise.
18847 (type-float-suffix): Likewise.
18848 (type-float-routines): Likewise.
18849
18850 (dbl-only-routines): Remove.
18851 (long-c-yes): Likewise.
18852 (long-m-routines): Likewise.
18853 (long-m-support): Likewise.
18854 (long-m-yes): Likewise.
18855 (test-longdouble-yes): Likewise.
18856
18857 (test-float.o): Simplify by increasing the scope of the
18858 recipe which adds libm-test.stmp to the vector types.
18859 (test-ifloat.o): Likewise.
18860 (test-float-finite.o): Likewise.
18861 (test-double.o): Likewise
18862 (test-idouble.o): Likewise.
18863 (test-double-finite.o): Likewise.
18864 (test-ldouble.o): Likewise
18865 (test-ildoubl.o): Likewise.
18866 (test-ldouble-finite.o): Likewise.
18867
18868 (libm-tests): Redefine type tests using foreach and the
18869 list of types in types.
18870
18871 (CPPFLAGS-test-ildoubl.c): Rename to
18872 (CPPFLAGS-test-ildouble.c): New variable
18873
18874 * math/test-ildoubl.c: Rename to
18875 * math/test-ildouble.c: New file.
18876
188772016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18878
18879 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18880 Use fabsl instead of fabs.
18881 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18882 Likewise.
18883 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18884 Add long double suffix to constant to ensure proper
18885 promotion to long double.
18886
188872016-08-03 Tom Tromey <tom@tromey.com>
18888
18889 [BZ #20311]
18890 * nptl_db/Makefile (headers): Add proc_service.h.
18891 * nptl_db/proc_service.h: Add include guard. Use
18892 __BEGIN/__END_DECLS.
18893 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18894 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18895 arguments.
18896
18897
188982016-08-03 Florian Weimer <fweimer@redhat.com>
18899
18900 [BZ #17730]
18901 Avoid using memalign for TCB allocations.
18902 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18903 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18904 Avoid alignment gap in the TLS_DTV_AT_TP case.
18905 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18906 determine the pointer to free.
18907 * nptl/tst-tls3-malloc.c: New test.
18908 * nptl/Makefile (tests): Add it.
18909 (tst-tls3-malloc): Link with libdl, libpthread.
18910 (LDFLAGS-tst-tls3-malloc): Set.
18911 (tst-tls3-malloc.out): Depend on DSO used in test.
18912
189132016-08-03 Florian Weimer <fweimer@redhat.com>
18914
18915 [BZ #17730]
18916 Avoid using memalign for TLS allocations.
18917 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18918 is_static member with to_free member.
18919 (union dtv): Use struct dtv_pointer.
18920 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18921 dtv_pointer instead of is_static.
18922 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18923 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18924 instead of val.
18925 (allocate_dtv_entry): New function.
18926 (allocate_and_init): Return struct dtv_pointer. Call
18927 allocate_dtv_entry instead of __libc_memalign.
18928 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18929 instead of val.
18930 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18931 instead of is_static. Adjust call to allocate_and_init.
18932 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18933 struct dtv_pointer instead of val.
18934
189352016-08-03 Florian Weimer <fweimer@redhat.com>
18936
18937 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18938 (MALLOC_ALIGN_MASK): Move ...
18939 * malloc/malloc-internal.h: ... to here.
18940 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18941
189422016-08-03 Joseph Myers <joseph@codesourcery.com>
18943
18944 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18945 (UDP_ENCAP_GTP1U): Likewise.
18946
18947 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18948 (PF_MAX): Update value.
18949 (AF_QIPCRTR): New macro.
18950
189512016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18952
18953 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18954 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18955 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18957 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18958 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18959 s_truncf-vis3, s_trunc-vis3.
18960 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18961 (CFLAGS-s_ceil-vis3.c): Likewise.
18962 (CFLAGS-s_floorf-vis3.c): Likewise.
18963 (CFLAGS-s_floor-vis3.c): Likewise.
18964 (CFLAGS-s_truncf-vis3.c): Likewise.
18965 (CFLAGS-s_trunc-vis3.c): Likewise.
18966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18969 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18971 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18974 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18975 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18978
189792016-08-02 David S. Miller <davem@davemloft.net>
18980
18981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18982 (__nearbyint_vis3): Don't check for sNaN before float register is
18983 loaded with the incoming argument.
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18985 (__nearbyintf_vis3): Likewise.
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18987 Likewise.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18989 Likewise.
18990
18991 * string/test-strncmp.c (do_test_limit): Make sure the test data
18992 stream is aligned as required for the type "CHAR".
18993 (do_test): Likewise.
18994
189952016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18996
18997 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18998 by beq instructions jumping to the end of the function.
18999 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
19000 clobber list. Use "i" constraint instead of "X".
19001 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
19002 of "X".
19003
190042016-08-02 Joseph Myers <joseph@codesourcery.com>
19005
19006 * bits/libc-header-start.h: New file.
19007 * Makefile (headers): Add bits/libc-header-start.h.
19008 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
19009 (__GLIBC_USE): New macro.
19010 * libio/stdio.h: Define
19011 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19012 <bits/libc-header-start.h> instead of including <features.h>.
19013 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
19014 (open_memstream): Likewise.
19015 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
19016 (__asprintf): Likewise.
19017 (asprintf): Likewise.
19018 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
19019 (getdelim): Likewise.
19020 (getline): Likewise.
19021 * string/string.h: Define
19022 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19023 <bits/libc-header-start.h> instead of including <features.h>.
19024 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
19025 (strndup): Likewise.
19026 * wcsmbs/wchar.h: Define
19027 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19028 <bits/libc-header-start.h> instead of including <features.h>.
19029 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
19030 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
19031
190322016-08-02 Florian Weimer <fweimer@redhat.com>
19033
19034 Support linking against compatibility symbols, for use in tests.
19035 * include/libc-symbols.h (symbol_version_reference): New macro.
19036 (symbol_version): Use it.
19037 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
19038 (compat_symbol): Use compat_symbol_reference.
19039 (compat_symbol_1, compat_symbol_2): Remove.
19040 (compat_symbol_reference, compat_symbol_reference_1)
19041 (compat_symbol_reference_2): New macro. Use
19042 symbol_version_reference.
19043
190442016-08-02 Florian Weimer <fweimer@redhat.com>
19045
19046 [BZ #19469]
19047 * malloc/Makefile (CPPFLAGS): Compile tests with
19048 -DTEST_NO_MALLOPT.
19049 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
19050
190512016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
19052
19053 [BZ #20033]
19054 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
19055 finite version.
19056 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
19057 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
19058 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
19059 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
19060 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
19061 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
19062 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
19063 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
19064 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
19065 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
19066 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
19067 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
19068 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
19069 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
19070 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
19071 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
19072 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
19073 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
19074 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
19075 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
19076 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
19077 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
19078 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
19079 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
19080 in zero power.
19081
190822016-08-02 Florian Weimer <fweimer@redhat.com>
19083
19084 [BZ #20370]
19085 * malloc/arena.c (get_free_list): Update comment. Assert that
19086 arenas on the free list have no attached threads.
19087 (remove_from_free_list): New function.
19088 (reused_arena): Call it.
19089
190902016-08-02 Aurelien Jarno <aurelien@aurel32.net>
19091
19092 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
19093 when it is a NaN.
19094 [_IEEE_FP_INEXACT] Remove.
19095 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
19096 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
19097 when it is a NaN.
19098 [_IEEE_FP_INEXACT] Remove.
19099 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
19100 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
19101 when it is a NaN.
19102 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
19103 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
19104 when its absolute value is greater than 0x1.0p52.
19105 [_IEEE_FP_INEXACT] Remove.
19106 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
19107 when its absolute value is greater than 0x1.0p23.
19108 [_IEEE_FP_INEXACT] Remove.
19109
191102016-08-01 Carlos O'Donell <carlos@redhat.com>
19111
19112 * version.h (RELEASE): Set to "development"
19113 (VERSION): Set to 2.24.90.
19114 * NEWS: Add 2.25 section.
19115
19116 * version.h (RELEASE): Set to "stable"
19117 (VERSION): Set to 2.24.
19118 * include/features.h (__GLIBC_MINOR__): Set to 24.
19119
19120 * NEWS: Add 2.24 fixed bugs.
19121 * po/libc.pot: Regenerate.
19122
191232016-08-01 Aurelien Jarno <aurelien@aurel32.net>
19124
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19126 [$(subdir) = math] (libm-sysdep_routines): Remove.
19127 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
19128 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
19129 s_truncf-vis3, s_trunc-vis3.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
19132 file.
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
19134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
19154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
19155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
19164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19166 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
19167 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
19168 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
19169 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
19170 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19171 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19172 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
19173 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
19174 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
19175 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
19176
191772016-07-27 H.J. Lu <hongjiu.lu@intel.com>
19178
19179 [BZ #20384]
19180 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
19181 test-double-libmvec-sincos-avx-main.o,
19182 test-double-libmvec-sincos-avx2-main.o,
19183 test-double-libmvec-sincos-main.o,
19184 test-float-libmvec-sincosf-avx-main.o,
19185 test-float-libmvec-sincosf-avx2-main.o and
19186 test-float-libmvec-sincosf-main.o.
19187 test-float-libmvec-sincosf-avx512-main.o.
19188 ($(objpfx)test-double-libmvec-sincos): Also link with
19189 $(objpfx)test-double-libmvec-sincos-main.o.
19190 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19191 $(objpfx)test-double-libmvec-sincos-avx-main.o.
19192 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19193 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19194 ($(objpfx)test-float-libmvec-sincosf): Also link with
19195 $(objpfx)test-float-libmvec-sincosf-main.o.
19196 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19197 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19198 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19199 test-double-libmvec-sincos-avx512-main.o and
19200 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19201 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19202 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19203 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19204 (CFLAGS-test-double-libmvec-sincos.c): Removed.
19205 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19206 (CFLAGS-test-double-libmvec-sincos-main.c): New.
19207 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19208 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19209 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19210 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19211 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19212 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19213 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19214 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19215 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19216 -DREQUIRE_AVX2.
19217 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19218 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19219 -DREQUIRE_AVX512F.
19220 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19221 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19222 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19223 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19224 file.
19225 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19226 Likewise.
19227 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19228 Likewise.
19229 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19230 Likewise.
19231 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19232 Likewise.
19233 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19234 Likewise.
19235 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19236 Likewise.
19237 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19238 Likewise.
19239
192402016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
19241
19242 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19243
192442016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
19245
19246 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19247 and typo in a comment about AT_HWCAP entry.
19248
192492016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19250
19251 * sysdeps/aarch64/libm-test-ulps: Updated.
19252
192532016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19254
19255 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19256 of r13 as it is not restored in mvcle case.
19257
192582016-07-19 Mike Frysinger <vapier@gentoo.org>
19259
19260 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19261 Rename "ret" to "__ret".
19262 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19263 inline_syscall5, inline_syscall6): Likewise.
19264
192652016-07-19 Will Newton <will.newton@gmail.com>
19266
19267 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19268 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19269 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19270 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19271 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19272
192732016-07-18 H.J. Lu <hongjiu.lu@intel.com>
19274
19275 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19276 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19277 -mfpmath=387 with $(rtld-CFLAGS).
19278 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19279 $(rtld-CFLAGS).
19280
192812016-07-18 Ross Burton <ross.burton@intel.com>
19282 Khem Raj <raj.khem@gmail.com>
19283
19284 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19285 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19286 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19287 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19288 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19289 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19290 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19291 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19292 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19293 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19294 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19295 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19296 R_METAG_TLS_DTPOFF): New.
19297
192982016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
19299 Matt Clay <mclay@lycos.com>
19300
19301 [BZ #20357]
19302 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19303 to call __mpsin/__mpcos and to negate values.
19304 * math/auto-libm-test-in: Add test.
19305 * math/auto-libm-test-out: Regenerate.
19306
193072016-07-18 Zack Weinberg <zackw@panix.com>
19308
19309 * grp/Makefile: Don't install the internal header grp-merge.h.
19310
193112016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19312
19313 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19314
193152016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
19316
19317 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19318
193192016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19320
19321 [BZ #15368]
19322 * sysdeps/unix/sysv/linux/nptl-signals.h
19323 (__nptl_clear_internal_signals): New function.
19324 (__libc_signal_block_all): Likewise.
19325 (__libc_signal_block_app): Likewise.
19326 (__libc_signal_restore_set): Likewise.
19327 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19328 implementation.
19329 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19330 the cached pid/tid value in pthread structure.
19331
193322016-07-13 H.J. Lu <hongjiu.lu@intel.com>
19333
19334 [BZ #20347]
19335 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19336
193372016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19338
19339 [BZ #20348]
19340 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19341 preadv64, pwrite64 and pwritev64.
19342
193432016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19344
19345 [BZ #20350]
19346 * posix/tst-preadwrite.c: Renamed to ...
19347 * posix/tst-preadwrite-common.c: This.
19348 (PREAD): Removed.
19349 (PWRITE): Likewise.
19350 (STRINGIFY): Likewise.
19351 (STRINGIFY2): Likewise.
19352 (do_prepare): Make it static and remove function arguments.
19353 (do_test): Likewise.
19354 (PREPARE): Updated.
19355 (TEST_FUNCTION): New.
19356 (name): Make it static.
19357 (fd): Likewise.
19358 (do_prepare): Use create_temp_file.
19359 (do_test): Renamed to ...
19360 (do_test_with_offset): This. Make it static and accept offset.
19361 Properly check return value of PWRITE and PREAD. Return bytes
19362 read. Don't close fd nor unlink name.
19363 * posix/tst-preadwrite.c: Rewrite.
19364 * posix/tst-preadwrite64.c: Likewise.
19365
193662016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19367
19368 [BZ #20309]
19369 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19370 -mtls-dialect=gnu2 works.
19371 * configure: Regenerated.
19372 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19373 (tests): Add tst-gnu2-tls1.
19374 (modules-names): Add tst-gnu2-tls1mod.
19375 ($(objpfx)tst-gnu2-tls1): New.
19376 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19377 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19378 * elf/tst-gnu2-tls1.c: New file.
19379 * elf/tst-gnu2-tls1mod.c: Likewise.
19380 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19381 bytes for push in the PLT entry to align the stack.
19382
193832016-07-11 H.J. Lu <hongjiu.lu@intel.com>
19384
19385 [BZ #20349]
19386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19387
193882016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
19389
19390 [BZ #18707]
19391 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19392 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19393
193942016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19395
19396 * sysdeps/unix/sysv/linux/sysdep.h
19397 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19398 guards.
19399 * misc/tst-preadvwritev-common.c: New file.
19400 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19401 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19402 a check for files larger than 2GB.
19403
19404 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19405 (__ASSUME_OFF_DIFF_OFF64): Remove define.
19406 * sysdeps/unix/sysv/linux/pread.c
19407 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19408 __OFF_T_MATCHES_OFF64_T.
19409 * sysdeps/unix/sysv/linux/pread64.c
19410 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19411 * sysdeps/unix/sysv/linux/preadv.c
19412 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19413 * sysdeps/unix/sysv/linux/preadv64.c
19414 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19415 * sysdeps/unix/sysv/linux/pwrite.c
19416 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19417 * sysdeps/unix/sysv/linux/pwrite64.c
19418 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19419 * sysdeps/unix/sysv/linux/pwritev.c
19420 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19421 * sysdeps/unix/sysv/linux/pwritev64.c
19422 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19423
194242016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
19425
19426 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19427 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19428
194292016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19430
19431 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19432
194332016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19434
19435 [BZ #20240]
19436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19437 (CFLAGS-s_modf-ppc32.c): New variable.
19438 (CFLAGS-s_modff-ppc32.c): Likewise.
19439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19440 (CFLAGS-s_modf-ppc64.c): Likewise.
19441 (CFLAGS-s_modff-ppc64.c): Likewise.
19442
194432016-07-07 Andreas Schwab <schwab@suse.de>
19444
19445 [BZ #20263]
19446 * nptl/tst-robust10.c: New test.
19447 * nptl/Makefile (tests): Add tst-robust10.
19448
194492016-07-07 Jiyoung Yun <t2wish@gmail.com>
19450
19451 [BZ #20263]
19452 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19453
194542016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19455
19456 * sysdeps/s390/linkmap.h (struct link_map_machine):
19457 Remove member gotplt and add member jmprel.
19458 * sysdeps/s390/s390-32/dl-machine.h
19459 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19460 instead of gotplt with &got[3].
19461 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19462 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19463
194642016-07-06 John David Anglin <danglin@gcc.gnu.org>
19465
19466 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19467
194682016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19469
19470 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19471 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19472 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19473 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19474 * libio/vtables.c (_IO_vtable_check)
19475 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19476 * libio/libioP.h (IO_set_accept_foreign_vtables)
19477 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19478
194792016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19480
19481 [BZ #20314]
19482 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19483 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19484 $(common-objpfx)cmath.
19485 ($(common-objpfx)cstdlib): New target.
19486 ($(common-objpfx)cmath): Likewise.
19487
194882016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19489
19490 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19491
194922016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19493
19494 [BZ #20327]
19495 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19496 are not part of the string.
19497
194982016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19499
19500 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19501 * nptl/tst-cancel4-common.h (fifoname): New variable.
19502 (fifofd): Likewise.
19503 (cl_fifo): New function.
19504 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19505 SIGINT.
19506 (tf_open): Add early cancel test.
19507
195082016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19509
19510 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19511
195122016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19513
19514 * sysdeps/generic/ldsodefs.h
19515 (dl_symbol_visibility_binds_local_p): New inline function.
19516 * elf/dl-addr.c (determine_info): Treat hidden and internal
19517 symbols as local.
19518 * elf/dl-lookup.c (do_lookup_x): Likewise.
19519 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19520
195212016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19522
19523 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19524 invalid exception for a sNaN input.
19525 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19526 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19527 (__nearbyint_vis3): Likewise
19528 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19529 (__nearbyintf_vis3): Likewise
19530 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19531 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19532 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19533 Likewise.
19534 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19535 Likewise.
19536
195372016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19538
19539 [BZ #20139]
19540 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19541 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19542 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19543 2.24 or above.
19544 (HAVE_AVX512_ASM_SUPPORT): Removed.
19545 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19546 * sysdeps/x86_64/configure: Regenerated.
19547 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19548 check unconditional.
19549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19550 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19551 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19552 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19553 Likewise.
19554 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19555 Likewise.
19556 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19557 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19558 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19559 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19560 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19561 Likewise.
19562 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19563 Likewise.
19564 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19565 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19566 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19567 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19568 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19569 Likewise.
19570 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19571 Likewise.
19572 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19573 Likewise.
19574 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19575 Likewise.
19576 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19577 Likewise.
19578 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19579 Likewise.
19580 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19581 Likewise.
19582 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19583 Likewise.
19584 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19585 Likewise.
19586 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19587 Likewise.
19588 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19589 Likewise.
19590
195912016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19592
19593 [BZ #20024]
19594 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19595 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19596 of this implementation of vector function.
19597 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19599 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19600 Likewise.
19601 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19602 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19603 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19604 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19605 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19606 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19607 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19608 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19609 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19610 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19611 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19612 for testing vector sincos with fixed ABI.
19613 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19614 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19615 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19616 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19617 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19618 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19619 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19620 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19621 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19622 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19623 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19624 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19625 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19626 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19627 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19628 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19629
196302016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19631
19632 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19633
196342016-06-30 Anton Blanchard <anton@samba.org>
19635
19636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19637 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19638 s_sinf-ppc64.
19639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19642 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19643
196442016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19645
19646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19648 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19649 e_expf-ppc64.
19650 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19651 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19652 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19653 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19654
196552016-06-30 John David Anglin <danglin@gcc.gnu.org>
19656
19657 [BZ #20277]
19658 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19659 when SHARED is defined.
19660
196612016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19662
19663 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19664 (index_arch_Prefer_ERMS): Likewise.
19665 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19666 __memcpy_erms for Prefer_ERMS.
19667 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19668 (__memmove_erms): Enabled for libc.a.
19669 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19670 __memmove_erms or Prefer_ERMS.
19671 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19672 __mempcpy_erms for Prefer_ERMS.
19673 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19674 __memset_erms for Prefer_ERMS.
19675
196762016-06-30 Andreas Schwab <schwab@suse.de>
19677
19678 [BZ #20262]
19679 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19680 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19681 of memory.
19682
196832016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19684
19685 [BZ #18645]
19686 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19687 (test-extras): Add tst-cleanupx4aux.
19688 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19689 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19690 tst-cleanupx4aux.o.
19691 * nptl/tst-cleanupx4aux.c: New file.
19692
196932016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19694
19695 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19696
196972016-06-29 Andreas Schwab <schwab@suse.de>
19698
19699 [BZ #20260]
19700 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19701 address before the beginning of the string as an integer to avoid
19702 array-bounds warning.
19703
197042016-06-28 Richard Henderson <rth@redhat.com>
19705
19706 * elf/elf.h (EM_BPF): New.
19707 (EM_NUM): Update.
19708 (R_BPF_NONE, R_BPF_MAP_FD): New.
19709
19710 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19711 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19712 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19713 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19714 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19715 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19716 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19717 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19718 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19719 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19720 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19721 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19722 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19723 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19724 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19725 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19726 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19727 (EM_NUM): Update.
19728
197292016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19730
19731 [BZ #18960]
19732 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19733 Set _nl_current_LC_CATEGORY_used to two instead of one.
19734
197352016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19736
19737 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19738 (do_test): ... this.
19739 (TEST_FUNCTION): New macro.
19740 Include test-skeleton.c.
19741 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19742 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19743
197442016-06-27 Joseph Myers <joseph@codesourcery.com>
19745
19746 [BZ #15479]
19747 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19748 floating-point environment rather than just control word.
19749 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19750 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19751 floating-point environment, with "invalid" exceptions merged in,
19752 rather than just control word.
19753 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19754 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19755 "inexact" exceptions.
19756
19757 [BZ #15479]
19758 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19759 floating-point environment rather than just control word.
19760 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19761 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19762 floating-point environment, with "invalid" exceptions merged in,
19763 rather than just control word.
19764 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19765 * math/libm-test.inc (floor_test_data): Do not allow spurious
19766 "inexact" exceptions.
19767
19768 [BZ #15479]
19769 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19770 floating-point environment rather than just control word.
19771 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19772 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19773 floating-point environment, with "invalid" exceptions merged in,
19774 rather than just control word.
19775 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19776 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19777 "inexact" exceptions.
19778
197792016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19780
19781 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19782 __libc_vfork.
19783 (__vfork) [IS_IN (libc)]: Remove alias.
19784 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19785 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19787
197882016-06-24 Torvald Riegel <triegel@redhat.com>
19789
19790 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19791 of atomic_compare_and_exchange_bool_rel.
19792 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19793 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19794 catomic_compare_and_exchange_bool_rel): Remove.
19795 * sysdeps/aarch64/atomic-machine.h
19796 (atomic_compare_and_exchange_bool_rel): Likewise.
19797 * sysdeps/alpha/atomic-machine.h
19798 (atomic_compare_and_exchange_bool_rel): Likewise.
19799 * sysdeps/arm/atomic-machine.h
19800 (atomic_compare_and_exchange_bool_rel): Likewise.
19801 * sysdeps/mips/atomic-machine.h
19802 (atomic_compare_and_exchange_bool_rel): Likewise.
19803 * sysdeps/microblaze/atomic-machine.h
19804 ( __arch_compare_and_exchange_bool_8_rel,
19805 __arch_compare_and_exchange_bool_16_rel): Likewise.
19806 * sysdeps/powerpc/atomic-machine.h
19807 ( __arch_compare_and_exchange_bool_8_rel,
19808 __arch_compare_and_exchange_bool_16_rel): Likewise.
19809 * sysdeps/powerpc/powerpc32/atomic-machine.h
19810 ( __arch_compare_and_exchange_bool_32_rel,
19811 __arch_compare_and_exchange_bool_64_rel): Likewise.
19812 * sysdeps/powerpc/powerpc64/atomic-machine.h
19813 ( __arch_compare_and_exchange_bool_32_rel,
19814 __arch_compare_and_exchange_bool_64_rel): Likewise.
19815 * sysdeps/tile/atomic-machine.h
19816 (atomic_compare_and_exchange_bool_rel): Likewise.
19817
198182016-06-23 Joseph Myers <joseph@codesourcery.com>
19819
19820 [BZ #20296]
19821 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19822 when either argument is a NaN.
19823 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19824 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19825
19826 * math/libm-test.inc (snan_value_ld): New macro.
19827 (isgreater_test_data): Add sNaN tests.
19828 (isgreaterequal_test_data): Likewise.
19829 (isless_test_data): Likewise.
19830 (islessequal_test_data): Likewise.
19831 (islessgreater_test_data): Likewise.
19832 (isunordered_test_data): Likewise.
19833 (nextafter_test_data): Likewise.
19834 (nexttoward_test_data): Likewise.
19835 (remainder_test_data): Likewise.
19836 (remquo_test_data): Likewise.
19837 (significand_test_data): Likewise.
19838 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19839
198402016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19841
19842 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19843 environment macros are defined.
19844 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19845
198462016-06-23 Florian Weimer <fweimer@redhat.com>
19847
19848 [BZ #20191]
19849 Implement vtable verification in libio.
19850 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19851 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19852 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19853 _IO_new_file_init_internal instead of _IO_file_init.
19854 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19855 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19856 * libio/Makefile (routines): Add vtables.
19857 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19858 (_IO_init): Remove, not for internal use.
19859 (_IO_init_internal): Declare, internal replacement for _IO_init.
19860 (_IO_file_init): Remove, not for internal use.
19861 (_IO_new_file_init): Remove, not for internal use.
19862 (_IO_new_file_init_internal): Declare, internal replacement for
19863 _IO_new_file_init.
19864 (_IO_old_file_init): Remove, not for internal use.
19865 (_IO_old_file_init_internal): Declare, internal replacement for
19866 _IO_old_file_init.
19867 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19868 internal use.
19869 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19870 Declare.
19871 (libio_vtable): New macro.
19872 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19873 functions.
19874 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19875 _IO_new_file_init.
19876 (_IO_new_file_init): New externally visible wrapper which disables
19877 vtable verification.
19878 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19879 Define as vtables.
19880 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19881 (_IO_init): New externally visible wrapper which disables
19882 vtable verification.
19883 * libio/iofdopen.c (_IO_new_fdopen): Call
19884 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19885 comment.
19886 * libio/iofopen.c (__fopen_internal): Call
19887 _IO_new_file_init_internal instead of _IO_file_init.
19888 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19889 Define as vtables.
19890 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19891 _IO_new_file_init_internal instead of _IO_file_init.
19892 * libio/iopopen.c (_IO_new_popen): Likewise.
19893 (_IO_proc_jumps): Define as vtable.
19894 * libio/iovdprintf.c (_IO_vdprintf): Call
19895 _IO_new_file_init_internal instead of _IO_file_init.
19896 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19897 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19898 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19899 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19900 _IO_old_file_init.
19901 (_IO_old_file_init): New externally visible wrapper which disables
19902 vtable verification.
19903 (_IO_old_file_jumps): Define as vtable.
19904 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19905 _IO_old_file_init_internal instead of _IO_old_file_init.
19906 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19907 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19908 (_IO_old_proc_jumps): Define as vtable.
19909 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19910 Define as vtables.
19911 * libio/vtables.c: New file.
19912 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19913 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19914 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19915 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19916 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19917 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19918 instead of _IO_init.
19919
199202016-06-23 Florian Weimer <fweimer@redhat.com>
19921
19922 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19923
199242016-06-23 Florian Weimer <fweimer@redhat.com>
19925
19926 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19927 potentially unused.
19928
199292016-06-22 Florian Weimer <fweimer@redhat.com>
19930
19931 * test-skeleton.c (write_message): New function.
19932 * malloc/tst-mallocfork2.c (write_message): Remove.
19933 * debug/tst-longjmp_chk2.c (write_indented): New function.
19934 (write_message): Remove.
19935 (stackoverflow_handler): Call write_indented.
19936
199372016-06-22 Joseph Myers <joseph@codesourcery.com>
19938
19939 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19940 "inexact" exceptions after fnstenv.
19941 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19942 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19943 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19944
199452015-06-22 Zack Weinberg <zackw@panix.com>
19946
19947 * sysdeps/generic/bits/hwcap.h: Moved to ...
19948 * bits/hwcap.h: Here.
19949
199502016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19951
19952 * sysdeps/aarch64/memcpy.S (memcpy):
19953 Further tuning for performance.
19954
199552016-06-21 Florian Weimer <fweimer@redhat.com>
19956
19957 [BZ #20284]
19958 * malloc/arena.c (reused_arena): Do not return NULL if we start
19959 out with a non-corrupted arena.
19960
199612016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19962
19963 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19964 * misc/tst-preadvwritev.c: New file.
19965 * misc/tst-preadvwritev64.c: Likewise.
19966 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19967 usage.
19968 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19969 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19970 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19971 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19972
199732016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19974
19975 [BZ #19654]
19976 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19977 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19978 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19979 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19980 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19981 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19982 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19983 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19984 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19985 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19986 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19987 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19988 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19989 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19990 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19991 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19992 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19993 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19994 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19995 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19996 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19997 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19998 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19999 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
20000 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
20001 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
20002
200032016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
20004
20005 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
20006 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
20007
200082016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
20009
20010 * sysdeps/aarch64/memcpy.S (memcpy):
20011 Rewrite of optimized memcpy and memmove.
20012 * sysdeps/aarch64/memmove.S (memmove): Remove
20013 memmove code (merged into memcpy.S).
20014
200152016-06-20 Florian Weimer <fweimer@redhat.com>
20016
20017 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
20018 * sysdeps/generic/dl-dtv.h: New file.
20019 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20020 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
20021 (dtv_t): Remove.
20022 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20023 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
20024 (dtv_t): Remove.
20025 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20026 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
20027 (dtv_t): Remove.
20028 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20029 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
20030 (dtv_t): Remove.
20031 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20032 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
20033 (dtv_t): Remove.
20034 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20035 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
20036 (dtv_t): Remove.
20037 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20038 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
20039 (dtv_t): Remove.
20040 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
20041 (dtv_t): Remove.
20042 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20043 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
20044 (dtv_t): Remove.
20045 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20046 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
20047 (dtv_t): Remove.
20048 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20049 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
20050 (dtv_t): Remove.
20051 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20052 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
20053 (dtv_t): Remove.
20054 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20055 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
20056 (dtv_t): Remove.
20057 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20058 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
20059 (dtv_t): Remove.
20060 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20061 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
20062 (dtv_t): Remove.
20063 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20064 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
20065 (dtv_t): Remove.
20066
200672016-06-20 Florian Weimer <fweimer@redhat.com>
20068
20069 Revert symbol poisoning of __malloc_initialize_hook.
20070 * include/stdc-predef.h (__malloc_initialize_hook): Remove
20071 poisoning.
20072 * malloc/Makefile: Remove un-poisoning.
20073 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
20074 instead of old__malloc_initialize_hook.
20075 * malloc/malloc-hooks.h: Likewise.
20076 * malloc/malloc.c: Likewise.
20077 * malloc/mcheck-init.c: Likewise.
20078
200792016-06-19 Carlos O'Donell <carlos@redhat.com>
20080
20081 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
20082
200832016-06-18 Aurelien Jarno <aurelien@aurel32.net>
20084
20085 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
20086 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
20087 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
20088 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
20089
200902016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20091
20092 * NEWS: Mention addition of nextup and nextdown.
20093 * manual/arith.texi: Document nextup and nextdown.
20094 * manual/libm-err-tab.pl: Add nextup and nextdown.
20095 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
20096 * math/Versions (libm): Add GLIBC_2.24.
20097 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
20098 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20099 Add new test.
20100 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
20101 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
20102 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
20103 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
20104 (nextup_test_data): Likewise.
20105 (nextdown_test_data): Likewise.
20106 * math/s_nextdown.c: New file.
20107 * math/s_nextdownf.c: Likewise.
20108 * math/s_nextdownl.c: Likewise.
20109 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
20110 F(nextup): New function.
20111 F(nextdown): Likewise.
20112 * math/tgmath.h: Add nextup and nextdown.
20113 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
20114 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
20115 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
20116 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
20117 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
20118 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
20119 Add nextup and nextdown.
20120 (CFLAGS-nldbl-nextup.c): New variable.
20121 (CFLAGS-nldbl-nextdown.c): Likewise.
20122 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
20123 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
20124 * sysdeps/nacl/libm.abilist: Update.
20125 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20126 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20127 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20128 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20129 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20130 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20131 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20132 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20133 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20134 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20135 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20136 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20139 Likewise.
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20142 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20143 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20144 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20145 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20146 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
20148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
20149 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20150 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20151 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
20152 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20153
201542016-06-16 Rical Jasan <ricaljasan@pacific.net>
20155
20156 * manual/pattern.texi: Fix typos & grammar errors.
20157
201582016-06-16 Rical Jasan <ricaljasan@pacific.net>
20159
20160 * manual/search.texi: Fix typos & grammar errors.
20161
201622016-06-16 Rical Jasan <ricaljasan@pacific.net>
20163
20164 * manual/message.texi: Fix typos & grammar errors.
20165
201662016-06-16 Mike Frysinger <vapier@gentoo.org>
20167
20168 * manual/contrib.texi: Fix spelling typos.
20169 * manual/crypt.texi: Likewise.
20170 * manual/filesys.texi: Likewise.
20171 * manual/locale.texi: Likewise.
20172 * manual/message.texi: Likewise.
20173 * manual/nss.texi: Likewise.
20174 * manual/string.texi: Likewise.
20175
201762016-06-16 Rical Jasan <ricaljasan@pacific.net>
20177
20178 * manual/locale.texi: Fix typos & grammar errors.
20179
201802016-06-16 Rical Jasan <ricaljasan@pacific.net>
20181
20182 * manual/charset.texi: Fix typos & grammar errors.
20183
201842016-06-16 Rical Jasan <ricaljasan@pacific.net>
20185
20186 * manual/string.texi: Fix typos.
20187
201882016-06-16 Rical Jasan <ricaljasan@pacific.net>
20189
20190 * manual/ctype.texi: Fix typos.
20191
201922016-06-16 Rical Jasan <ricaljasan@pacific.net>
20193
20194 * manual/memory.texi: Fix various typos & grammar errors.
20195
201962016-06-14 Joseph Myers <joseph@codesourcery.com>
20197
20198 [BZ #20255]
20199 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
20200 * math/libm-test.inc (fdim_test_data): Add another test.
20201
20202 [BZ #6796]
20203 [BZ #20255]
20204 [BZ #20256]
20205 * math/s_fdim.c: Include <math_private.h>.
20206 (__fdim): Use math_narrow_eval on result.
20207 * math/s_fdimf.c: Include <math_private.h>.
20208 (__fdimf): Use math_narrow_eval on result.
20209 * sysdeps/i386/fpu/s_fdim.S: Remove file.
20210 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20211 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20212 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20213 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20214 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20215 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20216 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20217 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20218 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20219 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20220 * math/libm-test.inc (fdim_test_data): Expect errno setting on
20221 overflow. Add sNaN tests.
20222
20223 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20224 fpclassify.
20225 * math/s_fdimf.c (__fdimf): Likewise.
20226 * math/s_fdiml.c (__fdiml): Likewise.
20227
202282016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20229
20230 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20231 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20233 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20234 ifunc'ed strcasecmp/strncasecmp.
20235 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20236 [EALIGN]: Removed.
20237 [END]: Likewise.
20238 [__strcasecmp]: Define instead of the above to control symbol name.
20239 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20240 for __strcasecmp_power8.
20241 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20242 for __strncasecmp_power8.
20243 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20244 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20245 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20246 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20247 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20248 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20249
202502016-06-13 Joseph Myers <joseph@codesourcery.com>
20251
20252 [BZ #20252]
20253 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20254 arguments when second argument is a NaN.
20255 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20256 qNaN tests.
20257
20258 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20259 (conj_test_data): Likewise.
20260 (copysign_test_data): Likewise.
20261 (creal_test_data): Likewise.
20262 (fma_test_data): Likewise.
20263 (fmod_test_data): Likewise.
20264
20265 [BZ #20250]
20266 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20267 itself.
20268 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20269 zero input to itself.
20270 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20271 Likewise.
20272 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20273 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20275 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20276 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20277
202782016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20279
20280 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20281 * nptl/tst-cancel4-common.c: New file.
20282 * nptl/tst-cancel4-common.h: Likewise.
20283 * nptl/tst-cancel4.c: Move common definitions to
20284 tst-cancel4-common.{c,h} file.
20285 * nptl/tst-cancel4_1.c: New test.
20286 * nptl/tst-cancel4_2.c: New test.
20287
202882016-06-13 Florian Weimer <fweimer@redhat.com>
20289
20290 [BZ #20248]
20291 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20292 (write_message): New function.
20293 (stackoverflow_handler): Call it instead of printf, to avoid
20294 excessive stack usage by printf.
20295 (do_test): Restore SIGSEGV, SIGBUS default handlers.
20296
202972016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20298
20299 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20300 (prio_inherit_missing): Remove define.
20301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20302 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20303 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20304 Likewise.
20305 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20306 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20307 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20308 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20309 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20310 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20311
203122016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20313
20314 [BZ #19670]
20315 [BZ #19672]
20316
20317 * io/test-lfs.c (do_prepare): Use xmalloc.
20318 * io/tst-fcntl.c (do_prepare): Likewise.
20319 * libio/tst-fopenloc.c (do_bz17916): Likewise.
20320 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20321 * login/tst-utmp.c (do_prepare): Likewise.
20322 * posix/tst-exec.c (do_prepare): Likewise.
20323 * posix/tst-pathconf.c (prepare): Likewise.
20324 * posix/tst-spawn.c (do_prepare): Likewise.
20325 * posix/tst-truncate.c (do_prepare): Likewise.
20326 * rt/tst-aio.c (do_prepare): Likewise.
20327 * rt/tst-aio64.c (do_prepare): Likewise.
20328
203292016-06-11 Florian Weimer <fweimer@redhat.com>
20330
20331 [BZ #20237]
20332 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20333 (get*ent): Set entidx to NULL during initialization. If entidx is
20334 NULL, start iteration from the beginning.
20335
203362016-06-11 Florian Weimer <fweimer@redhat.com>
20337
20338 * malloc/malloc.c (musable): Return correct size for dumped fake
20339 mmapped chunk.
20340
203412016-06-11 Florian Weimer <fweimer@redhat.com>
20342
20343 [BZ #20222]
20344 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20345 (_IO_cookie_write): Likewise.
20346 (_IO_cookie_seek): Likewise.
20347 (_IO_cookie_close): Likewise.
20348 (_IO_old_cookie_seek): Likewise.
20349 (set_callbacks): New function.
20350 (_IO_cookie_init): Call set_callbacks to copy callbacks.
20351
203522016-06-11 Marko Myllynen <myllynen@redhat.com>
20353
20354 * locale/programs/localedef.c (oldstyle_tables): Remove.
20355 * locale/programs/localedef.h (oldstyle_tables): Likewise.
20356
203572016-06-10 Joseph Myers <joseph@codesourcery.com>
20358
20359 [BZ #20240]
20360 * math/Makefile (CFLAGS-s_modf.c): New variable.
20361 (CFLAGS-s_modff.c): Likewise.
20362 (CFLAGS-s_modfl.c): Likewise.
20363 * math/libm-test.inc (modf_test_data): Add sNaN tests.
20364
203652016-06-09 Carlos O'Donell <carlos@redhat.com>
20366
20367 [BZ #20215]
20368 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20369 [!__GNUC_PREREQ (3,2)]: Likewise.
20370
203712016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
20372
20373 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20374 (msghdr.msg_controllen): Likewise.
20375 (cmsghdr.cmsg_len): Likewise.
20376 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20377 ptw-oldsendmsg.
20378 (CFLAGS-oldrecvmsg.c): Remove rule.
20379 (CFLAGS-oldsendmsg.c): Likewise.
20380 (CFLAGS-recvmsg.c): Add rule.
20381 (CFLAGS-sendmsg.c): Likewise.
20382 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20383 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20384 (CFLAGS-recvmsg.c): Remove rule.
20385 (CFLAGS-sendmsg.c): Likewise.
20386 (CFLAGS-oldrecvmsg.c): Likewise.
20387 (CFLAGS-oldsendmsg.c): Likewise.
20388 (CFLAGS-recvmmsg.c): Likewise.
20389 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20390 to kernel defined interfaces.
20391 (msghdr.msg_controllen): Likewise.
20392 (cmsghdr.cmsg_len): Likewise.
20393 (msghdr.__glibc_reserved1): Remove member.
20394 (msghdr.__glibc_reserved2): Likewise.
20395 (cmsghdr.__glibc_reserved1): Likewise.
20396 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20397 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20398 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20399 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20400 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20401 version.
20402 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20403 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20404 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20405 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20406 Remove recvmsg and sendmsg.
20407 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20408 Likewise.
20409 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20410 Likewise.
20411 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20412 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20413 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20414 Likewise.
20415 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20416 Likewise.
20417 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20418 [libc] (GLIBC_2.24): Likewise.
20419 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20420 Likewise.
20421 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20422 Likewise.
20423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20424 [libc] (GLIBC_2.24): Likewise.
20425 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20426 Likewise.
20427 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20428 Likewise.
20429 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20430 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20431 Likewise.
20432 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20433 Likewise.
20434 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20435 Likewise.
20436 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20437 Likewise.
20438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20439 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20440 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20441 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20442 version for {recv,send,recm,sendm}msg.
20443 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20444 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20445 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20446 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20447 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20448 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20449 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20450 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20451 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20452 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20453 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20454 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20456 Likewise.
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20458 Likewise.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20463 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20464 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20465 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20466 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20469 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20470 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20471 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20472
204732016-06-10 Florian Weimer <fweimer@redhat.com>
20474
20475 [BZ #19564]
20476 Remove __malloc_initialize_hook from the API.
20477 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20478 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20479 #pragma GCC poison.
20480 * malloc/malloc-hooks.h: New file.
20481 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20482 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20483 (old__malloc_initialize_hook): Rename from
20484 __malloc_initialize_hook to evade poisoning. Turn into compat
20485 symbol.
20486 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20487 __malloc_initialize_hook.
20488 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20489 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20490 * manual/memory.texi (Hooks for Malloc): Remove
20491 __malloc_initialize_hook. Adjust hook example.
20492
204932016-06-09 Joseph Myers <joseph@codesourcery.com>
20494
20495 [BZ #20235]
20496 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20497 itself.
20498 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20499 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20500
20501 [BZ #20234]
20502 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20503 infinity or NaN input to itself.
20504
20505 [BZ #20233]
20506 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20507 to itself.
20508
20509 [BZ #20232]
20510 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20511 itself.
20512
205132016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20514
20515 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20516 __libc_start_main via GOT.
20517
205182016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20519
20520 * sysdeps/x86_64/memcopy.h: New file.
20521 * sysdeps/x86_64/wordcopy.c: Likewise.
20522
205232016-06-09 Florian Weimer <fweimer@redhat.com>
20524
20525 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20526 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20527 <cstdlib>.
20528 (optimization_barrier): New.
20529 (do_test): Use it. Call quick_exit in the global namespace.
20530 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20531 instead of <cstdlib>, <thread>.
20532 (optimization_barrier): New.
20533 (non_main_thread): Adjust declaration. Call optimization_barrier.
20534 Call quick_exit in the global namespace.
20535 (do_test): Call optimization_barrier. Use pthread_create,
20536 pthread_join instead of std::thread.
20537
205382016-06-09 Andreas Schwab <schwab@suse.de>
20539
20540 [BZ #19755]
20541 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20542 new entries in auto-propagate mode.
20543 * nscd/grpcache.c (cache_addgr): Likewise.
20544
205452016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20546
20547 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20548 New functions.
20549 (add_temp_file): Use them.
20550
205512016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
20552
20553 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20554
205552016-06-08 Joseph Myers <joseph@codesourcery.com>
20556
20557 [BZ #20229]
20558 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20559 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20560 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20561
20562 [BZ #20228]
20563 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20564 itself.
20565 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20566 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20567
20568 [BZ #20227]
20569 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20570 itself.
20571 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20572 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20573 * math/libm-test.inc (log_test_data): Add sNaN tests.
20574
20575 [BZ #20226]
20576 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20577 itself.
20578 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20579 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20580 (exp10_test_data): Likewise.
20581 (expm1_test_data): Likewise.
20582
20583 [BZ #20225]
20584 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20585 itself.
20586 * math/s_ldexpf.c (__ldexpf): Likewise.
20587 * math/s_ldexpl.c (__ldexpl): Likewise.
20588 * math/w_scalbln.c (__w_scalbln): Likewise.
20589 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20590 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20591 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20592 (scalbln_test_data): Likewise.
20593
20594 [BZ #20224]
20595 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20596 argument to itself.
20597 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20598
205992016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20600
20601 [BZ #19776]
20602 * sysdeps/x86_64/memcpy.S: Make it dummy.
20603 * sysdeps/x86_64/mempcpy.S: Likewise.
20604 * sysdeps/x86_64/memmove.S: New file.
20605 * sysdeps/x86_64/memmove_chk.S: Likewise.
20606 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20607 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20608 * sysdeps/x86_64/memmove.c: Removed.
20609 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20610 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20611 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20612 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20613 Likewise.
20614 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20615 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20617 memcpy-sse2-unaligned, memmove-avx-unaligned,
20618 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20620 (__libc_ifunc_impl_list): Replace
20621 __memmove_chk_avx512_unaligned_2 with
20622 __memmove_chk_avx512_unaligned. Remove
20623 __memmove_chk_avx_unaligned_2. Replace
20624 __memmove_chk_sse2_unaligned_2 with
20625 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20626 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20627 with __memmove_avx512_unaligned. Replace
20628 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20629 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20630 with __memcpy_chk_avx512_unaligned. Remove
20631 __memcpy_chk_avx_unaligned_2. Replace
20632 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20633 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20634 Replace __memcpy_avx512_unaligned_2 with
20635 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20636 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20637 with __mempcpy_chk_avx512_unaligned. Remove
20638 __mempcpy_chk_avx_unaligned_2. Replace
20639 __mempcpy_chk_sse2_unaligned_2 with
20640 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20641 Replace __mempcpy_avx512_unaligned_2 with
20642 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20643 Replace __mempcpy_sse2_unaligned_2 with
20644 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20645 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20646 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20647 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20648 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20649 (ENTRY): Removed.
20650 (END): Likewise.
20651 (ENTRY_CHK): Likewise.
20652 (libc_hidden_builtin_def): Likewise.
20653 Don't include ../memcpy.S.
20654 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20655 __memcpy_chk_avx512_unaligned_erms and
20656 __memcpy_chk_avx512_unaligned. Use
20657 __memcpy_chk_avx_unaligned_erms and
20658 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20659 Default to __memcpy_chk_sse2_unaligned.
20660 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20661 Change function suffix from unaligned_2 to unaligned.
20662 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20663 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20664 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20665 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20666 (ENTRY): Removed.
20667 (END): Likewise.
20668 (ENTRY_CHK): Likewise.
20669 (libc_hidden_builtin_def): Likewise.
20670 Don't include ../mempcpy.S.
20671 (mempcpy): New. Add a weak alias.
20672 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20673 __mempcpy_chk_avx512_unaligned_erms and
20674 __mempcpy_chk_avx512_unaligned. Use
20675 __mempcpy_chk_avx_unaligned_erms and
20676 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20677 Default to __mempcpy_chk_sse2_unaligned.
20678
206792016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20680
20681 [BZ #19881]
20682 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20683 into ...
20684 * sysdeps/x86_64/memset.S: This.
20685 (__bzero): Removed.
20686 (__memset_tail): Likewise.
20687 (__memset_chk): Likewise.
20688 (memset): Likewise.
20689 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20690 defined.
20691 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20692 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20693 (__memset_zero_constant_len_parameter): Check SHARED instead of
20694 PIC.
20695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20696 memset-avx2 and memset-sse2-unaligned-erms.
20697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20698 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20699 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20700 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20701 (__bzero): Enabled.
20702 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20703 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20704 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20705 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20706 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20707 (memset): Removed.
20708 (__memset_chk): Likewise.
20709 (MEMSET_SYMBOL): New.
20710 (libc_hidden_builtin_def): Replace __memset_sse2 with
20711 __memset_sse2_unaligned.
20712 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20713 __memset_chk_sse2 and __memset_chk_avx2 with
20714 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20715 Use __memset_chk_sse2_unaligned_erms or
20716 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20717 __memset_chk_avx512_unaligned_erms and
20718 __memset_chk_avx512_unaligned.
20719
207202016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20721
20722 * math/gen-auto-libm-test.c (fp_format_desc): remove
20723 suffix member.
20724 (output_generic_value): Remove usage of suffix member,
20725 and the resulting unuse of the fp_format argument.
20726 (output_for_one_input_case): Remove unused fp_format
20727 parameter.
20728
20729 * math/auto-libm-test-out: Regenerate.
20730
20731 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20732 usage with TEST_COND_ibm128.
20733 (TEST_COND_flt_32): Remove.
20734 (TEST_COND_dbl_64): Remove.
20735 (TEST_COND_ldbl_96_intel): Remove.
20736 (TEST_COND_ldbl_96_m68k): Remove.
20737 (TEST_COND_ldbl_128): Remove.
20738
207392016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20740
20741 * auto-libm-test-in:
20742 Replace flt-32 usage with binary32.
20743 Replace dbl-64 usage with binary64.
20744 Replace ldbl-intel-96 usage with intel96.
20745 Replace ldbl-m68k-96 usage with m68k96.
20746 Replace ldbl-128ibm usage with ibm128.
20747 Replace ldbl-128 usage with binary128.
20748
20749 * auto-libm-test-out: Regenerate.
20750
207512016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20752
20753 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20754 (parse_ulps): Dynamically generate type name matching
20755 string from all_floats.
20756 (get_ulps): Generate the ulps as an array instead.
20757 (output_ulps): Dynamically compose the type based
20758 on the number of supported formats, and print
20759 the indices as type specific helper macros.
20760
20761 * math/libm-test.inc: Remove comment about CHOOSE.
20762 (ulp_data): Generate the type in libm-test-ulps.h.
20763 (ULP_IDX): New macro.
20764 (find_ulps): Update usage of max_ulp.
20765
20766 * math/test-double-vlen2.h (CHOOSE): Remove.
20767 * math/test-double-vlen4.h (CHOOSE): Likewise.
20768 * math/test-double-vlen8.h (CHOOSE): Likewise.
20769 * math/test-float.c (CHOOSE): Likewise.
20770 * math/test-float-finite.c (CHOOSE): Likewise.
20771 * math/test-double.c (CHOOSE): Likewise.
20772 * math/test-double-finite.c (CHOOSE): Likewise.
20773 * math/test-idouble.c (CHOOSE): Likewise.
20774 * math/test-ifloat.c (CHOOSE): Likewise.
20775 * math/test-ildoubl.c (CHOOSE): Likewise.
20776 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20777 * math/test-ldouble.c (CHOOSE): Likewise.
20778
20779 * math/test-float.h (TEST_FLOAT): Remove.
20780 * math/test-double.h (TEST_DOUBLE): Likewise.
20781 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20782
207832016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20784
20785 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20786 (parse_args): Strip C suffix from floating point literals
20787 typed with 'f' and wrap them with LIT().
20788
20789 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20790 (test_ff_f_data_nexttoward): Rename to
20791 (test_fj_f_data): New struct.
20792 (nexttoward_test_data): Relabel tests as
20793 TEST_fj_f instead of TEST_ff_f.
20794
207952016-06-08 Florian Weimer <fweimer@redhat.com>
20796
20797 Emacs bug 23726.
20798 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20799 (__libc_realloc): Correct size computation for dumped fake mmapped
20800 chunks.
20801
208022016-06-07 Joseph Myers <joseph@codesourcery.com>
20803
20804 [BZ #20219]
20805 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20806 to itself.
20807 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20808
20809 [BZ #20218]
20810 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20811 to itself.
20812 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20813
208142016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20815
20816 [BZ #20195]
20817 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20818 check to ...
20819 (init_cpu_features): Here.
20820
208212016-06-07 Carlos O'Donell <carlos@redhat.com>
20822
20823 [BZ #20214]
20824 * sysdeps/unix/sysv/linux/bits/in.h
20825 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20826 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20827 Define to 1.
20828 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20829 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20830 Define to 0.
20831 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20832 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20833
208342016-06-06 Carlos O'Donell <carlos@redhat.com>
20835
20836 [BZ #20198]
20837 * stdlib/Makefile (tests): Add tst-quick_exit, and
20838 tst-thread-quick_exit.
20839 [ifeq ($(have-cxx-thread_local),yes)]
20840 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20841 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20842 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20843 (LDLIBS-tst-thread-quick_exit): Likewise.
20844 [ifneq ($(have-cxx-thread_local),yes)]
20845 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20846 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20847 If run_dtors is true call __call_tls_dtors.
20848 (exit): Call __run_exit_handlers with run_dtors set to true.
20849 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20850 definition.
20851 * stdlib/quick_exit.c (quick_exit): Remove function.
20852 (__new_quick_exit): New function.
20853 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20854 function.
20855 * stdlib/tst-quick_exit.cc: New file.
20856 * stdlib/tst-thread-quick_exit.cc: New file.
20857 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20858 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20859 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20860 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20861 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20862 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20863 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20864 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20865 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20866 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20867 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20868 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20869 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20871 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20872 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20877 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20879 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20880 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20881 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20884 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20885 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20886 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20887
208882016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20891 a typo in comments.
20892
208932016-06-06 Joseph Myers <joseph@codesourcery.com>
20894
20895 [BZ #20213]
20896 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20897 argument to itself.
20898 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20899
209002016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20901
20902 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20903 required flags.
20904 (CFLAGS-pwritev64.c): Likewise.
20905 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20906 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20907 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20908 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20909 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20910 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20911 syscall from auto-generation.
20912 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20913 [WORDSIZE == 64] (pwritev64): Remove macro.
20914 [!PWRITEV] (PWRITEV): Likewise.
20915 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20916 [!PWRITEV] (PWRITE): Likewise.
20917 [!PWRITEV] (OFF_T): Likewise.
20918 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20919 (LO_HI_LONG): Remove macro.
20920 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20921 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20922 (PWRITEV): Remove macro.
20923 (PWRITEV_REPLACEMENTE): Likewise.
20924 (PWRITE): Likewise.
20925 (OFF_T): Likewise.
20926 (pwritev64): New function.
20927 * nptl/tst-cancel4.c (tf_writev): Add test.
20928
20929 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20930 required flags.
20931 (CFLAGS-preadv64.c): Likewise.
20932 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20933 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20934 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20935 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20936 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20937 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20938 syscall from auto-generation.
20939 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20940 [WORDSIZE == 64] (preadv64): Remove macro.
20941 [!PREADV] (PREADV): Likewise.
20942 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20943 [!PREADV] (PREAD): Likewise.
20944 [!PREADV] (OFF_T): Likewise.
20945 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20946 (LO_HI_LONG): Remove macro.
20947 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20948 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20949 (PREADV): Remove macro.
20950 (PREADV_REPLACEMENTE): Likewise.
20951 (PREAD): Likewise.
20952 (OFF_T): Likewise.
20953 (preadv64): New function.
20954 * nptl/tst-cancel4.c (tf_preadv): Add test.
20955
209562016-06-06 Joseph Myers <joseph@codesourcery.com>
20957
20958 [BZ #20212]
20959 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20960 argument to itself.
20961 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20962
209632016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20964
20965 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20966 New symbol defined as libc_hidden_def.
20967 (strcasestr): Became a weak alias to __strcasestr.
20968 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20969 according to multi-arch support. Move __stpncpy hidden
20970 definition from here to...
20971 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20972 symbol stpncpy.
20973 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20974 libc_hidden_builtin_def.
20975 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20976 memset symbol to use when multi-arch support is available.
20977
209782016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20979
20980 * dlfcn/tst-rec-dlopen.c: Include string.h.
20981
209822016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20983
20984 * manual/install.texi: Remove mention of --without-tls
20985 * INSTALL: Regenerate.
20986
209872016-06-05 Florian Weimer <fweimer@redhat.com>
20988
20989 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20990 Remove.
20991 (call_function, interposed_malloc_called): New variables.
20992 (malloc): New function.
20993 (do_test): Do not change malloc hooks. Initialize malloc. Set
20994 and clear call_function as needed.
20995
209962016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20997
20998 * include/wchar.h (__wmemset): Use __typeof.
20999
210002016-06-03 Carlos O'Donell <carlos@redhat.com>
21001
21002 * include/wchar.h (__wmemset): Declare function without typeof.
21003
210042016-06-03 Joseph Myers <joseph@codesourcery.com>
21005
21006 [BZ #20205]
21007 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
21008 exponent when incrementing negative subnormal with low mantissa
21009 word zero.
21010 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
21011 Add another test.
21012
210132016-06-03 Florian Weimer <fweimer@redhat.com>
21014
21015 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
21016 __wmemset instead of wmemset.
21017
210182016-06-02 Carlos O'Donell <carlos@redhat.com>
21019
21020 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
21021 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
21022 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
21023 __USE_KERNEL_IPV6_DEFS to 0.
21024 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
21025 Update comment.
21026
210272016-06-01 Florian Weimer <fweimer@redhat.com>
21028
21029 [BZ #19861]
21030 Do not use IFUNC resolver with potentially unrelocated symbol.
21031 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
21032 (DEFINE_FORK): Remove macro and inline definition.
21033 (fork_alias): Renamed from fork_ifunc.
21034 (__fork_alias): Renamed from __fork_ifunc.
21035
210362016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
21037
21038 [BZ 19653]
21039 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
21040 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
21041
210422016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21043
21044 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
21045 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
21046 i386-linux-gnu).
21047 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
21048 Set to no.
21049 * sysdeps/mach/hurd/configure: Refresh.
21050
210512016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21052
21053 [BZ #20178]
21054 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
21055 on failure instead of exit.
21056
210572016-05-30 Roland McGrath <roland@hack.frob.com>
21058
21059 [BZ #3629]
21060 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
21061 of POSIX.1-2008.
21062
210632016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21064
21065 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
21066 Use PLT entry for calling _hurd_self_sigstate.
21067
210682016-05-27 H.J. Lu <hongjiu.lu@intel.com>
21069
21070 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
21071 available logical processors with SMT level type sharing L2
21072 cache for Intel processors.
21073
210742016-05-27 Joseph Myers <joseph@codesourcery.com>
21075
21076 [BZ #20160]
21077 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
21078 argument to itself before returning the result.
21079 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21080 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21081 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21082 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21083 Likewise.
21084 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21085 Likewise.
21086 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
21087 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
21088 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21089 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21090 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21091 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21092
21093 [BZ #20160]
21094 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
21095 argument to itself before returning the result.
21096 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21097 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21098 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21099 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
21100 Likewise.
21101 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21102 Likewise.
21103 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
21104 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
21105 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
21106 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21107 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21108 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21109
211102016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21111
21112 * libm-test.inc: Replace usage of M_El with
21113 (lit_e): New macro.
21114
211152016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21116
21117 * libm-test.inc: Replace usage of M_PI_4l with
21118 (lit_pi_4_d): New macro.
21119
211202016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21121
21122 * libm-test.inc: Replace usage of M_PIl with
21123 (lit_pi): New macro.
21124
211252016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21126
21127 * libm-test.inc: Replace usage of M_PI2l with
21128 (lit_pi_2_d): New macro.
21129
21130 * math/test-double.h (LITM): New macro.
21131 * math/test-float.h (LITM): Likewise.
21132 * math/test-ldouble.h (LITM): Likewise.
21133
211342016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21135
21136 * libm-test.inc (M_PI_34l): Rename to
21137 (lit_pi_3_m_4_d): New Macro.
21138 (M_PI_34_LOG10El): Rename to
21139 (lit_pi_3_m_4_ln10_m_d): New Macro.
21140 (M_PI2_LOG10El): Rename to
21141 (lit_pi_2_ln10_m_d): New Macro.
21142 (M_PI4_LOG10El): Rename to
21143 (lit_pi_4_ln10_m_d): New Macro.
21144 (M_PI_LOG10El): Rename to
21145 (lit_pi_ln10_d): New Macro.
21146
211472016-05-27 Joseph Myers <joseph@codesourcery.com>
21148
21149 [BZ #20157]
21150 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
21151 determine whether to negate low half if [_ARCH_PPCGR], and integer
21152 comparison otherwise.
21153 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
21154 determine whether to negate low half.
21155
21156 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
21157 (NO_TEST_INLINE_DOUBLE): Likewise.
21158 (TEST_COND_x86_64): Likewise.
21159 (TEST_COND_x86): Likewise.
21160 (M_PI_6l): Likewise.
21161
211622016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21163
21164 * math/libm-test.inc:
21165 (TEST_FLOAT): Change usage to TEST_COND_binary32.
21166 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
21167 (TEST_LDOUBLE): Update usage to evaluate as true if
21168 the guarded tests match the property being tested.
21169 (LDBL_MAX_EXP): Change to MAX_EXP.
21170 (LDBL_MIN_EXP): Change to MIN_EXP.
21171 (LDBL_MANT_DIG): Change to MANT_DIG, except for
21172 nexttoward tests.
21173
211742016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21175
21176 * math/libm-test.inc:
21177 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
21178 (TYPE_MIN): Likewise.
21179 (TYPE_TRUE_MIN): Likewise.
21180 (TYPE_MAX): Likewise.
21181 (MIN_EXP): Likewise.
21182 (MAX_EXP): Likewise.
21183 (MANT_DIG): Likewise.
21184
21185 (FSTR_MAX): New macro.
21186 (__CONCATX): Likewise.
21187 (QTYPE_STR): Likewise.
21188 (TEST_COND_binary32): Likewise.
21189 (TEST_COND_binary64): Likewise.
21190 (TEST_COND_binary128): Likewise.
21191 (TEST_COND_ibm128): Likewise.
21192 (TEST_COND_intel96): Likewise.
21193 (TEST_COND_m68k96): Likewise.
21194
21195 (TEST_COND_flt_32): Redefine as equivalent format test macro.
21196 (TEST_COND_dbl_64): Likewise.
21197 (TEST_COND_ldbl_96_intel): Likewise.
21198 (TEST_COND_ldbl_96_m68k): Likewise.
21199 (TEST_COND_ldbl_128): Likewise.
21200 (TEST_COND_ldbl_128ibm): Likewise.
21201
21202 (plus_zero): Redefine using LIT macro.
21203 (minus_zero): Likewise.
21204 (plus_infty): Redefine as (INF).
21205 (minux_infty): Redefine as (-INF).
21206 (max_value): Redefine as TYPE_MAX.
21207 (min_value): Redefine as TYPE_MIN.
21208 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21209
21210 (print_float): Refactor to use snprintf to convert FLOAT values
21211 to string. This brings it closer to dropin replacement of strtof
21212 for the TS 18661 defined types.
21213 (update_stats): Likewise.
21214 (print_complex_function_ulps): Likewise.
21215 (print_max_error): Likewise.
21216 (print_complex_max_error): Likewise.
21217 (check_float_internal): Likewise.
21218
21219 * math/test-float.h (PREFIX): New macro.
21220 (LIT): Likewise.
21221 (TYPE_STR): Likewise.
21222 (FTOSTR): Likewise.
21223
21224 * math/test-double.h (PREFIX): New macro.
21225 (LIT): Likewise.
21226 (TYPE_STR): Likewise.
21227 (FTOSTR): Likewise.
21228
21229 * math/test-ldouble.h (PREFIX): New macro.
21230 (LIT): Likewise.
21231 (TYPE_STR): Likewise.
21232 (FTOSTR): Likewise.
21233
212342016-05-27 Joseph Myers <joseph@codesourcery.com>
21235
21236 [BZ #20156]
21237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21238 to itself when zero or not finite.
21239 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21241 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21242 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21243
212442016-05-26 Joseph Myers <joseph@codesourcery.com>
21245
21246 [BZ #20153]
21247 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21248 x * x + x for infinities and NaNs.
21249
21250 [BZ #20151]
21251 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21252 argument to itself before returning result.
21253 (__ieee754_y0l): Likewise.
21254 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21255 (__ieee754_y1l).
21256
21257 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21258 (atan_test_data): Likewise.
21259 (ceil_test_data): Likewise.
21260 (cos_test_data): Likewise.
21261 (cosh_test_data): Likewise.
21262 (erf_test_data): Likewise.
21263 (exp2_test_data): Likewise.
21264 (fabs_test_data): Likewise.
21265 (floor_test_data): Likewise.
21266 (ilogb_test_data): Likewise.
21267 (j0_test_data): Likewise.
21268 (j1_test_data): Likewise.
21269 (jn_test_data): Likewise.
21270 (lgamma_test_data): Likewise.
21271 (lrint_test_data): Likewise.
21272 (llrint_test_data): Likewise.
21273 (logb_test_data): Likewise.
21274 (lround_test_data): Likewise.
21275 (llround_test_data): Likewise.
21276 (nearbyint_test_data): Likewise.
21277 (rint_test_data): Likewise.
21278 (round_test_data): Likewise.
21279 (sin_test_data): Likewise.
21280 (sincos_test_data): Likewise.
21281 (sinh_test_data): Likewise.
21282 (sqrt_test_data): Likewise.
21283 (tan_test_data): Likewise.
21284 (tanh_test_data): Likewise.
21285 (tgamma_test_data): Likewise.
21286 (trunc_test_data): Likewise.
21287 (y0_test_data): Likewise.
21288 (y1_test_data): Likewise.
21289 (yn_test_data): Likewise.
21290
21291 * math/libm-test.inc: Update comment about NaN testing.
21292 (TEST_SNAN): New macro.
21293 (snan_value): Likewise.
21294 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21295 (fpclassify_test_data): Add sNaN tests.
21296 (isfinite_test_data): Likewise.
21297 (isinf_test_data): Likewise.
21298 (isnan_test_data): Likewise.
21299 (isnormal_test_data): Likewise.
21300 (issignaling_test_data): Likewise.
21301 (signbit_test_data): Likewise.
21302 * math/gen-libm-test.pl (%beautify): Add snan_value.
21303 (show_exceptions): Add argument $test_snan.
21304 (parse_args): Handle snan_value as non-finite. Update call to
21305 show_exceptions.
21306 * math/Makefile (libm-test-no-inline-cflags): Add
21307 -fsignaling-nans.
21308
213092016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21310
21311 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21312 (CFLAGS-oldsendmsg.c): Add rule.
21313 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21314 Correct recvmsg symbol name.
21315 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21316 Likewise.
21317
213182016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21319
21320 * sysdeps/unix/sysv/linux/Makefile
21321 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21322 oldsendmmsg.
21323 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21324 sendmmsg.
21325 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21326 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21327 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21328 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21330 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21333 Likewise.
21334 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21335 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21336 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21337 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21338 iovlen and controllen fields to adjust to POSIX specification.
21339 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21340
21341 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21342 and change to correct expected type.
21343 (msghdr.msg_controllen): Likewise.
21344 (cmsghdr.cmsg_len): Likewise.
21345 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21346 expected POSIX assumption about the size.
21347 (msghdr.msg_controllen): Likewise.
21348 (msghdr.__glibc_reserved1): Likewise.
21349 (msghdr.__glibc_reserved2): Likewise.
21350 (cmsghdr.cmsg_len): Likewise.
21351 (cmsghdr.__glibc_reserved1): Likewise.
21352 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21353 Add ptw-oldrecvmsg and ptw-oldsendmsg.
21354 (CFLAGS-sendmsg.c): Remove rule.
21355 (CFLAGS-recvmsg.c): Likewise.
21356 (CFLAGS-oldsendmsg.c): Add rule.
21357 (CFLAGS-oldrecvmsg.c): Likewise.
21358 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21359 recvmsg and sendmsg.
21360 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21361 Likewise.
21362 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21363 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21364 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21365 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21366 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21367 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21368 Likewise.
21369 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21370 Likewise.
21371 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21372 Likewise.
21373 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21374 Likewise.
21375 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21376 Likewise.
21377 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21378 Likewise.
21379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21380 (GLIBC_2.24): Likewise.
21381 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21382 Likewise.
21383 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21384 Likewise.
21385 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21386 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21387 Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21389 Likewise.
21390 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21391 Likewise.
21392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21393 (GLIBC_2.24): Likewise.
21394 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21395 Likewise.
21396 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21397 Likewise.
21398 * sysdeps/unix/sysv/linux/Makefile
21399 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21400 (CFLAGS-sendmsg.c): Add rule.
21401 (CFLAGS-recvmsg.c): Likewise.
21402 (CFLAGS-oldsendmsg.c): Likewise.
21403 (CFLAGS-oldrecvmsg.c): Likewise.
21404 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21405 initialization.
21406 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21407 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21408 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21409 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21410 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21411 iovlen and controllen fields to adjust to POSIX specification.
21412 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21413 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21414 added recvmsg and sendmsg.
21415 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21416 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21417 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21418 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21419 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21420 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21421 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21422 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21423 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21424 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21425 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21426 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21428 Likewise.
21429 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21431 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21432 Likewise.
21433 Likewise.
21434 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21435 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21436 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21437 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21438 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21439 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21441 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21443 Likewise.
21444 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21445 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21446
21447 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21448 from auto-generation.
21449 (sendmsg): Likewise.
21450 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21451 (sendmsg): Likewise.
21452 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21453 (sendmsg): Likewise.
21454 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21455 (sendmsg): Likewise.
21456 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21457 (sendmsg): Likewise.
21458 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21459 (sendmsg): Likewise.
21460 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21461 Likewise.
21462 (sendmsg): Likewise.
21463 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21464 (sendmsg): Likewise.
21465 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21466 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21467 Remove.
21468 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21469 Likewise.
21470 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21471 Undefine.
21472 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21473 Likewise.
21474 * sysdeps/unix/sysv/linux/kernel-features.h
21475 (__ASSUME_SENDMSG_SYSCALL): Define.
21476 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21477 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21478 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21479 Remove.
21480 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21481 Likewise.
21482 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21483 Undefine.
21484 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21485 Likewise.
21486 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21487 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21488 Remove.
21489 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21490 Likewise.
21491 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21492 Undefine.
21493 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21494 Likewise.
21495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21496 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21497 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21498 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21499 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21500 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21501 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21502 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21503 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21504
215052016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21506
21507 * stdlib/gen-tst-strtod-round.c: Add backslash to
21508 compile command in comment.
21509 (printfp): Remove the literal suffix, and define an infinite
21510 value as INF to avoid expansion clash with INFINITY.
21511 (round_str): Remove the literal suffix.
21512 (round_for_all): Likewise, remove the now duplicate ldbl-64
21513 entry, and remove some magic constants.
21514
21515 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21516 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21517 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21518 (_CONCAT): New macro.
21519 (CONCAT): Likewise.
21520 (CHOOSE_ld): Likewise.
21521 (CHOOSE_f): Likewise.
21522 (CHOOSE_d): Likewise.
21523 (FTYPE_MEMBER): Likewise.
21524 (BOOL_MEMBER): Likewise.
21525 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21526 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21527 (_XNTRY): Likewise.
21528 (XNTRY): Likewise.
21529 (_ENTRY): Likewise.
21530 (ENTRY): Likewise.
21531 (test_exactness): Generate members via macro.
21532 (test_results): Likewise.
21533 (test): Update members.
21534 (TEST): Redefine using new macros.
21535 (INF): New macro.
21536 (fetestmodes): New structure.
21537 (do_test): Refactor to be type generic.
21538 (test_in_one_mode): Refactor duplicate code into
21539 (GEN_ONE_TEST): New macro.
21540
21541 * stdlib/tst-strtod-round-data.h: Regenerate.
21542
21543 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21544 Extend to pass additional arbitrary parameters to
21545 generators.
21546
215472016-05-25 Joseph Myers <joseph@codesourcery.com>
21548
21549 [BZ #15479]
21550 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21551 floating-point state after first floating-point operation on
21552 input. Restore full floating-point state instead of just rounding
21553 mode.
21554 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21555 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21556 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21557 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21558 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21559
21560 [BZ #15479]
21561 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21562 floating-point state after first floating-point operation on
21563 input. Restore full floating-point state instead of just rounding
21564 mode.
21565 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21566 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21567 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21568 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21569 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21570
215712016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21572
21573 [BZ #19727]
21574 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21575 valid high surrogate.
21576 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21577 of an utf16 surrogate.
21578 * iconv/gconv_simple.c (BODY): Likewise.
21579 * iconvdata/bug-iconv12.c: New file.
21580 * iconvdata/Makefile (tests): Add bug-iconv12.
21581
215822016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21583
21584 [BZ #19726]
21585 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21586 outptrp in case of an illegal input.
21587 * iconv/tst-iconv6.c: New file.
21588 * iconv/Makefile (tests): Add tst-iconv6.
21589
215902016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21591
21592 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21593 an error in case of a value in range of an utf16 low surrogate.
21594
215952016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21596
21597 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21598 an error in case of a value in range of an utf16 low surrogate.
21599
216002016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21601
21602 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21603 Move to ...
21604 * sysdeps/s390/Makefile: ... here.
21605 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21606 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21607 (BRANCH_ON_COUNT): New define.
21608 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21609 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21610 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21611 run on s390-32, too.
21612 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21613 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21614 run on s390-32, too.
21615 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21616 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21617 run on s390-32, too.
21618
216192016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21620
21621 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21622 etf3eh or new vector loop-variant.
21623
216242016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21625
21626 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21627 etf3eh or new vector loop-variant.
21628
216292016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21630
21631 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21632 or new vector loop-variant.
21633
216342016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21635
21636 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21637 Rename to TR_LOOP and usage of tr instead of troo instruction.
21638
216392016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21640
21641 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21642 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21643
216442016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21645
21646 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21647 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21648 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21649 New override define.
21650 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21651
216522016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21653
21654 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21655 * sysdeps/s390/configure.ac: Add test for S390 vector register
21656 support in gcc.
21657 * sysdeps/s390/configure: Regenerated.
21658
216592016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21660
21661 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21662 Install file from $(objpfx)gconv-modules.
21663 ($(objpfx)gconv-modules): Concatenate architecture specific file
21664 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21665 * sysdeps/s390/gconv-modules: New file.
21666 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21667 Deleted.
21668 ($(objpfx)gconv-modules-s390): Deleted.
21669 (sysdeps-gconv-modules): New variable.
21670
216712016-05-24 Joseph Myers <joseph@codesourcery.com>
21672
21673 [BZ #15479]
21674 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21675 of immediate operand to rounding instruction.
21676 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21677 Likewise.
21678 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21679 Likewise.
21680 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21681 Likewise.
21682
216832016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21684
21685 * math/libm-test.inc (MIN_EXP): Directly define as
21686 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21687
216882016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21689
21690 * math/libm-test.inc (MANT_DIG): Directly define as
21691 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21692
216932016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21694
21695 * stdlib/gen-tst-strtod-round.c (main):
21696 Change usage to more closely match the generated
21697 output. Add usage and compilation instructions.
21698 (string_to_fp): Add and use FILE* parameter as
21699 output target.
21700 (print_fp): Likewise.
21701 (round_str): Likewise.
21702 (round_for_all): Likewise.
21703 * stdlib/tst-strtod-round.c (tests): Move into
21704 * stdlib/tst-strtod-round-data.h: New file.
21705
217062016-05-24 Joseph Myers <joseph@codesourcery.com>
21707
21708 [BZ #15479]
21709 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21710 (__round): Do not force "inexact" exception.
21711 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21712 variable.
21713 (__round): Do not force "inexact" exception.
21714 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21715 (__roundf): Do not force "inexact" exception.
21716 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21717 (__roundl): Do not force "inexact" exception.
21718 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21719 (__roundl): Do not force "inexact" exception.
21720 * math/libm-test.inc (round_test_data): Do not allow spurious
21721 "inexact" exceptions.
21722
21723 [BZ #15479]
21724 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21725 exception in comment.
21726 (huge): Remove variable.
21727 (__floor): Do not force "inexact" exception.
21728 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21729 "inexact" exception in comment.
21730 (huge): Remove variable.
21731 (__floor): Do not force "inexact" exception.
21732 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21733 exception in comment.
21734 (huge): Remove variable.
21735 (__floorf): Do not force "inexact" exception.
21736 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21737 exception in comment.
21738 (huge): Remove variable.
21739 (__floorl): Do not force "inexact" exception.
21740
21741 [BZ #15479]
21742 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21743 exception in comment.
21744 (huge): Remove variable.
21745 (__ceil): Do not force "inexact" exception.
21746 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21747 "inexact" exception in comment.
21748 (huge): Remove variable.
21749 (__ceil): Do not force "inexact" exception.
21750 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21751 (__ceilf): Do not force "inexact" exception.
21752 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21753 exception in comment.
21754 (huge): Remove variable.
21755 (__ceill): Do not force "inexact" exception.
21756
217572016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21758
21759 * config.h.in (BIND_NOW): New.
21760 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21761 * configure: Regenerated.
21762 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21763 indirect branch via the GOT slot.
21764
217652016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21766
21767 [BZ #19765]
21768 * sysdeps/s390/mempcpy.S: New File.
21769 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21770 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21771 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21772 Add mempcpy variants.
21773 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21774 (memcpy): Adjust to be usable from mempcpy entry point.
21775 (__memcpy_mvcle): Likewise.
21776 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21777 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21778 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21779 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21780 (__memcpy_z10): Likewise.
21781 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21782
217832016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21784
21785 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21786 Remove __GI_ symbol.
21787 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21788 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21789 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21790 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21791 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21792 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21793
217942016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21795
21796 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21797 Use cghi instead of chi to compare 64bit value.
21798
217992016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21800
21801 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21802 Jump to 1MB check before executing mvc-loop.
21803
218042016-05-24 Florian Weimer <fweimer@redhat.com>
21805
21806 [BZ #6527]
21807 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21808 unconditionally.
21809 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21810
218112016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21812
21813 * stdlib/tst-strtod6.c (do_test): Use new type generic
21814 invocation of the test function.
21815 (test): Refactor into ...
21816 (TEST_STRTOD): New macro base function.
21817
218182016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21819
21820 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21821 (TEST_STRTOD): New macro.
21822 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21823
218242016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21825
21826 * stdlib/tst-strtod6.c (do_test): Use new type generic
21827 invocation of the test function.
21828 (test): Refactor into ...
21829 (TEST_STRTOD): New macro base function.
21830
218312016-05-23 Florian Weimer <fweimer@redhat.com>
21832
21833 CVE-2016-4429
21834 [BZ #20112]
21835 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21836 payload.
21837
218382016-05-23 Florian Weimer <fweimer@redhat.com>
21839
21840 [BZ #20111]
21841 * bits/sockaddr.h (_SS_SIZE): Define.
21842 * bits/socket.h (_SS_SIZE): Remove.
21843 (_SS_PADSIZE): Adjust to account for all padding.
21844 (struct sockaddr_storage): Update comment. Avoid implicit
21845 padding.
21846 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21847 (_SS_PADSIZE): Adjust to account for all padding.
21848 (struct sockaddr_storage): Update comment. Avoid implicit
21849 padding.
21850 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21851 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21852 (_SS_PADSIZE): Adjust to account for all padding.
21853 (struct sockaddr_storage): Update comment. Avoid implicit
21854 padding.
21855 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21856 __SS_SIZE is 126 in this version.
21857 * inet/tst-sockaddr.c: New file.
21858 * inet/Makefile (tests): Add tst-sockaddr.c
21859 (tst-sockaddr.c): Compile with non-strict aliasing.
21860
218612016-05-23 Joseph Myers <joseph@codesourcery.com>
21862
21863 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21864 [XPG3 || XPG4].
21865 (NL_ARGMAX): Also expect for [XPG3].
21866 (NL_LANGMAX): Likewise.
21867 (NL_MSGMAX): Likewise.
21868 (NL_NMAX): Likewise.
21869 (NL_SETMAX): Likewise.
21870 (NL_TEXTMAX): Likewise.
21871 (NZERO): Likewise.
21872 (TMP_MAX): Likewise.
21873 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21874 variable.
21875
21876 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21877 (PF_MAX): Update value.
21878 (AF_KCM): New macro.
21879 (SOL_NETBEUI): Likewise.
21880 (SOL_LLC): Likewise.
21881 (SOL_DCCP): Likewise.
21882 (SOL_NETLINK): Likewise.
21883 (SOL_TIPC): Likewise.
21884 (SOL_RXRPC): Likewise.
21885 (SOL_PPPOL2TP): Likewise.
21886 (SOL_BLUETOOTH): Likewise.
21887 (SOL_PNPIPE): Likewise.
21888 (SOL_RDS): Likewise.
21889 (SOL_IUCV): Likewise.
21890 (SOL_CAIF): Likewise.
21891 (SOL_ALG): Likewise.
21892 (SOL_NFC): Likewise.
21893 (SOL_KCM): Likewise.
21894 (MSG_BATCH): New enum value and macro.
21895
218962016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21897
21898 [BZ #18185]
21899 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21900 sharing L2 cache to 2 for Knights Landing.
21901
219022016-05-20 Joseph Myers <joseph@codesourcery.com>
21903
21904 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21905 (FTW_DP): Do not expect for [XPG3 || XPG4].
21906 (FTW_SL): Do not expect for [XPG3].
21907 (FTW_SLN): Likewise.
21908 (FTW_PHYS): Likewise.
21909 (FTW_MOUNT): Likewise.
21910 (FTW_DEPTH): Likewise.
21911 (FTW_CHDIR): Likewise.
21912 (nftw): Likewise.
21913 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21914 variable.
21915
219162016-05-19 Rical Jasan <ricaljasan@pacific.net>
21917
21918 * manual/errno.texi: Fix various typos & grammar errors.
21919
219202016-05-19 Rical Jasan <ricaljasan@pacific.net>
21921
21922 * manual/intro.texi: Fix duplicated typo.
21923
219242016-05-19 Joseph Myers <joseph@codesourcery.com>
21925
21926 [BZ #13304]
21927 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21928 <float.h>, <math_private.h> and <stdlib.h>.
21929 (add_split): New function.
21930 (mul_split): Likewise.
21931 (ext_val): New typedef.
21932 (store_ext_val): New function.
21933 (mul_ext_val): New function.
21934 (compare): New function.
21935 (add_split_ext): New function.
21936 (__fmal): After checking for Inf, NaN and zero, compute result as
21937 an exact sum of scaled double values in round-to-nearest before
21938 adding those up and adjusting for other rounding modes.
21939 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21940 tests of fma.
21941 * math/auto-libm-test-out: Regenerated.
21942
219432016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21944
21945 [BZ #20119]
21946 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21947 processor level type mask for CPUID with EAX == 11.
21948
219492016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21950
21951 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21952 logical threads if the HTT bit is 0.
21953 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21954 (index_cpu_HTT): Likewise.
21955 (reg_HTT): Likewise.
21956
219572016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21958
21959 [BZ #20115]
21960 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21961 Remove alignments on jump targets.
21962
219632016-05-19 Joseph Myers <joseph@codesourcery.com>
21964
21965 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21966 (getpwent): Likewise.
21967 (setpwent): Likewise.
21968 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21969 variable.
21970
21971 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21972 (remque): Likewise.
21973 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21974 variable.
21975
219762016-05-18 Joseph Myers <joseph@codesourcery.com>
21977
21978 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21979 not being tested.
21980
219812016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21982
21983 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21984 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21985 call.
21986 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21987 (__condvar_cleanup1): Likewise.
21988
219892016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21990
21991 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21992 New
21993 (__pthread_unwind): Renamed to ...
21994 (PTHREAD_UNWIND): This.
21995 (__pthread_enable_asynccancel): Replace
21996 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21997
219982016-05-18 Joseph Myers <joseph@codesourcery.com>
21999
22000 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
22001 (CLONE_NEWCGROUP): New macro.
22002
22003 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
22004 (Q_GETNEXTQUOTA): New macro.
22005
220062016-05-18 H.J. Lu <hongjiu.lu@intel.com>
22007
22008 [BZ #19907]
22009 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
22010 buffer updated by the previous run.
22011 * string/test-memcpy.c (do_one_test): Likewise.
22012 * benchtests/bench-memmove.c (do_one_test): Add a comment.
22013 * string/test-memmove.c (do_one_test): Likewise.
22014
220152016-05-17 Joseph Myers <joseph@codesourcery.com>
22016
22017 [BZ #20094]
22018 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
22019 not [__USE_XOPEN].
22020 (unlockpt): Likewise.
22021 (ptsname): Likewise.
22022 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
22023 variable.
22024
22025 [BZ #20076]
22026 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
22027 instead of [__USE_UNIX98].
22028 (S_ISSOCK): Likewise.
22029 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
22030 variable.
22031
22032 [BZ #20074]
22033 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
22034 [__USE_POSIX].
22035 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
22036 variable.
22037
22038 [BZ #20051]
22039 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
22040 (ttyslot): Do not declare.
22041 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
22042 (ttyslot): New prototype.
22043 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
22044 variable.
22045 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22046
220472016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
22048
22049 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
22050
220512016-05-13 Florian Weimer <fweimer@redhat.com>
22052
22053 Fix race condition in tst-mallocfork2, use fewer resources.
22054 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
22055 to current process group.
22056 (signal_sender): Yield in the non-sleeping case.
22057
220582016-05-13 Joseph Myers <joseph@codesourcery.com>
22059
22060 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
22061 (ecvt): Likewise.
22062 (fcvt): Likewise.
22063 (gcvt): Likewise.
22064 (getsubopt): Likewise.
22065 (grantpt): Likewise.
22066 (initstate): Likewise.
22067 (l64a): Likewise.
22068 (mktemp): Likewise.
22069 (mkstemp): Likewise.
22070 (ptsname): Likewise.
22071 (random): Likewise.
22072 (realpath): Likewise.
22073 (setstate): Likewise.
22074 (srandom): Likewise.
22075 (ttyslot): Likewise.
22076 (unlockpt): Likewise.
22077 (valloc): Likewise.
22078
22079 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
22080 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
22081 variable.
22082
220832016-05-13 H.J. Lu <hongjiu.lu@intel.com>
22084
22085 [BZ #20072]
22086 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
22087 init_cpu_features only if SHARED is defined.
22088 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
22089
220902016-05-13 H.J. Lu <hongjiu.lu@intel.com>
22091
22092 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
22093 non-inclusive caches on Intel processors.
22094
220952016-05-13 Florian Weimer <fweimer@redhat.com>
22096
22097 * malloc/malloc.c (dumped_main_arena_start)
22098 (dumped_main_arena_end): New variables.
22099 (DUMPED_MAIN_ARENA_CHUNK): New macro.
22100 (do_check_chunk): Skip dumped fake mmapped chunks.
22101 (munmap_chunk): Likewise.
22102 (__libc_free): Do not adjust statistics for fake mmapped chunks.
22103 (__libc_realloc): Adjust hardening check. Always copy dumped fake
22104 mmapped chunks.
22105 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
22106 Mark dumped chunks as using mmap. Update dumped_main_arena_start
22107 and dumped_main_arena_end to cover the dumped heap.
22108
221092016-05-12 Joseph Myers <joseph@codesourcery.com>
22110
22111 * conform/data/time.h-data (getdate_err): Do not expect for
22112 [XPG3].
22113 (getdate): Likewise.
22114 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
22115 variable.
22116
22117 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
22118 (F_ULOCK): Likewise.
22119 (F_TEST): Likewise.
22120 (F_TLOCK): Likewise.
22121 (useconds_t): Likewise.
22122 (intptr_t): Do not expect for [XPG3] or [XPG4].
22123 (brk): Do not expect for [XPG3]
22124 (fchown): Likewise.
22125 (fchdir): Likewise.
22126 (ftruncate): Likewise.
22127 (getdtablesize): Likewise.
22128 (gethostid): Likewise.
22129 (getpagesize): Likewise.
22130 (getpgid): Likewise.
22131 (getsid): Likewise.
22132 (getwd): Likewise.
22133 (lchown): Likewise.
22134 (lockf): Likewise.
22135 (readlink): Likewise.
22136 (sbrk): Likewise.
22137 (setpgrp): Likewise.
22138 (setregid): Likewise.
22139 (setreuid): Likewise.
22140 (symlink): Likewise.
22141 (sync): Likewise.
22142 (truncate): Likewise.
22143 (ualarm): Likewise.
22144 (usleep): Likewise.
22145 (vfork): Likewise.
22146 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
22147 variable.
22148
22149 [BZ #20054]
22150 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
22151 not [__USE_UNIX98].
22152 * conform/data/unistd.h-data (gethostname): Do not expect for
22153 [XPG3].
22154
22155 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
22156 [!POSIX] (S_IFBLK): Likewise.
22157 [!POSIX] (S_IFCHR): Likewise.
22158 [!POSIX] (S_IFIFO): Likewise.
22159 [!POSIX] (S_IFREG): Likewise.
22160 [!POSIX] (S_IFDIR): Likewise.
22161 [!POSIX] (S_IFLNK): Likewise.
22162 [!POSIX] (S_IFSOCK): Likewise.
22163 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
22164 variable.
22165 (test-xfail-XPG4/fcntl.h/conform): Likewise.
22166
221672016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
22168
22169 * sysdeps/aarch64/memset.S (__memset):
22170 Rewrite of optimized memset.
22171
221722016-05-12 Florian Weimer <fweimer@redhat.com>
22173
22174 [BZ #19703]
22175 Partially async-signal-safe fork for single-threaded processes.
22176 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
22177 variable. Do not acquire and reset/release malloc and libio locks
22178 in single-threaded processes.
22179 * malloc/tst-mallocfork2.c: New file.
22180 * malloc/Makefile (tests): Add it.
22181
221822016-05-12 Florian Weimer <fweimer@redhat.com>
22183
22184 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22185 argument. Use scratch buffer instead of extend_alloca.
22186 (gethosts): Use scratch buffer instead of extend_alloca.
22187 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
22188 extend_alloca.
22189 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22190
221912016-05-11 Joseph Myers <joseph@codesourcery.com>
22192
22193 [BZ #20055]
22194 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22195 instead of [__USE_UNIX98].
22196 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22197 [__USE_UNIX98].
22198 * conform/data/termios.h-data (tcgetsid): Do not expect for
22199 [XPG3].
22200 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22201 variable.
22202 (test-xfail-XPG4/termios.h/conform): Likewise.
22203
222042016-05-11 Florian Weimer <fweimer@redhat.com>
22205
22206 Do not use mcheck in localedef.
22207 * locale/programs/localedef.c (turn_on_mcheck)
22208 (__malloc_initialize_hook): Remove.
22209
222102016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22211
22212 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22213 * sysdeps/s390/s390-64/Makefile: Likewise.
22214
222152016-05-11 H.J. Lu <hongjiu.lu@intel.com>
22216
22217 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22218 Remove ifunc-defines.sym.
22219 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22220 Likewise.
22221 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22222 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22223 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22224 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22225 rtld-global-offsets.sym.
22226 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22227 * sysdeps/x86/cpu-features-offsets.sym: This.
22228 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22229 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22230
222312016-05-10 Joseph Myers <joseph@codesourcery.com>
22232
22233 [BZ #20073]
22234 * io/sys/stat.h (fchmod): Declare for
22235 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22236 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22237 variable.
22238
22239 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22240 [XPG3] (S_IFSOCK): Likewise.
22241 [XPG3] (S_ISVTX): Likewise.
22242 [XPG3] (S_ISLNK): Likewise.
22243 [XPG3] (S_ISSOCK): Likewise.
22244 [XPG3] (fchmod): Likewise.
22245 [XPG3] (lstat): Likewise.
22246 [XPG3] (mknod): Likewise.
22247
22248 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22249 [XPG3]. Expect type long and XFAIL for [XPG4].
22250 (st_blocks): Likewise.
22251
22252 [BZ #20044]
22253 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22254 (pthread_atfork): New prototype.
22255 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22256 variable.
22257
22258 [BZ #20043]
22259 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22260 prototype.
22261
222622016-05-10 Florian Weimer <fweimer@redhat.com>
22263
22264 [BZ #20017]
22265 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22266 gmtime.
22267
222682016-05-10 Florian Weimer <fweimer@redhat.com>
22269
22270 [BZ #19994]
22271 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22272 flag in _res.options.
22273
222742016-05-09 Joseph Myers <joseph@codesourcery.com>
22275
22276 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22277 [XPG3 || XPG4].
22278 (blksize_t): Likewise.
22279 (clockid_t): Likewise.
22280 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22281 variable.
22282 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22283
222842016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
22285
22286 * sysdeps/unix/sysv/linux/s390/init-first.c:
22287 Add VDSO_SYMBOL(getcpu).
22288 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22289 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22290 Add VDSO_SYMBOL(getcpu).
22291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22292 New define HAVE_GETCPU_VSYSCALL.
22293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22294
222952016-05-08 H.J. Lu <hongjiu.lu@intel.com>
22296
22297 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22298 instead of <sysdeps/x86_64/cacheinfo.c>.
22299 * sysdeps/x86_64/cacheinfo.c: Moved to ...
22300 * sysdeps/x86/cacheinfo.c: Here.
22301
223022016-05-04 Florian Weimer <fweimer@redhat.com>
22303
22304 * malloc/malloc-internal.h: Adjust header file guard.
22305
223062016-05-04 Florian Weimer <fweimer@redhat.com>
22307
22308 [BZ #19787]
22309 * inet/getnameinfo.c (check_sprintf_result): New function.
22310 (CHECKED_SNPRINTF): New macro.
22311 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22312 to the host buffer.
22313 (gni_host_local): Use checked_copy to copy the host name.
22314 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22315 (gni_serv_local): Use checked_copy to copy the service name.
22316 (getnameinfo): Remove unnecessary truncation of result buffers.
22317
223182016-05-04 Florian Weimer <fweimer@redhat.com>
22319
22320 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22321 in case of inet_ntop failure.
22322
223232016-05-04 Florian Weimer <fweimer@redhat.com>
22324
22325 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22326 avoid long lines.
22327 (gni_host_inet_numeric): Likewise. Reduce scope of local
22328 variables.
22329 (gni_host_inet, gni_host_local): Add comment.
22330 (gni_host): Add comment. Use temporary to avoid long lines.
22331
223322016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22333
22334 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22335 registers specifiers where general purpose registers specifiers should
22336 have been used.
22337
223382016-05-04 Florian Weimer <fweimer@redhat.com>
22339
22340 [BZ #19779]
22341 CVE-2016-1234
22342 Avoid copying names of directory entries.
22343 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22344 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22345 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22346 (struct readdir_result): New type.
22347 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22348 (GL_READDIR): New macros.
22349 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22350 (convert_dirent, convert_dirent64): New functions.
22351 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
22352 convert_dirent64. Adjust references to the readdir result.
22353 * sysdeps/unix/sysv/linux/i386/glob64.c:
22354 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22355 * posix/bug-glob2.c (LONG_NAME): Define.
22356 (filesystem): Add LONG_NAME.
22357 (my_DIR): Increase the size of room_for_dirent.
22358
223592016-05-03 Joseph Myers <joseph@codesourcery.com>
22360
22361 [BZ #20041]
22362 * misc/sys/select.h (__need_timespec): Only define if
22363 [__USE_XOPEN2K].
22364 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22365 variable.
22366 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22367 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22368 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22369
223702016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22371 Segher Boessenkool <segher@gcc.gnu.org>
22372
22373 [BZ #20004]
22374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22375 (__novec_swapcontext): Add missing load.
22376
223772016-05-02 Joseph Myers <joseph@codesourcery.com>
22378
22379 [BZ #20023]
22380 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22381 <time.h>.
22382 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22383 variable.
22384 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22385
223862016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22387
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22389 flags CLONE_VM compare.
22390
223912016-05-02 Florian Weimer <fweimer@redhat.com>
22392
22393 [BZ #20031]
22394 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22395 completely empty.
22396
223972016-05-02 Florian Weimer <fweimer@redhat.com>
22398
22399 [BZ #19573]
22400 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22401 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22402 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22403 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22404 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22405 (hesiod_free_list): Mark as hidden.
22406 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22407 res_set, res_get.
22408 * hesiod/hesiod.c: Remove unnecessary forward declarations.
22409 (init, __hesiod_res_get, __hesiod_res_set): Remove.
22410 (hesiod_init): Remove obsolete res_ninit call.
22411 (hesiod_end): Do not free resolver state. Do not invoke callback.
22412 (hesiod_bind): Do not call init.
22413 (get_txt_records): Use res_mkquery, res_send instead of
22414 res_nmkquery, res_nsend.
22415 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22416 instead of _nss_hesiod_init.
22417 (_nss_hesiod_initgroups_dyn): Likewise.
22418 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22419 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22420 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22421
224222016-05-02 Florian Weimer <fweimer@redhat.com>
22423
22424 * hesiod/hesiod_p.h (DEF_RHS): Remove.
22425 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22426
224272016-05-02 Florian Weimer <fweimer@redhat.com>
22428
22429 * hesiod/hesiod.h: Remove RCS keyword.
22430 * hesiod/hesiod_p.h: Likewise.
22431
22432 * hesiod/hesiod.c: Likewise.
22433
224342016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22435
22436 [BZ #12450]
22437 * locale/iso-639.def: Add Samogitian/sgs.
22438
224392016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22440
22441 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22442
22443 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22444
224452016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22446 Carlos O'Donell <carlos@redhat.com>
22447
22448 [BZ #19072]
22449 * grp/Makefile (headers): Add grp-merge.h
22450 (routines): Add grp-merge.
22451 * grp/getgrgid_r.c: Include grp-merge.h.
22452 (DEEPCOPY_FN): Define.
22453 (MERGE_FN): Define.
22454 * grp/getgrname_r.c: Include grp-merge.h.
22455 (DEEPCOPY_FN): Define.
22456 (MERGE_FN): Define.
22457 * grp/grp-merge.c: New file.
22458 * grp/grp-merge.h: New file.
22459 * include/grp-merge.h: New file.
22460 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22461 __copy_grp@GLIBC_PRIVATE.
22462 * manual/nss.texi (Actions in the NSS configuration): Describe
22463 return, continue, and merge.
22464 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22465 (DEEPCOPY_FN): Define.
22466 (MERGE_FN): Define.
22467 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22468 (DEEPCOPY_FN): Define.
22469 (MERGE_FN): Define.
22470 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22471 [!MERGE_FN]: Define __merge_einval.
22472 (CHECK_MERGE): Define.
22473 (REENTRANT_NAME): Process merge if do_merge is true.
22474 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22475 (__nss_getent_r): Likewise.
22476 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22477 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22478
224792016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22480
22481 [BZ #20012]
22482 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22483 length to calculate the buffer to read.
22484 (fmemopen_write): Set the buffer position based on bytes written.
22485 (fmemopen_seek): Return EINVAL for invalid whence modes.
22486
22487 [BZ #19957]
22488 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22489 tst-getpid2.
22490 (test): Add tst-clone2.
22491 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22492 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22493 pid/tid fields for CLONE_VM.
22494 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22495 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22496 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22497 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22498 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22499 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22500 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22501 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22503 Likewise.
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22505 Likewise.
22506 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22507 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22508 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22509 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22510 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22511 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22512 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22513 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22514
225152016-04-29 Florian Weimer <fweimer@redhat.com>
22516
22517 [BZ #19642]
22518 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22519 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22520 (gni_serv_local, gni_serv): New functions extracted from
22521 getnameinfo.
22522 (getnameinfo): Call gni_host and gni_serv to perform the
22523 processing. Always free scratch buffer.
22524
225252016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22526
22527 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22528 remaining bytes in the dest string, with zeros.
22529
225302016-04-29 Florian Weimer <fweimer@redhat.com>
22531
22532 [BZ #20010]
22533 CVE-2016-3706
22534 * sysdeps/posix/getaddrinfo.c
22535 (convert_hostent_to_gaih_addrtuple): New function.
22536 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22537 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22538 AF_INET data.
22539
225402016-04-29 Florian Weimer <fweimer@redhat.com>
22541
22542 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22543 callback function gl_readdir.
22544 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22545 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22546 (glob_in_dir): Remove len. Use strdup instead of malloc and
22547 memcpy to copy the name.
22548 * manual/pattern.texi (Calling Glob): Document requirements for
22549 implementations of the gl_readdir callback function.
22550 * manual/examples/mkdirent.c: New example.
22551 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22552 per the manual guidance.
22553 * posix/tst-gnuglob.c (my_readdir): Likewise.
22554
225552016-04-28 Joseph Myers <joseph@codesourcery.com>
22556
22557 [BZ #20014]
22558 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22559 not [__USE_POSIX].
22560 (getchar_unlocked): Likewise.
22561 (putc_unlocked): Likewise.
22562 (putchar_unlocked): Likewise.
22563 (flockfile): Likewise.
22564 (ftrylockfile): Likewise.
22565 (funlockfile): Likewise.
22566 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22567 variable.
22568 (test-xfail-XPG4/stdio.h/conform): Likewise.
22569
22570 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22571 Expect constant.
22572 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22573 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22574 variable.
22575 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22576 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22577
22578 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22579 [__USE_LARGEFILE64] (off64_t): Likewise.
22580 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22581 variable.
22582
225832016-04-28 Florian Weimer <fweimer@redhat.com>
22584
22585 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22586
225872016-04-28 Florian Weimer <fweimer@redhat.com>
22588
22589 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22590 * resolv/res_init.c: Likewise.
22591 * resolv/res_mkquery.c: Likewise.
22592
225932016-04-28 Florian Weimer <fweimer@redhat.com>
22594
22595 * resolv/res_init.c (isascii): Do not define. Use definition in
22596 <ctype.h>.
22597 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22598 (LOG_AUTH): Remove.
22599 (SPRINTF): Remove, adjust caller.
22600 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22601
226022016-04-28 Florian Weimer <fweimer@redhat.com>
22603
22604 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22605 SUNSECURITY conditional.
22606 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22607
226082016-04-28 Florian Weimer <fweimer@redhat.com>
22609
22610 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22611 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22612 Remove BSD-related preprocessor conditionals.
22613 * conf/portability.h: Remove.
22614
226152016-04-28 Florian Weimer <fweimer@redhat.com>
22616
22617 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22618 * resolv/res_data.c: Likewise.
22619
226202016-04-28 Florian Weimer <fweimer@redhat.com>
22621
22622 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22623 * resolv/res_data.c: Remove code conditional on ultrix.
22624
226252016-04-28 Florian Weimer <fweimer@redhat.com>
22626
22627 * resolv/res_init.c (RFC1535): Do not define. Remove
22628 RFC1535 preprocessor conditionals.
22629 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22630 because there configuration options which make the resolver
22631 behavior different.
22632
226332016-04-28 Florian Weimer <fweimer@redhat.com>
22634
22635 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22636 RESOLVSORT preprocessor conditionals.
22637 * resolv/nss_dns/dns-host.c: Likewise.
22638 * resolv/res_init.c: Likewise.
22639
226402016-04-28 Florian Weimer <fweimer@redhat.com>
22641
22642 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22643 is never defined.
22644
226452016-04-28 Florian Weimer <fweimer@redhat.com>
22646
22647 * inet/inet_lnaof.c: Remove SCSS keyword.
22648 * inet/inet_mkadr.c: Likewise.
22649 * inet/inet_net.c: Likewise.
22650 * inet/inet_netof.c: Likewise.
22651 * inet/rcmd.c: Likewise.
22652 * inet/rexec.c: Likewise.
22653 * inet/ruserpass.c: Likewise.
22654
226552016-04-28 Florian Weimer <fweimer@redhat.com>
22656
22657 * resolv/inet_addr.c: Remove _LIBC conditionals.
22658 * resolv/res_data.c: Likewise.
22659 * resolv/res_init.c: Likewise.
22660 * resolv/res_mkquery.c: Likewise.
22661 * resolv/res_libc.c: Update comment.
22662 * resolv/README: Update.
22663
226642016-04-28 Florian Weimer <fweimer@redhat.com>
22665
22666 * resolv/gethnamaddr.c: Remove SCSS keyword.
22667 * resolv/herror.c: Likewise.
22668 * resolv/inet_addr.c: Likewise.
22669 * resolv/inet_net_ntop.c: Likewise.
22670 * resolv/inet_net_pton.c: Likewise.
22671 * resolv/inet_neta.c: Likewise.
22672 * resolv/inet_ntop.c: Likewise.
22673 * resolv/inet_pton.c: Likewise.
22674 * resolv/ns_date.c: Remove RCS keyword.
22675 * resolv/ns_name.c: Likewise.
22676 * resolv/ns_netint.c: Likewise.
22677 * resolv/ns_parse.c: Likewise.
22678 * resolv/ns_print.c: Likewise.
22679 * resolv/ns_samedomain.c: Likewise.
22680 * resolv/ns_ttl.c: Likewise.
22681 * resolv/nsap_addr.c: Likewise.
22682 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22683 * resolv/res_data.c: Remove RCS keyword.
22684 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22685 * resolv/res_init.c: Likewise.
22686 * resolv/res_mkquery.c: Likewise.
22687 * resolv/res_query.c: Likewise.
22688 * resolv/res_send.c: Likewise.
22689
226902016-04-27 Joseph Myers <joseph@codesourcery.com>
22691
22692 * conform/data/stdio.h-data (fdopen): Expect also for
22693 [XPG3 || XPG4].
22694
22695 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22696 (fseeko): Likewise.
22697 (ftello): Likewise.
22698 (ftrylockfile): Likewise.
22699 (funlockfile): Likewise.
22700 (getc_unlocked): Likewise.
22701 (getchar_unlocked): Likewise.
22702 (putc_unlocked): Likewise.
22703 (putchar_unlocked): Likewise.
22704
227052016-04-27 Florian Weimer <fweimer@redhat.com>
22706
22707 [BZ #19868]
22708 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22709 DNS packet syntax checks (which were not needed before). Skip
22710 over non-PTR records.
22711
227122016-04-27 Florian Weimer <fweimer@redhat.com>
22713
22714 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22715 definition. Include <stddef.h> instead.
22716
227172016-04-27 Florian Weimer <fweimer@redhat.com>
22718
22719 [BZ #19831]
22720 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22721 function.
22722 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22723 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22724
227252016-04-27 Florian Weimer <fweimer@redhat.com>
22726
22727 [BZ #19862]
22728 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22729 (getanswer_r): Do not call syslog.
22730 (gaih_getanswer_slice): Likewise.
22731 * resolv/gethnamaddr.c (AskedForGot): Remove.
22732 (getanswer): Do not call syslog.
22733 (gethostbyaddr): Likewise.
22734
227352016-04-27 Joseph Myers <joseph@codesourcery.com>
22736
22737 * conform/data/signal.h-data (union sigval): Expect also if
22738 [XOPEN2K].
22739 (struct sigevent): Likewise.
22740 (SIGEV_NONE): Likewise.
22741 (SIGEV_SIGNAL): Likewise.
22742 (SIGEV_THREAD): Likewise.
22743 (SIGRTMIN): Likewise.
22744 (SIGRTMAX): Likewise.
22745 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22746 variable.
22747 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22748
227492016-04-27 Florian Weimer <fweimer@redhat.com>
22750
22751 [BZ #19830]
22752 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22753 (gaih_getanswer_slice): Likewise.
22754 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22755 Also check for availability of RR metadata.
22756
227572016-04-27 Florian Weimer <fweimer@redhat.com>
22758
22759 [BZ #19825]
22760 * resolv/res_send.c (send_vc): Remove early *resplen2
22761 initialization. Set *resplen2 on socket error. Call
22762 close_and_return_error for other errors.
22763
227642016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22765
22766 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22767 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22768 (SCM_IUCV_TRGCLS): New define.
22769
227702016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22771
22772 [BZ #20005]
22773 * libio/fmemopen.c (fmemopen_write): Update internal position after
22774 write.
22775 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22776 * stdio-common/tst-fmemopen4.c: New file..
22777
227782016-04-26 Joseph Myers <joseph@codesourcery.com>
22779
22780 [BZ #19996]
22781 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22782 not [__USE_XOPEN2K].
22783 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22784 variable.
22785
22786 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22787 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22788 variable.
22789
22790 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22791 [__USE_XOPEN2K8].
22792 [__USE_LARGEFILE64] (off64_t): Likewise.
22793 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22794 variable.
22795
227962016-04-25 Joseph Myers <joseph@codesourcery.com>
22797
22798 [BZ #19989]
22799 * libio/stdio.h (cuserid): Do not declare if
22800 [__USE_XOPEN2K && !__USE_GNU].
22801 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22802 variable.
22803
228042016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22805
22806 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22807 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22809 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22810 ifunc'ed strcspn.
22811 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22812 [EALIGN]: Removed.
22813 [END]: Likewise
22814 [STRSPN]: Define instead of the above to control symbol name.
22815 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22816 New file.
22817 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22818 Likewise.
22819 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22820 Likewise.
22821 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22822 Likewise.
22823 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22824 [INITIAL_MASK]: New macro.
22825 [STRCSPN]: Likewise.
22826 [UPDATE_MASK]: Likewise.
22827 [USE_AS_STRCSPN]: Likewise.
22828
228292016-04-25 Florian Weimer <fweimer@redhat.com>
22830
22831 [BZ #19931]
22832 * stdio-common/tst-vfprintf-width-prec.c: New file.
22833 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22834 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22835 (generated): Add mtrace-related files.
22836 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22837 (tst-%-mem.out): New pattern rule, replaces
22838 tst-printf-bz18872-mem.out.
22839 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22840 specifier, deallocate any previously allocated work buffer.
22841
228422016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22843
22844 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22845 Add nop before __startcontext, add explaining comments.
22846
228472016-04-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22848
22849 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22850 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22851 completely different API.
22852
22853 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22854 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22855 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22856 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22857 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22858 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22859 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22860 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22861 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22862 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22863
228642016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22865
22866 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22867
228682016-04-23 Mike Frysinger <vapier@gentoo.org>
22869
22870 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22871 when it is the default of 0.
22872
228732016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22874
22875 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22876 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22877 (sysdep_routines): Add new strcasestr targets.
22878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22879 (__libc_ifunc_impl_list): Likewise.
22880 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22881 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22882 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22883 * sysdeps/powerpc/powerpc64/power8/Makefile:
22884 New file to add strcasestr-ppc64 to sysdep_routines.
22885 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22886 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22887
228882016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22889
22890 * benchtests/Makefile (wcsmbs-benchset): Include only for
22891 native builds and runs.
22892 (LOCALES): Likewise.
22893 (bench-build): Build timing-type here instead of the bench
22894 target. Generate locale only for native builds.
22895 * benchtests/README: Add note for cross-building.
22896
22897 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22898
22899 * benchtests/README: Update README to include instructions on
22900 using bench-build.
22901
22902 * Makefile.in (bench-build): New target.
22903 * Rules (PHONY): Add bench-build target.
22904 * benchtests/Makefile (bench): Depend on bench-build.
22905 (bench-build): New target.
22906
229072016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22908
22909 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22910 profil_reply_port.
22911 (profile_waiter): Do not initialize profil_reply_port.
22912 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22913 frequency instead of tick length in us.
22914
229152016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22916
22917 [BZ #18712]
22918 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22919 (__old_mempcpy_small): Likewise.
22920 (__old_strcpy_small): Likewise.
22921 (__old_stpcpy_small): Likewise.
22922 (__old_strpbrk_c2): Fix compat symbol name.
22923 (__old_strpbrk_c3): Likewise.
22924 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22925 (__mempcpy_small): Remove.
22926 (__strcpy_small): Remove.
22927 (__stpcpy_small): Remove.
22928
229292016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22930
22931 [BZ #19400]
22932 * locale/iso-639.def: Add the Talossan/tzl language.
22933
229342016-04-16 Mike Frysinger <vapier@gentoo.org>
22935
22936 [BZ #16983]
22937 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22938 comment. Add "ln" to strchr check on postal_fmt.
22939
229402016-04-16 Mike Frysinger <vapier@gentoo.org>
22941
22942 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22943 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22944 tel_dom_fmt.
22945
229462016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22947
22948 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22949 (sysdep_routines): Added __strlen_power8.
22950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22951 __strlen_power8 entry.
22952 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22953 Implementation for POWER8.
22954 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22955 for __strlen_power8.
22956 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22957 Implementation for POWER8.
22958
229592016-04-15 Mike Frysinger <vapier@gentoo.org>
22960
22961 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22962
229632016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22964
22965 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22966 Goldmont and Airmont processors.
22967
229682016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22969
22970 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22971 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22972 (__STRING2_SMALL_GET32): Remove.
22973 (memset): Remove.
22974 (__memset_1): Remove.
22975 (__memset_gc): Remove.
22976 (__mempcpy): Remove.
22977 (mempcpy): Remove.
22978 (__mempcpy_args): Remove.
22979 (strchr): Remove.
22980 (strcpy): Remove.
22981 (strcpy_args): Remove.
22982 (__stpcpy_args): Remove.
22983 (__strcmp_cc): Remove.
22984 (__strcmp_gc): Remove.
22985 (strstr): Remove.
22986
229872016-04-15 Yvan Roux <yvan.roux@linaro.org>
22988
22989 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22990 * nis/nis_call.c (nis_server_cache_add): Likewise.
22991
229922016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22993
22994 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22995
229962016-04-14 Florian Weimer <fweimer@redhat.com>
22997
22998 * malloc/arena.c (__malloc_fork_lock_parent)
22999 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
23000 internal_function attribute.
23001
230022016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
23003
23004 * stdio-common/printf_fp.c (__printf_fp_l):
23005 Rename ___printf_fp_l to __printf_fp_l and
23006 remove strong alias. Use libc_hidden_def instead
23007 of ldbl_hidden_def macro.
23008
230092016-04-14 Florian Weimer <fweimer@redhat.com>
23010
23011 Remove malloc hooks from fork handler. They are no longer needed
23012 because malloc runs right before fork, and no malloc calls from
23013 other fork handlers are not possible anymore.
23014 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
23015 declarations.
23016 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
23017 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
23018 (atfork_recursive_cntr): Remove.
23019 (__malloc_fork_lock_parent): Do not override malloc hooks and
23020 thread_arena.
23021 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
23022 thread_arena.
23023 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
23024 thread_arena instead of save_arena.
23025
230262016-04-14 Florian Weimer <fweimer@redhat.com>
23027
23028 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
23029 (thread_atfork, thread_atfork_static): Remove.
23030 * sysdeps/mach/hurd/malloc-machine.h:
23031 (thread_atfork, thread_atfork_static): Remove.
23032
230332016-04-14 Florian Weimer <fweimer@redhat.com>
23034
23035 [BZ #19431]
23036 Run the malloc fork handler as late as possible to avoid deadlocks.
23037 * malloc/malloc-internal.h: New file.
23038 * malloc/malloc.c: Include it.
23039 * malloc/arena.c (ATFORK_MEM): Remove.
23040 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
23041 Update comment.
23042 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
23043 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
23044 Remove outdated comment.
23045 (ptmalloc_init): Do not call thread_atfork. Remove
23046 thread_atfork_static.
23047 * malloc/tst-malloc-fork-deadlock.c: New file.
23048 * Makefile (tests): Add tst-malloc-fork-deadlock.
23049 (tst-malloc-fork-deadlock): Link against libpthread.
23050 * manual/memory.texi (Aligned Memory Blocks): Update safety
23051 annotation comments.
23052 * sysdeps/nptl/fork.c (__libc_fork): Call
23053 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
23054 __malloc_fork_unlock_child.
23055 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
23056
230572016-04-14 Florian Weimer <fweimer@redhat.com>
23058
23059 [BZ #19613]
23060 Remove union wait.
23061 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
23062 (w_stopsig, w_stopval): Remove.
23063 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
23064 stat_loc argument.
23065 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
23066 (__WAIT_STATUS_DEFN): Remove.
23067 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23068 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
23069 (wait, wait3, wait4): Use int * for the stat_loc argument.
23070 * posix/wait.c (__wait): Likewise.
23071 * posix/wait3.c (__wait3): Likewise.
23072 * posix/wait4.c (__wait4): Likewise.
23073 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
23074 (__WAIT_STATUS_DEFN): Remove.
23075 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23076 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
23077 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
23078 argument.
23079 * sysdeps/posix/wait.c (__libc_wait): Likewise.
23080 * sysdeps/posix/wait3.c (__wait3): Likewise.
23081 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
23082 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23083 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
23084 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
23085 stat_loc argument.
23086 * manual/process.texi (BSD Wait Functions): Remove union wait.
23087
230882016-04-13 Andreas Schwab <schwab@suse.de>
23089
23090 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
23091 (test-extras): Add tst-tlsalign-vars.
23092 * math/Makefile: Wrap long lines.
23093 (libm-vec-test-wrappers): Define.
23094 (test-extras): Add $(libm-vec-test-wrappers).
23095 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
23096 * nss/Makefile (extra-test-objs): Add nss_test1.os.
23097 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
23098 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
23099 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
23100 (extra-test-objs): Add corresponding objects.
23101
231022016-04-12 H.J. Lu <hongjiu.lu@intel.com>
23103
23104 [BZ #19928]
23105 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
23106 New.
23107 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
23108 times of shared cache size.
23109 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
23110 (VMOVNT): New.
23111 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
23112 (VMOVNT): Likewise.
23113 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
23114 (VMOVNT): Likewise.
23115 (VMOVU): Changed to movups for smaller code sizes.
23116 (VMOVA): Changed to movaps for smaller code sizes.
23117 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
23118 comments.
23119 (PREFETCH): New.
23120 (PREFETCH_SIZE): Likewise.
23121 (PREFETCHED_LOAD_SIZE): Likewise.
23122 (PREFETCH_ONE_SET): Likewise.
23123 Rewrite to use forward and backward loops, which move 4 vector
23124 registers at a time, to support overlapping addresses and use
23125 non temporal store if size is above the threshold and there is
23126 no overlap between destination and source.
23127
231282016-04-12 Alex Smith <alex.smith@imgtec.com>
23129
23130 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
23131 Include dl-vdso.
23132 * sysdeps/unix/sysv/linux/mips/Versions: Add
23133 __vdso_clock_gettime.
23134 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
23135 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
23136 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
23137 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
23138 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
23139 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
23140 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23141 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23142 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23143
231442016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23145
23146 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
23147 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
23148 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23149 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23150 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23151 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23154 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
23155 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
23156 syscalls generation.
23157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23158 [__NR_pwrite64] (__NR_write): Remove define.
23159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23160 [__NR_pwrite64] (__NR_write): Remove define.
23161 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
23162 Remove define.
23163 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
23164 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
23165 Remove define.
23166 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
23167 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
23168 Linux implementation as base.
23169 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23170
23171 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
23172 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
23173 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23174 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
23176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23177 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
23178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
23179 syscall generation.
23180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23181 [__NR_pread64] (__NR_pread): Remove define.
23182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23183 [__NR_pread64] (__NR_pread): Likewise.
23184 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23185 define.
23186 (__libc_pread): Use SYSCALL_LL macro on offset argument.
23187 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23188 Remove define.
23189 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23190 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23191 Linux implementation as base.
23192 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23193 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23194 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23195
23196 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23197 definition.
23198 (__ALIGNMENT_COUNT): Likewise.
23199 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23200 (__ALIGNMENT_COUNT): Likewise.
23201 (SYSCALL_LL): New define.
23202 (SYSCALL_LL64): Likewise.
23203 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23204 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23205 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23206 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23207
23208 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23209 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23210 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23211 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23212 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23213 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23214
232152016-04-11 Florian Weimer <fweimer@redhat.com>
23216
23217 [BZ #19865]
23218 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23219 original buffer before retry.
23220
232212016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23222
23223 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23224 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23225 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23226 GLRO(dl_auxv) list.
23227 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23228 including <ldsodefs.h>.
23229 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23230
232312016-04-09 Nick Alcock <nick.alcock@oracle.com>
23232
23233 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23234 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23235 $(CPPFLAGS).
23236
232372016-04-09 Khem Raj <raj.khem@gmail.com>
23238
23239 [BZ #17950]
23240 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23241 Add -mfpmath=387.
23242
232432016-04-09 Mike Frysinger <vapier@gentoo.org>
23244
23245 * sysdeps/i386/configure.ac: Change == to = when calling test.
23246 * sysdeps/x86_64/configure.ac: Likewise.
23247 * sysdeps/i386/configure: Regenerated.
23248 * sysdeps/x86_64/configure: Likewise.
23249
232502016-04-08 Mike Frysinger <vapier@gentoo.org>
23251
23252 [BZ #16137]
23253 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23254 * benchtests/bench-strcoll.c (input_files): Likewise.
23255 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23256 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23257 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23258
232592016-04-08 Joseph Myers <joseph@codesourcery.com>
23260
23261 [BZ #19929]
23262 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23263 [__USE_XOPEN2K8 && !__USE_GNU].
23264 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23265 variable.
23266
23267 [BZ #19925]
23268 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23269 define if [!__USE_MISC && __USE_XOPEN2K].
23270 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23271 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23272 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23273 Likewise.
23274 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23275 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23276 variable.
23277 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23278
232792016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23280
23281 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23282 (sysdep_routines): Add new strspn targets.
23283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23284 (__libc_ifunc_impl_list): Add strspn.
23285 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23286 New file.
23287 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23288 Likewise.
23289 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23290 Likewise.
23291 * sysdeps/powerpc/powerpc64/power8/strspn.S:
23292 Likewise.
23293
232942016-04-07 Florian Weimer <fweimer@redhat.com>
23295
23296 * misc/hsearch_r.c: Include <limits.h>.
23297
232982016-04-07 Florian Weimer <fweimer@redhat.com>
23299
23300 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23301
233022016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23303
23304 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23305 (MEMCPY_SYMBOL): New.
23306 (MEMPCPY_SYMBOL): Likewise.
23307 (MEMMOVE_CHK_SYMBOL): Likewise.
23308 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23309 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23310 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
23311 Provide alias for memcpy in libc.a and ld.so.
23312
233132016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23314
23315 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23316 (MEMSET_CHK_SYMBOL): New. Define if not defined.
23317 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23318 Disabled fro now.
23319 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23320 symbols. Properly check USE_MULTIARCH on __memset symbols.
23321
233222016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23323
23324 * benchtests/Makefile (string-benchset): Add memcpy-large,
23325 memmove-large and memset-large.
23326 * benchtests/bench-memcpy-large.c: New file.
23327 * benchtests/bench-memmove-large.c: Likewise.
23328 * benchtests/bench-memmove-large.c: Likewise.
23329 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23330
233312016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23332
23333 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23334 32-bit displacement to avoid long nop between instructions.
23335
233362016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23337
23338 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23339 a comment on VMOVU and VMOVA.
23340
233412016-04-04 Florian Weimer <fweimer@redhat.com>
23342
23343 [BZ #19633]
23344 Use specified locale for number formatting in strfmon_l.
23345 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23346 (__nl_lookup_word): New inline functions.
23347 * include/printf.h (__print_fp_l): Declare.
23348 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23349 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
23350 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23351 (___printf_fp): New function.
23352 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23353 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23354 * stdlib/tst-strfmon_l.c (do_test): New test.
23355 * stdlib/Makefile (tests): Add kt.
23356 (LOCALES): Build additional locales.
23357 (tst-strfmon_l.out): Require locales.
23358
233592016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23360
23361 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23362 if not in libc.
23363 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23364 Likewise.
23365 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23366 Likewise.
23367 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23368 Likewise.
23369
233702016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23371
23372 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23373 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23374 with unaligned_erms.
23375 (__memmove_erms): Skip if source == destination.
23376 (__memmove_unaligned_erms): Don't check source == destination
23377 first.
23378
233792016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23380
23381 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23382 bit_arch_Fast_Copy_Backward for Intel Core proessors.
23383
233842016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23385
23386 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23387 * string/strspn.c (strspn): Likewise.
23388
233892016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23390
23391 * benchtests/bench-memset.c (do_test): Support 64-byte
23392 alignment.
23393 (test_main): Test 64-byte alignment.
23394
233952016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23396
23397 * benchtests/bench-memmove.c (test_main): Test 64-byte
23398 alignment.
23399
234002016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23401
23402 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23403
234042016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23405
23406 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23407 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23408 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23409
23410 * string/strpbrk.c (strpbrk): Rewrite function.
23411 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23412 (__strpbrk_c2): Likewise.
23413 (__strpbrk_c3): Likewise.
23414 * string/string-inlines.c
23415 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23416 Likewise.
23417 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23418 Likewise.
23419
23420 * string/strspn.c (strcspn): Rewrite function.
23421 * string/bits/string2.h (strspn): Use __builtin_strcspn.
23422 (__strspn_c1): Remove inline function.
23423 (__strspn_c2): Likewise.
23424 (__strspn_c3): Likewise.
23425 * string/string-inlines.c
23426 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23427 compatibility symbol.
23428 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23429 Likewise.
23430 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23431 Likewise.
23432 * string/string-inlines.c: Include generic version.
23433
234342016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23435 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23436
23437 * string/Version (libc): Add GLIBC_2.24.
23438 * string/strcspn.c (strcspn): Rewrite function.
23439 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23440 (__strcspn_c1): Remove inline function.
23441 (__strcspn_c2): Likewise.
23442 (__strcspn_c3): Likewise.
23443 * string/string-inline.c
23444 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23445 compatibility symbol.
23446 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23447 Likewise.
23448 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23449 Likewise.
23450 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23451
234522016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23453
23454 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23455 Use ahi instead of aghi to adjust stack pointer.
23456
234572016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23458
23459 [BZ #19853]
23460 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23461 TEST to take significant digits as second parameter.
23462 [TEST]: Redefine in terms of TEST_N taking 30
23463 significant digits.
23464 (do_test): Add test case to demonstrate precision
23465 failure in the ldbl-128ibm printf.
23466 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23467 (__mpn_extract_long_double): Carry 7 extra intermediate
23468 bits of precision to aide computing difference when
23469 signs differ.
23470
234712016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23472
23473 [BZ #19881]
23474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23475 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23476 memset-avx512-unaligned-erms.
23477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23478 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23479 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23480 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23481 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23482 __memset_sse2_unaligned_erms, __memset_erms,
23483 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23484 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23485 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23486 file.
23487 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23488 Likewise.
23489 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23490 Likewise.
23491 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23492 Likewise.
23493
234942016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23495
23496 [BZ #19776]
23497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23498 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23499 memmove-avx512-unaligned-erms.
23500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23501 (__libc_ifunc_impl_list): Test
23502 __memmove_chk_avx512_unaligned_2,
23503 __memmove_chk_avx512_unaligned_erms,
23504 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23505 __memmove_chk_sse2_unaligned_2,
23506 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23507 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23508 __memmove_avx512_unaligned_erms, __memmove_erms,
23509 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23510 __memcpy_chk_avx512_unaligned_2,
23511 __memcpy_chk_avx512_unaligned_erms,
23512 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23513 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23514 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23515 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23516 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23517 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23518 __mempcpy_chk_avx512_unaligned_erms,
23519 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23520 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23521 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23522 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23523 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23524 __mempcpy_erms.
23525 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23526 file.
23527 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23528 Likewise.
23529 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23530 Likewise.
23531 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23532 Likewise.
23533
235342016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23535
23536 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23537 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23538 (La_s390_64_regs): Likewise.
23539 (La_s390_32_retval): Append vector register lrv_v24.
23540 (La_s390_64_retval): Likeweise.
23541 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23542 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23543 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23544 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23545
235462016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23547
23548 [BZ #19916]
23549 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23550 to create a non-vector/vector version for _dl_runtime_resolve and
23551 _dl_runtime_profile. Move implementation to ...
23552 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23553 (_dl_runtime_resolve) Save and restore fpr/vrs.
23554 (_dl_runtime_profile) Save and restore vrs and fix some issues
23555 if _dl_call_pltexit is called.
23556 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23557 Choose the correct resolver function if running on a machine with vx.
23558 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23559 to create a non-vector/vector version for _dl_runtime_resolve and
23560 _dl_runtime_profile. Move implementation to ...
23561 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23562 (_dl_runtime_resolve) Save and restore fpr/vrs.
23563 (_dl_runtime_profile) Save and restore vrs and fix some issues
23564 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23565 Choose the correct resolver function if running on a machine with vx.
23566
235672016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23568
23569 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23570
235712016-03-31 Florian Weimer <fweimer@redhat.com>
23572
23573 [BZ #19509]
23574 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23575 skip_map != NULL.
23576 * elf/tst-dlsym-error.c: New file.
23577 * elf/Makefile (tests): Add tst-dlsym-error.
23578 (tst-dlsym-error): Link against libdl.
23579
235802016-03-29 Joseph Myers <joseph@codesourcery.com>
23581
23582 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23583 (__ASSUME_FUTIMESAT): Remove macro.
23584 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23585
235862016-03-29 Florian Weimer <fweimer@redhat.com>
23587
23588 [BZ #19879]
23589 CVE-2016-3075
23590 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23591 copy name.
23592
235932016-03-29 Florian Weimer <fweimer@redhat.com>
23594
23595 [BZ #19837]
23596 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23597 error if parse_line fails.
23598
235992016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23600
23601 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23602 (index_cpu_ERMS): Likewise.
23603 (reg_ERMS): Likewise.
23604
236052016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23606
23607 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23608 PER_LINUX_FDPIC): Add.
23609
236102016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23611
23612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23613 memcpy-avx512-no-vzeroupper.
23614 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23615 to ...
23616 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23617 (MEMCPY): Don't define.
23618 (MEMCPY_CHK): Likewise.
23619 (MEMPCPY): Likewise.
23620 (MEMPCPY_CHK): Likewise.
23621 (MEMPCPY_CHK): Renamed to ...
23622 (__mempcpy_chk_avx512_no_vzeroupper): This.
23623 (MEMPCPY_CHK): Renamed to ...
23624 (__mempcpy_chk_avx512_no_vzeroupper): This.
23625 (MEMCPY_CHK): Renamed to ...
23626 (__memmove_chk_avx512_no_vzeroupper): This.
23627 (MEMCPY): Renamed to ...
23628 (__memmove_avx512_no_vzeroupper): This.
23629 (__memcpy_avx512_no_vzeroupper): New alias.
23630 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23631
236322016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23633
23634 [BZ #18858]
23635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23636 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23637 and mempcpy-avx512-no-vzeroupper.
23638 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23639 New.
23640 (MEMPCPY): Likewise.
23641 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23642 (MEMPCPY_CHK): New.
23643 (MEMPCPY): Likewise.
23644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23645 (MEMPCPY): Likewise.
23646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23647 (MEMPCPY): Likewise.
23648 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23649 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23650 Likewise.
23651 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23652 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23653
236542016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23655 Amit Pawar <Amit.Pawar@amd.com>
23656
23657 [BZ #19583]
23658 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23659 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23660 processors. Set Fast_Copy_Backward for AMD Excavator
23661 processors.
23662 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23663 New.
23664 (index_arch_Fast_Unaligned_Copy): Likewise.
23665 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23666 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23667
236682016-03-25 Florian Weimer <fweimer@redhat.com>
23669
23670 [BZ #19791]
23671 * resolv/res_send.c (close_and_return_error): New function.
23672 (send_dg): Initialize *resplen2 after reopen failure. Call
23673 close_and_return_error for error returns. On error paths without
23674 __res_iclose, initialze *resplen2 explicitly. Update comment for
23675 successful return.
23676
236772016-03-25 Florian Weimer <fweimer@redhat.com>
23678
23679 [BZ #19860]
23680 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23681 zero if the compiler does not provide the AVX512F bit.
23682
236832016-03-24 Joseph Myers <joseph@codesourcery.com>
23684
23685 [BZ #19848]
23686 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23687 from 8 to 4.
23688 (__ieee754_powl): Compare integer exponent against 4 not 8.
23689 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23690 from 8 to 4.
23691 (__ieee754_powl): Compare integer exponent against 4 not 8.
23692 * math/auto-libm-test-in: Add more tests of pow.
23693 * math/auto-libm-test-out: Regenerated.
23694 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23696
236972016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23698
23699 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23700 Make code unconditional.
23701 [!__NR_utimensat]: Remove conditional code.
23702 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23703 Make code unconditional.
23704 [!__NR_utimensat]: Remove conditional code.
23705 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23706 Make code unconditional.
23707 [!__NR_utimensat]: Remove conditional code.
23708
237092016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23710
23711 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23712 Make code unconditional.
23713
237142016-03-23 Nick Alcock <nick.alcock@oracle.com>
23715
23716 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23717 call-clobbered %eax on retry path.
23718 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23719
237202016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23721
23722 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23723 Don't set %rcx twice before "rep movsb".
23724
237252016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23726
23727 [BZ #19583]
23728 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23729 inline. Check family before setting family, model and
23730 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23731 bits here.
23732 (init_cpu_features): Replace HAS_CPU_FEATURE and
23733 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23734 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23735 for Intel processors with usable AVX2. Call get_common_indeces
23736 for other processors with family == NULL.
23737 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23738 (CPU_FEATURES_ARCH_P): Likewise.
23739 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23740 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23741
237422016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23743
23744 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23745 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23746 $(shared-thread-library) instead of hardcoding the path to libpthread.
23747
237482016-03-22 Joseph Myers <joseph@codesourcery.com>
23749
23750 * sysdeps/unix/sysv/linux/kernel-features.h
23751 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23752 * sysdeps/unix/sysv/linux/getdents.c
23753 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23754 [!have_no_getdents64_defined]: Likewise.
23755 (__GETDENTS): Remove __have_no_getdents64 conditional.
23756
237572016-03-21 Joseph Myers <joseph@codesourcery.com>
23758
23759 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23760 Remove macro.
23761 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23762 <kernel-features.h>.
23763 (signalfd) [__NR_signalfd4]: Make code unconditional.
23764 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23765
237662016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23767
23768 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23769 style.
23770
237712016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23772
23773 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23774 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23775 __pthread_unwind.
23776 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23777 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23778 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23779 (__condvar_cleanup1): Likewise.
23780
237812016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23782
23783 [BZ #19822]
23784 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23785 move it to the final $@ location.
23786
237872016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23788
23789 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23790 access where posix_spawn success and pid argument is null.
23791 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23792 success case.
23793
237942016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
23795
23796 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23797
23798 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23799
23800 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23801 and __fcntl.
23802 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23803 __fcntl only.
23804 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23805 adding attribute_hidden to __open and __fcntl.
23806
23807 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23808 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23809 depend on libc-modules.h,
23810 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23811
238122016-03-17 Joseph Myers <joseph@codesourcery.com>
23813
23814 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23815 Remove macro.
23816 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23817 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23818 entry.
23819
23820 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23821 Remove macro.
23822 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23823 include <kernel-features.h>.
23824 [!__ASSUME_FALLOCATE]: Remove conditional code.
23825 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23826
238272016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23830 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23831 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23832 (_ZGVdN4v_cos_avx2): Likewise.
23833 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23834 (_ZGVdN4v_cos): Likewise.
23835 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23836 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23837 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23838 (_ZGVdN4v_exp_avx2): Likewise.
23839 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23840 (_ZGVdN4v_exp): Likewise.
23841 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23842 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23843 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23844 (_ZGVdN4v_log_avx2): Likewise.
23845 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23846 (_ZGVdN4v_log): Likewise.
23847 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23848 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23849 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23850 (_ZGVdN4vv_pow_avx2): Likewise.
23851 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23852 (_ZGVdN4vv_pow): Likewise.
23853 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23854 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23855 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23856 (_ZGVdN4v_sin_avx2): Likewise.
23857 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23858 (_ZGVdN4v_sin): Likewise.
23859 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23860 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23861 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23862 (_ZGVdN4vvv_sincos_avx2): Likewise.
23863 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23864 (_ZGVdN4vvv_sincos): Likewise.
23865 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23866 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23867 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23868 (_ZGVbN4v_cosf_sse4): Likewise.
23869 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23870 (_ZGVdN8v_cosf_avx2): Likewise.
23871 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23872 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23873 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23874 (_ZGVbN4v_expf_sse4): Likewise.
23875 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23876 (_ZGVdN8v_expf_avx2): Likewise.
23877 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23878 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23879 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23880 (_ZGVbN4v_logf_sse4): Likewise.
23881 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23882 (_ZGVdN8v_logf_avx2): Likewise.
23883 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23884 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23885 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23886 (_ZGVbN4vv_powf_sse4): Likewise.
23887 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23888 (_ZGVdN8vv_powf_avx2): Likewise.
23889 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23890 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23891 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23892 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23893 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23894 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23895 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23896 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23897 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23898 (_ZGVbN4v_sinf_sse4): Likewise.
23899 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23900 (_ZGVdN8v_sinf_avx2): Likewise.
23901 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23902 Use JUMPTARGET to call callee.
23903 (WRAPPER_IMPL_SSE2_ff): Likewise.
23904 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23905 (WRAPPER_IMPL_AVX): Likewise.
23906 (WRAPPER_IMPL_AVX_ff): Likewise.
23907 (WRAPPER_IMPL_AVX_fFF): Likewise.
23908 (WRAPPER_IMPL_AVX512): Likewise.
23909 (WRAPPER_IMPL_AVX512_ff): Likewise.
23910 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23911 Likewise.
23912 (WRAPPER_IMPL_SSE2_ff): Likewise.
23913 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23914 (WRAPPER_IMPL_AVX): Likewise.
23915 (WRAPPER_IMPL_AVX_ff): Likewise.
23916 (WRAPPER_IMPL_AVX_fFF): Likewise.
23917 (WRAPPER_IMPL_AVX512): Likewise.
23918 (WRAPPER_IMPL_AVX512_ff): Likewise.
23919 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23920
239212016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23922
23923 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23924 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23925 qualifier.
23926 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23927 internal_function qualifiers.
23928
239292016-03-15 Carlos O'Donell <carlos@redhat.com>
23930
23931 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23932 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23933 * math/atest-exp.c (exp_mpn): Mark chk unused.
23934 * math/atest-exp2.c (exp_mpn): Likewise.
23935 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23936 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23937
239382016-03-15 Joseph Myers <joseph@codesourcery.com>
23939
23940 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23941 Remove macro.
23942 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23943 <kernel-features.h>.
23944 [__NR_ppoll]: Make code unconditional.
23945 [!__ASSUME_PPOLL]: Remove conditional code.
23946
23947 * sysdeps/unix/sysv/linux/kernel-features.h
23948 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23949 (__ASSUME_ACCEPT4): Likewise.
23950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23951 Define.
23952 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23953 Likewise.
23954 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23955 Likewise.
23956 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23957 Likewise.
23958 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23959 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23960 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23961 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23962 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23963 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23965 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23966 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23967 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23968 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23969 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23970 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23971 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23972 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23973 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23974 Likewise.
23975 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23976 Likewise.
23977 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23978 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23979 0x040300].
23980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23981 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23982 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23983 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23984 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23985 0x030300].
23986 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23987 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23988 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23989 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23990 0x040300].
23991 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23992 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23993 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23994 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23995 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23996 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23997 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23998 0x030300].
23999 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24000 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24001 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24002 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24003 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24004 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24005 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24006 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24007 * sysdeps/unix/sysv/linux/s390/kernel-features.h
24008 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
24009 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
24010 0x040300].
24011 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24012 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24013 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24014 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24015 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24016 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24017 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24018 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24019 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24020 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24021 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24022 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24023 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24024 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24025 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
24026 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24027 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24028 Likewise.
24029 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24030 Likewise.
24031
240322016-03-15 Andreas Schwab <schwab@suse.de>
24033
24034 [BZ #19257]
24035 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
24036 statp->_u._ext.nscount as loop count.
24037
240382016-03-14 Andreas Schwab <schwab@linux-m68k.org>
24039
24040 * math/test-signgam-finite-c99.c: Also #undef
24041 __LIBC_INTERNAL_MATH_INLINES.
24042 * math/test-signgam-main.c: Likewise.
24043
240442016-03-14 Joseph Myers <joseph@codesourcery.com>
24045
24046 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
24047 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
24048 (MADV_FREE): Likewise.
24049 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
24050 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
24051 EPOLLEXCLUSIVE.
24052
240532016-03-14 Carlos O'Donell <carlos@redhat.com>
24054
24055 * timezone/README: Remove mention of checktab.awk. Mention wiki
24056 SharedSourceFiles.
24057
240582016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
24059
24060 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
24061 WUNTRACED.
24062
240632016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24064
24065 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
24066 order to match the type of p when calling atomic_exchange_acq().
24067
240682016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24069
24070 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
24071 cfi_offset calls.
24072 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
24073 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
24074 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
24075 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
24076 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
24077
240782016-03-10 Carlos O'Donell <carlos@redhat.com>
24079
24080 * timezone/checktab.awk: Removed.
24081
240822016-03-10 Joseph Myers <joseph@codesourcery.com>
24083
24084 * manual/math.texi (Errors in Math Functions): Document relaxed
24085 accuracy goals for IBM long double.
24086 * math/libm-test.inc (test_exceptions): Always allow spurious
24087 "underflow" and "inexact" exceptions for IBM long double.
24088
240892016-03-10 H.J. Lu <hongjiu.lu@intel.com>
24090
24091 [BZ #19762]
24092 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24093 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
24094 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
24095 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
24096 (bit_arch_*): This for feature array.
24097 (bit_*): Renamed to ...
24098 (bit_cpu_*): This for cpu array.
24099 (index_*): Renamed to ...
24100 (index_arch_*): This for feature array.
24101 (index_*): Renamed to ...
24102 (index_cpu_*): This for cpu array.
24103 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
24104 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
24105 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
24106 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
24107 bit_##name with index_cpu_##name and bit_cpu_##name.
24108 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
24109 bit_##name with index_arch_##name and bit_arch_##name.
24110
241112016-03-09 Aurelien Jarno <aurelien@aurel32.net>
24112
24113 [BZ #19792]
24114 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
24115 Terminate FDE before return label.
24116
241172016-03-09 Joseph Myers <joseph@codesourcery.com>
24118
24119 [BZ #19790]
24120 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
24121 (rintl): Define as macro.
24122 [USE_AS_NEARBYINTL] (__rintl): Likewise.
24123 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
24124 of fesetround. Ensure results are evaluated before end of scope.
24125 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
24126 USE_AS_NEARBYINTL and include s_rintl.c.
24127 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
24128 Disable exception traps in new environment.
24129 (libc_feholdsetround_ppc_ctx): Likewise.
24130
241312016-03-08 Roland McGrath <roland@hack.frob.com>
24132
24133 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
24134 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
24135 (tst_audit10_aux) [__AVX512F__]: ... here.
24136
241372016-03-08 Aurelien Jarno <aurelien@aurel32.net>
24138
24139 * include/sys/auxv.h: New file.
24140
241412016-03-08 H.J. Lu <hongjiu.lu@intel.com>
24142
24143 [BZ #19759]
24144 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
24145
241462016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
24147
24148 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
24149 operand modifier.
24150 (feclearexcept): Likewise.
24151
241522016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24153
24154 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
24155 to reflect the entire 32-bit HWCAP.
24156 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
24157 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
24158
241592016-03-08 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 [BZ #19783]
24162 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
24163 $(test-via-rtld-prefix).
24164 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
24165
241662016-03-08 Florian Weimer <fweimer@redhat.com>
24167
24168 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
24169 union wait. Report any non-zero exit status as error.
24170
241712016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24172
24173 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
24174 configured with --enable-hardcoded-path-in-tests.
24175
241762016-03-08 Joseph Myers <joseph@codesourcery.com>
24177
24178 [BZ #19677]
24179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24180 (__ieee754_remainderl): Put zero low parts in canonical form.
24181 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
24182 file. Based on
24183 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24184 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24185 with wrapper round test-fmodrem-ldbl-128ibm.c.
24186 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24187 file.
24188 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24189 Likewise.
24190 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24191 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24192
241932016-03-07 Florian Weimer <fweimer@redhat.com>
24194
24195 [BZ #19610]
24196 * elf/ldconfig.c (opt_link): Update comment.
24197 (options): Update help string for option -X.
24198 (search_dir): Unlink stale symbolic link only if updating symbolic
24199 links.
24200 * elf/tst-ldconfig-X.sh: New file.
24201 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24202 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24203
242042016-03-07 Andreas Schwab <schwab@suse.de>
24205
24206 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24207 needed arguments.
24208
242092016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
24210
24211 [BZ #15333]
24212 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24213 to lstat64.
24214
242152016-03-07 Florian Weimer <fweimer@redhat.com>
24216
24217 * libio/filedoalloc.c (isatty): Remove.
24218 (local_isatty): Add comment. Call __isatty directly.
24219 (_IO_file_doallocate): Update comment. Assume _LIBC.
24220 * libio/wfiledoalloc.c (isatty): Remove.
24221 (_IO_wfile_doallocate): Update comment.
24222
242232016-03-07 Florian Weimer <fweimer@redhat.com>
24224
24225 [BZ #19269]
24226 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24227 tst-audit4-aux.o.
24228 (tst-audit10): Depend on tst-audit10-aux.o.
24229 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24230 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24231 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24232 instead of inline AVX code.
24233 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24234 instead of inline AVX512 code.
24235 * sysdeps/x86_64/tst-audit4-aux.c: New file
24236 * sysdeps/x86_64/tst-audit10-aux.c: New file
24237
24238 [BZ #19648]
24239 * test-skeleton.c (main): Do not set RLIMIT_DATA.
24240
242412016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24242
24243 [BZ #14750]
24244 [BZ #10354]
24245 [BZ #18433]
24246 * include/sched.h (__clone): Add hidden prototype.
24247 (__clone2): Likewise.
24248 * include/unistd.h (__dup): Likewise.
24249 * posix/Makefile (tests): Add tst-spawn2.
24250 * posix/tst-spawn2.c: New file.
24251 * sysdeps/posix/dup.c (__dup): Add hidden definition.
24252 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24253 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24254 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24255 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24256 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24257 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24258 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24259 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24260 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24261 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24263 Likewise.
24264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24265 Likewise.
24266 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24267 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24268 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24269 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24270 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24271 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24272 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24273 * sysdeps/unix/sysv/linux/nptl-signals.h
24274 (____nptl_is_internal_signal): New function.
24275 * sysdeps/unix/sysv/linux/spawni.c: New file.
24276
24277 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24278 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24279 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24280 * posix/tst-execvp2.c (do_test): Likewise.
24281 * posix/tst-execvp3.c (do_test): Likewise.
24282 * posix/tst-execvp4.c (do_test): Likewise.
24283 * posix/tst-execvpe1.c: New file.
24284 * posix/tst-execvpe2.c: Likewise.
24285 * posix/tst-execvpe3.c: Likewise.
24286 * posix/tst-execvpe4.c: Likewise.
24287 * posix/tst-execvpe5.c: Likewise.
24288 * posix/tst-execvpe6.c: Likewise.
24289
24290 [BZ #19534]
24291 * posix/execl.c (execl): Remove dynamic memory allocation.
24292 * posix/execle.c (execle): Likewise.
24293 * posix/execlp.c (execlp): Likewise.
24294
242952016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24296
24297 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24298 Replace .text with .text.avx512.
24299 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24300 Likewise.
24301
243022016-03-07 Aurelien Jarno <aurelien@aurel32.net>
24303
24304 * sysdeps/generic/libnsl.abilist: New file.
24305 * sysdeps/generic/libutil.abilist: New file.
24306
243072016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24308
24309 [BZ #19762]
24310 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24311 HAS_ARCH_FEATURE with Fast_Rep_String.
24312 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24313 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24314 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24315 Likewise.
24316 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24317 Likewise.
24318 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24320 Likewise.
24321 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24322 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24323 Likewise.
24324
243252016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24326
24327 [BZ #19745]
24328 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24329 with *%rax in call.
24330
243312016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 [BZ #19745]
24334 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24335 with *__libc_start_main@GOTPCREL(%rip) in call.
24336
243372016-03-04 Roland McGrath <roland@hack.frob.com>
24338
24339 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24340 inside conditional for nonempty $(CXX).
24341
24342 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24343 nonempty.
24344
24345 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24346 to test for empty $(CXX) rather than $(CXX) of "no".
24347
243482016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24349
24350 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24351
243522016-03-04 Amit Pawar <Amit.Pawar@amd.com>
24353 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 [BZ #18880]
24356 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24357 instead of Slow_BSF, and also check for Fast_Copy_Backward to
24358 enable __memcpy_ssse3_back.
24359
243602016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24361
24362 [BZ #19758]
24363 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24364 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24365
243662016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
24367
24368 [BZ #19490]
24369 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24370 (__fentry__): Likewise.
24371
243722016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24373
24374 * gmon/Makefile (noprof): Add $(sysdep_noprof).
24375 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24376
243772016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24378
24379 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24380 __mcount_internal directly.
24381 (C_LABEL(__fentry__)): Likewise.
24382 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24383 directly.
24384
243852016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24386
24387 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24388 (__start_context): Call __setcontext directly.
24389
243902016-02-26 Joseph Myers <joseph@codesourcery.com>
24391
24392 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24393 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24394 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24395 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24396 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24397 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24398 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24399 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24400 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24401 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24402 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24403 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24404 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24405 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24406 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24407 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24408 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24409 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24410 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24411 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24412 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24413 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24414 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24415 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24416 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24417 Remove conditional code.
24418 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24419 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24420 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24421 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24422 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24423 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24424 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24425 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24426 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24427 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24428 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24429 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24430
244312016-02-24 Marko Myllynen <myllynen@redhat.com>
24432
24433 * NEWS (2.23): Fix typo in bug 19048 text.
24434
244352016-02-24 Carlos O'Donell <carlos@redhat.com>
24436
24437 [BZ #14259]
24438 * Makeconfig: Rename msgcatdir to localedir.
24439 Rename inst_msgcatdir to inst_localedir.
24440 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24441 * config.make.in: Add localedir.
24442 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24443 (ldd-rewrite): Likewise.
24444 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24445 (install-others): Use inst_localedir.
24446 (CPPFLAGS): Use localedir.
24447 * locale/Makefile (locale-CPPFLAGS): Likewise.
24448 * po/Makefile (mo-installed): Use inst_localedir.
24449
24450 [BZ #19575]
24451 * localedata/charmaps/GB18030: Update comments regarding PAU to
24452 non-PUA mappings.
24453
244542016-02-24 Joseph Myers <joseph@codesourcery.com>
24455
24456 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24457 test for header.
24458 * sysdeps/unix/sysv/linux/configure: Regenerated.
24459 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24460 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24461 Remove conditional code.
24462 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24463
24464 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24465 Define to 3.2.0.
24466 (arch_minimum_kernel): Likewise.
24467 * sysdeps/unix/sysv/linux/configure: Regenerated.
24468 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24469 Define to 2.6.32.
24470 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24471 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24472 (arch_minimum_kernel): Define to 2.6.32.
24473 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24474 * README: Document Linux 3.2 requirement.
24475 * manual/install.texi (Linux): Document Linux 3.2 headers
24476 requirement.
24477 * INSTALL: Regenerated.
24478
244792016-02-24 Andreas Schwab <schwab@suse.de>
24480
24481 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24482 if !NO_LONG_DOUBLE.
24483
244842016-02-22 Roland McGrath <roland@hack.frob.com>
24485
24486 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24487 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24488
244892016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24490
24491 [BZ #19512]
24492 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24493
244942016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24495
24496 * posix/tst-dir.c: Include libc-internal.h.
24497
244982016-02-20 Florian Weimer <fweimer@redhat.com>
24499
24500 [BZ #19056]
24501 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24502 * manual/filesys.texi (Reading/Closing Directory): Mention
24503 deprecaion.
24504 * posix/tst-dir.c (main): Disable deprecation warning in test.
24505
245062016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24507
24508 [BZ #19679]
24509 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24510 Renamed to ...
24511 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24512 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24513 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24514 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24515 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24516 * sysdeps/x86_64/dl-trampoline.h
24517 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24518 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24519
245202016-02-19 Mark Wielaard <mjw@redhat.com>
24521
24522 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24523
245242016-02-19 Mark Wielaard <mjw@redhat.com>
24525
24526 * elf/elf.h (R_386_GOT32X): New.
24527 (R_386_NUM): Update.
24528 (R_X86_64_GOTPCRELX: New.
24529 (R_X86_64_REX_GOTPCRELX): New.
24530 (R_X86_64_NUM): Update.
24531
245322016-02-19 Mike Frysinger <vapier@gentoo.org>
24533
24534 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24535
245362016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24537
24538 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24539 assign attr->stackaddr to it, and adjust it down when
24540 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24541 [_STACK_GROWS_UP]: Delete assert.
24542 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24543 Implement stack grows up logic.
24544 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24545 stack grows up logic.
24546
245472016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24548
24549 * NEWS: Update with 2.24 template.
24550
245512016-02-19 Joseph Myers <joseph@codesourcery.com>
24552
24553 [BZ #19678]
24554 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24555 Ensure +0.0 is returned when taking the next value below the least
24556 positive value.
24557
245582016-02-19 Florian Weimer <fweimer@redhat.com>
24559
24560 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24561 available. Do not define NO_THREADS.
24562 * malloc/malloc.c: Do not check NO_THREADS.
24563 * malloc/arena.c: Likewise.
24564
245652016-02-19 Florian Weimer <fweimer@redhat.com>
24566
24567 * malloc/malloc.c (__libc_mallinfo): Update comment.
24568 (struct malloc_par): Remove max_total_mem member, it was always 0.
24569 (int_mallinfo): Store 0 into usmblks (no functional change).
24570 * malloc/hooks.c (struct malloc_state): Document that
24571 max_total_mem is always 0.
24572 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24573 always 0.
24574 * manual/memory.texi (Statistics of Malloc): Likewise.
24575
245762016-02-19 Florian Weimer <fweimer@redhat.com>
24577
24578 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24579 * malloc/arena.c (arena_max): Remove.
24580 (heap_trim, _int_new_arena): Do not update arena_max.
24581
245822016-02-19 Florian Weimer <fweimer@redhat.com>
24583
24584 * resolv/res_init.c (res_ninit): Update comment.
24585
245862016-02-19 Florian Weimer <fweimer@redhat.com>
24587
24588 [BZ #19505]
24589 * posix/spawn_int.h: Add headers and include guard.
24590 (__spawn_valid_fd): New function.
24591 * posix/spawn_faction_addopen.c
24592 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24593 * posix/spawn_faction_addclose.c
24594 (posix_spawn_file_actions_addclose): Likewise.
24595 * posix/spawn_faction_adddup2.c
24596 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24597 second file descriptor.
24598 * posix/spawn_valid_fd.c: New file.
24599 * posix/tst-posix_spawn-fd.c: New file.
24600 * posix/Makefile (routines): Add spawn_valid_fd.
24601 (tests): Add tst-posix_spawn-fd.
24602
246032016-02-19 Florian Weimer <fweimer@redhat.com>
24604
24605 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24606 (do_test): Limit the number of arenas, so that we can use fewer
24607 outer threads. Limit timeout to 3 seconds, in preparation for a
24608 larger TIMEOUT value.
24609
246102016-02-19 Joseph Myers <joseph@codesourcery.com>
24611
24612 [BZ #19674]
24613 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24614 sign in overflowing and underflowing results when overflow or
24615 underflow is detected early. Include sign in result before rather
24616 than after scaling.
24617
24618 [BZ #19603]
24619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24620 (__ieee754_remainderl): Adjust sign of integer version of low part
24621 when taking absolute value of high part.
24622 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24623 * math/libm-test.inc (remainder_test_data): Add another test.
24624 (remquo_test_data): Likewise.
24625
246262016-02-18 Joseph Myers <joseph@codesourcery.com>
24627
24628 [BZ #19602]
24629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24630 equal high parts and both low parts zero specially.
24631 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24632 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24633 Add test-fmodl-ldbl-128ibm.
24634
24635 [BZ #19595]
24636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24637 common logic for all cases of shifting subnormal results. Do not
24638 insert sign bit in shifted mantissa. Always pass -1023 as biased
24639 exponent to ldbl_insert_mantissa in subnormal case.
24640
24641 [BZ #19594]
24642 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24643 on high and low parts then adjust result and use
24644 ldbl_canonicalize_int if needed.
24645
24646 [BZ #19593]
24647 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24648 on high part and __floor or __ceil on low part then use
24649 ldbl_canonicalize_int if needed.
24650
24651 [BZ #19592]
24652 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24653 high and low parts then use ldbl_canonicalize_int if needed.
24654
24655 [BZ #17899]
24656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24657 New function.
24658 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24659 on high and low parts then use ldbl_canonicalize_int if needed.
24660
246612016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24662
24663 * configure: Regenerated.
24664
24665 * po/libc.pot: Regenerated.
24666
24667 * po/be.po: Updated translation.
24668 * po/bg.po: Likewise.
24669 * po/ca.po: Likewise.
24670 * po/cs.po: Likewise.
24671 * po/da.po: Likewise.
24672 * po/el.po: Likewise.
24673 * po/eo.po: Likewise.
24674 * po/es.po: Likewise.
24675 * po/fi.po: Likewise.
24676 * po/fr.po: Likewise.
24677 * po/gl.po: Likewise.
24678 * po/hr.po: Likewise.
24679 * po/hu.po: Likewise.
24680 * po/ia.po: Likewise.
24681 * po/id.po: Likewise.
24682 * po/it.po: Likewise.
24683 * po/ja.po: Likewise.
24684 * po/lt.po: Likewise.
24685 * po/nb.po: Likewise.
24686 * po/nl.po: Likewise.
24687 * po/pt_BR.po: Likewise.
24688 * po/rw.po: Likewise.
24689 * po/sk.po: Likewise.
24690 * po/sl.po: Likewise.
24691 * po/sv.po: Likewise.
24692 * po/tr.po: Likewise.
24693 * po/zh_CN.po: Likewise.
24694 * po/zh_TW.po: Likewise.
24695
24696 * version.h (RELEAES): Set to "development".
24697 (VERSION): Set to 2.23.90.
24698
24699 * version.h (RELEASE): Set to "stable".
24700 (VERSION): Set to 2.23.
24701 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24702
24703 * NEWS: Updated fixed bugs.
24704
247052016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24706 Wilco Dijkstra <wdijkstr@arm.com>
24707
24708 [BZ #19462]
24709 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24710 (_STRING_INLINE_unaligned): This.
24711 * include/string.h: Include <string_private.h>.
24712 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24713 _STRING_INLINE_unaligned.
24714 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24715 (_STRING_INLINE_unaligned): New.
24716 * sysdeps/aarch64/string_private.h: New file.
24717 * sysdeps/generic/string_private.h: Likewise.
24718 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24719 * sysdeps/s390/string_private.h: Likewise.
24720 * sysdeps/x86/string_private.h: Likewise.
24721 * sysdeps/m68k/m680x0/m68020/bits/string.h
24722 (_STRING_ARCH_unaligned): Renamed to ...
24723 (_STRING_INLINE_unaligned): This.
24724 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24725 to ...
24726 (_STRING_INLINE_unaligned): This.
24727 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24728 to ...
24729 (_STRING_INLINE_unaligned): This.
24730 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24731 to ...
24732 (_STRING_INLINE_unaligned): This.
24733
247342016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24735 H.J. Lu <hongjiu.lu@intel.com>
24736
24737 [BZ #19590]
24738 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24739 relocation.
24740
247412016-02-15 Carlos O'Donell <carlos@redhat.com>
24742
24743 [BZ #18665]
24744 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24745 *herrno_p.
24746 (gaih_getanswer): Document functional behviour. Return tryagain
24747 if any result is tryagain.
24748 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24749 when freed.
24750 * resolv/res_send.c: Add copyright text.
24751 (__libc_res_nsend): Document that MAXPACKET is expected.
24752 (send_vc): Document. Remove buffer reuse.
24753 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24754 size of the buffer. Add Dprint for truncated UDP buffer.
24755
247562016-02-14 Carlos O'Donell <carlos@redhat.com>
24757
24758 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24759 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24760 * INSTALL: Regenerate.
24761
247622016-02-14 Jakub Jelinek <jakub@redhat.com>
24763 Jonathan Wakely <jwakely@redhat.com>
24764 Carlos O'Donell <carlos@redhat.com>
24765
24766 [BZ 19439]
24767 * math/Makefile (tests): Add test-math-isinff.
24768 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24769 * math/bits/mathcalls.h [__USE_MISC]: Use
24770 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24771 functions not in C++11 and which don't conflict e.g. isinff,
24772 isinfl etc.
24773 * math/test-math-isinff.cc: New file.
24774
247752016-02-12 Florian Weimer <fweimer@redhat.com>
24776
24777 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24778
247792016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24780
24781 [BZ #19529]
24782 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24783
247842016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24785
24786 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24787
247882016-02-01 Joseph Myers <joseph@codesourcery.com>
24789
24790 [BZ #19550]
24791 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24792 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24793 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24794 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24795 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24796 New syscall entry.
24797 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24798 New syscall entry.
24799 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24800 syscall entry.
24801
248022016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24803
24804 [BZ #18240]
24805 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24806 unsigned int wraparound.
24807
248082016-01-27 Florian Weimer <fweimer@redhat.com>
24809
24810 [BZ #18240]
24811 * misc/bug18240.c: New test.
24812 * misc/Makefile (tests): Add it.
24813
248142016-01-28 Steve Ellcey <sellcey@imgtec.com>
24815 Joseph Myers <joseph@codesourcery.com>
24816
24817 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24818 load in branch delay slot when less than a word of input left.
24819
248202016-01-27 Andreas Schwab <schwab@suse.de>
24821
24822 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24823 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24824 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24825 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24826
248272016-01-26 David S. Miller <davem@davemloft.net>
24828
24829 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24830
248312016-01-25 David S. Miller <davem@davemloft.net>
24832
24833 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24834 __sqrtl_finite.
24835 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24836 instead using versioned_symbol.
24837 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24838 of entries.
24839
24840 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24841 __sqrtl_finite to GLIBC_2.23
24842
248432016-01-25 Ricchard Henderson <rth@redhat.com>
24844
24845 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24846
248472016-01-25 Andreas Schwab <schwab@suse.de>
24848
24849 [BZ #17514]
24850 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24851 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24852 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24853 * nptl/tst-mutex-errorcheck.c: New file.
24854
248552016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24856
24857 [BZ #18560]
24858 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24859 (IPCOP_semop): Likewise.
24860 (IPCOP_semget): Likewise.
24861 (IPCOP_semctl): Likewise.
24862 (IPCOP_msgsnd): Likewise.
24863 (IPCOP_msgrcv): Likewise.
24864 (IPCOP_msgget): Likewise.
24865 (IPCOP_msgctl): Likewise.
24866 (IPCOP_shmat): Likewise.
24867 (IPCOP_shmdt): Likewise.
24868 (IPCOP_shmget): Likewise.
24869 (IPCOP_shmctl): Likewise.
24870
248712016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24872
24873 * string/tst-endian.c: Include <libc-internal.h>.
24874 (do_test): Ignore tautological-compare warnings around
24875 "htobeXX (beXXtoh (i)) != i" and
24876 "htoleXX (leXXtoh (i)) != i" if-statements.
24877
248782016-01-24 David S. Miller <davem@davemloft.net>
24879
24880 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24881 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24882 alias.
24883 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24884 __sqrtl_finite.
24885
24886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24887
248882016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24889
24890 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24891 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24892 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24893
248942016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24895
24896 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24897 (thread_func): Use new function to simplify barrier check.
24898 (do_test): Use new function to simplify checking barrier exit
24899 code, and actually join the child thread.
24900
249012016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24902
24903 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24904 semicolon.
24905 (__libc_tend): Likewise.
24906 (__libc_tabort): Likewise.
24907
249082016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24909
24910 * sysdeps/nios2/libm-test-ulps: Update.
24911 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24912 (__gtsf2): Likewise.
24913 (__unorddf2): Likewise.
24914 (__unordsf2): Likewise.
24915 (__ledf2): Likewise.
24916
249172016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24918
24919 * nis/nis_table.c (__follow_path): Disable diagnostic for
24920 uninitialized variable that is a false positive for gcc 4.7.
24921 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24922
249232016-01-20 Roland McGrath <roland@hack.frob.com>
24924
24925 * sysdeps/nacl/lowlevellock-futex.h
24926 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24927 Always evaluate PRIVATE argument.
24928
249292016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24930
24931 [BZ #19490]
24932 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24933 (pthread_cond_broadcast): Use ENTRY/END
24934 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24935 (pthread_cond_signal): Likewise.
24936 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24937 Likewise.
24938 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24939 Likewise.
24940 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24941 Likewise.
24942
249432016-01-20 Joseph Myers <joseph@codesourcery.com>
24944
24945 * sysdeps/ieee754/dbl-64/s_finite.c
24946 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24947 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24948 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24950 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24951
24952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24953 (__gtsf2): Add as optional for libc.so.
24954 (__unordsf2): Likewise.
24955 (__signbit): Remove for libc.so.
24956 (__signbitl): Likewise.
24957
249582016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24959
24960 * iconvdata/bug-iconv11.c (test_ibm93x):
24961 Use %zu printf format specifier for size_t argument.
24962
249632016-01-19 Joseph Myers <joseph@codesourcery.com>
24964
24965 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24966 already-recorded ulps.
24967 * sysdeps/arm/libm-test-ulps: Regenerated.
24968 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24969 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24970 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24971
249722016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24973 Paul Pluzhnikov <ppluzhnikov@google.com>
24974
24975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24976 assembler not supporting AVX-512.
24977
249782016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24979
24980 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24981
249822016-01-18 Joseph Myers <joseph@codesourcery.com>
24983
24984 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24985 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24986
24987 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24988
24989 * sysdeps/arm/libm-test-ulps: Regenerated.
24990
249912016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24992
24993 [BZ #19451]
24994 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24995
249962016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24997
24998 [BZ #19486]
24999 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
25000 * sysdeps/generic/fix-fp-int-convert-overflow.h
25001 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
25002 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
25003 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
25004 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
25005 Likewise.
25006 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
25007 Avoid conversions to long int where inexact exceptions
25008 could be raised.
25009 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
25010 Likewise.
25011 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
25012 Avoid conversions to long long int where inexact exceptions
25013 could be raised.
25014 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
25015 Likewise.
25016
250172016-01-17 Mike Frysinger <vapier@gentoo.org>
25018
25019 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
25020 * configure: Regenerated.
25021
250222016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
25023
25024 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
25025
250262016-01-16 Mike Frysinger <vapier@gentoo.org>
25027
25028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
25029 outside of comment.
25030
250312016-01-15 Torvald Riegel <triegel@redhat.com>
25032
25033 * nptl/tst-barrier1.c: Add description on first line.
25034 * nptl/tst-barrier2.c: Likewise.
25035 * nptl/tst-barrier3.c: Likewise.
25036 * nptl/tst-barrier4.c: Likewise.
25037 * nptl/tst-barrier5.c: Likewise.
25038
250392016-01-15 Torvald Riegel <triegel@redhat.com>
25040
25041 [BZ #18868]
25042 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
25043
250442016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
25045
25046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
25047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25048 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
25049 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
25050 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
25051 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
25052 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25053 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25054 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25055 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25056 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25057
250582016-01-15 Torvald Riegel <triegel@redhat.com>
25059
25060 [BZ #13065]
25061 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
25062 new implementation.
25063 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
25064 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
25065 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
25066 (BARRIER_IN_THRESHOLD): New macro.
25067 * nptl/pthread_barrierattr_setpshared.c
25068 (pthread_barrierattr_setpshared): Clean up.
25069 * nptl/tst-barrier4.c: Correct comment.
25070 * nptl/tst-barrier5.c: New file.
25071 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
25072 (gen-as-const-headers): Remove lowlevelbarrier.sym.
25073 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
25074 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
25075 * nptl/lowlevelbarrier.sym: Remove.
25076 * nptl/DESIGN-barrier.txt: Remove.
25077 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
25078 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
25079 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
25080 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
25081 error.
25082 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
25083 implementation.
25084
250852016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25086
25087 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
25088 (do_child): Mask SIGRTMIN while thr is running.
25089
250902016-01-15 Martin Sebor <msebor@redhat.com>
25091
25092 [BZ #19432]
25093 * iconvdata/Makefile: Add bug-iconv11.
25094 * iconvdata/bug-iconv11.c: New test.
25095 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
25096 * iconvdata/ibm933.c: Same.
25097 * iconvdata/ibm935.c: Same.
25098 * iconvdata/ibm937.c: Same.
25099 * iconvdata/ibm939.c: Same.
25100
251012016-01-15 Martin Sebor <msebor@redhat.com>
25102
25103 [BZ #19443]
25104 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
25105 [DEBUG] (_ufc_set_bits): Declare used.
25106 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
25107 [DEBUG] (print_all): Declare used.
25108 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
25109 operands of the ternary ?: expression to target type.
25110 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
25111 calling the undeclared abort.
25112 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
25113
251142016-01-15 Martin Sebor <msebor@redhat.com>
25115
25116 [BZ #18755]
25117 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
25118 warnings.
25119 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
25120 (__gai_create_helper_thread): Same.
25121 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
25122 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
25123 to suppress -Wmaybe-uninitialized warnings.
25124
251252016-01-15 H.J. Lu <hongjiu.lu@intel.com>
25126
25127 [BZ #19465]
25128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
25129 inside if.
25130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25131 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25133
251342016-01-14 H.J. Lu <hongjiu.lu@intel.com>
25135
25136 [BZ #19466]
25137 * time/tst-mktime2.c (time_t_max): Removed.
25138 (time_t_min): Likewise.
25139 (TYPE_SIGNED): New.
25140 (TYPE_MINIMUM): Likewise.
25141 (TYPE_MAXIMUM): Likewise.
25142 (TIME_T_MIN): Likewise.
25143 (TIME_T_MAX): Likewise.
25144 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
25145 and TIME_T_MIN.
25146 (do_test): Likewise.
25147
251482016-01-14 Amit Pawar <amit.pawar@amd.com>
25149
25150 [BZ #19467]
25151 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
25152 index_Fast_Unaligned_Load flag for Excavator family CPUs.
25153
251542016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
25155
25156 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
25157
251582016-01-13 Carlos O'Donell <carlos@redhat.com>
25159
25160 * benchtests/Makefile (PYTHON): Define.
25161 (bench-func): Use $(PYTHON) to run python scripts.
25162 ($(objpfx)bench-%.c): Likewise.
25163
251642016-01-13 Flavio Cruz <flaviocruz@gmail.com>
25165
25166 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
25167 leading slash when `file_name' is "/".
25168
251692016-01-12 Joseph Myers <joseph@codesourcery.com>
25170
25171 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25172 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
25173 Likewise.
25174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
25175 Likewise.
25176 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
25177 Likewise.
25178 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
25179 enum constant and macro.
25180 (PTRACE_SETSIGMASK): Likewise.
25181 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25182 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25183 (PTRACE_GETSIGMASK): Likewise.
25184 (PTRACE_SETSIGMASK): Likewise.
25185 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25186 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25187 Likewise.
25188 (PTRACE_SETSIGMASK): Likewise.
25189 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25191 (PTRACE_GETSIGMASK): Likewise.
25192 (PTRACE_SETSIGMASK): Likewise.
25193 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25195 Likewise.
25196 (PTRACE_SETSIGMASK): Likewise.
25197 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25199 Likewise.
25200 (PTRACE_SETSIGMASK): Likewise.
25201 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25202 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25203 Likewise.
25204 (PTRACE_SETSIGMASK): Likewise.
25205 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25206
252072016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
25208 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25209
25210 [BZ #19439]
25211 * math/bits/mathcalls.h
25212 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25213 prototype.
25214 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25215
252162016-01-11 Andreas Schwab <schwab@suse.de>
25217
25218 [BZ #19253]
25219 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25220 cache when TZDEFRULES was used.
25221 * time/tst-tzname.c: New file.
25222 * time/Makefile (test): Add tst-tzname.
25223 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25224 * timezone/Makefile (test-zones): Add $(posixrules-file).
25225 ($(testdata)/$(posixrules-file)): New rule.
25226
252272016-01-10 Paul Eggert <eggert@cs.ucla.edu>
25228
25229 Fix doc quoting problems with Texinfo 5
25230 Without this change, in the info file output, Texinfo 5 quotes code
25231 in text with undirected single quotes 'like this' and generates
25232 code examples that with many PDF readers cannot be cut out of PDFs
25233 and pasted into code.
25234 * manual/libc.texinfo: Configure the libc manual like the GNU
25235 Emacs manual, by using @documentencoding and setting
25236 txicodequoteundirected and txicodequotebacktick. This way,
25237 Texinfo 5 quotes code in text with directed single quotes ‘like
25238 this’ and produces examples that can be cut out of PDFs. This
25239 change causes Texinfo 5 to generate info files that contain UTF-8
25240 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
25241 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
25242
252432016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25244
25245 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25246 __libc_tabort, __libc_tend): New wrappers that enforce compiler
25247 barriers to their respective compiler built-ins.
25248 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25249 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25250 * sysdeps/powerpc/sysdep.h: Likewise.
25251 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25252 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25253 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25254
252552016-01-08 Marko Myllynen <myllynen@redhat.com>
25256
25257 * scripts/config.guess: Revert previous shebang change.
25258 * scripts/config.sub: Likewise.
25259 * scripts/mkinstalldirs: Likewise.
25260
252612016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25262
25263 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25264 PPC_FEATURE2_HAS_IEEE128.
25265 * sysdeps/powerpc/dl-procinfo.c:
25266 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25267
252682016-01-08 John David Anglin <danglin@gcc.gnu.org>
25269
25270 [BZ #19415]
25271 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25272 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
25273 (_dl_lookup_address): Rewrite using function resolver trampoline.
25274 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25275 two bits in address.
25276
252772016-01-07 Mike Frysinger <vapier@gentoo.org>
25278
25279 * longlong.h: Change !__SHMEDIA__ to
25280 (!defined (__SHMEDIA__) || !__SHMEDIA__).
25281 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25282
252832016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
25284 Joseph Myers <joseph@codesourcery.com>
25285 Mark Shinwell <shinwell@codesourcery.com>
25286 Andrew Stubbs <ams@codesourcery.com>
25287 Rich Felker <dalias@libc.org>
25288
25289 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25290
252912016-01-07 Richard Henderson <rth@redhat.com>
25292
25293 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25294
252952016-01-07 Mike Frysinger <vapier@gentoo.org>
25296
25297 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25298 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25299 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25300 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25301 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25302
253032016-01-07 Paul Eggert <eggert@cs.ucla.edu>
25304 Joseph Myers <joseph@codesourcery.com>
25305
25306 * timezone/private.h: Update from tzcode 2015g.
25307 * timezone/tzfile.h: Likewise.
25308 * timezone/tzselect.ksh: Likewise.
25309 * timezone/zdump.c: Likewise.
25310 * timezone/zic.c: Likewise.
25311 * timezone/ialloc.c: Remove file.
25312 * timezone/scheck.c: Likewise.
25313 * timezone/Makefile (extra-objs): Remove variable.
25314 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25315 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25316 -Wno-maybe-uninitialized.
25317 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25318 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25319 (CFLAGS-ialloc.c): Remove variable.
25320 (CFLAGS-scheck.c): Likewise.
25321 * timezone/README: Update list of files from tzcode.
25322
253232016-01-07 Khem Raj <raj.khem@gmail.com>
25324
25325 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25326 instead of __fxprintf when _LIBC is undefined.
25327
253282016-01-07 Marko Myllynen <myllynen@redhat.com>
25329
25330 * catgets/test-gencat.sh: Remove space after shebang.
25331 * conform/GlibcConform.pm: Likewise.
25332 * conform/check-header-lists.sh: Likewise.
25333 * conform/conformtest.pl: Likewise.
25334 * conform/linknamespace.pl: Likewise.
25335 * conform/list-header-symbols.pl: Likewise.
25336 * debug/catchsegv.sh: Likewise.
25337 * elf/genrtldtbl.awk: Likewise.
25338 * elf/tst-pathopt.sh: Likewise.
25339 * elf/tst-rtld-load-self.sh: Likewise.
25340 * grp/tst_fgetgrent.sh: Likewise.
25341 * iconvdata/gen-8bit-gap-1.sh: Likewise.
25342 * iconvdata/gen-8bit-gap.sh: Likewise.
25343 * iconvdata/gen-8bit.sh: Likewise.
25344 * iconvdata/run-iconv-test.sh: Likewise.
25345 * intl/tst-gettext.sh: Likewise.
25346 * intl/tst-gettext2.sh: Likewise.
25347 * intl/tst-gettext4.sh: Likewise.
25348 * intl/tst-gettext6.sh: Likewise.
25349 * intl/tst-translit.sh: Likewise.
25350 * io/ftwtest-sh: Likewise.
25351 * libio/test-freopen.sh: Likewise.
25352 * locale/gen-translit.pl: Likewise.
25353 * malloc/tst-mtrace.sh: Likewise.
25354 * manual/check-safety.sh: Likewise.
25355 * manual/libc-texinfo.sh: Likewise.
25356 * manual/tsort.awk: Likewise.
25357 * manual/xtract-typefun.awk: Likewise.
25358 * nptl/tst-cancel-wrappers.sh: Likewise.
25359 * nptl/tst-tls6.sh: Likewise.
25360 * posix/globtest.sh: Likewise.
25361 * posix/tst-getconf.sh: Likewise.
25362 * posix/wordexp-tst.sh: Likewise.
25363 * scripts/check-c++-types.sh: Likewise.
25364 * scripts/check-local-headers.sh: Likewise.
25365 * scripts/config.guess: Likewise.
25366 * scripts/config.sub: Likewise.
25367 * scripts/cpp: Likewise.
25368 * scripts/cross-test-ssh.sh: Likewise.
25369 * scripts/documented.sh: Likewise.
25370 * scripts/evaluate-test.sh: Likewise.
25371 * scripts/gen-libc-abis: Likewise.
25372 * scripts/gen-sorted.awk: Likewise.
25373 * scripts/list-fixed-bugs.py: Likewise.
25374 * scripts/merge-test-results.sh: Likewise.
25375 * scripts/mkinstalldirs: Likewise.
25376 * scripts/rellns-sh: Likewise.
25377 * scripts/test-installation.pl: Likewise.
25378 * scripts/update-copyrights: Likewise.
25379 * stdio-common/tst-printf.sh: Likewise.
25380 * stdio-common/tst-unbputc.sh: Likewise.
25381 * stdlib/tst-fmtmsg.sh: Likewise.
25382 * stdlib/tst-setcontext3.sh: Likewise.
25383 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25384 * sysdeps/unix/make-syscalls.sh: Likewise.
25385
253862016-01-06 John David Anglin <dave.anglin@bell.net>
25387
25388 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25389 asm stw with atomic_exchange_rel. Add explanatory comment.
25390 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25391 Likewise.
25392
253932016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25394
25395 [BZ #19122]
25396 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25397 * sysdeps/generic/dl-unistd.h: New file.
25398 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25399
254002016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25401
25402 [BZ #19122]
25403 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25404 * sysdeps/generic/dl-mman.h: New file.
25405 * sysdeps/mach/hurd/dl-mman.h: Likewise.
25406
254072016-01-05 Joseph Myers <joseph@codesourcery.com>
25408
25409 * manual/texinfo.tex: Update to version 2016-01-04.21 with
25410 trailing whitespace removed.
25411 * scripts/config.guess: Update to version 2016-01-01.
25412 * scripts/config.sub: Update to version 2016-01-01.
25413 * scripts/move-if-change: Update from gnulib.
25414
254152016-01-04 Anton Blanchard <anton@samba.org>
25416
25417 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25418 for array indices.
25419 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25420
254212016-01-04 Joseph Myers <joseph@codesourcery.com>
25422
25423 * NEWS: Update copyright dates.
25424 * catgets/gencat.c (print_version): Likewise.
25425 * csu/version.c (banner): Likewise.
25426 * debug/catchsegv.sh: Likewise.
25427 * debug/pcprofiledump.c (print_version): Likewise.
25428 * debug/xtrace.sh (do_version): Likewise.
25429 * elf/ldconfig.c (print_version): Likewise.
25430 * elf/ldd.bash.in: Likewise.
25431 * elf/pldd.c (print_version): Likewise.
25432 * elf/sotruss.sh: Likewise.
25433 * elf/sprof.c (print_version): Likewise.
25434 * iconv/iconv_prog.c (print_version): Likewise.
25435 * iconv/iconvconfig.c (print_version): Likewise.
25436 * locale/programs/locale.c (print_version): Likewise.
25437 * locale/programs/localedef.c (print_version): Likewise.
25438 * login/programs/pt_chown.c (print_version): Likewise.
25439 * malloc/memusage.sh (do_version): Likewise.
25440 * malloc/memusagestat.c (print_version): Likewise.
25441 * malloc/mtrace.pl: Likewise.
25442 * manual/libc.texinfo: Likewise.
25443 * nptl/version.c (banner): Likewise.
25444 * nscd/nscd.c (print_version): Likewise.
25445 * nss/getent.c (print_version): Likewise.
25446 * nss/makedb.c (print_version): Likewise.
25447 * posix/getconf.c (main): Likewise.
25448 * scripts/test-installation.pl: Likewise.
25449 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25450
25451 * All files with FSF copyright notices: Update copyright dates
25452 using scripts/update-copyrights.
25453 * intl/plural.c: Regenerated.
25454 * locale/programs/charmap-kw.h: Likewise.
25455 * locale/programs/locfile-kw.h: Likewise.
25456
254572016-01-02 Helge Deller <deller@gmx.de>
25458
25459 [BZ #19285]
25460 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25461 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25462 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25463 (MADV_xxK_PAGES): Remove.
25464
254652016-01-01 Mike Frysinger <vapier@gentoo.org>
25466
25467 [BZ #15421]
25468 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25469 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25470 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25471 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25472
254732015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25474
25475 [BZ #19408]
25476 * sysdeps/unix/sysv/linux/personality.c: New file.
25477 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25478 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25479 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25480 (sysdep_routines): Add personality.
25481 (tests): Add tst-personality.
25482 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25483 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25484 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25485 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25486 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25487 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25488 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25489 Likewise.
25490 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25491 Likewise.
25492 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25493 Likewise.
25494 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25495 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25496 Likewise.
25497
254982015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25499
25500 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25501 (PATH_ARM_SYSTYPE): Remove.
25502 (PATH_CPUINFO): Likewise.
25503 (IO_BASE_FOOTBRIDGE): Likewise.
25504 (IO_SHIFT_FOOTBRIDGE): Likewise.
25505 (struct platform): Likewise.
25506 (init_iosys): Remove compatibility code for 2.4 kernels.
25507 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25508
255092015-12-29 Florian Weimer <fweimer@redhat.com>
25510
25511 * malloc/tst-malloc-thread-fail.c: New file.
25512 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25513 (tst-malloc-thread-fail): Link against libpthread.
25514
255152015-12-29 Mike Frysinger <vapier@gentoo.org>
25516
25517 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25518 (get_parser): New function.
25519 (main): New function.
25520
255212015-12-29 Rob Wu <rob@robwu.nl>
25522
25523 [BZ #19369]
25524 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25525
255262015-12-29 John David Anglin <danglin@gcc.gnu.org>
25527
25528 [BZ #19270]
25529 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25530
255312015-12-28 Mike Frysinger <vapier@gentoo.org>
25532
25533 [BZ #15421]
25534 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25535
255362015-12-23 Torvald Riegel <triegel@redhat.com>
25537
25538 [BZ #13690]
25539 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25540 after releasing it.
25541 (__lll_robust_unlock): Likewise.
25542 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25543 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25544 (lll_robust_unlock): Likewise.
25545 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25546 Prevent warnings in callers.
25547
255482015-12-23 Florian Weimer <fweimer@redhat.com>
25549
25550 * malloc/arena.c (list_lock): Update comment.
25551
255522015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25553
25554 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25555 __parse_hwcap_and_convert_at_platform to libc.a.
25556
255572015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25558
25559 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25560 platform and feature support for POWER9.
25561 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25562 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25563 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25564 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25565 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25566 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25567 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25568 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25569
255702015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25571
25572 Harmonize generic stdio-lock support with nptl
25573
25574 This fixes build when _IO_funlockfile is a macro, fixes build where
25575 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25576 stack unwind.
25577
25578 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25579 _IO_release_lock ): Use cleanup attribute on new
25580 _IO_acquire_lock_file variable instead of assuming that
25581 _IO_release_lock will be called.
25582 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25583 _IO_acquire_lock_needs_exceptions_enabled.
25584 (_IO_acquire_lock_clear_flags2): New macro.
25585
255862015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25587
25588 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25589
255902015-12-21 Florian Weimer <fweimer@redhat.com>
25591
25592 [BZ #19182]
25593 * malloc/arena.c (list_lock): Document lock ordering requirements.
25594 (free_list_lock): New lock.
25595 (ptmalloc_lock_all): Comment on free_list_lock.
25596 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25597 (detach_arena): Update comment. free_list_lock is now needed.
25598 (_int_new_arena): Use free_list_lock around detach_arena call.
25599 Acquire arena lock after list_lock. Add comment, including FIXME
25600 about incorrect synchronization.
25601 (get_free_list): Switch to free_list_lock.
25602 (reused_arena): Acquire free_list_lock around detach_arena call
25603 and attached threads counter update. Add two FIXMEs about
25604 incorrect synchronization.
25605 (arena_thread_freeres): Switch to free_list_lock.
25606 * malloc/malloc.c (struct malloc_state): Update comments to
25607 mention free_list_lock.
25608
256092015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25610
25611 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25612 Remove functions.
25613 (sloww, sloww1): Accept argument to offset quadrant.
25614 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25615 quadrant.
25616 (__sin, __cos): Consolidate common code into new functions.
25617 (reduce_sincos_1, do_sincos_1): New functions.
25618 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25619
25620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25621 code to new functions.
25622 (reduce_sincos_2, do_sincos_2): New functions.
25623 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25624
25625 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25626 common code for sincos.
25627 (__cos) [!IN_SINCOS]: Likewise.
25628 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25629 New function.
25630 (__sincos): Use it.
25631
256322015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25633
25634 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25635 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25636 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25637
256382015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25639
25640 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25643 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25644 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25645 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25646 index_Prefer_No_VZEROUPPER): New feature.
25647 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25648 Prefer_No_VZEROUPPER for Knights Landing.
25649
25650015-12-18 Torvald Riegel <triegel@redhat.com>
25651
25652 * math/atest-exp2.c (mp_exp_m1): Remove.
25653
256542015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25655
25656 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25657 syscalls.
25658 (__SYSCALL0): New macro.
25659 (__SYSCALL1): Likewise.
25660 (__SYSCALL2): Likewise.
25661 (__SYSCALL3): Likewise.
25662 (__SYSCALL4): Likewise.
25663 (__SYSCALL5): Likewise.
25664 (__SYSCALL6): Likewise.
25665 (__SYSCALL_CONCAT_X): Likewise.
25666 (__SYSCALL_CONCAT): Likewise.
25667 (__SYSCALL_DIST): Likewise.
25668 (__SYSCALL_CALL): Likewise.
25669
256702015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25671
25672 [BZ #19363]
25673 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25674
256752015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25676
25677 [BZ #19375]
25678 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25679 negative subnormals.
25680
256812015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25682
25683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25684 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25685 (INTERNAL_SYSCALL_NCS): Use it.
25686 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25687
256882015-12-16 Florian Weimer <fweimer@redhat.com>
25689
25690 [BZ #19243]
25691 * malloc/arena.c (get_free_list): Remove assert and adjust
25692 reference count handling. Add comment about reused_arena
25693 interaction.
25694 (reused_arena): Add comments abount get_free_list interaction.
25695 * malloc/tst-malloc-thread-exit.c: New file.
25696 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25697 (tst-malloc-thread-exit): Link against libpthread.
25698
256992015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25700
25701 [BZ #19367]
25702 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25703 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25704 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25705 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25706 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25707
257082015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25709
25710 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25711 Silvermont optimizations for Knights Landing.
25712
257132015-12-15 Andreas Schwab <schwab@suse.de>
25714
25715 [BZ #17197]
25716 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25717 immediately after emitting SI.
25718 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25719 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25720 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25721 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25722 * iconvdata/bug-iconv10.c: New file.
25723 * iconvdata/Makefile (tests): Add bug-iconv10.
25724 ($(objpfx)bug-iconv10.out): New rule.
25725
257262015-12-15 Florian Weimer <fweimer@redhat.com>
25727
25728 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25729 aliasing violation.
25730
257312015-12-14 Joseph Myers <joseph@codesourcery.com>
25732
25733 [BZ #18472]
25734 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25735 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25736 conditionals for them.
25737 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25738 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25740 sys/kdaemon.h.
25741 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25742 compat-only syscall, obsoleted in glibc 2.23.
25743 (create_module): Likewise.
25744 (get_kernel_syms): Likewise.
25745 (query_module): Likewise.
25746 (uselib): Likewise.
25747 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25748
257492015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25750
25751 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25752 <linux/version.h>.
25753 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25754 conditional code.
25755 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25756 and ioshift_name initialization.
25757
257582015-12-11 Steve Ellcey <sellcey@imgtec.com>
25759
25760 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25761 Fix indentation.
25762
257632015-12-11 Steve Ellcey <sellcey@imgtec.com>
25764
25765 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25766
257672015-12-11 Steve Ellcey <sellcey@imgtec.com>
25768
25769 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25770
257712015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25772 Jakub Wilk <jwilk@debian.org>
25773
25774 [BZ #19347]
25775 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25776 to change the group of the device to the tty group.
25777
257782015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25779
25780 Split large string section; add truncation advice
25781 * manual/examples/strncat.c: Remove.
25782 This example was misleading, as the code would have undefined
25783 behavior if "hello" was longer than SIZE. Anyway, the manual
25784 shouldn't encourage strncpy+strncat for this sort of thing.
25785 * manual/string.texi (Copying Strings and Arrays): Split into
25786 three sections Copying Strings and Arrays, Concatenating Strings,
25787 and Truncating Strings, as this section was way too long. All
25788 cross-referenced changed. Add advice about string-truncation
25789 functions. Remove misleading strncat example.
25790
257912015-12-10 Carlos O'Donell <carlos@redhat.com>
25792
25793 * manual/nss.texi (NSS Modules Interface): Document
25794 NSS_STATUS_NOTFOUND and SUCCESS.
25795
257962015-12-09 Mike FABIAN <mfabian@redhat.com>
25797
25798 [BZ 18568]
25799 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25800 201505L, for Unicode 8.
25801
258022015-12-09 Carlos O'Donell <carlos@redhat.com>
25803
25804 * locale/C-translit.h: Regenerate.
25805
258062015-12-09 Mike FABIAN <mfabian@redhat.com>
25807
25808 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25809 and U+0153.
25810
258112015-12-09 Joseph Myers <joseph@codesourcery.com>
25812
25813 [BZ #19351]
25814 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25815 expanding log(1+z), compare z rather than its square with epsilon
25816 to determine when to avoid evaluating the expansion.
25817
25818 [BZ #19350]
25819 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25820 Increase overflow threshold.
25821
25822 [BZ #19349]
25823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25824 when small.
25825
25826 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25827 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25828 New macro.
25829 [__LINUX_KERNEL_VERSION >= 0x040300]
25830 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25831 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25832 Likewise.
25833 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25834 Likewise.
25835 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25836 Likewise.
25837 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25838 Likewise.
25839 [__LINUX_KERNEL_VERSION >= 0x040300]
25840 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25841 [__LINUX_KERNEL_VERSION >= 0x040300]
25842 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25843 [__LINUX_KERNEL_VERSION >= 0x040300]
25844 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25845 [__LINUX_KERNEL_VERSION >= 0x040300]
25846 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25847 [__LINUX_KERNEL_VERSION >= 0x040300]
25848 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25849 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25850 Likewise.
25851 [__LINUX_KERNEL_VERSION >= 0x040300]
25852 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25853 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25854 Likewise.
25855 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25856 Likewise.
25857 [__LINUX_KERNEL_VERSION >= 0x040300]
25858 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25859 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25860 Likewise.
25861 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25862 Likewise.
25863 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25864 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25865 Likewise.
25866 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25867 Likewise.
25868 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25869 Likewise.
25870 [__LINUX_KERNEL_VERSION >= 0x040300]
25871 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25872 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25873 Likewise.
25874 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25875 Likewise.
25876 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25877 Likewise.
25878 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25879 Likewise.
25880 [__LINUX_KERNEL_VERSION >= 0x040300]
25881 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25882 [__LINUX_KERNEL_VERSION >= 0x040300]
25883 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25884 [__LINUX_KERNEL_VERSION >= 0x040300]
25885 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25886 [__LINUX_KERNEL_VERSION >= 0x040300]
25887 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25888 [__LINUX_KERNEL_VERSION >= 0x040300]
25889 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25890 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25891 Likewise.
25892 [__LINUX_KERNEL_VERSION >= 0x040300]
25893 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25894 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25895 Likewise.
25896 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25897 Likewise.
25898 [__LINUX_KERNEL_VERSION >= 0x040300]
25899 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25900 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25901 Likewise.
25902 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25903 Likewise.
25904 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25905 (__ASSUME_SOCKET_SYSCALL): Likewise.
25906 (__ASSUME_BIND_SYSCALL): Likewise.
25907 (__ASSUME_CONNECT_SYSCALL): Likewise.
25908 (__ASSUME_LISTEN_SYSCALL): Likewise.
25909 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25910 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25911 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25912 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25913 (__ASSUME_SEND_SYSCALL): Likewise.
25914 (__ASSUME_SENDTO_SYSCALL): Likewise.
25915 (__ASSUME_RECV_SYSCALL): Likewise.
25916 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25917 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25918 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25919 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25920 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25921 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25922 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25923 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25924 Likewise.
25925 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25926 Likewise.
25927 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25928 Likewise.
25929 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25930 Likewise.
25931 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25932 Likewise.
25933 [__LINUX_KERNEL_VERSION >= 0x020625]
25934 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25935 [__LINUX_KERNEL_VERSION >= 0x020625]
25936 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25937 [__LINUX_KERNEL_VERSION >= 0x020625]
25938 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25939 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25940 Likewise.
25941 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25942 Likewise.
25943 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25944 Likewise.
25945 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25946 Likewise.
25947 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25948 Likewise.
25949 [__LINUX_KERNEL_VERSION >= 0x020625]
25950 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25951 [__LINUX_KERNEL_VERSION >= 0x020625]
25952 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25953 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25954 Likewise.
25955 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25956 Likewise.
25957
259582015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25959
25960 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25961 record the current if the current ABI and CPU support the FP64
25962 extension.
25963 (has-modd-spreg): Define to record the current if the current ABI and
25964 CPU support 32-bit floating point values in odd FPU registers.
25965 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25966 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25967 $(has-modd-spreg) equals yes.
25968 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25969 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25970 $(has-modd-spreg) equal yes.
25971
259722015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25973
25974 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25975 basename.
25976
259772015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25978
25979 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25980 (bench-string): ... here.
25981 (bench): Add bench-string.
25982 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25983 to *-benchset to reflect what they are.
25984 (benchset): Adjust.
25985
25986 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25987 cos-inputs.
25988
259892015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25990
25991 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25992 __attribute__ ((__simd__)) for vector math function declarations.
25993
259942015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25995
25996 Fix typo in strncat, wcsncat manual entries
25997 * manual/string.texi (Copying and Concatenation): Fix typos in
25998 sample implementations of strncat and wcsncat, by having them use
25999 the old value of the destination length, not the new one.
26000
260012015-12-04 Joseph Myers <joseph@codesourcery.com>
26002
26003 [BZ #16961]
26004 [BZ #16962]
26005 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
26006 string on the stack for strtod.
26007 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
26008 a string on the stack for strtof.
26009 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
26010 constructing a string on the stack for strtold.
26011 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
26012 __strtold_nan to GLIBC_PRIVATE.
26013 * math/test-nan-overflow.c: New file.
26014 * math/test-nan-payload.c: Likewise.
26015 * math/Makefile (tests): Add test-nan-overflow and
26016 test-nan-payload.
26017
260182015-12-04 Paul Eggert <eggert@cs.ucla.edu>
26019
26020 Consistency about byte vs character in string.texi
26021 * manual/string.texi (String and Array Utilities):
26022 Distinguish more carefully among bytes, multibyte characters,
26023 and wide characters. Use "byte" when talking about C 'char',
26024 to distinguish it more clearly from multibyte characters.
26025 Say "wide character" or "multibyte character" instead of
26026 "character", when a wide or multibyte character is intended.
26027 Similarly for "multibyte string" versus "string".
26028 Define these terms more carefully.
26029
260302015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
26031
26032 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
26033 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
26034 Likewise.
26035 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26036 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26037 * sysdeps/sh/math_private.h: New file.
26038 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
26039 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
26040 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
26041 long double function name.
26042 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26043 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26044 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
26048 Remove __finitel, __isinfl, and __isnanl.
26049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26050 Likewise.
26051 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26053 Remove __finitel.
26054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26055 Likewise.
26056 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26057
260582015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
26059
26060 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
26061 installed libmvec_nonshared.a.
26062
260632015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26064
26065 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
26066 (sysdep_routines): Likewise.
26067 (sysdep-rtld-routines): Likewise.
26068 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
26069 [$(subdir) = nptl](tests-static): test-get_hwcap-static
26070 * sysdeps/powerpc/Versions: Added new
26071 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
26072 * sysdeps/powerpc/hwcapinfo.c: New file.
26073 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
26074 and parse hwcap, hwcap2 and platform number information.
26075 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
26076 to store HWCAP+HWCAP2 and platform number.
26077 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
26078 for HWCAP+HWCAP2 and platform number in the TCB.
26079 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
26080 the HWCAP, HWCAP2 and platform number in the TCB.
26081 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
26082 (TLS_INIT_TP): Included calls to add the hwcap and
26083 at_platform values in the TCB in TP initialization.
26084 (TLS_DEFINE_INIT_TP): Likewise.
26085 (THREAD_GET_HWCAP): New macro.
26086 (THREAD_SET_HWCAP): Likewise.
26087 (THREAD_GET_AT_PLATFORM): Likewise.
26088 (THREAD_SET_AT_PLATFORM): Likewise.
26089 * sysdeps/powerpc/powerpc32/dl-machine.h:
26090 (dl_platform_init): New function that calls
26091 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
26092 powerpc32.
26093 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
26094 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
26095 this functionality, static linking case.
26096 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
26097 linking case.
26098 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
26099 __parse_hwcap_and_convert_at_platform for the static linking case.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
26101 Included the new __parse_hwcap_and_convert_at_platform symbol in the
26102 ABI list for GLIBC 2.23.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
26104 Likewise.
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
26106 Likewise.
26107
261082015-12-02 Ludovic Courtès <ludo@gnu.org>
26109
26110 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
26111 * configure: Regenerate.
26112 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
26113 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
26114
261152015-12-02 Carlos O'Donell <carlos@redhat.com>
26116
26117 * iconvdata/ibm930.c: Add comment explaining encoding uses.
26118 * iconvdata/ibm933.c: Likewise.
26119 * iconvdata/ibm935.c: Likewise.
26120 * iconvdata/ibm937.c: Likewise.
26121 * iconvdata/ibm939.c: Likewise.
26122
261232015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26124
26125 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
26126 pthread_join.
26127 * nptl/tst-cancel21.c (tf): Likewise.
26128
261292015-12-01 H.J. Lu <hongjiu.lu@intel.com>
26130
26131 [BZ #19313]
26132 * bits/typesizes.h (__CPU_MASK_TYPE): New.
26133 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26134 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26135 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
26136 Likewise.
26137 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
26138 Likewise.
26139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
26140 Likewise.
26141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
26142 Likewise.
26143 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
26144 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
26145 unsigned long int with __CPU_MASK_TYPE.
26146
261472015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26148
26149 * sysdeps/aarch64/libm-test-ulps: Regenerated.
26150
261512015-12-01 Joseph Myers <joseph@codesourcery.com>
26152
26153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
26154 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
26155 t512.x.
26156 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
26157
261582015-11-30 Amit Pawar <amit.pawar@amd.com>
26159
26160 [BZ #19214]
26161 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
26162 argument to return extended model. Update family and model
26163 with extended family and model when family == 0x0f.
26164 (init_cpu_features): Updated.
26165
261662015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26167
26168 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
26169 signed off_t, so 32bit bigger than 2GiB values are fine actually.
26170
26171 * sysdeps/mach/hurd/mmap64.c: New file.
26172
261732015-11-29 Thomas Schwinge <thomas@codesourcery.com>
26174
26175 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
26176 rights for its main user thread in NEWTASK.
26177
261782015-11-28 Maciej W. Rozycki <macro@imgtec.com>
26179
26180 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
26181 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
26182
261832015-11-27 Carlos O'Donell <carlos@redhat.com>
26184
26185 [BZ #14259]
26186 * Makeconfig: Rename localedir to complocaledir.
26187 Rename inst_localedir to inst_complocaledir.
26188 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26189 * config.make.in: Use complocaledir and libc_cv_complocaledir.
26190 * configure.ac: Use libc_cv_complocaledir.
26191 * configure: Regenerate.
26192 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26193 -DCOMPLOCALEDIR.
26194 * locale/findlocale.c: Use COMPLOCALEDIR.
26195 * locale/loadarchive.c: Likewise.
26196 * locale/programs/locale.c: Likewise.
26197 * locale/programs/localedef.c: Likewise.
26198 * locale/programs/locarchive.c: Likewise.
26199 * localedata/Makefile: Use inst_complocaledir.
26200 * sysdeps/gnu/configure: Regenerate.
26201 * sysdeps/hppa/configure: Regenerate.
26202 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26203 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26205 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26206 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26207 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26208 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26209
262102015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
26211
26212 [BZ #19058]
26213 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26214 AS_NEEDED.
26215 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26216 workaround.
26217 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26218 libmvec-static-only-routines): Added new file.
26219 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26220
262212015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
26222
26223 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26224 of interrupted RPC instead of restoring it.
26225
26226 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26227 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26228 libc_hidden_def.
26229 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26230 into initialized data instead of common. Define rtld_hidden_data_def.
26231 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26232 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26233 libc_hidden_def.
26234 (if_freenameindex): Add libc_hidden_weak.
26235 (if_nameindex): Add libc_hidden_weak.
26236 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26237 __open64.
26238 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26239 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26240 * sysdeps/mach/nanosleep.c: Include <time.h>
26241 (__nanosleep): Rename to __libc_nanosleep.
26242 (__nanosleep): Add weak_alias.
26243 (nanosleep): Update alias.
26244
262452015-11-24 Joseph Myers <joseph@codesourcery.com>
26246
26247 * stdlib/strtod_nan.c: New file.
26248 * stdlib/strtod_nan_double.h: Likewise.
26249 * stdlib/strtod_nan_float.h: Likewise.
26250 * stdlib/strtod_nan_main.c: Likewise.
26251 * stdlib/strtod_nan_narrow.h: Likewise.
26252 * stdlib/strtod_nan_wide.h: Likewise.
26253 * stdlib/strtof_nan.c: Likewise.
26254 * stdlib/strtold_nan.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26256 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26257 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26258 * wcsmbs/wcstod_nan.c: Likewise.
26259 * wcsmbs/wcstof_nan.c: Likewise.
26260 * wcsmbs/wcstold_nan.c: Likewise.
26261 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26262 strtold_nan.
26263 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26264 wcstof_nan.
26265 * include/stdlib.h (__strtof_nan): Declare and use
26266 libc_hidden_proto.
26267 (__strtod_nan): Likewise.
26268 (__strtold_nan): Likewise.
26269 (__wcstof_nan): Likewise.
26270 (__wcstod_nan): Likewise.
26271 (__wcstold_nan): Likewise.
26272 * include/wchar.h (____wcstoull_l_internal): Declare.
26273 * stdlib/strtod_l.c: Do not include <ieee754.h>.
26274 (____strtoull_l_internal): Remove declaration.
26275 (STRTOF_NAN): Define macro.
26276 (SET_MANTISSA): Remove macro.
26277 (STRTOULL): Likewise.
26278 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26279 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26280 (STRTOF_NAN): Define macro.
26281 (SET_MANTISSA): Remove macro.
26282 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26283 (SET_MANTISSA): Remove macro.
26284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26285 macro.
26286 (SET_MANTISSA): Remove macro.
26287 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26288 macro.
26289 (SET_MANTISSA): Remove macro.
26290 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26291 (SET_MANTISSA): Remove macro.
26292 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26293 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26294 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26295
26296 [BZ #19266]
26297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26298 upper case and lower case letters inside NAN(), not using TOLOWER.
26299 * stdlib/tst-strtod-nan-locale-main.c: New file.
26300 * stdlib/tst-strtod-nan-locale.c: Likewise.
26301 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26302 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26303 Depend on $(gen-locales).
26304 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26305 * wcsmbs/tst-wcstod-nan-locale.c: New file.
26306 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26307 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26308 Depend on $(gen-locales).
26309 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26310
263112015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
26312
26313 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26314
26315 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26317 __finitel, __isinfl, and __isnanl.
26318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26319 Likewise.
26320 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26322 __finitel.
26323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26324 Likewise.
26325 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26326
263272015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26328
26329 * malloc/memusage.c (me): Remove redundant getenv call.
26330
263312015-10-24 Florian Weimer <fweimer@redhat.com>
26332
26333 [BZ #19143]
26334 [BZ #19164]
26335 * nptl/check-cpuset.h: Remove.
26336 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26337 Remove CPU set size check.
26338 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26339 Likewise.
26340 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26341 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26342 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26343 (__pthread_setaffinity_new): Remove CPU set size check.
26344 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26345 (__kernel_cpumask_size): Remove.
26346 (__sched_setaffinity_new): Remove CPU set size check.
26347 * manual/threads.texi (Default Thread Attributes): Remove stale
26348 reference to check_cpuset_attr, determine_cpumask_size in comment.
26349 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26350 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
26351 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26352 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26353 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26354 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26355 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26356 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26357 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26358 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26359 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26360 skeleton test file.
26361 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
26362 tst-affinity-pid.
26363
263642015-11-24 Florian Weimer <fweimer@redhat.com>
26365
26366 * scripts/update-abilist.sh: New file.
26367 * Makefile (+subdir_targets): Add subdir_update-all-abi.
26368 * Makerules (update-all-abi-%, update-all-abi)
26369 (subdir_update-all-abi): New targets.
26370 * elf/Makefile (update-all-abi): New target.
26371
263722015-11-24 Florian Weimer <fweimer@redhat.com>
26373
26374 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26375 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26376 (__libc_lock_define_initialized): Use it.
26377 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26378 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26379 * malloc/malloc.c (main_arena): Likewise.
26380 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26381 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26382
263832015-11-23 Joseph Myers <joseph@codesourcery.com>
26384
26385 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26386 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26387 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26388 (PTRACE_O_MASK): Update value.
26389 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26390 New value in enum __ptrace_setoptions.
26391 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26392 (PTRACE_O_MASK): Update value.
26393 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26394 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26395 (PTRACE_O_MASK): Update value.
26396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26397 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26398 (PTRACE_O_MASK): Update value.
26399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26400 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26401 (PTRACE_O_MASK): Update value.
26402 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26403 New value in enum __ptrace_setoptions.
26404 (PTRACE_O_MASK): Update value.
26405 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26406 New value in enum __ptrace_setoptions.
26407 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26408 (PTRACE_O_MASK): Update value.
26409
26410 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26411 New macro.
26412 (PACKET_AUXDATA): Likewise.
26413 (PACKET_ORIGDEV): Likewise.
26414 (PACKET_VERSION): Likewise.
26415 (PACKET_HDRLEN): Likewise.
26416 (PACKET_RESERVE): Likewise.
26417 (PACKET_TX_RING): Likewise.
26418 (PACKET_LOSS): Likewise.
26419 (PACKET_VNET_HDR): Likewise.
26420 (PACKET_TX_TIMESTAMP): Likewise.
26421 (PACKET_TIMESTAMP): Likewise.
26422 (PACKET_FANOUT): Likewise.
26423 (PACKET_TX_HAS_OFF): Likewise.
26424 (PACKET_QDISC_BYPASS): Likewise.
26425 (PACKET_ROLLOVER_STATS): Likewise.
26426 (PACKET_FANOUT_DATA): Likewise.
26427 (PACKET_MR_UNICAST): Likewise.
26428
26429 [BZ #19242]
26430 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26431 (TOUPPER): Likewise.
26432 * stdlib/tst-strtol-locale-main.c: New file.
26433 * stdlib/tst-strtol-locale.c: Likewise.
26434 * stdlib/Makefile (tests): Add tst-strtol-locale.
26435 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26436 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26437 Depend on $(gen-locales).
26438 * wcsmbs/tst-wcstol-locale.c: New file.
26439 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26440 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26441 tr_TR.ISO-8859-9.
26442 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26443 Depend on $(gen-locales).
26444
264452015-11-20 Roland McGrath <roland@hack.frob.com>
26446
26447 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26448 __glibc_likely instead of __builtin_expect. After falling back to
26449 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26450 system interface to register the code pages as occupied.
26451
264522015-11-20 Joseph Myers <joseph@codesourcery.com>
26453
26454 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26455 [!ARM_MATH_PRIVATE_H].
26456 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26457 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26458 [!HPPA_MATH_PRIVATE_H].
26459 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26460 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26461 to [!I386_MATH_PRIVATE_H].
26462 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26463 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26464 Change guard to [!M68K_MATH_PRIVATE_H].
26465 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26466 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26467 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26468 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26469 macro.
26470 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26471 [!MIPS_MATH_PRIVATE_H].
26472 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26473 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26474 [!NIO2_MATH_PRIVATE_H].
26475 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26476 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26477 [!TILE_MATH_PRIVATE_H].
26478 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26479
26480 [BZ #15421]
26481 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26482 initialize with 0 and define as weak alias of __signgam.
26483 * include/math.h [!_ISOMAC] (__signgam): Declare.
26484 * math/Makefile (libm-calls): Add w_lgamma_compat.
26485 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26486 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26487 test-signgam-ullong-init.
26488 (tests-static): Add test-signgam-uchar-static,
26489 test-signgam-uchar-init-static, test-signgam-uint-static,
26490 test-signgam-uint-init-static, test-signgam-ullong-static and
26491 test-signgam-ullong-init-static.
26492 (CFLAGS-test-signgam-uchar.c): New variable.
26493 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26494 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26495 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26496 (CFLAGS-test-signgam-uint.c): Likewise.
26497 (CFLAGS-test-signgam-uint-init.c): Likewise.
26498 (CFLAGS-test-signgam-uint-static.c): Likewise.
26499 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26500 (CFLAGS-test-signgam-ullong.c): Likewise.
26501 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26502 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26503 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26504 * math/Versions (libm): Add GLIBC_2.23.
26505 * math/lgamma-compat.h: New file.
26506 * math/test-signgam-main.c: Likewise.
26507 * math/test-signgam-uchar-init-static.c: Likewise.
26508 * math/test-signgam-uchar-init.c: Likewise.
26509 * math/test-signgam-uchar-static.c: Likewise.
26510 * math/test-signgam-uchar.c: Likewise.
26511 * math/test-signgam-uint-init-static.c: Likewise.
26512 * math/test-signgam-uint-init.c: Likewise.
26513 * math/test-signgam-uint-static.c: Likewise.
26514 * math/test-signgam-uint.c: Likewise.
26515 * math/test-signgam-ullong-init-static.c: Likewise.
26516 * math/test-signgam-ullong-init.c: Likewise.
26517 * math/test-signgam-ullong-static.c: Likewise.
26518 * math/test-signgam-ullong.c: Likewise.
26519 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26520 wrapper of w_lgamma_main.c.
26521 * math/w_lgamma_compat.c: New file.
26522 * math/w_lgamma_compatf.c: Likewise.
26523 * math/w_lgamma_compatl.c: Likewise.
26524 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26525 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26526 defining compatibility symbols.
26527 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26528 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26529 wrapper of w_lgammaf_main.c.
26530 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26531 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26532 defining compatibility symbols.
26533 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26534 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26535 wrapper of w_lgammal_main.c.
26536 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26537 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26538 defining compatibility symbols.
26539 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26540 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26541 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26542 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26543 <lgamma-compat.h>.
26544 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26545 (__ieee754_gamma): Define as alias.
26546 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26547 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26548 <lgamma-compat.h>.
26549 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26550 (__ieee754_gammaf): Define as alias.
26551 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26552 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26553 <lgamma-compat.h>.
26554 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26555 (__ieee754_gammal): Define as alias.
26556 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26557 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26558 <math/w_lgamma_compat.c>.
26559 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26560 Define as alias of __lgamma_compat and use in defining lgammal.
26561 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26562 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26563 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26564 (USE_AS_COMPAT): New macro.
26565 (LGAMMA_OLD_VER): Undefine and redefine.
26566 (lgammal): Do not define here.
26567 (gammal): Only define here if [GAMMA_ALIAS].
26568 * conform/linknamespace.pl (@whitelist): Remove signgam.
26569 * sysdeps/nacl/libm.abilist: Update.
26570 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26571 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26572 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26573 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26574 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26575 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26576 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26577 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26578 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26579 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26580 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26581 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26583 Likewise.
26584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26585 Likewise.
26586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26587 Likewise.
26588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26589 Likewise.
26590 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26591 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26592 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26593 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26594 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26596 Likewise.
26597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26598 Likewise.
26599 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26600 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26601 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26602
266032015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26604
26605 [BZ #16364]
26606 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26607 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26608
266092015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26610
26611 * sysdeps/s390/fpu/bits/mathinline.h:
26612 Use __asm__ [__volatile__] instead of asm [volatile].
26613 * sysdeps/s390/abort-instr.h: Likewise.
26614 * sysdeps/s390/atomic-machine.h: Likewise.
26615 * sysdeps/s390/bits/string.h: Likewise.
26616 * sysdeps/s390/dl-tls.h: Likewise.
26617 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26618 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26619 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26620 * sysdeps/s390/fpu/fesetround.c: Likewise.
26621 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26622 * sysdeps/s390/fpu/s_fma.c: Likewise.
26623 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26624 * sysdeps/s390/memusage.h: Likewise.
26625 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26626 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26627 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26628 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26629 * sysdeps/s390/nptl/tls.h: Likewise.
26630 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26631 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26632 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26633 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26634 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26635 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26636 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26637 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26638 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26639 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26640 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26641 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26642 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26643 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26644 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26645 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26646 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26647 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26648 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26650 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26652 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26653
266542015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26655 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26656
26657 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26658 Add lwarx hint, and use macro for acquire instruction.
26659 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26660 Likewise.
26661 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26662 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26663 update to use new atomic macros.
26664
266652015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26666
26667 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26668 (__lll_trylock_elision): Fix setting of adapt_count.
26669 * sysdeps/unix/sysv/linux/powerpc/htm.h
26670 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26671 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26672 (_ABORT_SYSCALL): Renumber, and clarify definition.
26673 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26674
266752015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26676
26677 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26678 after system headers to prevent MIN/MAX redefinition. Define
26679 HAVE_ALLOCA to preserve builtin alloca usage.
26680
266812015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26682
26683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26684 static and don't set or restore rounding.
26685 (__cos)[IN_SINCOS]: Likewise.
26686 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26687 (__sincos): Set and restore rounding mode. Remove check for infinite
26688 or NaN input.
26689
26690 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26691
26692 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26693 as used.
26694
266952015-11-16 Florian Weimer <fweimer@redhat.com>
26696
26697 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26698
266992015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26700
26701 * config.make.in (have-glob-dat-reloc): New.
26702 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26703 target supports GLOB_DAT relocaton. AC_SUBST.
26704 * configure: Regenerated.
26705 * elf/Makefile (tests): Add tst-prelink.
26706 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26707 (tst-prelink-ENV): New.
26708 ($(objpfx)tst-prelink-conflict.out): Likewise.
26709 ($(objpfx)tst-prelink-cmp.out): Likewise.
26710 * sysdeps/x86/tst-prelink.c: Moved to ...
26711 * elf/tst-prelink.c: Here.
26712 * sysdeps/x86/tst-prelink.exp: Moved to ...
26713 * elf/tst-prelink.exp: Here.
26714 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26715 (tst-prelink-ENV): Removed.
26716 ($(objpfx)tst-prelink-conflict.out): Likewise.
26717 ($(objpfx)tst-prelink-cmp.out): Likewise.
26718 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26719
267202015-11-13 Joseph Myers <joseph@codesourcery.com>
26721
26722 [BZ #14551]
26723 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26724 (__mpn_construct_long_double): If high part overflows to infinity,
26725 set errno and recompute overflowed result of the correct sign.
26726 * sysdeps/ieee754/ldbl-128ibm/Makefile
26727 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26728 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26729 $(libm).
26730 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26731
267322015-11-12 Joseph Myers <joseph@codesourcery.com>
26733
26734 [BZ #15479]
26735 [BZ #19238]
26736 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26737 floating-point state after first operation on input. Restore full
26738 state rather than just rounding mode.
26739 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26740 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26741 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26742
26743 [BZ #19235]
26744 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26745 add 0.5 to integer arguments.
26746 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26747 Likewise.
26748 (.LC2): New object.
26749
267502015-11-11 Mike Frysinger <vapier@gentoo.org>
26751
26752 * scripts/pylintrc (reports): Set to no.
26753
267542015-11-10 Roland McGrath <roland@hack.frob.com>
26755
26756 * elf/dl-load.c (open_verify): Take new argument FD.
26757 Skip __open call if passed FD is not -1.
26758 (_dl_map_object, open_path): Update callers.
26759 * elf/dl-sysdep-open.h: New file.
26760 * elf/dl-load.c: Include it.
26761 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26762 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26763 * sysdeps/nacl/dl-sysdep-open.h: New file.
26764 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26765 from libc to rtld.
26766
267672015-11-10 Joseph Myers <joseph@codesourcery.com>
26768
26769 [BZ #19228]
26770 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26771 and restore full floating-point state.
26772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26773 Likewise.
26774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26775 Likewise.
26776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26777 Likewise.
26778 * math/test-nearbyint-except-2.c: New file.
26779 * math/Makefile (tests): Add test-nearbyint-except-2.
26780
267812015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26782
26783 [BZ #19178]
26784 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26785 (tst-prelink-ENV): New.
26786 ($(objpfx)tst-prelink-conflict.out): Likewise.
26787 ($(objpfx)tst-prelink-cmp.out): Likewise.
26788 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26789 * sysdeps/x86/tst-prelink.c: New file.
26790 * sysdeps/x86/tst-prelink.exp: Likewise.
26791
267922015-11-10 Joseph Myers <joseph@codesourcery.com>
26793
26794 * math/auto-libm-test-in: Add another test of pow.
26795 * math/auto-libm-test-out: Regenerated.
26796 * math/libm-test.inc (pow_test_data): Add another test.
26797
267982015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26799
26800 [BZ #19219]
26801 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26802 weak_alias to nearbyintl.
26803
268042015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26805
26806 * sysdeps/aarch64/bits/string.h: New file.
26807 (_STRING_ARCH_unaligned): Define.
26808
268092015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26810
26811 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26812 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26813 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26814 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26816
268172015-11-09 Ulrich Drepper <drepper@gmail.com>
26818
26819 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26820 for original name of the DSO. Add it to the name list of the DSO
26821 if it is actually given.
26822 (_dl_map_object): Keep track of whether an audit module rewrote
26823 the file name. If yes, pass the original name to
26824 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26825 debugging is enabled, log the change of the file name.
26826 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26827 _dl_map_object_from_fd.
26828 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26829 * elf/tst-audit11.c: New file
26830 * elf/tst-auditmod11.c: New file.
26831 * elf/tst-audit11mod1.c: New file.
26832 * elf/tst-audit11mod2.c: New file.
26833 * elf/tst-audit11mod2.map: New file.
26834 * elf/tst-audit12.c: New file
26835 * elf/tst-auditmod12.c: New file.
26836 * elf/tst-audit12mod1.c: New file.
26837 * elf/tst-audit12mod2.c: New file.
26838 * elf/tst-audit12mod2.map: New file.
26839 * elf/tst-audit12mod3.c: New file.
26840
268412015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26842
26843 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26844 Don't create weak aliases,
26845 because versioned symbols are created later.
26846 * sysdeps/s390/s390-32/setjmp.S
26847 (setjmp, _setjmp): Remove weak and rename to an unique name
26848 in SHARED case due to existing versioned symbols.
26849 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26850 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26851 (getcontext): Create weak alias only in non SHARED case.
26852 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26853
268542015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26855
26856 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26857 (__ASSUME_*_SYSCALL) Define new macros.
26858 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26859 Remove socketcall syscalls.
26860 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26861 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26862 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26863 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26864 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26865 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26866
268672015-11-09 Florian Weimer <fweimer@redhat.com>
26868
26869 [BZ #12926]
26870 Terminate process on invalid netlink response.
26871 * sysdeps/unix/sysv/linux/netlinkaccess.h
26872 (__netlink_assert_response): Declare.
26873 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26874 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26875 (sysdep_routines): Add netlink_assert_response.
26876 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26877 __netlink_assert_response.
26878 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26879 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26880 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26881 __netlink_assert_response.
26882
268832015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26884
26885 [BZ #19178]
26886 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26887 (RTYPE_CLASS_PLT): Likewise.
26888 (RTYPE_CLASS_COPY): Likewise.
26889 (RTYPE_CLASS_TLS): Likewise.
26890 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26891 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26892 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26893 DL_DEBUG_PRELINK.
26894
268952015-11-06 Joseph Myers <joseph@codesourcery.com>
26896
26897 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26898 calls with argument -0.5.
26899 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26900
26901 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26902 (libc_cv_z_nodlopen): Likewise.
26903 (libc_cv_z_initfirst): Likewise.
26904 * configure: Regenerated.
26905
269062015-11-06 Florian Weimer <fweimer@redhat.com>
26907
26908 Simplify abilist format to be line-based.
26909 * scripts/abilist.awk: Collect descriptors in the descs variable.
26910 (emit): Write descs variable and sort it
26911 externally, with sort.
26912 * sysdeps/**/*.abilist: Convert to new format.
26913
269142015-11-06 Mark Wielaard <mjw@redhat.com>
26915
26916 [BZ #11460]
26917 * io/Makefile (routines): Add fts64.
26918 (tests): Add tst-fts and tst-fts-lfs.
26919 (CFLAGS-fts64.c): New.
26920 * io/Versions (GLIBC_2.23): New.
26921 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26922 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26923 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26924 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26925 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26926 (FTSENT64): Likewise.
26927 (fts64_children): Likewise.
26928 (fts64_close): Likewise.
26929 (fts64_open): Likewise.
26930 (fts64_read): Likewise.
26931 (fts64_set): Likewise.
26932 * io/fts64.c: New file.
26933 * io/tst-fts.c: New test.
26934 * io/tst-fts-lfs.c: Likewise.
26935 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26936 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26937 fts64_set.
26938 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26939 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26940 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26941 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26942 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26943 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26944 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26945 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26946 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26947 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26948 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26949 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26950 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26952 Likewise.
26953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26954 Likewise.
26955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26957 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26958 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26959 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26960 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26961 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26964 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26965 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26966 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26967 * sysdeps/wordsize-64/fts.c: New file.
26968 * sysdeps/wordsize-64/fts64.c: Likewise.
26969 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26970 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26971 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26972 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26973
269742015-11-05 Joseph Myers <joseph@codesourcery.com>
26975
26976 * math/libm-test.inc (NON_FINITE): New macro.
26977 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26978 * math/gen-libm-test.pl (show_exceptions): Add argument
26979 $non_finite.
26980 (parse_args): Update call to show_exceptions.
26981 * math/test-math-finite.h: New file.
26982 * math/test-math-no-finite.h: Likewise.
26983 * math/test-double-finite.c: Likewise.
26984 * math/test-float-finite.c: Likewise.
26985 * math/test-ldouble-finite.c: Likewise.
26986 * math/test-double.c: Include "test-math-no-finite.h".
26987 * math/test-float.c: Include "test-math-no-finite.h".
26988 * math/test-ldouble.c: Include "test-math-no-finite.h".
26989 * math/test-math-inline.h (TEST_FINITE): New macro.
26990 * math/test-math-vector.h (TEST_FINITE): Likewise.
26991 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26992 (libm-tests): Add test-float-finite and test-double-finite.
26993 ($(objpfx)test-float-finite.o): New dependency on
26994 $(objpfx)libm-test.stmp.
26995 ($(objpfx)test-double-finite.o): Likewise.
26996 ($(objpfx)test-ldouble-finite.o): Likewise.
26997 (libm-test-no-inline-cflags): New variable.
26998 (libm-test-finite-cflags): Likewise.
26999 (CFLAGS-test-float-finite.c): Likewise.
27000 (CFLAGS-test-double-finite.c): Likewise.
27001 (CFLAGS-test-ldouble-finite.c): Likewise.
27002 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
27003 (CFLAGS-test-double.c): Likewise.
27004 (CFLAGS-test-ldouble.c): Likewise.
27005
270062015-11-05 Roland McGrath <roland@hack.frob.com>
27007
27008 * io/fcntl.c (__fcntl): Add ... to prototype.
27009 * misc/ioctl.c (__ioctl): Likewise.
27010 * misc/syscall.c (syscall): Likewise.
27011
270122015-11-05 Joseph Myers <joseph@codesourcery.com>
27013
27014 * scripts/list-fixed-bugs.py: New file.
27015
27016 [BZ #19213]
27017 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
27018 returned for argument 1.
27019 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
27020 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
27021 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
27022 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
27023 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
27024 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
27025
27026 [BZ #19211]
27027 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
27028 __USE_XOPEN], not if [!__USE_ISOC99].
27029 (lgammaf): Likewise.
27030 (lgammal): Likewise.
27031 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
27032 (gammaf): Likewise.
27033 (gammal): Likewise.
27034 * math/test-signgam-finite-c11.c: New file.
27035 * math/test-signgam-finite-c99.c: Likewise.
27036 * math/test-signgam-finite.c: Likewise.
27037 * math/Makefile (tests): Add test-signgam-finite,
27038 test-signgam-finite-c99 and test-signgam-finite-c11.
27039 (CFLAGS-test-signgam-finite.c): New variable.
27040 (CFLAGS-test-signgam-finite-c99.c): Likewise.
27041 (CFLAGS-test-signgam-finite-c11.c): Likewise.
27042
27043 [BZ #19212]
27044 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
27045 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
27046 500].
27047 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
27048 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
27049 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
27050 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
27051 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
27052 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
27053 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
27054 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
27055 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
27056 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
27057
27058 [BZ #19209]
27059 * math/bits/math-finite.h (ldexp): Remove declaration.
27060 (ldexpf): Likewise.
27061 (ldexpl): Likewise.
27062
27063 [BZ #19205]
27064 * math/bits/math-finite.h (acosf): Condition declaration on
27065 [__USE_ISOC99].
27066 (acosl): Likewise.
27067 (acoshf): Likewise.
27068 (acoshl): Likewise.
27069 (asinf): Likewise.
27070 (asinl): Likewise.
27071 (atan2f): Likewise.
27072 (atan2l): Likewise.
27073 (atanhf): Likewise.
27074 (atanhl): Likewise.
27075 (coshf): Likewise.
27076 (coshl): Likewise.
27077 (expf): Likewise.
27078 (expl): Likewise.
27079 (fmodf): Likewise.
27080 (fmodl): Likewise.
27081 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
27082 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
27083 (j0l): Likewise.
27084 (y0f): Likewise.
27085 (y0l): Likewise.
27086 (j1f): Likewise.
27087 (j1l): Likewise.
27088 (y1f): Likewise.
27089 (y1l): Likewise.
27090 (jnf): Likewise.
27091 (jnl): Likewise.
27092 (ynf): Likewise.
27093 (ynl): Likewise.
27094 (lgammaf_r): Condition declaration on [__USE_ISOC99].
27095 (lgammal_r): Likewise.
27096 (__lgamma_r_finite): New declaration.
27097 (__lgammaf_r_finite): Likewise.
27098 (__lgammal_r_finite): Likewise.
27099 (lgamma): Use __lgamma_r_finite.
27100 (lgammaf): Condition definition on [__USE_ISOC99]. Use
27101 __lgammaf_r_finite.
27102 (lgammal): Condition definition on [__USE_ISOC99]. Use
27103 __lgammal_r_finite.
27104 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
27105 __lgamma_r_finite.
27106 (gammaf): Condition definition on [__USE_ISOC99]. Use
27107 __lgammaf_r_finite.
27108 (gammal): Condition definition on [__USE_ISOC99]. Use
27109 __lgammal_r_finite.
27110 (logf): Condition declaration on [__USE_ISOC99].
27111 (logl): Likewise.
27112 (log10f): Likewise.
27113 (log10l): Likewise.
27114 (ldexpf): Likewise.
27115 (ldexpl): Likewise.
27116 (powf): Likewise.
27117 (powl): Likewise.
27118 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
27119 __USE_ISOC99].
27120 (remainderf): Condition declaration on [__USE_ISOC99].
27121 (remainderl): Likewise.
27122 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
27123 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
27124 (scalbl): Likewise.
27125 (sinhf): Condition declaration on [__USE_ISOC99].
27126 (sinhl): Likewise.
27127 (sqrtf): Likewise.
27128 (sqrtl): Likewise.
27129
271302015-11-04 Joseph Myers <joseph@codesourcery.com>
27131
27132 * sysdeps/arm/atomic-machine.h
27133 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27134 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27135 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
27136 Remove conditional code.
27137 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27138 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27139 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
27140 Change conditional to [__ASSEMBLER__].
27141 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27142 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
27143 [!__ASSEMBLER__].
27144 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
27145 code.
27146 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
27147 conditional macro definitions.
27148 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
27149 (__arch_compare_and_exchange_val_16_acq): Likewise.
27150 (__arch_compare_and_exchange_val_32_acq): Likewise.
27151 (atomic_exchange_and_add): Likewise.
27152 (atomic_add): Likewise.
27153 (atomic_add_negative): Likewise.
27154 (atomic_add_zero): Likewise.
27155 (atomic_bit_set): Likewise.
27156 (atomic_bit_test_set): Likewise.
27157 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
27158 code unconditional.
27159 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27160
27161 * math/test-math-errno.h: New file.
27162 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
27163 empty.
27164 (TEST_ERRNO): New macro.
27165 (TEST_EXCEPTIONS): Likewise.
27166 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
27167 (TEST_EXCEPTIONS): Likewise.
27168 * math/test-math-vector.h (TEST_ERRNO): Likewise.
27169 * math/test-double.c: Include "test-math-errno.h".
27170 * math/test-float.c: Likewise.
27171 * math/test-ldouble.c: Likewise.
27172 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
27173 code unconditional.
27174 (test_exceptions): Only run code if TEST_EXCEPTIONS.
27175 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
27176 unconditional.
27177 (test_errno): Only run code if TEST_ERRNO.
27178 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
27179
271802015-11-04 Florian Weimer <fweimer@redhat.com>
27181
27182 * nptl/tst-once5.cc: Remove attribution.
27183
271842015-11-04 Joseph Myers <joseph@codesourcery.com>
27185
27186 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27187 sqrt, tan, tanh, y0, y1 and yn.
27188 * math/auto-libm-test-out: Regenerated.
27189 * math/libm-test.inc (scalb_test_data): Add more tests.
27190 (scalbn_test_data): Likewise.
27191 (scalbln_test_data): Likewise.
27192 (signbit_test_data): Likewise.
27193 (sin_test_data): Likewise.
27194 (sincos_test_data): Likewise.
27195 (sinh_test_data): Likewise.
27196 (sqrt_test_data): Likewise.
27197 (tan_test_data): Likewise.
27198 (tanh_test_data): Likewise.
27199 (tgamma_test_data): Likewise.
27200 (y0_test_data): Likewise.
27201 (y1_test_data): Likewise.
27202 (yn_test_data): Likewise.
27203 (significand_test_data): Likewise.
27204 * sysdeps/i386/fpu/libm-test-ulps: Update.
27205
272062015-11-03 David Kastrup <dak@gnu.org>
27207
27208 [BZ #18604]
27209 * assert/assert.h (assert): Don't macro-expand failed assertion
27210 expression in error message.
27211 * malloc/malloc.c (assert): Likewise.
27212
272132015-11-03 Joseph Myers <joseph@codesourcery.com>
27214
27215 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27216 test.
27217 * configure: Regenerated.
27218
272192015-11-02 Joseph Myers <joseph@codesourcery.com>
27220
27221 * math/libm-test.inc (modf_test_data): Add more tests.
27222 (nearbyint_test_data): Likewise.
27223 (nextafter_test_data): Likewise.
27224 (nexttoward_test_data): Likewise.
27225 (pow_test_data): Likewise.
27226 (remainder_test_data): Likewise.
27227 (remquo_test_data): Likewise.
27228 (rint_test_data): Likewise.
27229
27230 [BZ #19201]
27231 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27232 Check for zero remainder in case of large exponents and ensure
27233 correct sign of result in that case.
27234 * math/libm-test.inc (remainder_test_data): Add more tests.
27235
27236 [BZ #6799]
27237 * math/s_nextafter.c: Include <errno.h>.
27238 (__nextafter): Set errno on overflow and underflow.
27239 * math/s_nexttowardf.c: Include <errno.h>.
27240 (__nexttowardf): Set errno on overflow and underflow.
27241 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27242 (__nextafterl): Set errno on overflow and underflow.
27243 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27244 (__nexttoward): Set errno on overflow and underflow.
27245 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27246 (__nexttowardf): Set errno on overflow and underflow.
27247 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27248 (__nextafterf): Set errno on overflow and underflow.
27249 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27250 (__nextafterl): Set errno on overflow and underflow.
27251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27252 (__nexttoward): Set errno on overflow and underflow.
27253 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27254 (__nexttowardf): Set errno on overflow and underflow.
27255 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27256 (__nextafterl): Set errno on overflow and underflow.
27257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27258 (__nexttoward): Set errno on overflow and underflow.
27259 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27260 (__nexttowardf): Set errno on overflow and underflow.
27261 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27262 (__nexttoward): Set errno on overflow and underflow.
27263 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27264 (__nexttowardf): Set errno on overflow and underflow.
27265 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27266 (__nldbl_nexttowardf): Set errno on overflow and underflow.
27267 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27268 (__nextafterl): Set errno on overflow and underflow.
27269 * math/libm-test.inc (nextafter_test_data): Do not allow errno
27270 setting to be missing on overflow. Add more tests.
27271 (nexttoward_test_data): Likewise.
27272
27273 * configure.ac (libc_cv_initfini_array): Remove configure test.
27274 * configure: Regenerated.
27275
272762015-10-29 Joseph Myers <joseph@codesourcery.com>
27277
27278 [BZ #19189]
27279 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27280 non-finite argument handle arguments with negative sign.
27281
27282 * math/libm-test.inc (j0_test_data): Do not test sign of zero
27283 result from infinite argument.
27284 (j1_test_data): Likewise.
27285 (jn_test_data): Likewise.
27286 (y0_test_data): Likewise.
27287 (y1_test_data): Likewise.
27288 (yn_test_data): Likewise.
27289
27290 [BZ #16171]
27291 * math/w_remainder.c (drem): Define as weak alias of __remainder.
27292 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27293 * math/w_remainderf.c (dremf): Define as weak alias of
27294 __remainderf.
27295 * math/w_remainderl.c (dreml): Define as weak alias of
27296 __remainderl.
27297 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27298 __remainder.
27299 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27300 __remainderf.
27301 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27302 __remainderl.
27303 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27304 weak alias of remainderl.
27305 * sysdeps/ieee754/ldbl-opt/w_remainder.c
27306 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27307 alias of __remainder.
27308 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27309 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27310 strong alias of __remainderl.
27311 (dreml): Use long_double_symbol.
27312 * math/Makefile (libm-calls): Remove w_drem.
27313 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27314 (CFLAGS-nldbl-drem.c): Remove variable.
27315 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27316 * math/w_drem.c: Remove file.
27317 * math/w_dremf.c: Likewise.
27318 * math/w_dreml.c: Likewise.
27319 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27320 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27321 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27322
27323 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27324 * sysdeps/i386/configure: Regenerated.
27325 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27326 * sysdeps/x86_64/configure: Regenerated.
27327
27328 * configure.ac (libc_cv_asm_protected_directive): Remove configure
27329 test.
27330 (libc_cv_visibility_attribute): Likewise.
27331 (libc_cv_protected_data): Test unconditionally.
27332 (libc_cv_broken_visibility_attribute): Remove configure test.
27333 (libc_cv_have_sdata_section): Test unconditionally.
27334 * configure: Regenerated.
27335
27336 * include/libc-internal.h (libc_max_align_t): Remove typedef.
27337 * include/scratch_buffer.h: Include <stddef.h> instead of
27338 <libc-internal.h>.
27339 (struct scratch_buffer): Use max_align_t instead of
27340 libc_max_align_t.
27341
273422015-10-29 Florian Weimer <fweimer@redhat.com>
27343
27344 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27345 instead of extend_alloca. Change control flow to avoid a goto.
27346 Remove assert which is trivially always true.
27347
273482015-10-28 Joseph Myers <joseph@codesourcery.com>
27349
27350 [BZ #16068]
27351 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27352 (FE_ALL_EXCEPT_X86): New macro.
27353 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27354 FE_ALL_EXCEPT. Ensure precision control is included in
27355 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27356 handle "denormal operand exception" and clear FZ and DAZ bits.
27357 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27358 (FE_ALL_EXCEPT_X86): New macro.
27359 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27360 FE_ALL_EXCEPT. Ensure precision control is included in
27361 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27362 handle "denormal operand exception" and clear FZ and DAZ bits.
27363 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27364 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27365 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27366 test-fenv-x87 and test-fenv-sse-2.
27367 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27368
27369 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27370 * math/test-double.h (BUILD_COMPLEX): New macro.
27371 * math/test-float.h (BUILD_COMPLEX): Likewise.
27372 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27373
27374 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27375 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27376 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27378 instead of DBL_DENORM_MIN in comment.
27379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27380 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27381 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27382 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27383 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27384 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27385
273862015-10-28 Florian Weimer <fweimer@redhat.com>
27387
27388 [BZ #19048]
27389 * malloc/malloc.c (struct malloc_state): Update comment. Add
27390 attached_threads member.
27391 (main_arena): Initialize attached_threads.
27392 * malloc/arena.c (list_lock): Update comment.
27393 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27394 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27395 (deattach_arena): New function.
27396 (_int_new_arena): Initialize arena reference count and deattach
27397 replaced arena.
27398 (get_free_list, reused_arena): Update reference count and deattach
27399 replaced arena.
27400 (arena_thread_freeres): Update arena reference count and only put
27401 unreferenced arenas on the free list.
27402
274032015-10-28 Joseph Myers <joseph@codesourcery.com>
27404
27405 [BZ #19181]
27406 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27407 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27408 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27409 * math/test-fenv-clear-main.c: New file.
27410 * math/test-fenv-clear.c: Likewise.
27411 * math/Makefile (tests): Add test-fenv-clear.
27412 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27413 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27414 test-fenv-clear-sse.
27415 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27416
27417 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27418 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27419 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27420
274212015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27422
27423 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27424 static libc.
27425
274262015-10-28 Joseph Myers <joseph@codesourcery.com>
27427
27428 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27429 test.
27430 * sysdeps/i386/configure: Regenerated.
27431 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27432 test.
27433 * sysdeps/x86_64/configure: Regenerated.
27434 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27436 memset-avx2 unconditionally instead of conditionally on
27437 [$(config-cflags-avx2) = yes].
27438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27439 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27440 unconditional.
27441 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27442 * sysdeps/x86_64/multiarch/memset_chk.S
27443 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27444 to [IS_IN (libc) && SHARED].
27445
274462015-10-27 Joseph Myers <joseph@codesourcery.com>
27447
27448 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27449 configure test.
27450 * sysdeps/arm/configure: Regenerated.
27451 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27452 Define variable if not already defined.
27453
27454 [BZ #17404]
27455 * sysdeps/mips/atomic-machine.h
27456 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27457 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27458 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27459
27460 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27461 unconditional.
27462 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27463 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27464 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27465 unconditional.
27466 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27467 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27468 unconditional.
27469 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27470 * stdlib/setenv.c
27471 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27472 code unconditional.
27473 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27474 Remove conditional code.
27475 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27476 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27477 unconditional.
27478 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27479 code.
27480 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27481 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27482 unconditional.
27483 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27484 code.
27485 * sysdeps/ieee754/ldbl-128/k_tanl.c
27486 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27487 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27488 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27489 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27490 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27491 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27492 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27493 unconditional.
27494 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27495 code.
27496 * sysdeps/ieee754/ldbl-96/k_tanl.c
27497 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27498 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27499
27500 * nptl/tst-initializers1-c11.c: New file.
27501 * nptl/tst-initializers1-gnu11.c: Likewise.
27502 * nptl/Makefile (tests): Add these new tests.
27503 (CFLAGS-tst-initializers1-c11.c): New variable.
27504 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27505
27506 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27507 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27508 instead of -std=gnu99.
27509 * configure.ac (systemtap): Test with -std=gnu11 instead of
27510 -std=gnu99.
27511 * configure: Regenerated.
27512 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27513 in compilation command in comment.
27514
27515 * sysdeps/nptl/configure.ac: Remove file.
27516 * sysdeps/nptl/configure: Remove generated file.
27517 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27518 * configure: Regenerated.
27519 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27520 * config.make.in (have-forced-unwind): Remove variable.
27521 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27522 unconditional.
27523 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27524 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27525 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27526 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27527 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27528 unconditional.
27529
275302015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27531
27532 [BZ #19174]
27533 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27534 .skip_lock_out_of_tbegin_retries.
27535 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27536 (__lll_lock_elision): Likewise, and respect a value of
27537 try_tbegin <= 0.
27538
275392015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27540
27541 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27542 statement.
27543
275442015-10-27 Joseph Myers <joseph@codesourcery.com>
27545
27546 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27547 variable.
27548 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27549 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27550
27551 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27552 of -std=c1x -D_ISOC11_SOURCE.
27553
27554 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27555 * configure: Regenerated.
27556 * manual/install.texi (Tools for Compilation): Document
27557 requirement for GCC 4.7 or later.
27558 * INSTALL: Regenerated.
27559
275602015-10-27 Ludovic Courtès <ludo@gnu.org>
27561
27562 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27563 on CNT to a conditional jump to 'puntdata'.
27564
275652015-10-27 Joseph Myers <joseph@codesourcery.com>
27566
27567 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27568 (libc_cv_gcc_tls_model_attr): Likewise.
27569 * configure: Regenerated.
27570
27571 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27572 * configure: Regenerated.
27573 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27574
275752015-10-26 Joseph Myers <joseph@codesourcery.com>
27576
27577 * configure.ac (old_glibc_headers): Remove configure test.
27578 * configure: Regenerated.
27579 * config.make.in (old-glibc-headers): Remove variable.
27580 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27581 (install): Remove dependency on remove-old-headers.
27582 (headers2_0): Remove variable.
27583 (remove-old-headers): Remove rule.
27584
27585 * configure.ac (libc_cv_dot_text): Remove configure test.
27586 (libc_cv_asm_set_directive): Use .text instead of
27587 ${libc_cv_dot_text} in configure test.
27588 * configure: Regenerated.
27589
275902015-10-26 Florian Weimer <fweimer@redhat.com>
27591
27592 [BZ #19168]
27593 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27594
275952015-10-26 Florian Weimer <fweimer@redhat.com>
27596
27597 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27598 not support static linking.
27599 * configure: Regenerate.
27600
276012015-10-23 Joseph Myers <joseph@codesourcery.com>
27602
27603 * math/libm-test.inc (check_float_internal): Do not special-case
27604 errors up to 0.5 ulp.
27605
27606 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27607 log2.
27608 * math/auto-libm-test-out: Regenerated.
27609 * math/libm-test.inc (MAX_EXP): New macro.
27610 (ilogb_test_data): Add more tests.
27611 (isfinite_test_data): Likewise.
27612 (isgreater_test_data): Likewise.
27613 (isgreaterequal_test_data): Likewise.
27614 (isinf_test_data): Likewise.
27615 (isless_test_data): Likewise.
27616 (islessequal_test_data): Likewise.
27617 (islessgreater_test_data): Likewise.
27618 (isnan_test_data): Likewise.
27619 (isnormal_test_data): Likewise.
27620 (issignaling_test_data): Likewise.
27621 (isunordered_test_data): Likewise.
27622 (j0_test_data): Likewise.
27623 (j1_test_data): Likewise.
27624 (jn_test_data): Likewise.
27625 (lgamma_test_data): Likewise.
27626 (log_test_data): Likewise.
27627 (log10_test_data): Likewise.
27628 (log1p_test_data): Likewise.
27629 (log2_test_data): Likewise.
27630 (logb_test_data): Likewise.
27631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27632
27633 [BZ #18611]
27634 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27635 avoid excess range and precision on underflow.
27636 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27637 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27638 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27639 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27640 underflow.
27641 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27643 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27644 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27645 * math/auto-libm-test-in: Do not allow missing errno setting for
27646 tests of j1 and jn.
27647 * math/auto-libm-test-out: Regenerated.
27648
276492015-10-22 Joseph Myers <joseph@codesourcery.com>
27650
27651 [BZ #15491]
27652 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27653 floating-point environment instead of clearing all exceptions.
27654 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27655 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27656 merging in "invalid" exceptions from frndint.
27657 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27658 * math/test-nearbyint-except.c: New file.
27659 * math/Makefile (tests): Add test-nearbyint-except.
27660
276612015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27662
27663 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27664
27665 * sysdeps/tile/libm-test-ulps: Regenerated.
27666
276672015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27668
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27670 (__NR_sync_file_range2): Assume it is always defined.
27671 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27672 (__NR_sync_file_range): Assume it is always defined.
27673
276742015-10-22 Andreas Schwab <schwab@suse.de>
27675
27676 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27677 INTERNAL_SYSCALL_ERRNO.
27678 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27679 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27680 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27681 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27682 Likewise.
27683 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27684
276852015-10-21 Joseph Myers <joseph@codesourcery.com>
27686
27687 * io/tst-fcntl.c (fd): New static variable.
27688 (do_prepare): Open temporary file here....
27689 (do_test): ...not here.
27690
27691 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27692
276932015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27694
27695 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27696 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27697 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27698 Moved before "#ifdef __ASSEMBLER__".
27699
277002015-10-21 Joseph Myers <joseph@codesourcery.com>
27701
27702 [BZ #19156]
27703 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27704 arguments very close to 0.
27705
277062015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27707
27708 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27709 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27710
277112015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27712
27713 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27714 New. Defined for GCC 5 and above when not compiling for
27715 profiling.
27716 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27717
27718 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27719 Renamed to ...
27720 (CFLAGS-epoll_pwait.o): This.
27721 (CFLAGS-mmap.c): Renamed to ...
27722 (CFLAGS-mmap.o): This.
27723 (CFLAGS-mmap64.c): Renamed to ...
27724 (CFLAGS-mmap64.o): This.
27725 (CFLAGS-epoll_pwait.os): New.
27726 (CFLAGS-mmap.os): Likewise.
27727 (CFLAGS-mmap64.os): Likewise.
27728 (CFLAGS-semtimedop.os): Likewise.
27729 (CFLAGS-semtimedop.c): Renamed to ...
27730 (CFLAGS-semtimedop.o): This.
27731
277322015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27733
27734 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27735 warning message.
27736
277372015-10-21 Joseph Myers <joseph@codesourcery.com>
27738
27739 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27740 * Makefile ($(objpfx)c++-types-check.out): Filter out
27741 $(+gccwarn-c) instead of -Wstrict-prototypes.
27742
27743 * io/fts.c (fts_open): Convert to prototype-style function
27744 definition.
27745 * malloc/mcheck.c (mcheck): Likewise.
27746 (mcheck_pedantic): Likewise.
27747 * posix/regexec.c (re_search_2_stub): Likewise. Use
27748 internal_function.
27749 (re_search_internal): Likewise.
27750 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27751 prototype-style function definition.
27752 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27753 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27754 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27755 (xdr_utmpptr): Likewise.
27756 (xdr_utmparr): Likewise.
27757 (xdr_utmpidle): Likewise.
27758 (xdr_utmpidleptr): Likewise.
27759 (xdr_utmpidlearr): Likewise.
27760
27761 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27762 log, log10 and log2.
27763 * math/auto-libm-test-out: Regenerated.
27764 * math/libm-test.inc (fmod_test_data): Add more tests.
27765 (fpclassify_test_data): Likewise.
27766 (frexp_test_data): Likewise.
27767 (hypot_test_data): Likewise.
27768 (ilogb_test_data): Likewise.
27769
277702015-10-20 Joseph Myers <joseph@codesourcery.com>
27771
27772 * debug/fortify_fail.c (__fortify_fail): Convert to
27773 prototype-style function definition. Use internal_function.
27774 * libio/genops.c (save_for_backup): Convert to prototype-style
27775 function definition.
27776 * libio/wgenops.c (save_for_wbackup): Likewise.
27777 * login/grantpt.c (grantpt): Likewise.
27778 * login/ptsname.c (ptsname): Likewise.
27779 (__ptsname_r): Likewise.
27780 * login/unlockpt.c (unlockpt): Likewise.
27781 * mach/msgserver.c (__mach_msg_server): Likewise.
27782 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27783 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27784 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27785 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27786 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27787 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27788 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27789 Likewise.
27790 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27791 internal_function.
27792 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27793 prototype-style function definition.
27794 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27795 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27796 (__pthread_create_2_0): Likewise.
27797 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27798 * nptl/register-atfork.c (__register_atfork): Likewise.
27799 * posix/glob.c (glob): Likewise.
27800 * posix/regcomp.c (re_comp): Likewise.
27801 * posix/regexec.c (re_exec): Likewise.
27802 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27803 [!__STDC__]: Remove conditional code.
27804 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27805 [!__STDC__]: Remove conditional code.
27806 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27807 [!__STDC__]: Remove conditional code.
27808 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27809 [!__STDC__]: Remove conditional code.
27810 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27811 [!__STDC__]: Remove conditional code.
27812 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27813 [!__STDC__]: Remove conditional code.
27814 * stdlib/mul.c [__STDC__]: Make code unconditional.
27815 [!__STDC__]: Remove conditional code.
27816 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27817 [!__STDC__]: Remove conditional code.
27818 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27819 [!__STDC__]: Remove conditional code.
27820 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27821 function definition.
27822 (STRTOF): Likewise.
27823 * stdlib/strtod_l.c (__STRTOF): Likewise.
27824 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27825 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27826 (__strtol_l): Likewise.
27827 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27828 [!__STDC__]: Remove conditional code.
27829 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27830 definition.
27831 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27832 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27833 type.
27834 (__strcasecmp): Convert to prototype-style function definition.
27835 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27836 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27837 type.
27838 (__strncasecmp): Convert to prototype-style function definition.
27839 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27840 * sunrpc/xdr.c (xdr_union): Likewise.
27841 * sunrpc/xdr_array.c (xdr_array): Likewise.
27842 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27843 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27844 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27845 Likewise.
27846 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27847 Likewise.
27848 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27849 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27850 Likewise.
27851 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27852 (LOCALE_PARAM_PROTO): Likewise.
27853 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27854 argument type.
27855 (ut_argument_spec): Remove macro.
27856 (ut_argument_spec_iso): Rename to ut_argument_spec.
27857 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27858 prototype-style function definition.
27859 (memcpy_uppcase): Likewise.
27860 (__strftime_internal): Likewise.
27861 (my_strftime): Likewise.
27862 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27863 (LOCALE_PARAM_DECL): Likewise.
27864 [_LIBC] (LOCALE_PARAM): Include argument type.
27865 (__strptime_internal): Convert to prototype-style function
27866 definition.
27867 (strptime): Likewise.
27868 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27869 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27870 type.
27871 (__wcscasecmp): Convert to prototype-style function definition.
27872 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27873 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27874 type.
27875 (__wcsncasecmp): Convert to prototype-style function definition.
27876
27877 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27878 function definition.
27879 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27880 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27881 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27882 * elf/dl-minimal.c (_itoa): Likewise.
27883 * hurd/hurdmalloc.c (malloc): Likewise.
27884 (free): Likewise.
27885 (realloc): Likewise.
27886 * inet/inet6_option.c (inet6_option_space): Likewise.
27887 (inet6_option_init): Likewise.
27888 (inet6_option_append): Likewise.
27889 (inet6_option_alloc): Likewise.
27890 (inet6_option_next): Likewise.
27891 (inet6_option_find): Likewise.
27892 * io/ftw.c (FTW_NAME): Likewise.
27893 (NFTW_NAME): Likewise.
27894 (NFTW_NEW_NAME): Likewise.
27895 (NFTW_OLD_NAME): Likewise.
27896 * libio/iofwide.c (_IO_fwide): Likewise.
27897 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27898 (_IO_str_init_static): Likewise.
27899 (_IO_str_init_readonly): Likewise.
27900 (_IO_str_overflow): Likewise.
27901 (_IO_str_underflow): Likewise.
27902 (_IO_str_count): Likewise.
27903 (_IO_str_seekoff): Likewise.
27904 (_IO_str_pbackfail): Likewise.
27905 (_IO_str_finish): Likewise.
27906 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27907 (_IO_wstr_overflow): Likewise.
27908 (_IO_wstr_underflow): Likewise.
27909 (_IO_wstr_count): Likewise.
27910 (_IO_wstr_seekoff): Likewise.
27911 (_IO_wstr_pbackfail): Likewise.
27912 (_IO_wstr_finish): Likewise.
27913 * locale/programs/localedef.c (normalize_codeset): Likewise.
27914 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27915 (add_locales_to_archive): Likewise.
27916 (delete_locales_from_archive): Likewise.
27917 * malloc/malloc.c (__libc_mallinfo): Likewise.
27918 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27919 * misc/tsearch.c (__tfind): Likewise.
27920 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27921 * nptl/pthread_attr_getdetachstate.c
27922 (__pthread_attr_getdetachstate): Likewise.
27923 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27924 Likewise.
27925 * nptl/pthread_attr_getinheritsched.c
27926 (__pthread_attr_getinheritsched): Likewise.
27927 * nptl/pthread_attr_getschedparam.c
27928 (__pthread_attr_getschedparam): Likewise.
27929 * nptl/pthread_attr_getschedpolicy.c
27930 (__pthread_attr_getschedpolicy): Likewise.
27931 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27932 Likewise.
27933 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27934 Likewise.
27935 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27936 Likewise.
27937 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27938 Likewise.
27939 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27940 (__pthread_attr_init_2_0): Likewise.
27941 * nptl/pthread_attr_setdetachstate.c
27942 (__pthread_attr_setdetachstate): Likewise.
27943 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27944 Likewise.
27945 * nptl/pthread_attr_setinheritsched.c
27946 (__pthread_attr_setinheritsched): Likewise.
27947 * nptl/pthread_attr_setschedparam.c
27948 (__pthread_attr_setschedparam): Likewise.
27949 * nptl/pthread_attr_setschedpolicy.c
27950 (__pthread_attr_setschedpolicy): Likewise.
27951 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27952 Likewise.
27953 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27954 Likewise.
27955 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27956 Likewise.
27957 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27958 Likewise.
27959 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27960 Likewise.
27961 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27962 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27963 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27964 use internal_function.
27965 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27966 prototype-style function definition.
27967 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27968 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27969 internal_function.
27970 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27971 Convert to prototype-style function definition.
27972 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27973 Likewise.
27974 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27975 Likewise.
27976 (__pthread_mutex_unlock): Likewise.
27977 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27978 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27979 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27980 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27981 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27982 * nss/makedb.c (process_input): Likewise.
27983 * posix/fnmatch.c (__strchrnul): Likewise.
27984 (__wcschrnul): Likewise.
27985 (fnmatch): Likewise.
27986 * posix/fnmatch_loop.c (FCT): Likewise.
27987 * posix/glob.c (globfree): Likewise.
27988 (__glob_pattern_type): Likewise.
27989 (__glob_pattern_p): Likewise.
27990 * posix/regcomp.c (re_compile_pattern): Likewise.
27991 (re_set_syntax): Likewise.
27992 (re_compile_fastmap): Likewise.
27993 (regcomp): Likewise.
27994 (regerror): Likewise.
27995 (regfree): Likewise.
27996 * posix/regexec.c (regexec): Likewise.
27997 (re_match): Likewise.
27998 (re_search): Likewise.
27999 (re_match_2): Likewise.
28000 (re_search_2): Likewise.
28001 (re_search_stub): Likewise. Use internal_function
28002 (re_copy_regs): Likewise.
28003 (re_set_registers): Convert to prototype-style function
28004 definition.
28005 (prune_impossible_nodes): Likewise. Use internal_function.
28006 * resolv/inet_net_pton.c (inet_net_pton): Convert to
28007 prototype-style function definition.
28008 (inet_net_pton_ipv4): Likewise.
28009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28010 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
28011 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
28012 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
28013 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28014 Make variadic.
28015 * time/strptime_l.c (localtime_r): Convert to prototype-style
28016 function definition.
28017 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28018 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28019 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28020 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28021
28022 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
28023 definition.
28024 (_ufc_doit_r): Likewise.
28025 * crypt/crypt_util.c (_ufc_copymem): Likewise.
28026 (_ufc_output_conversion_r): Likewise.
28027 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
28028 * inet/rcmd.c (rcmd_af): Likewise.
28029 (rcmd): Likewise.
28030 (ruserok_af): Likewise.
28031 (ruserok): Likewise.
28032 (ruserok2_sa): Likewise.
28033 (ruserok_sa): Likewise.
28034 (iruserok_af): Likewise.
28035 (iruserok): Likewise.
28036 (__ivaliduser): Likewise.
28037 (__validuser2_sa): Likewise.
28038 * inet/rexec.c (rexec_af): Likewise.
28039 (rexec): Likewise.
28040 * inet/ruserpass.c (ruserpass): Likewise.
28041 * locale/programs/xmalloc.c (xcalloc): Likewise.
28042 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
28043 * math/w_drem.c (__drem): Likewise.
28044 * math/w_dremf.c (__dremf): Likewise.
28045 * math/w_dreml.c (__dreml): Likewise.
28046 * misc/daemon.c (daemon): Likewise.
28047 * resolv/res_debug.c (p_fqnname): Likewise.
28048 * stdlib/div.c (div): Likewise.
28049 * string/memcmp.c (memcmp_bytes): Likewise.
28050 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
28051 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
28052
28053 * crypt/cert.c (main): Convert to prototype-style function
28054 definition.
28055 * io/pipe.c (__pipe): Likewise.
28056 * io/pipe2.c (__pipe2): Likewise.
28057 * misc/futimesat.c (futimesat): Likewise.
28058 * misc/utimes.c (__utimes): Likewise.
28059 * posix/execve.c (__execve): Likewise.
28060 * posix/execvp.c (execvp): Likewise.
28061 * posix/execvpe.c (__execvpe): Likewise.
28062 * posix/fexecve.c (fexecve): Likewise.
28063 * socket/socketpair.c (socketpair): Likewise.
28064 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
28065 * stdlib/erand48.c (erand48): Likewise.
28066 * stdlib/erand48_r.c (__erand48_r): Likewise.
28067 * stdlib/jrand48.c (jrand48): Likewise.
28068 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
28069 * stdlib/lcong48.c (lcong48): Likewise.
28070 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
28071 * stdlib/nrand48.c (nrand48): Likewise.
28072 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
28073 * stdlib/seed48.c (seed48): Likewise.
28074 * stdlib/seed48_r.c (__seed48_r): Likewise.
28075 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
28076 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
28077 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
28078
280792015-10-19 Joseph Myers <joseph@codesourcery.com>
28080
28081 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
28082 * configure: Regenerated.
28083 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
28084 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
28085 unconditional.
28086 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28087 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28088 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28089 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
28090 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
28091 unconditional.
28092 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28093
28094 * posix/Makefile (CFLAGS-regex.c): Remove variable.
28095 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
28096
28097 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
28098 function definition.
28099 * crypt/crypt_util.c (__encrypt_r): Likewise.
28100 * libio/genops.c (_IO_no_init): Likewise.
28101 * libio/iofopncook.c (_IO_fopencookie): Likewise.
28102 (_IO_old_fopencookie): Likewise.
28103 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28104 * libio/iogetline.c (_IO_getline): Likewise.
28105 (_IO_getline_info): Likewise.
28106 * libio/iogetwline.c (_IO_getwline): Likewise.
28107 (_IO_getwline_info): Likewise.
28108 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
28109 * libio/vswprintf.c (_IO_vswprintf): Likewise.
28110 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
28111 (find_entry): Likewise.
28112 (iterate_table): Likewise.
28113 (lookup): Likewise.
28114 * login/forkpty.c (forkpty): Likewise.
28115 * misc/hsearch_r.c (__hsearch_r): Likewise.
28116 * misc/select.c (__select): Likewise.
28117 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
28118 Likewise.
28119 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
28120 Likewise.
28121 * nptl/old_pthread_cond_timedwait.c
28122 (__pthread_cond_timedwait_2_0): Likewise.
28123 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28124 * nptl/pthread_barrierattr_getpshared.c
28125 (pthread_barrierattr_getpshared): Likewise.
28126 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
28127 Likewise.
28128 * nptl/pthread_mutex_setprioceiling.c
28129 (pthread_mutex_setprioceiling): Likewise.
28130 * nptl/pthread_mutexattr_getprioceiling.c
28131 (pthread_mutexattr_getprioceiling): Likewise.
28132 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28133 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28134 Likewise.
28135 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28136 Likewise.
28137 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
28138 Likewise.
28139 * socket/recvfrom.c (__recvfrom): Likewise.
28140 * socket/sendto.c (__sendto): Likewise.
28141 * socket/setsockopt.c (__setsockopt): Likewise.
28142 * stdio-common/_itoa.c (_itoa): Likewise.
28143 * stdio-common/_itowa.c (_itowa): Likewise.
28144 * stdio-common/reg-printf.c (__register_printf_specifier):
28145 Likewise.
28146 (__register_printf_function): Likewise.
28147 * stdio-common/tempname.c (__path_search): Likewise.
28148 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
28149 * stdlib/mul_1.c (mpn_mul_1): Likewise.
28150 * stdlib/random_r.c (__initstate_r): Likewise.
28151 * stdlib/setenv.c (__add_to_environ): Likewise.
28152 * stdlib/submul_1.c (mpn_submul_1): Likewise.
28153 * streams/getpmsg.c (getpmsg): Likewise.
28154 * streams/putmsg.c (putmsg): Likewise.
28155 * streams/putpmsg.c (putpmsg): Likewise.
28156 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
28157 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28158 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
28159 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28160 * sunrpc/pm_getport.c (pmap_getport): Likewise.
28161 * sunrpc/svc_udp.c (cache_get): Likewise.
28162 * sunrpc/xdr_array.c (xdr_vector): Likewise.
28163 * sysdeps/mach/hurd/getcwd.c
28164 (__canonicalize_directory_name_internal): Likewise.
28165 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
28166 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
28167 * sysdeps/mach/hurd/select.c (__select): Likewise.
28168 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28169 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
28170 * sysdeps/sparc/nptl/pthread_barrier_init.c
28171 (__pthread_barrier_init): Likewise.
28172 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
28173 (__pthread_cond_timedwait): Likewise.
28174 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
28175 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
28176 Likewise.
28177 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
28178 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
28179 Likewise.
28180 * sysvipc/semtimedop.c (semtimedop): Likewise.
28181 * time/setitimer.c (__setitimer): Likewise.
28182 * time/strftime_l.c (emacs_strftime): Likewise.
28183
281842015-10-19 Mike Frysinger <vapier@gentoo.org>
28185
28186 * config.make.in (have-ssp): Delete.
28187 (stack-protector): New variable.
28188 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
28189 cache test for -fstack-protector-strong. Export stack_protector to
28190 the best ssp flag.
28191 * configure: Regenerated.
28192 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28193 * nscd/Makefile (CFLAGS-nscd): Likewise.
28194 * resolv/Makefile (CFLAGS-libresolv): Likewise.
28195
281962015-10-16 H.J. Lu <hongjiu.lu@intel.com>
28197
28198 [BZ #19122]
28199 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28200 attribute_hidden.
28201
282022015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28203
28204 [BZ #18743]
28205 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28206 code to...
28207 (ELIDE_LOCK): ...here.
28208 (__get_new_count): New function with part of the code from
28209 __elide_lock that updates the value of adapt_count after a
28210 transaction abort.
28211 (__elided_trylock): Moved this code to...
28212 (ELIDE_TRYLOCK): ...here.
28213
282142015-10-19 Mike Frysinger <vapier@gentoo.org>
28215
28216 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28217 * configure: Regenerate.
28218 * INSTALL: Regenerate.
28219 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28220 and tweak grammar.
28221
282222015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
28223
28224 * login/programs/pt_chown.c: Include signal.h
28225 (main): Clear any signal mask from the parent process.
28226
282272015-10-19 Joseph Myers <joseph@codesourcery.com>
28228
28229 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28230 * configure: Regenerated.
28231 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28232 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28233 $(gnu89-inline-CFLAGS).
28234
28235 * configure.ac (libc_cv_asm_weak_directive): Remove configure
28236 test.
28237 (libc_cv_asm_weakext_directive): Likewise.
28238 * configure: Regenerated.
28239 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28240 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28241 * include/libc-symbols.h
28242 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28243 #error.
28244 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28245 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28246
28247 * sysdeps/arm/backtrace.c (__backtrace): Convert to
28248 prototype-style function definition.
28249 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28250 * sysdeps/i386/ffs.c (__ffs): Likewise.
28251 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28252 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28253 Likewise.
28254 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28255 Likewise.
28256 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28257 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28258 Likewise.
28259 * sysdeps/m68k/ffs.c (__ffs): Likewise.
28260 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28261 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28262 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28263 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28264 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28265 * sysdeps/mach/hurd/access.c (__access): Likewise.
28266 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28267 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28268 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28269 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28270 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28271 (cthread_getspecific): Likewise.
28272 (cthread_setspecific): Likewise.
28273 (__libc_getspecific): Likewise.
28274 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28275 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28276 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28277 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28278 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28279 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28280 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28281 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28282 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28283 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28284 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28285 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28286 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28287 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28288 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28289 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28290 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28291 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28292 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28293 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28294 * sysdeps/mach/hurd/link.c (__link): Likewise.
28295 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28296 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28297 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28298 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28299 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28300 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28301 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28302 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28303 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28304 * sysdeps/mach/hurd/rename.c (rename): Likewise.
28305 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28306 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28307 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28308 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28309 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28310 * sysdeps/mach/hurd/send.c (__send): Likewise.
28311 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28312 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28313 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28314 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28315 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28316 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28317 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28318 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28319 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28320 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28321 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28322 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28323 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28324 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28325 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28326 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28327 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28328 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28329 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28330 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28331 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28332 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28333 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28334 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28335 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28336 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28337 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28338 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28339 * sysdeps/posix/alarm.c (alarm): Likewise.
28340 * sysdeps/posix/cuserid.c (cuserid): Likewise.
28341 * sysdeps/posix/dirfd.c (dirfd): Likewise.
28342 * sysdeps/posix/dup.c (__dup): Likewise.
28343 * sysdeps/posix/dup2.c (__dup2): Likewise.
28344 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28345 (main): Likewise.
28346 * sysdeps/posix/flock.c (__flock): Likewise.
28347 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28348 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28349 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28350 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28351 * sysdeps/posix/isatty.c (__isatty): Likewise.
28352 * sysdeps/posix/killpg.c (killpg): Likewise.
28353 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28354 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28355 * sysdeps/posix/raise.c (raise): Likewise.
28356 * sysdeps/posix/remove.c (remove): Likewise.
28357 * sysdeps/posix/rename.c (rename): Likewise.
28358 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28359 * sysdeps/posix/seekdir.c (seekdir): Likewise.
28360 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28361 * sysdeps/posix/sigignore.c (sigignore): Likewise.
28362 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28363 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28364 * sysdeps/posix/sigset.c (sigset): Likewise.
28365 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28366 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28367 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28368 * sysdeps/posix/time.c (time): Likewise.
28369 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28370 (ttyname): Likewise.
28371 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28372 * sysdeps/posix/utime.c (utime): Likewise.
28373 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28374 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28375 Likewise.
28376 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28377 (pthread_spin_trylock): Likewise.
28378 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28379 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28380 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28381 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28382 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28383 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28384 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28385 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28386 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28387 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28388 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28389 * sysdeps/s390/ffs.c (__ffs): Likewise.
28390 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28391 Likewise.
28392 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28393 Likewise.
28394 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28395 Likewise.
28396 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28397 (pthread_barrier_destroy): Likewise.
28398 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28399 (__pthread_barrier_wait): Likewise.
28400 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28401 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28402 (__pthread_barrier_wait): Likewise.
28403 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28404 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28405 (memcmp_not_common_alignment): Likewise.
28406 (MEMCMP): Likewise.
28407 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28408 (_wordcopy_fwd_dest_aligned): Likewise.
28409 (_wordcopy_bwd_aligned): Likewise.
28410 (_wordcopy_bwd_dest_aligned): Likewise.
28411 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28412 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28413 * sysdeps/unix/bsd/stty.c (stty): Likewise.
28414 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28415 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28416 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28417 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28418 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28419 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28420 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28421 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28422 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28423 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28424 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28425 * sysdeps/unix/stime.c (stime): Likewise.
28426 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28427 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28428 Likewise. Use internal_function.
28429 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28430 Convert to prototype-style function definition.
28431 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28432 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28434 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28435 Likewise. Use internal_function.
28436 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28437 prototype-style function definition
28438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28439 Likewise.
28440 (__getlogin_r): Likewise.
28441 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28442 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28443 (__pthread_cond_broadcast): Likewise.
28444 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28445 (__pthread_cond_destroy): Likewise.
28446 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28447 (__pthread_cond_init): Likewise.
28448 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28449 (__pthread_cond_signal): Likewise.
28450 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28451 (__pthread_cond_wait): Likewise.
28452 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28453 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28454 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28455 Likewise.
28456 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28457 Likewise.
28458 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28459 Likewise.
28460 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28461 Likewise.
28462 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28464 (__ftruncate64): Likewise.
28465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28466 (truncate64): Likewise.
28467 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28468 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28469 (pthread_getcpuclockid): Likewise.
28470 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28471 Likewise.
28472 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28473 Likewise.
28474 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28475 Likewise.
28476 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28477 Likewise.
28478 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28479 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28480 (__libc_sigaction): Likewise.
28481 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28482 Likewise.
28483 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28484 (__sigprocmask): Likewise.
28485 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28486 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28487 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28488 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28489 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28490 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28491 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28492 Likewise.
28493 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28494 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28495 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28496 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28497 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28498 Likewise.
28499 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28500 (__sigprocmask): Likewise.
28501 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28502 (cfgetispeed): Likewise.
28503 (cfsetospeed): Likewise.
28504 (cfsetispeed): Likewise.
28505 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28506 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28507 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28508 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28509 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28510 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28511 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28512 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28513 Likewise.
28514 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28515 Likewise.
28516 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28517 Likewise.
28518 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28519 Likewise.
28520 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28521
285222015-10-17 Florian Weimer <fweimer@redhat.com>
28523
28524 sunrpc: Rewrite with explicit TLS access using __thread.
28525 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28526 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28527 directly.
28528 (__rpc_thread_variables): Access thread_rpc_vars directly.
28529 Eliminate redundant assignment of the tvp variable.
28530
285312015-10-17 Florian Weimer <fweimer@redhat.com>
28532
28533 malloc: Rewrite with explicit TLS access using __thread.
28534 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28535 (tsd_setspecific, tsd_getspecific): Remove.
28536 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28537 (tsd_setspecific, tsd_getspecific): Likewise.
28538 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28539 (tsd_setspecific, tsd_getspecific): Likewise.
28540 * malloc/arena.c (thread_arena): New TLS variable.
28541 (arena_key): Remove variable.
28542 (arena_get): Use thread_arena.
28543 (arena_lookup): Remove macro.
28544 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28545 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28546 (_int_new_arena, get_free_list, reused_arena)
28547 (arena_thread_freeres): Use thread_arena.
28548 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28549 tsd_getspecific, tsd_setspecific from safety annotations.
28550 (Allocating Cleared Space): Remove arena_lookup from safety
28551 annotations.
28552
285532015-10-17 Florian Weimer <fweimer@redhat.com>
28554
28555 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28556 struct scratch_buffer instead of extend_alloca.
28557
285582015-10-17 Florian Weimer <fweimer@redhat.com>
28559
28560 * sysdeps/unix/sysv/linux/kernel-features.h
28561 (__ASSUME_SOCK_CLOEXEC): Remove.
28562 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28563 (__have_paccept): Remove unused macro.
28564 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28565 * misc/syslog.c (openlog_internal): Remove fallback code for
28566 !__ASSUME_SOCK_CLOEXEC.
28567 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28568 missing SOCK_CLOEXEC.
28569 * nscd/connections.c (have_sock_cloexec): Remove definition.
28570 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28571 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28572 !__ASSUME_SOCK_CLOEXEC.
28573 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28574 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28575 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28576 definition.
28577 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28578 code for !__ASSUME_SOCK_CLOEXEC.
28579
285802015-10-17 Florian Weimer <fweimer@redhat.com>
28581
28582 [BZ #18982]
28583 * manual/stdio.texi (Variable Arguments Output): Add portability
28584 note, explaining that vfprintf clobbers the va_list pointer.
28585
285862015-10-16 Joseph Myers <joseph@codesourcery.com>
28587
28588 * math/libm-test.inc (fabs_test_data): Add more tests.
28589 (fdim_test_data): Likewise.
28590 (fma_test_data): Likewise.
28591 (fmax_test_data): Likewise.
28592 (fmin_test_data): Likewise.
28593 (fmod_test_data): Likewise.
28594
285952015-10-16 Steve Ellcey <sellcey@imgtec.com>
28596
28597 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28598 data.
28599
286002015-10-16 Joseph Myers <joseph@codesourcery.com>
28601
28602 * math/libm-test.inc (ceil_test_data): Add more tests and more
28603 expectations for "inexact".
28604 (floor_test_data): Add more tests.
28605 (round_test_data): Likewise.
28606 (trunc_test_data): Likewise.
28607
28608 * crypt/cert.c (good_bye): Convert to prototype-style function
28609 definition.
28610 (get8): Likewise.
28611 (put8): Likewise.
28612 * crypt/crypt-entry.c (crypt): Likewise.
28613 (__fcrypt): Likewise.
28614 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28615 (_ufc_set_bits): Likewise.
28616 (_ufc_clearmem): Likewise.
28617 (__init_des_r): Likewise.
28618 (shuffle_sb): Likewise.
28619 (shuffle_sb): Likewise.
28620 (_ufc_setup_salt_r): Likewise.
28621 (_ufc_mk_keytab_r): Likewise.
28622 (_ufc_dofinalperm_r): Likewise.
28623 (encrypt): Likewise.
28624 (__setkey_r): Likewise.
28625 (setkey): Likewise.
28626 * crypt/md5.c (md5_init_ctx): Likewise.
28627 (md5_read_ctx): Likewise.
28628 (md5_finish_ctx): Likewise.
28629 (md5_stream): Likewise.
28630 (md5_buffer): Likewise.
28631 (md5_process_bytes): Likewise.
28632 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28633 (__sha256_finish_ctx): Likewise.
28634 (__sha256_process_bytes): Likewise.
28635 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28636 (__sha512_finish_ctx): Likewise.
28637 (__sha512_process_bytes): Likewise.
28638 * ctype/isctype.c (__isctype): Likewise.
28639 * debug/backtrace.c (__backtrace): Likewise.
28640 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28641 * debug/fgets_chk.c (__fgets_chk): Likewise.
28642 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28643 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28644 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28645 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28646 * debug/memset_chk.c (__memset_chk): Likewise.
28647 * debug/strcat_chk.c (__strcat_chk): Likewise.
28648 * debug/strncat_chk.c (__strncat_chk): Likewise.
28649 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28650 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28651 * dirent/dirfd.c (dirfd): Likewise.
28652 * dirent/getdents.c (__getdirentries): Likewise.
28653 * dirent/getdents64.c (getdirentries64): Likewise.
28654 * dirent/rewinddir.c (__rewinddir): Likewise.
28655 * dirent/seekdir.c (seekdir): Likewise.
28656 * dirent/telldir.c (telldir): Likewise.
28657 * elf/sln.c (makesymlinks): Likewise.
28658 (makesymlink): Likewise.
28659 * gmon/gmon.c (__moncontrol): Likewise.
28660 (__monstartup): Likewise.
28661 (write_hist): Likewise.
28662 (write_call_graph): Likewise.
28663 (write_bb_counts): Likewise.
28664 * grp/setgroups.c (setgroups): Likewise.
28665 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28666 * inet/inet_net.c (inet_network): Likewise.
28667 * inet/inet_netof.c (inet_netof): Likewise.
28668 * inet/rcmd.c (rresvport_af): Likewise.
28669 (rresvport): Likewise.
28670 * io/access.c (__access): Likewise.
28671 * io/chdir.c (__chdir): Likewise.
28672 * io/chmod.c (__chmod): Likewise.
28673 * io/chown.c (__chown): Likewise.
28674 * io/close.c (__close): Likewise.
28675 * io/creat.c (creat): Likewise.
28676 * io/creat64.c (creat64): Likewise.
28677 * io/dup.c (__dup): Likewise.
28678 * io/dup2.c (__dup2): Likewise.
28679 * io/dup3.c (__dup3): Likewise.
28680 * io/euidaccess.c (__euidaccess): Likewise.
28681 * io/faccessat.c (faccessat): Likewise.
28682 * io/fchmod.c (__fchmod): Likewise.
28683 * io/fchmodat.c (fchmodat): Likewise.
28684 * io/fchown.c (__fchown): Likewise.
28685 * io/fchownat.c (fchownat): Likewise.
28686 * io/fcntl.c (__fcntl): Likewise.
28687 * io/flock.c (__flock): Likewise.
28688 * io/fts.c (fts_load): Likewise.
28689 (fts_close): Likewise.
28690 (fts_read): Likewise.
28691 (fts_set): Likewise.
28692 (fts_children): Likewise.
28693 (fts_build): Likewise.
28694 (fts_stat): Likewise.
28695 (fts_sort): Likewise.
28696 (fts_alloc): Likewise.
28697 (fts_lfree): Likewise.
28698 (fts_palloc): Likewise.
28699 (fts_padjust): Likewise.
28700 (fts_maxarglen): Likewise.
28701 (fts_safe_changedir): Likewise.
28702 * io/getwd.c (getwd): Likewise.
28703 * io/isatty.c (__isatty): Likewise.
28704 * io/lchown.c (__lchown): Likewise.
28705 * io/link.c (__link): Likewise.
28706 * io/linkat.c (linkat): Likewise.
28707 * io/lseek.c (__libc_lseek): Likewise.
28708 * io/mkdir.c (__mkdir): Likewise.
28709 * io/mkdirat.c (mkdirat): Likewise.
28710 * io/mkfifo.c (mkfifo): Likewise.
28711 * io/mkfifoat.c (mkfifoat): Likewise.
28712 * io/open.c (__libc_open): Likewise.
28713 * io/open64.c (__libc_open64): Likewise.
28714 * io/readlink.c (__readlink): Likewise.
28715 * io/readlinkat.c (readlinkat): Likewise.
28716 * io/rmdir.c (__rmdir): Likewise.
28717 * io/symlink.c (__symlink): Likewise.
28718 * io/symlinkat.c (symlinkat): Likewise.
28719 * io/ttyname.c (ttyname): Likewise.
28720 * io/ttyname_r.c (__ttyname_r): Likewise.
28721 * io/umask.c (__umask): Likewise.
28722 * io/unlink.c (__unlink): Likewise.
28723 * io/unlinkat.c (unlinkat): Likewise.
28724 * io/utime.c (utime): Likewise.
28725 * libio/clearerr.c (clearerr): Likewise.
28726 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28727 * libio/feof.c (_IO_feof): Likewise.
28728 * libio/feof_u.c (feof_unlocked): Likewise.
28729 * libio/ferror.c (_IO_ferror): Likewise.
28730 * libio/ferror_u.c (ferror_unlocked): Likewise.
28731 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28732 * libio/fileno.c (__fileno): Likewise.
28733 * libio/fputc.c (fputc): Likewise.
28734 * libio/fputc_u.c (fputc_unlocked): Likewise.
28735 * libio/fputwc.c (fputwc): Likewise.
28736 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28737 * libio/freopen.c (freopen): Likewise.
28738 * libio/freopen64.c (freopen64): Likewise.
28739 * libio/fseek.c (fseek): Likewise.
28740 * libio/fseeko.c (fseeko): Likewise.
28741 * libio/fseeko64.c (fseeko64): Likewise.
28742 * libio/ftello.c (__ftello): Likewise.
28743 * libio/ftello64.c (ftello64): Likewise.
28744 * libio/fwide.c (fwide): Likewise.
28745 * libio/genops.c (_IO_un_link): Likewise.
28746 (_IO_link_in): Likewise.
28747 (_IO_least_marker): Likewise.
28748 (_IO_switch_to_main_get_area): Likewise.
28749 (_IO_switch_to_backup_area): Likewise.
28750 (_IO_switch_to_get_mode): Likewise.
28751 (_IO_free_backup_area): Likewise.
28752 (_IO_switch_to_put_mode): Likewise.
28753 (__overflow): Likewise.
28754 (__underflow): Likewise.
28755 (__uflow): Likewise.
28756 (_IO_setb): Likewise.
28757 (_IO_doallocbuf): Likewise.
28758 (_IO_default_underflow): Likewise.
28759 (_IO_default_uflow): Likewise.
28760 (_IO_default_xsputn): Likewise.
28761 (_IO_sgetn): Likewise.
28762 (_IO_default_xsgetn): Likewise.
28763 (_IO_sync): Likewise.
28764 (_IO_default_setbuf): Likewise.
28765 (_IO_default_seekpos): Likewise.
28766 (_IO_default_doallocate): Likewise.
28767 (_IO_init): Likewise.
28768 (_IO_old_init): Likewise.
28769 (_IO_default_sync): Likewise.
28770 (_IO_default_finish): Likewise.
28771 (_IO_default_seekoff): Likewise.
28772 (_IO_sputbackc): Likewise.
28773 (_IO_sungetc): Likewise.
28774 (_IO_set_column): Likewise.
28775 (_IO_set_column): Likewise.
28776 (_IO_adjust_column): Likewise.
28777 (_IO_get_column): Likewise.
28778 (_IO_init_marker): Likewise.
28779 (_IO_remove_marker): Likewise.
28780 (_IO_marker_difference): Likewise.
28781 (_IO_marker_delta): Likewise.
28782 (_IO_seekmark): Likewise.
28783 (_IO_unsave_markers): Likewise.
28784 (_IO_nobackup_pbackfail): Likewise.
28785 (_IO_default_pbackfail): Likewise.
28786 (_IO_default_seek): Likewise.
28787 (_IO_default_stat): Likewise.
28788 (_IO_default_read): Likewise.
28789 (_IO_default_write): Likewise.
28790 (_IO_default_showmanyc): Likewise.
28791 (_IO_default_imbue): Likewise.
28792 (_IO_iter_next): Likewise.
28793 (_IO_iter_file): Likewise.
28794 * libio/getc.c (_IO_getc): Likewise.
28795 * libio/getwc.c (_IO_getwc): Likewise.
28796 * libio/iofclose.c (_IO_new_fclose): Likewise.
28797 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28798 * libio/iofflush.c (_IO_fflush): Likewise.
28799 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28800 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28801 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28802 * libio/iofgets.c (_IO_fgets): Likewise.
28803 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28804 * libio/iofgetws.c (fgetws): Likewise.
28805 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28806 * libio/iofopen64.c (_IO_fopen64): Likewise.
28807 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28808 (_IO_cookie_write): Likewise.
28809 (_IO_cookie_seek): Likewise.
28810 (_IO_cookie_close): Likewise.
28811 (_IO_cookie_seekoff): Likewise.
28812 (_IO_old_cookie_seek): Likewise.
28813 * libio/iofputs.c (_IO_fputs): Likewise.
28814 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28815 * libio/iofputws.c (fputws): Likewise.
28816 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28817 * libio/iofread.c (_IO_fread): Likewise.
28818 * libio/iofread_u.c (__fread_unlocked): Likewise.
28819 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28820 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28821 * libio/ioftell.c (_IO_ftell): Likewise.
28822 * libio/iofwrite.c (_IO_fwrite): Likewise.
28823 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28824 * libio/iogets.c (_IO_gets): Likewise.
28825 * libio/iopadn.c (_IO_padn): Likewise.
28826 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28827 (_IO_new_popen): Likewise.
28828 (_IO_new_proc_close): Likewise.
28829 * libio/ioputs.c (_IO_puts): Likewise.
28830 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28831 (_IO_seekoff): Likewise.
28832 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28833 (_IO_seekpos): Likewise.
28834 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28835 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28836 * libio/ioungetc.c (_IO_ungetc): Likewise.
28837 * libio/ioungetwc.c (ungetwc): Likewise.
28838 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28839 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28840 * libio/iowpadn.c (_IO_wpadn): Likewise.
28841 * libio/libc_fatal.c (__libc_fatal): Likewise.
28842 * libio/memstream.c (__open_memstream): Likewise.
28843 (_IO_mem_sync): Likewise.
28844 (_IO_mem_finish): Likewise.
28845 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28846 (_IO_old_file_close_it): Likewise.
28847 (_IO_old_file_finish): Likewise.
28848 (_IO_old_file_fopen): Likewise.
28849 (_IO_old_file_attach): Likewise.
28850 (_IO_old_file_setbuf): Likewise.
28851 (_IO_old_do_write): Likewise.
28852 (old_do_write): Likewise.
28853 (_IO_old_file_underflow): Likewise.
28854 (_IO_old_file_overflow): Likewise.
28855 (_IO_old_file_sync): Likewise.
28856 (_IO_old_file_seekoff): Likewise.
28857 (_IO_old_file_write): Likewise.
28858 (_IO_old_file_xsputn): Likewise.
28859 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28860 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28861 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28862 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28863 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28864 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28865 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28866 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28867 (_IO_old_popen): Likewise.
28868 (_IO_old_proc_close): Likewise.
28869 * libio/oldpclose.c (__old_pclose): Likewise.
28870 * libio/pclose.c (__new_pclose): Likewise.
28871 * libio/peekc.c (_IO_peekc_locked): Likewise.
28872 * libio/putc.c (_IO_putc): Likewise.
28873 * libio/putc_u.c (putc_unlocked): Likewise.
28874 * libio/putchar.c (putchar): Likewise.
28875 * libio/putchar_u.c (putchar_unlocked): Likewise.
28876 * libio/putwc.c (putwc): Likewise.
28877 * libio/putwc_u.c (putwc_unlocked): Likewise.
28878 * libio/putwchar.c (putwchar): Likewise.
28879 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28880 * libio/rewind.c (rewind): Likewise.
28881 * libio/setbuf.c (setbuf): Likewise.
28882 * libio/setlinebuf.c (setlinebuf): Likewise.
28883 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28884 * libio/vscanf.c (_IO_vscanf): Likewise.
28885 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28886 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28887 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28888 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28889 (_IO_switch_to_main_wget_area): Likewise.
28890 (_IO_switch_to_wbackup_area): Likewise.
28891 (_IO_wsetb): Likewise.
28892 (_IO_wdefault_pbackfail): Likewise.
28893 (_IO_wdefault_finish): Likewise.
28894 (_IO_wdefault_uflow): Likewise.
28895 (__woverflow): Likewise.
28896 (__wuflow): Likewise.
28897 (__wunderflow): Likewise.
28898 (_IO_wdefault_xsputn): Likewise.
28899 (_IO_wdefault_xsgetn): Likewise.
28900 (_IO_wdoallocbuf): Likewise.
28901 (_IO_wdefault_doallocate): Likewise.
28902 (_IO_switch_to_wget_mode): Likewise.
28903 (_IO_free_wbackup_area): Likewise.
28904 (_IO_switch_to_wput_mode): Likewise.
28905 (_IO_sputbackwc): Likewise.
28906 (_IO_sungetwc): Likewise.
28907 (_IO_adjust_wcolumn): Likewise.
28908 (_IO_init_wmarker): Likewise.
28909 (_IO_wmarker_delta): Likewise.
28910 (_IO_seekwmark): Likewise.
28911 (_IO_unsave_wmarkers): Likewise.
28912 * libio/wmemstream.c (open_wmemstream): Likewise.
28913 (_IO_wmem_sync): Likewise.
28914 (_IO_wmem_finish): Likewise.
28915 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28916 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28917 * locale/programs/simple-hash.c (init_hash): Likewise.
28918 (delete_hash): Likewise.
28919 (insert_entry): Likewise.
28920 (set_entry): Likewise.
28921 (next_prime): Likewise.
28922 (is_prime): Likewise.
28923 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28924 (xmalloc): Likewise.
28925 (xrealloc): Likewise.
28926 * locale/programs/xstrdup.c (xstrdup): Likewise.
28927 * localedata/collate-test.c (xstrcoll): Likewise.
28928 * localedata/xfrm-test.c (xstrcmp): Likewise.
28929 * login/getlogin_r.c (__getlogin_r): Likewise.
28930 * login/getpt.c (__posix_openpt): Likewise.
28931 * login/login_tty.c (login_tty): Likewise.
28932 * login/setlogin.c (setlogin): Likewise.
28933 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28934 (mach_msg_destroy_port): Likewise.
28935 (mach_msg_destroy_memory): Likewise.
28936 * malloc/mcheck.c (flood): Likewise.
28937 * misc/acct.c (acct): Likewise.
28938 * misc/brk.c (__brk): Likewise.
28939 * misc/chflags.c (chflags): Likewise.
28940 * misc/chroot.c (chroot): Likewise.
28941 * misc/fchflags.c (fchflags): Likewise.
28942 * misc/fstab.c (getfsspec): Likewise.
28943 (getfsfile): Likewise.
28944 * misc/fsync.c (fsync): Likewise.
28945 * misc/ftruncate.c (__ftruncate): Likewise.
28946 * misc/ftruncate64.c (__ftruncate64): Likewise.
28947 * misc/getdomain.c (getdomainname): Likewise.
28948 (getdomainname): Likewise.
28949 * misc/gethostname.c (__gethostname): Likewise.
28950 * misc/getpass.c (getpass): Likewise.
28951 * misc/getttyent.c (skip): Likewise.
28952 (value): Likewise.
28953 * misc/gtty.c (gtty): Likewise.
28954 * misc/hsearch.c (hsearch): Likewise.
28955 (hcreate): Likewise.
28956 * misc/hsearch_r.c (__hcreate_r): Likewise.
28957 (__hdestroy_r): Likewise.
28958 * misc/ioctl.c (__ioctl): Likewise.
28959 * misc/mkdtemp.c (mkdtemp): Likewise.
28960 * misc/mkostemp.c (mkostemp): Likewise.
28961 * misc/mkostemp64.c (mkostemp64): Likewise.
28962 * misc/mkostemps.c (mkostemps): Likewise.
28963 * misc/mkostemps64.c (mkostemps64): Likewise.
28964 * misc/mkstemp.c (mkstemp): Likewise.
28965 * misc/mkstemp64.c (mkstemp64): Likewise.
28966 * misc/mkstemps.c (mkstemps): Likewise.
28967 * misc/mkstemps64.c (mkstemps64): Likewise.
28968 * misc/mktemp.c (__mktemp): Likewise.
28969 * misc/preadv.c (preadv): Likewise.
28970 * misc/preadv64.c (preadv64): Likewise.
28971 * misc/pwritev.c (pwritev): Likewise.
28972 * misc/pwritev64.c (pwritev64): Likewise.
28973 * misc/readv.c (__readv): Likewise.
28974 * misc/revoke.c (revoke): Likewise.
28975 * misc/setdomain.c (setdomainname): Likewise.
28976 * misc/setegid.c (setegid): Likewise.
28977 * misc/seteuid.c (seteuid): Likewise.
28978 * misc/sethostid.c (sethostid): Likewise.
28979 * misc/sethostname.c (sethostname): Likewise.
28980 * misc/setregid.c (__setregid): Likewise.
28981 * misc/setreuid.c (__setreuid): Likewise.
28982 * misc/sstk.c (sstk): Likewise.
28983 * misc/stty.c (stty): Likewise.
28984 * misc/syscall.c (syscall): Likewise.
28985 * misc/syslog.c (setlogmask): Likewise.
28986 * misc/truncate.c (__truncate): Likewise.
28987 * misc/truncate64.c (truncate64): Likewise.
28988 * misc/ualarm.c (ualarm): Likewise.
28989 * misc/usleep.c (usleep): Likewise.
28990 * misc/ustat.c (ustat): Likewise.
28991 * misc/writev.c (__writev): Likewise.
28992 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28993 * nptl/old_pthread_cond_broadcast.c
28994 (__pthread_cond_broadcast_2_0): Likewise.
28995 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28996 Likewise.
28997 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28998 Likewise.
28999 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
29000 Likewise.
29001 * nptl/pt-raise.c (raise): Likewise.
29002 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
29003 Likewise.
29004 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
29005 * nptl/pthread_barrierattr_destroy.c
29006 (pthread_barrierattr_destroy): Likewise.
29007 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29008 Likewise.
29009 * nptl/pthread_barrierattr_setpshared.c
29010 (pthread_barrierattr_setpshared): Likewise.
29011 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29012 Likewise.
29013 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
29014 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29015 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
29016 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
29017 Likewise.
29018 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
29019 Likewise.
29020 * nptl/pthread_condattr_getpshared.c
29021 (pthread_condattr_getpshared): Likewise.
29022 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
29023 Likewise.
29024 * nptl/pthread_condattr_setpshared.c
29025 (pthread_condattr_setpshared): Likewise.
29026 * nptl/pthread_detach.c (pthread_detach): Likewise.
29027 * nptl/pthread_equal.c (__pthread_equal): Likewise.
29028 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
29029 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
29030 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
29031 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
29032 Likewise.
29033 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
29034 Likewise.
29035 * nptl/pthread_mutex_getprioceiling.c
29036 (pthread_mutex_getprioceiling): Likewise.
29037 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
29038 Likewise.
29039 * nptl/pthread_mutexattr_getprotocol.c
29040 (pthread_mutexattr_getprotocol): Likewise.
29041 * nptl/pthread_mutexattr_getpshared.c
29042 (pthread_mutexattr_getpshared): Likewise.
29043 * nptl/pthread_mutexattr_getrobust.c
29044 (pthread_mutexattr_getrobust): Likewise.
29045 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29046 Likewise.
29047 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
29048 Likewise.
29049 * nptl/pthread_mutexattr_setprioceiling.c
29050 (pthread_mutexattr_setprioceiling): Likewise.
29051 * nptl/pthread_mutexattr_setprotocol.c
29052 (pthread_mutexattr_setprotocol): Likewise.
29053 * nptl/pthread_mutexattr_setpshared.c
29054 (pthread_mutexattr_setpshared): Likewise.
29055 * nptl/pthread_mutexattr_setrobust.c
29056 (pthread_mutexattr_setrobust): Likewise.
29057 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
29058 Likewise.
29059 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
29060 Likewise.
29061 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
29062 Likewise.
29063 * nptl/pthread_rwlockattr_getkind_np.c
29064 (pthread_rwlockattr_getkind_np): Likewise.
29065 * nptl/pthread_rwlockattr_getpshared.c
29066 (pthread_rwlockattr_getpshared): Likewise.
29067 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
29068 Likewise.
29069 * nptl/pthread_rwlockattr_setkind_np.c
29070 (pthread_rwlockattr_setkind_np): Likewise.
29071 * nptl/pthread_rwlockattr_setpshared.c
29072 (pthread_rwlockattr_setpshared): Likewise.
29073 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
29074 Likewise.
29075 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
29076 Likewise.
29077 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
29078 Likewise.
29079 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
29080 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
29081 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
29082 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
29083 * nptl/sem_close.c (sem_close): Likewise.
29084 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
29085 * nptl/sem_init.c (__old_sem_init): Likewise.
29086 * nptl/sigaction.c (__sigaction): Likewise.
29087 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
29088 * posix/_exit.c (_exit): Likewise.
29089 * posix/alarm.c (alarm): Likewise.
29090 * posix/confstr.c (confstr): Likewise.
29091 * posix/fpathconf.c (__fpathconf): Likewise.
29092 * posix/getgroups.c (__getgroups): Likewise.
29093 * posix/getpgid.c (__getpgid): Likewise.
29094 * posix/group_member.c (__group_member): Likewise.
29095 * posix/pathconf.c (__pathconf): Likewise.
29096 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
29097 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
29098 * posix/setgid.c (__setgid): Likewise.
29099 * posix/setpgid.c (__setpgid): Likewise.
29100 * posix/setuid.c (__setuid): Likewise.
29101 * posix/sleep.c (__sleep): Likewise.
29102 * posix/sysconf.c (__sysconf): Likewise.
29103 * posix/times.c (__times): Likewise.
29104 * posix/uname.c (__uname): Likewise.
29105 * posix/waitid.c (__waitid): Likewise.
29106 * pwd/getpw.c (__getpw): Likewise.
29107 * resolv/base64.c (b64_pton): Likewise.
29108 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29109 * resolv/gethnamaddr.c (Dprintf): Likewise.
29110 (gethostbyname): Likewise.
29111 (gethostbyname2): Likewise.
29112 (gethostbyaddr): Likewise.
29113 (_sethtent): Likewise.
29114 (_gethtbyname): Likewise.
29115 (_gethtbyname2): Likewise.
29116 (_gethtbyaddr): Likewise.
29117 (map_v4v6_address): Likewise.
29118 (map_v4v6_hostent): Likewise.
29119 (addrsort): Likewise.
29120 (ht_sethostent): Likewise.
29121 (ht_gethostbyname): Likewise.
29122 (ht_gethostbyaddr): Likewise.
29123 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
29124 (inet_net_ntop_ipv4): Likewise.
29125 * resolv/inet_neta.c (inet_neta): Likewise.
29126 * resolv/inet_ntop.c (inet_ntop): Likewise.
29127 (inet_ntop4): Likewise.
29128 (inet_ntop6): Likewise.
29129 * resolv/inet_pton.c (__inet_pton): Likewise.
29130 (inet_pton4): Likewise.
29131 (inet_pton6): Likewise.
29132 * resolv/res_debug.c (loc_aton): Likewise.
29133 (loc_ntoa): Likewise.
29134 * resource/getpriority.c (__getpriority): Likewise.
29135 * resource/getrusage.c (__getrusage): Likewise.
29136 * resource/nice.c (nice): Likewise.
29137 * resource/setpriority.c (__setpriority): Likewise.
29138 * resource/setrlimit64.c (setrlimit64): Likewise.
29139 * resource/vlimit.c (vlimit): Likewise.
29140 * resource/vtimes.c (vtimes): Likewise.
29141 * rt/aio_error.c (aio_error): Likewise.
29142 * rt/aio_return.c (aio_return): Likewise.
29143 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
29144 * signal/kill.c (__kill): Likewise.
29145 * signal/killpg.c (killpg): Likewise.
29146 * signal/raise.c (raise): Likewise.
29147 * signal/sigaction.c (__sigaction): Likewise.
29148 * signal/sigaddset.c (sigaddset): Likewise.
29149 * signal/sigaltstack.c (sigaltstack): Likewise.
29150 * signal/sigandset.c (sigandset): Likewise.
29151 * signal/sigblock.c (__sigblock): Likewise.
29152 * signal/sigdelset.c (sigdelset): Likewise.
29153 * signal/sigempty.c (sigemptyset): Likewise.
29154 * signal/sigfillset.c (sigfillset): Likewise.
29155 * signal/sighold.c (sighold): Likewise.
29156 * signal/sigignore.c (sigignore): Likewise.
29157 * signal/sigintr.c (siginterrupt): Likewise.
29158 * signal/sigisempty.c (sigisemptyset): Likewise.
29159 * signal/sigismem.c (sigismember): Likewise.
29160 * signal/signal.c (signal): Likewise.
29161 * signal/sigorset.c (sigorset): Likewise.
29162 * signal/sigpause.c (__sigpause): Likewise.
29163 * signal/sigpending.c (sigpending): Likewise.
29164 * signal/sigprocmask.c (__sigprocmask): Likewise.
29165 * signal/sigrelse.c (sigrelse): Likewise.
29166 * signal/sigreturn.c (__sigreturn): Likewise.
29167 * signal/sigset.c (sigset): Likewise.
29168 * signal/sigsetmask.c (__sigsetmask): Likewise.
29169 * signal/sigstack.c (sigstack): Likewise.
29170 * signal/sigsuspend.c (__sigsuspend): Likewise.
29171 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
29172 * signal/sysv_signal.c (__sysv_signal): Likewise.
29173 * socket/accept.c (accept): Likewise.
29174 * socket/accept4.c (__libc_accept4): Likewise.
29175 * socket/bind.c (__bind): Likewise.
29176 * socket/connect.c (__connect): Likewise.
29177 * socket/getpeername.c (getpeername): Likewise.
29178 * socket/getsockname.c (__getsockname): Likewise.
29179 * socket/getsockopt.c (getsockopt): Likewise.
29180 * socket/listen.c (__listen): Likewise.
29181 * socket/recv.c (__recv): Likewise.
29182 * socket/recvmsg.c (__recvmsg): Likewise.
29183 * socket/send.c (__send): Likewise.
29184 * socket/sendmsg.c (__sendmsg): Likewise.
29185 * socket/shutdown.c (shutdown): Likewise.
29186 * socket/sockatmark.c (sockatmark): Likewise.
29187 * socket/socket.c (__socket): Likewise.
29188 * stdio-common/ctermid.c (ctermid): Likewise.
29189 * stdio-common/cuserid.c (cuserid): Likewise.
29190 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29191 * stdio-common/remove.c (remove): Likewise.
29192 * stdio-common/rename.c (rename): Likewise.
29193 * stdio-common/renameat.c (renameat): Likewise.
29194 * stdio-common/tempname.c (__gen_tempname): Likewise.
29195 * stdio-common/xbug.c (InitBuffer): Likewise.
29196 (AppendToBuffer): Likewise.
29197 (ReadFile): Likewise.
29198 * stdlib/a64l.c (a64l): Likewise.
29199 * stdlib/drand48_r.c (drand48_r): Likewise.
29200 * stdlib/getcontext.c (getcontext): Likewise.
29201 * stdlib/getenv.c (getenv): Likewise.
29202 * stdlib/l64a.c (l64a): Likewise.
29203 * stdlib/llabs.c (llabs): Likewise.
29204 * stdlib/lldiv.c (lldiv): Likewise.
29205 * stdlib/lrand48_r.c (lrand48_r): Likewise.
29206 * stdlib/mrand48_r.c (mrand48_r): Likewise.
29207 * stdlib/putenv.c (putenv): Likewise.
29208 * stdlib/random.c (__srandom): Likewise.
29209 (__initstate): Likewise.
29210 (__setstate): Likewise.
29211 * stdlib/random_r.c (__srandom_r): Likewise.
29212 (__setstate_r): Likewise.
29213 (__random_r): Likewise.
29214 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29215 * stdlib/setcontext.c (setcontext): Likewise.
29216 * stdlib/setenv.c (setenv): Likewise.
29217 (unsetenv): Likewise.
29218 * stdlib/srand48.c (srand48): Likewise.
29219 * stdlib/srand48_r.c (__srand48_r): Likewise.
29220 * stdlib/swapcontext.c (swapcontext): Likewise.
29221 * stdlib/system.c (__libc_system): Likewise.
29222 * stdlib/tst-strtod.c (expand): Likewise.
29223 * stdlib/tst-strtol.c (expand): Likewise.
29224 * stdlib/tst-strtoll.c (expand): Likewise.
29225 * streams/fattach.c (fattach): Likewise.
29226 * streams/fdetach.c (fdetach): Likewise.
29227 * streams/getmsg.c (getmsg): Likewise.
29228 * streams/isastream.c (isastream): Likewise.
29229 * string/ffs.c (__ffs): Likewise.
29230 * string/ffsll.c (ffsll): Likewise.
29231 * string/memcmp.c (memcmp_common_alignment): Likewise.
29232 (memcmp_not_common_alignment): Likewise.
29233 (MEMCMP): Likewise.
29234 * string/memcpy.c (memcpy): Likewise.
29235 * string/memmove.c (MEMMOVE): Likewise.
29236 * string/memset.c (memset): Likewise.
29237 * string/rawmemchr.c (RAWMEMCHR): Likewise.
29238 * string/strchrnul.c (STRCHRNUL): Likewise.
29239 * string/strerror.c (strerror): Likewise.
29240 * string/strndup.c (__strndup): Likewise.
29241 * string/strverscmp.c (__strverscmp): Likewise.
29242 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29243 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29244 (clnttcp_freeres): Likewise.
29245 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29246 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29247 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29248 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29249 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29250 (xdr_callhdr): Likewise.
29251 * sunrpc/rpcinfo.c (udpping): Likewise.
29252 (tcpping): Likewise.
29253 (pstatus): Likewise.
29254 (pmapdump): Likewise.
29255 (brdcst): Likewise.
29256 (deletereg): Likewise.
29257 (getprognum): Likewise.
29258 (getvers): Likewise.
29259 (get_inet_address): Likewise.
29260 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29261 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29262 (svcudp_stat): Likewise.
29263 (svcudp_recv): Likewise.
29264 (svcudp_reply): Likewise.
29265 (svcudp_getargs): Likewise.
29266 (svcudp_freeargs): Likewise.
29267 (svcudp_destroy): Likewise.
29268 * sunrpc/xdr.c (xdr_bytes): Likewise.
29269 (xdr_netobj): Likewise.
29270 (xdr_string): Likewise.
29271 (xdr_wrapstring): Likewise.
29272 * sunrpc/xdr_float.c (xdr_float): Likewise.
29273 (xdr_double): Likewise.
29274 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29275 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29276 * sysvipc/ftok.c (ftok): Likewise.
29277 * sysvipc/msgctl.c (msgctl): Likewise.
29278 * sysvipc/msgget.c (msgget): Likewise.
29279 * sysvipc/msgrcv.c (msgrcv): Likewise.
29280 * sysvipc/msgsnd.c (msgsnd): Likewise.
29281 * sysvipc/semget.c (semget): Likewise.
29282 * sysvipc/semop.c (semop): Likewise.
29283 * sysvipc/shmat.c (shmat): Likewise.
29284 * sysvipc/shmctl.c (shmctl): Likewise.
29285 * sysvipc/shmdt.c (shmdt): Likewise.
29286 * sysvipc/shmget.c (shmget): Likewise.
29287 * termios/cfmakeraw.c (cfmakeraw): Likewise.
29288 * termios/speed.c (cfgetospeed): Likewise.
29289 (cfgetispeed): Likewise.
29290 (cfsetospeed): Likewise.
29291 (cfsetispeed): Likewise.
29292 * termios/tcflow.c (tcflow): Likewise.
29293 * termios/tcflush.c (tcflush): Likewise.
29294 * termios/tcgetattr.c (__tcgetattr): Likewise.
29295 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29296 * termios/tcgetsid.c (tcgetsid): Likewise.
29297 * termios/tcsendbrk.c (tcsendbreak): Likewise.
29298 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29299 * time/adjtime.c (__adjtime): Likewise.
29300 * time/dysize.c (dysize): Likewise.
29301 * time/ftime.c (ftime): Likewise.
29302 * time/getitimer.c (__getitimer): Likewise.
29303 * time/gettimeofday.c (__gettimeofday): Likewise.
29304 * time/gmtime.c (__gmtime_r): Likewise.
29305 (gmtime): Likewise.
29306 * time/localtime.c (__localtime_r): Likewise.
29307 (localtime): Likewise.
29308 * time/offtime.c (__offtime): Likewise.
29309 * time/settimeofday.c (__settimeofday): Likewise.
29310 * time/stime.c (stime): Likewise.
29311 * time/strftime_l.c (tm_diff): Likewise.
29312 (iso_week_days): Likewise.
29313 * time/strptime.c (strptime): Likewise.
29314 * time/time.c (time): Likewise.
29315 * time/timespec_get.c (timespec_get): Likewise.
29316 * time/tzset.c (tzset_internal): Likewise.
29317 (compute_change): Likewise.
29318 (__tz_compute): Likewise.
29319 * wcsmbs/btowc.c (__btowc): Likewise.
29320 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29321 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29322 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29323 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29324 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29325 * wcsmbs/wcscat.c (__wcscat): Likewise.
29326 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29327 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29328 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29329 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29330 * wcsmbs/wcsdup.c (wcsdup): Likewise.
29331 * wcsmbs/wcslen.c (__wcslen): Likewise.
29332 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29333 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29334 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29335 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29336 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29337 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29338 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29339 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29340 * wcsmbs/wcstok.c (wcstok): Likewise.
29341 * wcsmbs/wctob.c (wctob): Likewise.
29342 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29343 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29344 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29345 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29346 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29347 * wcsmbs/wmemset.c (__wmemset): Likewise.
29348 * wctype/wcfuncs.c (__towlower): Likewise.
29349 (__towupper): Likewise.
29350
29351 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29352 (lll_unlock_elision): Add adapt_count parameter.
29353
293542015-10-15 Joseph Myers <joseph@codesourcery.com>
29355
29356 * sysdeps/nptl/configure.ac: Do not give errors based on the
29357 results of top-level configure tests.
29358 * sysdeps/nptl/configure: Regenerated.
29359
29360 * configure.ac (libc_cv_Bgroup): Remove configure test.
29361 * configure: Regenerated.
29362 * config.make.in (have-Bgroup): Remove variable.
29363
29364 * configure.ac (sizeof_long_double): Remove configure test.
29365 * configure: Regenerated.
29366 * config.make.in (sizeof-long-double): Remove variable.
29367
29368 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29369 * configure: Regenerated.
29370 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29371 variable.
29372 (exceptions): Likewise.
29373 * sysdeps/arm/configure: Regenerated.
29374 * config.make.in (exceptions): Remove variable.
29375 * Makeconfig (uses-callbacks): Use -fexceptions instead of
29376 $(exceptions).
29377 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29378 (CFLAGS-vdprintf_chk.c): Likewise.
29379 (CFLAGS-printf_chk.c): Likewise.
29380 (CFLAGS-fprintf_chk.c): Likewise.
29381 (CFLAGS-vprintf_chk.c): Likewise.
29382 (CFLAGS-vfprintf_chk.c): Likewise.
29383 (CFLAGS-gets_chk.c): Likewise.
29384 (CFLAGS-fgets_chk.c): Likewise.
29385 (CFLAGS-fgets_u_chk.c): Likewise.
29386 (CFLAGS-fread_chk.c): Likewise.
29387 (CFLAGS-fread_u_chk.c): Likewise.
29388 (CFLAGS-wprintf_chk.c): Likewise.
29389 (CFLAGS-fwprintf_chk.c): Likewise.
29390 (CFLAGS-vwprintf_chk.c): Likewise.
29391 (CFLAGS-vfwprintf_chk.c): Likewise.
29392 (CFLAGS-fgetws_chk.c): Likewise.
29393 (CFLAGS-fgetws_u_chk.c): Likewise.
29394 * libio/Makefile (CFLAGS-fileops.c): Likewise.
29395 (CFLAGS-fputc.c): Likewise.
29396 (CFLAGS-fputwc.c): Likewise.
29397 (CFLAGS-freopen64.c): Likewise.
29398 (CFLAGS-freopen.c): Likewise.
29399 (CFLAGS-fseek.c): Likewise.
29400 (CFLAGS-fseeko64.c): Likewise.
29401 (CFLAGS-fseeko.c): Likewise.
29402 (CFLAGS-ftello64.c): Likewise.
29403 (CFLAGS-ftello.c): Likewise.
29404 (CFLAGS-fwide.c): Likewise.
29405 (CFLAGS-genops.c): Likewise.
29406 (CFLAGS-getc.c): Likewise.
29407 (CFLAGS-getchar.c): Likewise.
29408 (CFLAGS-getwc.c): Likewise.
29409 (CFLAGS-getwchar.c): Likewise.
29410 (CFLAGS-iofclose.c): Likewise.
29411 (CFLAGS-iofflush.c): Likewise.
29412 (CFLAGS-iofgetpos64.c): Likewise.
29413 (CFLAGS-iofgetpos.c): Likewise.
29414 (CFLAGS-iofgets.c): Likewise.
29415 (CFLAGS-iofgetws.c): Likewise.
29416 (CFLAGS-iofputs.c): Likewise.
29417 (CFLAGS-iofputws.c): Likewise.
29418 (CFLAGS-iofread.c): Likewise.
29419 (CFLAGS-iofsetpos64.c): Likewise.
29420 (CFLAGS-iofsetpos.c): Likewise.
29421 (CFLAGS-ioftell.c): Likewise.
29422 (CFLAGS-iofwrite.c): Likewise.
29423 (CFLAGS-iogetdelim.c): Likewise.
29424 (CFLAGS-iogetline.c): Likewise.
29425 (CFLAGS-iogets.c): Likewise.
29426 (CFLAGS-iogetwline.c): Likewise.
29427 (CFLAGS-ioputs.c): Likewise.
29428 (CFLAGS-ioseekoff.c): Likewise.
29429 (CFLAGS-ioseekpos.c): Likewise.
29430 (CFLAGS-iosetbuffer.c): Likewise.
29431 (CFLAGS-iosetvbuf.c): Likewise.
29432 (CFLAGS-ioungetc.c): Likewise.
29433 (CFLAGS-ioungetwc.c): Likewise.
29434 (CFLAGS-oldfileops.c): Likewise.
29435 (CFLAGS-oldiofclose.c): Likewise.
29436 (CFLAGS-oldiofgetpos64.c): Likewise.
29437 (CFLAGS-oldiofgetpos.c): Likewise.
29438 (CFLAGS-oldiofsetpos64.c): Likewise.
29439 (CFLAGS-oldiofsetpos.c): Likewise.
29440 (CFLAGS-peekc.c): Likewise.
29441 (CFLAGS-putc.c): Likewise.
29442 (CFLAGS-putchar.c): Likewise.
29443 (CFLAGS-putwc.c): Likewise.
29444 (CFLAGS-putwchar.c): Likewise.
29445 (CFLAGS-rewind.c): Likewise.
29446 (CFLAGS-wfileops.c): Likewise.
29447 (CFLAGS-wgenops.c): Likewise.
29448 (CFLAGS-oldiofopen.c): Likewise.
29449 (CFLAGS-iofopen.c): Likewise.
29450 (CFLAGS-iofopen64.c): Likewise.
29451 (CFLAGS-oldtmpfile.c): Likewise.
29452 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29453 (CFLAGS-fprintf.c): Likewise.
29454 (CFLAGS-printf.c): Likewise.
29455 (CFLAGS-vfwprintf.c): Likewise.
29456 (CFLAGS-vfscanf.c): Likewise.
29457 (CFLAGS-vfwscanf.c): Likewise.
29458 (CFLAGS-fscanf.c): Likewise.
29459 (CFLAGS-scanf.c): Likewise.
29460 (CFLAGS-isoc99_vfscanf.c): Likewise.
29461 (CFLAGS-isoc99_vscanf.c): Likewise.
29462 (CFLAGS-isoc99_fscanf.c): Likewise.
29463 (CFLAGS-isoc99_scanf.c): Likewise.
29464 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29465 (CFLAGS-isoc99_fwscanf.c): Likewise.
29466 (CFLAGS-isoc99_vwscanf.c): Likewise.
29467 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29468
29469 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29470 after mkstemp64.
29471 * login/tst-utmp.c (do_prepare): Likewise.
29472 * rt/tst-aio.c (do_prepare): Likewise.
29473 * rt/tst-aio64.c (do_prepare): Likewise.
29474
294752015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29476
29477 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29478 (__lll_lock_elision): Remove adapt_count decrement...
29479 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29480 (__lll_trylock_elision): Likewise.
29481 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29482 (__lll_unlock_elision): ... to here. And utilize
29483 new adapt_count parameter.
29484 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29485 (__lll_unlock_elision): Update to include adapt_count
29486 parameter.
29487 (lll_unlock_elision): Pass pointer to adapt_count
29488 variable.
29489
294902015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29491
29492 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29493 Add elision adapt_count parameter to list of arguments.
29494 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29495 (lll_unlock_elision): Update with new parameter list
29496 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29497 (lll_unlock_elision): Likewise.
29498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29499 (lll_unlock_elision): Likewise.
29500
295012015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29502
29503 [BZ #19122]
29504 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29505 attribute_hidden.
29506
29507 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29508 attribute_hidden.
29509 [IS_IN (rtld)] (__strdup): Likewise.
29510 [IS_IN (rtld)] (__strerror_r): Likewise.
29511 [IS_IN (rtld)] (__strsep_g): Likewise.
29512 [IS_IN (rtld)] (memchr): Likewise.
29513 [IS_IN (rtld)] (memcmp): Likewise.
29514 [IS_IN (rtld)] (memcpy): Likewise.
29515 [IS_IN (rtld)] (memmove): Likewise.
29516 [IS_IN (rtld)] (memset): Likewise.
29517 [IS_IN (rtld)] (rawmemchr): Likewise.
29518 [IS_IN (rtld)] (stpcpy): Likewise.
29519 [IS_IN (rtld)] (strchr): Likewise.
29520 [IS_IN (rtld)] (strcmp): Likewise.
29521 [IS_IN (rtld)] (strlen): Likewise.
29522 [IS_IN (rtld)] (strnlen): Likewise.
29523 [IS_IN (rtld)] (strsep): Likewise.
29524
29525 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29526 attribute_hidden.
29527 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29528
29529 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29530 attribute_hidden.
29531 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29532
29533 * include/setjmp.h (__longjmp): Add attribute_hidden.
29534 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29535
29536 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29537 Add attribute_hidden.
29538
29539 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29540 [IS_IN (rtld)] (__open): Likewise.
29541 [IS_IN (rtld)] (__fcntl): Likewise.
29542
29543 * include/dirent.h (__opendirat): Add attribute_hidden.
29544 (__getdents): Likewise.
29545 (__getdents64): Likewise.
29546 (__alloc_dir): Likewise.
29547 [IS_IN (rtld)] (__closedir): Likewise.
29548 [IS_IN (rtld)] (__fdopendir): Likewise.
29549 [IS_IN (rtld)] (__readdir): Likewise.
29550 [IS_IN (rtld)] (__readdir64): Likewise.
29551 [IS_IN (rtld)] (__rewinddir): Likewise.
29552
29553 * include/dlfcn.h (_dl_catch_error): Moved to ...
29554 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29555 attribute_hidden.
29556
29557 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29558 (_itoa_word): Likewise.
29559
29560 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29561 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29562 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29563 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29564 (_dl_higher_prime_number): Likewise.
29565 (_dl_debug_printf_c): Likewise.
29566 (_dl_signal_cerror): Likewise.
29567 (_dl_receive_error): Likewise.
29568 (_dl_reloc_bad_type): Likewise.
29569 (_dl_resolve_conflicts): Likewise.
29570 (_dl_check_all_versions): Likewise.
29571 (_dl_check_map_versions): Likewise.
29572 (_dl_sort_fini): Likewise.
29573 (_dl_debug_initialize): Likewise.
29574 (_dl_init_paths): Likewise.
29575 (_dl_show_auxv): Likewise.
29576 (_dl_next_ld_env_entry): Likewise.
29577 (_dl_important_hwcaps): Likewise.
29578 (_dl_load_cache_lookup): Likewise.
29579 (_dl_update_slotinfo): Likewise.
29580 (_dl_show_scope): Likewise.
29581
29582 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29583 attribute_hidden.
29584 (_wordcopy_fwd_dest_aligned): Likewise.
29585 (_wordcopy_bwd_aligned): Likewise.
29586 (_wordcopy_bwd_dest_aligned): Likewise.
29587
29588 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29589 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29590 Likewise.
29591 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29592 Likewise.
29593 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29594
295952015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29596
29597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29598 GCC 5 requirement.
29599
296002015-10-15 Joseph Myers <joseph@codesourcery.com>
29601
29602 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29603 test.
29604 * sysdeps/i386/configure: Regenerated.
29605 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29606 code unconditional.
29607
29608 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29609 test.
29610 (libc_cv_asm_popsection_directive): Likewise.
29611 * configure: Regenerated.
29612 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29613 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29614 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29615 (__make_section_unallocated): Make definition unconditional.
29616 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29617 Remove conditional definition.
29618 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29619 (__make_section_unallocated): Likewise.
29620
29621 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29622 * configure: Regenerated.
29623 * config.make.in (static-libgcc): Remove variable.
29624 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29625 $(static-libgcc).
29626 (build-module-helper): Likewise.
29627
29628 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29629 * configure: Regenerated.
29630
296312015-10-15 Florian Weimer <fweimer@redhat.com>
29632
29633 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29634 (struct char_buffer): New type.
29635 (char_buffer_start, char_buffer_size, char_buffer_error)
29636 (char_buffer_rewind, char_buffer_add): New functions.
29637 (ADDW): Remove macro, replaced by the char_buffer_add function.
29638 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29639 of extend_alloca. Make control flow more explicit.
29640
296412015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29642
29643 [BZ #19137]
29644 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29645 Add -fomit-frame-pointer.
29646 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29647
296482015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29649
29650 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29651 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29652 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29653 only if !__GNUC_PREREQ (5,0).
29654 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29655 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29656 (INTERNAL_SYSCALL_NCS): Likewise.
29657 (LOADREGS_0): New macro for GCC 5.
29658 (ASMARGS_0): Likewise.
29659 (LOADREGS_1): Likewise.
29660 (ASMARGS_1): Likewise.
29661 (LOADREGS_2): Likewise.
29662 (ASMARGS_2): Likewise.
29663 (LOADREGS_3): Likewise.
29664 (ASMARGS_3): Likewise.
29665 (LOADREGS_4): Likewise.
29666 (ASMARGS_4): Likewise.
29667 (LOADREGS_5): Likewise.
29668 (ASMARGS_5): Likewise.
29669 (LOADREGS_6): Likewise.
29670 (ASMARGS_6): Likewise.
29671
296722015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29673
29674 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29675 -fomit-frame-pointer.
29676 (CFLAGS-mmap64.c): Likewise.
29677 (CFLAGS-semtimedop.c): Likewise.
29678 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29679 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29680 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29681 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29682
296832015-10-15 Florian Weimer <fweimer@redhat.com>
29684
29685 [BZ #18928]
29686 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29687 _dl_pointer_guard member.
29688 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29689 initializer.
29690 (security_init): Always set up pointer guard.
29691 (process_envvars): Do not process LD_POINTER_GUARD.
29692
296932015-10-14 Joseph Myers <joseph@codesourcery.com>
29694
29695 [BZ #19134]
29696 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29697 (.LC2): Likewise.
29698 (.LC3): Likewise.
29699 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29700
297012015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29702
29703 [BZ #19129]
29704 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29705 r0 and r1.
29706
297072015-10-14 Namhyung Kim <namhyung@gmail.com>
29708
29709 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29710
297112015-10-14 Carlos O'Donell <carlos@redhat.com>
29712
29713 * include/stap-probe.h: Fix macro definition formatting.
29714
297152015-10-14 Florian Weimer <fweimer@redhat.com>
29716
29717 [BZ #19074]
29718 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29719 load and store num_ifs.
29720
297212015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29722
29723 [BZ #18822]
29724 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29725 (__sched_getaffinity_new): Add libc_hidden_proto and
29726 libc_hidden_def.
29727
297282015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29729
29730 [BZ #19007]
29731 * scripts/localplt.awk: Also allow GOT references.
29732 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29733 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29734 with "+ REL R_386_GLOB_DAT".
29735 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29736 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29737
297382015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29739
29740 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29741 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29742 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29743 Likewise.
29744 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29745 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29746 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29747 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29748 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29749 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29750 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29751 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29752 Likewise.
29753 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29754
297552015-10-13 Joseph Myers <joseph@codesourcery.com>
29756
29757 [BZ #19125]
29758 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29759 <math_private.h> and <stdint.h>.
29760 (__llround): Avoid conversions to and from long long int, and
29761 subtractions, where those might raise spurious exceptions.
29762 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29763 <math_private.h> and <stdint.h>.
29764 (__llroundf): Avoid conversions to and from long long int, and
29765 subtractions, where those might raise spurious exceptions.
29766
297672015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29768
29769 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29770 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29771 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29772 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29773 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29774 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29775 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29776 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29777 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29778 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29779 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29780 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29781 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29782 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29783 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29784 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29785 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29786 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29787 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29788 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29789 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29790 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29791 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29792 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29793 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29794 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29795 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29796 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29797 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29798 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29799 (__xstat64_conv): Likewise.
29800 (__xstat32_conv): Likewise.
29801
298022015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29803
29804 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29805 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29806 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29807 <sysdeps/unix/sysv/linux/sysdep.h>.
29808 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29809 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29810 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29811 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29812 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29813 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29814 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29815 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29816 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29822 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29823 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29824 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29825 (sysdep-dl-routines): Add sysdep.
29826 [$(subdir) == nptl] (libpthread-routines): Likewise.
29827 [$(subdir) == rt] (librt-routines): Likewise.
29828 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29829 PIC when branching to SYSCALL_ERROR_LABEL.
29830 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29831 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29832 <sysdeps/unix/sysv/linux/sysdep.h>.
29833 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29834 (SYSCALL_ERROR_ERRNO): Removed.
29835 (SYSCALL_ERROR_HANDLER): Changed to empty.
29836 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29837 (__syscall_error): New prototype.
29838 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29839 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29840
298412015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29842
29843 [BZ #19124]
29844 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29845 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29846 _dl_runtime_resolve_avx.
29847 (_dl_runtime_profile_avx512): Make it a hidden alias of
29848 _dl_runtime_profile_avx.
29849
298502015-10-13 Joseph Myers <joseph@codesourcery.com>
29851
29852 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29853 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29854 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29855 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29856
29857 [BZ #16422]
29858 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29859 New configure test.
29860 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29861 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29862 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29863 <math_private.h> and <stdint.h>.
29864 (__llrint): Avoid conversions to long long int where those might
29865 raise spurious exceptions.
29866 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29867 <math_private.h> and <stdint.h>.
29868 (__llrintf): Avoid conversions to long long int where those might
29869 raise spurious exceptions.
29870
298712015-10-12 Andreas Schwab <schwab@suse.de>
29872
29873 [BZ #18969]
29874 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29875 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29876 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29877 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29878 $(gen-locales).
29879 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29880 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29881 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29882 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29883 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29884 $(gen-locales).
29885 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29886 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29887 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29888 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29889 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29890 ($(objpfx)tst-ftell-active-handler.out)
29891 ($(objpfx)tst-ftell-append.out)
29892 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29893 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29894 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29895 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29896 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29897 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29898 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29899 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29900 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29901 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29902 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29903 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29904 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29905 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29906 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29907 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29908 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29909 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29910 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29911 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29912 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29913 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29914 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29915 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29916 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29917 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29918 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29919 $(gen-locales).
29920 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29921 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29922 $(gen-locales).
29923 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29924 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29925 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29926 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29927 $(gen-locales).
29928 * libio/tst_wprintf2.c (main): Use explicit locale.
29929 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29930
299312015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29932
29933 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29934 __msg_sig_post.
29935 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29936
299372015-10-09 Joseph Myers <joseph@codesourcery.com>
29938
29939 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29940 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29941
29942 * sysdeps/arm/libm-test-ulps: Regenerated.
29943
29944 [BZ #15470]
29945 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29946
29947 [BZ #16399]
29948 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29949 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29950 and <fix-fp-int-convert-overflow.h>.
29951 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29952 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29953 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29954 and <fix-fp-int-convert-overflow.h>.
29955 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29956 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29957 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29958 <fix-fp-int-convert-overflow.h>.
29959 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29960 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29961 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29962 <fix-fp-int-convert-overflow.h>.
29963 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29964 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29965 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29966 and <fix-fp-int-convert-overflow.h>.
29967 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29968 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29969 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29970 <limits.h> and <fix-fp-int-convert-overflow.h>.
29971 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29972 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29973 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29974 and <fix-fp-int-convert-overflow.h>.
29975 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29976 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29977 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29978 and <fix-fp-int-convert-overflow.h>.
29979 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29980 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29981 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29982
299832015-10-09 Carlos O'Donell <carlos@redhat.com>
29984
29985 [BZ #18589]
29986 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29987 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29988 $(gen-locales).
29989
299902015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29991 Phil Blundell <pb@pbcl.net>
29992
29993 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29994 * nptl/tst-cancel26.c: New file.
29995 * nptl/tst-cancel27.c: Likewise.
29996
299972015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29998
29999 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
30000 __ILP32__ isn't defined.
30001 (lrint): Likewise.
30002 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
30003 (lrintf): Likewise.
30004 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
30005 (lrintl): Likewise.
30006 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
30007 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
30008 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
30009
300102015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30011
30012 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
30013 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
30014
30015 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
30016 file.
30017 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
30018 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
30019
300202015-10-09 Joseph Myers <joseph@codesourcery.com>
30021
30022 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
30023 configure test.
30024 * sysdeps/i386/configure: Regenerated.
30025 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
30026 configure test.
30027 * sysdeps/x86_64/configure: Regenerated.
30028 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
30029 Make code unconditional.
30030
30031 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
30032 test.
30033 * sysdeps/i386/configure: Regenerated.
30034 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
30035 test.
30036 * sysdeps/x86_64/configure: Regenerated.
30037 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
30038 Make code unconditional.
30039 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30040 Likewise.
30041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
30042 Likewise.
30043 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30044 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
30045 code unconditional.
30046 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30047 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
30048 code unconditional.
30049 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30050 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
30051 code unconditional.
30052 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
30053 code unconditional.
30054 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30055 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
30056 code unconditional.
30057 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30058 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
30059 code unconditional.
30060 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30061 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
30062 code unconditional.
30063 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30064 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
30065 code unconditional.
30066 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30067 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
30068
30069 [BZ #19095]
30070 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
30071 mantissa to long int before shifting left.
30072
300732015-10-08 Joseph Myers <joseph@codesourcery.com>
30074
30075 [BZ #19094]
30076 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
30077 <limits.h>.
30078 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30079 when result overflows but exception would not result from cast.
30080 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
30081 <limits.h>.
30082 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30083 when result overflows but exception would not result from cast.
30084 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
30085 <limits.h>.
30086 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30087 when result overflows but exception would not result from cast.
30088 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
30089 <limits.h>.
30090 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30091 when result overflows but exception would not result from cast.
30092 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
30093 <limits.h>.
30094 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30095 when result overflows but exception would not result from cast.
30096 * math/libm-test.inc (lrint_test_data): Add more tests.
30097 (llrint_test_data): Likewise.
30098
300992015-10-08 Roland McGrath <roland@hack.frob.com>
30100
30101 [BZ #18872]
30102 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
30103 Move out from under [$(run-built-tests) = yes] conditional.
30104 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
30105 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
30106
301072015-10-08 Carlos O'Donell <carlos@redhat.com>
30108
30109 [BZ #18589]
30110 * string/Makefile (tests): Add bug-strcoll2.
30111 (LOCALES): Add cs_CZ.UTF-8.
30112 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
30113
30114 [BZ #18589]
30115 * string/bug-strcoll2.c: New file.
30116 * locale/categories.def: Revert commit
30117 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
30118 * locale/langinfo.h: Likewise.
30119 * locale/localeinfo.h: Likewise.
30120 * locale/C-collate.c: Likewise.
30121 * locale/programs/ld-collate.c (collate_output): Likewise.
30122 * string/strcoll_l.c (STRDIFF): Likewise.
30123 (STRCOLL): Likewise.
30124 * wcsmbs/wcscoll_l.c: Likewise.
30125
301262015-10-08 Joseph Myers <joseph@codesourcery.com>
30127
30128 * math/libm-test.inc (lround_test_data): Do not expect the absence
30129 of "inexact" for some tests with non-integer arguments.
30130 (llround_test_data): Likewise.
30131
30132 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
30133 test.
30134 (libc_cv_cc_sse2avx): Likewise.
30135 * sysdeps/i386/configure: Regenerated.
30136 * sysdeps/i386/i686/multiarch/Makefile
30137 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
30138 [$(subdir) = math].
30139 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
30140 code unconditional.
30141 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30142 Likewise.
30143 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
30144 Likewise.
30145 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30146 Likewise.
30147 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
30148 test.
30149 (libc_cv_cc_sse2avx): Likewise.
30150 * sysdeps/x86_64/configure: Regenerated.
30151 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
30152 unconditional.
30153 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
30154 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
30155 unconditional.
30156 (_dl_runtime_profile)
30157 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
30158 conditional code.
30159 * sysdeps/x86_64/fpu/multiarch/Makefile
30160 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
30161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30162 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30163 * sysdeps/x86_64/fpu/multiarch/e_exp.c
30164 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30165 * sysdeps/x86_64/fpu/multiarch/e_log.c
30166 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30167 * sysdeps/x86_64/fpu/multiarch/s_atan.c
30168 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30169 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30170 Likewise.
30171 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30172 Likewise.
30173 * sysdeps/x86_64/fpu/multiarch/s_sin.c
30174 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30175 * sysdeps/x86_64/fpu/multiarch/s_tan.c
30176 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30177 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
30178 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
30179 (HAVE_SSE2AVX_SUPPORT): Likewise.
30180
301812015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
30182
30183 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30184 instead of #pragma optimize.
30185
301862015-10-07 Carlos O'Donell <carlos@redhat.com>
30187
30188 [BZ #17195]
30189 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30190 as is similarly done in systrim and _int_free already.
30191
301922015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
30193
30194 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30195
301962015-10-07 Joseph Myers <joseph@codesourcery.com>
30197
30198 [BZ #19088]
30199 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30200 <limits.h>.
30201 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30202 overflows but exception would not result from cast.
30203 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30204 and <limits.h>.
30205 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30206 overflows but exception would not result from cast.
30207 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30208 <limits.h>.
30209 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30210 overflows but exception would not result from cast.
30211 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30212 <limits.h>.
30213 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30214 overflows but exception would not result from cast.
30215 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30216 <limits.h>.
30217 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30218 overflows but exception would not result from cast.
30219 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30220 <limits.h>.
30221 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30222 overflows but exception would not result from cast.
30223 * math/libm-test.inc (lround_test_data): Add more tests.
30224 (llround_test_data): Likewise.
30225
302262015-10-07 Steve Ellcey <sellcey@imgtec.com>
30227
30228 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30229 (CFLAGS-ialloc.c): Ditto.
30230 (CFLAGS-scheck.c): Ditto.
30231
302322015-10-07 Carlos O'Donell <carlos@redhat.com>
30233
30234 [BZ #19086]
30235 * manual/filesys.texi (Storage Allocation): Fix argument order for
30236 posix_fallocate64.
30237
302382015-10-07 Joseph Myers <joseph@codesourcery.com>
30239
30240 [BZ #19085]
30241 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30242 exponent below 48 inside case for non-overflowing exponent.
30243 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30244
302452015-10-07 Florian Weimer <fweimer@redhat.com>
30246
30247 * iconvdata/cp737.h (from_idx): Add const.
30248 * iconvdata/cp775.h (from_idx): Likewise.
30249
302502015-10-07 Joseph Myers <joseph@codesourcery.com>
30251
30252 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30253 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30254 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30255
30256 [BZ #19079]
30257 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30258 file, conditioned on [!_LP64].
30259 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30260 [!_LP64] (__lround): Do not define as function or alias.
30261 [!_LP64] (lround): Likewise.
30262 [!_LP64] (__lroundl): Likewise.
30263 [!_LP64] (lroundl): Likewise.
30264 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30265 macro.
30266 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30267 Likewise.
30268
302692015-10-06 Joseph Myers <joseph@codesourcery.com>
30270
30271 * math/libm-test.inc (lrint_test_data): Add more tests.
30272 (llrint_test_data): Likewise.
30273 (lround_test_data): Likewise.
30274 (llround_test_data): Likewise.
30275
30276 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30277 (llrint_test_data): Add tests used for lrint.
30278
30279 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30280 test.
30281 * sysdeps/i386/configure: Regenerated.
30282 * sysdeps/i386/i686/multiarch/Makefile
30283 [$(config-cflags-sse4) = yes]: Make code unconditional.
30284 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30285 Likewise.
30286 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30287 Likewise.
30288 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30289 test.
30290 * sysdeps/x86_64/configure: Regenerated.
30291 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30292 Make code unconditional.
30293 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30294 Likewise.
30295 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30296 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30297
30298 * scripts/rpm2dynsym.sh: Remove file.
30299
303002015-10-06 Florian Weimer <fweimer@redhat.com>
30301
30302 * configure.ac (libc_cv_cxx_thread_local): Define.
30303 * configure: Regenerate.
30304 * config.make.in (have-cxx-thread_local): Define.
30305 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30306 (LDLIBS-tst-thread_local1): Define.
30307 (tests): Add tst-thread_local1.
30308 [have-cxx-thread_local != yes] (tests-unsupported): Add
30309 tst-thread_local1.
30310 * nptl/tst-thread_local1.cc: New file.
30311
303122015-10-06 Joseph Myers <joseph@codesourcery.com>
30313
30314 [BZ #19078]
30315 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30316 (u_thres): Likewise.
30317 (__expl): Determine whether to call __kernel_standard_l based on
30318 value of result, not argument.
30319
30320 * math/libm-test.inc (scalb_test_data): Add more expectations for
30321 the "inexact" exception.
30322
30323 [BZ #19077]
30324 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30325 0.0L for argument 1.0L.
30326
30327 [BZ #19076]
30328 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30329 constant 0.0L when computing infinite result.
30330
303312015-10-06 Florian Weimer <fweimer@redhat.com>
30332
30333 [BZ #10432]
30334 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30335 malloc_usable_size.
30336
303372015-10-06 Florian Weimer <fweimer@redhat.com>
30338
30339 [BZ #19018]
30340 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30341 Mangle function pointer before storing it.
30342 (__call_tls_dtors): Demangle function pointer before calling it.
30343
303442015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30345
30346 [BZ #19012]
30347 * iconv/gconv_db.c (gen_steps): Check for additional errors.
30348 Clean up on failure.
30349
303502015-10-05 Joseph Myers <joseph@codesourcery.com>
30351
30352 [BZ #19071]
30353 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30354 long int variable to store possibly incremented high part of
30355 mantissa.
30356 * math/libm-test.inc (lround_test_data): Add tests used for
30357 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
30358 for tests requiring 64-bit long. Do not condition tests on
30359 [TEST_FLOAT] unnecessarily.
30360 (llround_test_data): Add tests used for lround. Add another
30361 expectation for the "inexact" exception. Do not condition tests
30362 on [TEST_FLOAT] unnecessarily.
30363
30364 [BZ #887]
30365 [BZ #19049]
30366 [BZ #19050]
30367 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30368 * sysdeps/ieee754/dbl-64/e_log10.c: Include
30369 <fix-int-fp-convert-zero.h>.
30370 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30371 * sysdeps/ieee754/dbl-64/e_log2.c: Include
30372 <fix-int-fp-convert-zero.h>.
30373 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30374 * sysdeps/ieee754/dbl-64/s_erf.c: Include
30375 <fix-int-fp-convert-zero.h>.
30376 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30377 * sysdeps/ieee754/dbl-64/s_logb.c: Include
30378 <fix-int-fp-convert-zero.h>.
30379 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30380 * sysdeps/ieee754/flt-32/e_log10f.c: Include
30381 <fix-int-fp-convert-zero.h>.
30382 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30383 * sysdeps/ieee754/flt-32/e_log2f.c: Include
30384 <fix-int-fp-convert-zero.h>.
30385 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30386 * sysdeps/ieee754/flt-32/s_erff.c: Include
30387 <fix-int-fp-convert-zero.h>.
30388 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30389 * sysdeps/ieee754/flt-32/s_logbf.c: Include
30390 <fix-int-fp-convert-zero.h>.
30391 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30393 <fix-int-fp-convert-zero.h>.
30394 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30396 <fix-int-fp-convert-zero.h>.
30397 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30398 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30399 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30400 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30401 file.
30402 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30403
304042015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
30405
30406 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30407
304082015-10-02 Joseph Myers <joseph@codesourcery.com>
30409
30410 [BZ #19059]
30411 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30412 overflowing computation.
30413 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30414 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30416 Likewise.
30417 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30418 Likewise.
30419 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30420 Likewise.
30421 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30422 Likewise.
30423 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30424 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30425 Likewise.
30426 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30427 Likewise.
30428 * math/libm-test.inc (nexttoward_test_data): Add more tests.
30429
30430 * nss/rewrite_field.c (__nss_rewrite_field): Use
30431 internal_function.
30432 * nss/valid_field.c (__nss_valid_field): Likewise.
30433 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30434
304352015-10-02 Florian Weimer <fweimer@redhat.com>
30436
30437 [BZ #18724]
30438 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30439 (__nss_invalid_field_characters, __nss_valid_field)
30440 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30441 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30442 tst-field.c: New file.
30443 * nss/Makefile (routines): Add valid_field, rewrite_field.
30444 (tests-static): Define unconditionally.
30445 (tests): Include tests-static.
30446 [build-static-nss] (tests-static): Use append.
30447 [build-static-nss] (tests): Remove modification.
30448 * nss/getent.c (print_group): Call putgrent. Report error.
30449 (print_gshadow): Call putsgent. Report error.
30450 (print_passwd): Call putpwent. Report error.
30451 (print_shadow): Call putspent. Report error.
30452 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30453 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30454 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30455 name, password, directory, shell fields for valid syntax. Rewrite
30456 GECOS field to match syntax.
30457 * pwd/Makefile (tests): Add tst-putpwent.
30458 * pwd/tst-putpwent.c: New file.
30459 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30460 Check grName, grpasswd, gr_mem fields for valid syntax.
30461 Change loop variable i to size_t.
30462 * grp/Makefile (tests): Add tst-putgrent.
30463 * grp/tst-putgrent.c: New file.
30464 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30465 valid syntax.
30466 * shadow/Makefile (tests): Add tst-putspent.
30467 * shadow/tst-putspent.c: New file.
30468 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30469 sg_mem fields for valid syntax.
30470 * gshadow/Makefile (tests): Add tst-putsgent.
30471 * gshadow/tst-putsgent.c: New file.
30472
304732015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30474
30475 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30476 assembly instructions.
30477
304782015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30479
30480 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30481 prefix from operands.
30482
304832015-10-01 Joseph Myers <joseph@codesourcery.com>
30484
30485 [BZ #16347]
30486 [BZ #19046]
30487 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30488 <libc-internal.h>.
30489 (MAXLGM): Do not use diagnostic control macros.
30490 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30491 threshold for ldbl-128ibm.
30492 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30493 instead of multiplying by log then subtracting.
30494 * math/auto-libm-test-in: Add more tests of lgamma.
30495 * math/auto-libm-test-out: Regenerated.
30496
30497 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30498 (TYPE_HEX_DIG): Likewise.
30499 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30500 precisions when printing floating-point numbers.
30501 (check_float_internal): Likewise.
30502
305032015-09-30 Joseph Myers <joseph@codesourcery.com>
30504
30505 [BZ #16620]
30506 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30507 of log (10) rounded downward to 48 bits.
30508 (log10_low): Use corresponding low part of log (10).
30509
30510 [BZ #19032]
30511 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30512 compute result as (x - x) / (x - x) not as 0 / 0.
30513 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30514 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30515
30516 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30517 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30518 and expm1.
30519 * math/auto-libm-test-out: Regenerated.
30520 * math/libm-test.inc (acos_test_data): Add more tests.
30521 (asin_test_data): Likewise.
30522 (asinh_test_data): Likewise.
30523 (atan_test_data): Likewise.
30524 (atanh_test_data): Likewise.
30525 (atan2_test_data): Likewise.
30526 (cbrt_test_data): Likewise.
30527 (ceil_test_data): Likewise.
30528 (copysign_test_data): Likewise.
30529 (cos_test_data): Likewise.
30530 (cosh_test_data): Likewise.
30531 (erf_test_data): Likewise.
30532 (erfc_test_data): Likewise.
30533 (exp_test_data): Likewise.
30534 (exp10_test_data): Likewise.
30535 (exp2_test_data): Likewise.
30536 (expm1_test_data): Likewise.
30537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30538
305392015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 [BZ #19006]
30542 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30543 to ...
30544 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30545 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30546 to ...
30547 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30548 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30549 to ...
30550 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30551 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30552 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30553 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30554 to ...
30555 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30556 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30557 Moved to ...
30558 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30559 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30560 Moved to ...
30561 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30562 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30563 to ...
30564 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30565 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30566 Moved to ...
30567 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30568 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30569 to ...
30570 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30571 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30572 Removed.
30573 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30574 Likewise.
30575 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30576 Likewise.
30577 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30578 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30579 Likewise.
30580 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30581 Likewise.
30582 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30583 Likewise.
30584 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30585 Likewise.
30586 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30587 Likewise.
30588 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30589 Likewise.
30590 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30591 Likewise.
30592 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30593 Likewise.
30594 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30595 Likewise.
30596 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30597 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30598 Likewise.
30599 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30600 Likewise.
30601 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30602 Likewise.
30603 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30604 Likewise.
30605 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30606 Likewise.
30607 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30608 Replace ../i486/pthread_cond_timedwait.S with
30609 ../pthread_cond_timedwait.S.
30610
306112015-09-30 Joseph Myers <joseph@codesourcery.com>
30612
30613 * math/libm-test.inc (acos_test_data): Refine expectations for
30614 errno and "inexact" exceptions.
30615 (acosh_test_data): Likewise.
30616 (asin_test_data): Likewise.
30617 (asinh_test_data): Likewise.
30618 (atan_test_data): Likewise.
30619 (atanh_test_data): Likewise.
30620 (atan2_test_data): Likewise.
30621 (cbrt_test_data): Likewise.
30622 (ceil_test_data): Likewise.
30623 (copysign_test_data): Likewise.
30624 (cosh_test_data): Likewise.
30625 (erf_test_data): Likewise.
30626 (erfc_test_data): Likewise.
30627 (exp_test_data): Likewise.
30628 (exp10_test_data): Likewise.
30629 (exp2_test_data): Likewise.
30630 (expm1_test_data): Likewise.
30631 (fabs_test_data): Likewise.
30632 (floor_test_data): Likewise.
30633 (fma_test_data): Likewise.
30634 (fmax_test_data): Likewise.
30635 (fmin_test_data): Likewise.
30636 (fmod_test_data): Likewise.
30637 (fpclassify_test_data): Likewise.
30638 (frexp_test_data): Likewise.
30639 (hypot_test_data): Likewise.
30640 (ilogb_test_data): Likewise.
30641 (isgreater_test_data): Likewise.
30642 (isgreaterequal_test_data): Likewise.
30643 (isinf_test_data): Likewise.
30644 (isless_test_data): Likewise.
30645 (islessequal_test_data): Likewise.
30646 (islessgreater_test_data): Likewise.
30647 (isnan_test_data): Likewise.
30648 (isnormal_test_data): Likewise.
30649 (issignaling_test_data): Likewise.
30650 (isunordered_test_data): Likewise.
30651 (j0_test_data): Likewise.
30652 (j1_test_data): Likewise.
30653 (jn_test_data): Likewise.
30654 (lgamma_test_data): Likewise.
30655 (lrint_test_data): Likewise.
30656 (llrint_test_data): Likewise.
30657 (log_test_data): Likewise.
30658 (log10_test_data): Likewise.
30659 (log1p_test_data): Likewise.
30660 (log2_test_data): Likewise.
30661 (logb_test_data): Likewise.
30662 (lround_test_data): Likewise.
30663 (llround_test_data): Likewise.
30664 (modf_test_data): Likewise.
30665 (nearbyint_test_data): Likewise.
30666 (nextafter_test_data): Likewise.
30667 (nexttoward_test_data): Likewise.
30668 (pow_test_data): Likewise.
30669 (remainder_test_data): Likewise.
30670 (remquo_test_data): Likewise.
30671 (rint_test_data): Likewise.
30672 (round_test_data): Likewise.
30673 (signbit_test_data): Likewise.
30674 (sinh_test_data): Likewise.
30675 (sqrt_test_data): Likewise.
30676 (tanh_test_data): Likewise.
30677 (tgamma_test_data): Likewise.
30678 (trunc_test_data): Likewise.
30679 (y0_test_data): Likewise.
30680 (y1_test_data): Likewise.
30681 (yn_test_data): Likewise.
30682 (significand_test_data): Likewise.
30683
306842015-09-29 Carlos O'Donell <carlos@redhat.com>
30685
30686 * manual/filesys.texi (Storage Allocation): Document that
30687 posix_fallocate emulation fails when fd is open with O_WRONLY.
30688
306892015-09-28 Joseph Myers <joseph@codesourcery.com>
30690
30691 [BZ #19016]
30692 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30693 allow more cases with X^2 + Y^2 >= 0.5.
30694 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30695 normal element in sum instead of special-casing based on values of
30696 arguments.
30697 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30698 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30699 -1 as normal element in sum instead of special-casing based on
30700 values of arguments.
30701 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30702 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30703 (__x2y2m1): Update comment.
30704 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30705 as normal element in sum instead of special-casing based on values
30706 of arguments.
30707 * math/s_clog.c (__clog): Handle more cases using log1p without
30708 hypot.
30709 * math/s_clog10.c (__clog10): Likewise.
30710 * math/s_clog10f.c (__clog10f): Likewise.
30711 * math/s_clog10l.c (__clog10l): Likewise.
30712 * math/s_clogf.c (__clogf): Likewise.
30713 * math/s_clogl.c (__clogl): Likewise.
30714 * math/auto-libm-test-in: Add more tests of clog and clog10.
30715 * math/auto-libm-test-out: Regenerated.
30716 * sysdeps/i386/fpu/libm-test-ulps: Update.
30717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30718
307192015-09-28 Martin Sebor <msebor@redhat.com>
30720
30721 [BZ #18969]
30722 * string/Makefile (LOCALES): Define.
30723 (gen-locales.mk): Include.
30724 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30725 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30726 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30727 on setlocale failure.
30728
307292015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30730
30731 [BZ #18985]
30732 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30733 (__strftime_internal): Likewise.
30734 * time/tst-strftime.c (do_bz18985): New test.
30735 (do_test): Call it.
30736
307372015-09-26 Joseph Myers <joseph@codesourcery.com>
30738
30739 [BZ #18956]
30740 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30741 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30742 extracting high part.
30743 * math/auto-libm-test-in: Add another test of pow.
30744 * math/auto-libm-test-out: Regenerated.
30745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30746
307472015-09-25 Joseph Myers <joseph@codesourcery.com>
30748
30749 [BZ #18825]
30750 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30751 New macro.
30752 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30753 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30754 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30755 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30756 DBL_NARROW_EVAL, reloading the PIC register as needed.
30757 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30758 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30759 FLT_NARROW_EVAL. Use separate return path for case when first
30760 argument is NaN.
30761 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30762 DEFINE_LDBL_MIN.
30763 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30764 PIC register.
30765 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30766 math_check_force_underflow_nonneg.
30767 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30768 underflow for subnormal result.
30769 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30771 math_check_force_underflow_nonneg.
30772 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30773 math_check_force_underflow.
30774 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30775 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30776 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30777 DEFINE_LDBL_MIN.
30778 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30779 * math/auto-libm-test-in: Add more tests of pow.
30780 * math/auto-libm-test-out: Regenerated.
30781
307822015-09-25 Florian Weimer <fweimer@redhat.com>
30783
30784 * nss/bug17079.c (init_test_items): Add diagnostic for
30785 inconsistent entries.
30786 (test_buffer_size): Skip inconsistent entries.
30787
307882015-09-25 Joseph Myers <joseph@codesourcery.com>
30789
30790 [BZ #13304]
30791 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30792 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30793 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30794
30795 [BZ #13304]
30796 * sysdeps/microblaze/s_fma.c: New file.
30797 * sysdeps/microblaze/s_fmaf.c: Likewise.
30798 * sysdeps/microblaze/sfp-machine.h: Likewise.
30799
308002015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30801
30802 [BZ #17250]
30803 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30804 member.
30805
308062015-09-24 Joseph Myers <joseph@codesourcery.com>
30807
30808 [BZ #18803]
30809 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30810 (MO): New macro.
30811 (__ieee754_hypot) [PIC]: Load PIC register.
30812 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30813 DBL_NARROW_EVAL.
30814 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30815 math_check_force_underflow_nonneg in case where result might be
30816 tiny.
30817 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30818 Likewise.
30819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30820 Likewise.
30821 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30822 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30823 * math/auto-libm-test-in: Add more tests of hypot.
30824 * math/auto-libm-test-out: Regenerated.
30825
308262015-09-24 Steve Ellcey <sellcey@imgtec.com>
30827
30828 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30829
308302015-09-24 Joseph Myers <joseph@codesourcery.com>
30831
30832 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30833 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30834 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30835 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30836 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30837 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30838 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30839
30840 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30841 LOAD_PIC_REG.
30842
30843 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30844 (FLT_CHECK_FORCE_UFLOW): Likewise.
30845 (DBL_CHECK_FORCE_UFLOW): Likewise.
30846 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30847 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30848 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30849 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30850 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30851 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30852 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30853 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30854 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30855 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30856 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30857 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30858 (flt_min): Replace with use of DEFINE_FLT_MIN.
30859 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30860 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30861 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30862 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30863 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30864 (flt_min): Replace with use of DEFINE_FLT_MIN.
30865 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30866 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30867 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30868 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30869 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30870 (flt_min): Replace with use of DEFINE_FLT_MIN.
30871 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30872 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30873 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30874 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30875 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30876 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30877 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30878 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30879 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30880 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30881 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30882 (flt_min): Replace with use of DEFINE_FLT_MIN.
30883 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30884 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30885 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30886 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30887 main computation.
30888 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30889 (flt_min): Replace with use of DEFINE_FLT_MIN.
30890 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30891 main computation.
30892 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30893 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30894 (MO): New macro.
30895 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30896 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30897 (flt_min): Replace with use of DEFINE_FLT_MIN.
30898 (MO): New macro.
30899 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30900 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30901 (__log1pl): Use MO.
30902
30903 [BZ #19003]
30904 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30905 $(config-cflags-nofma).
30906
309072015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30908
30909 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30910
309112015-09-23 Joseph Myers <joseph@codesourcery.com>
30912
30913 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30914 (TWO127): Likewise.
30915
30916 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30917 (min_of_type): Likewise.
30918 (math_check_force_underflow): Likewise.
30919 (math_check_force_underflow_nonneg): Likewise.
30920 (math_check_force_underflow_complex): Likewise.
30921 * math/e_exp2l.c (__ieee754_exp2l): Use
30922 math_check_force_underflow_nonneg.
30923 * math/k_casinh.c (__kernel_casinh): Likewise.
30924 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30925 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30926 * math/s_catan.c (__catan): Use
30927 math_check_force_underflow_complex.
30928 * math/s_catanf.c (__catanf): Likewise.
30929 * math/s_catanh.c (__catanh): Likewise.
30930 * math/s_catanhf.c (__catanhf): Likewise.
30931 * math/s_catanhl.c (__catanhl): Likewise.
30932 * math/s_catanl.c (__catanl): Likewise.
30933 * math/s_ccosh.c (__ccosh): Likewise.
30934 * math/s_ccoshf.c (__ccoshf): Likewise.
30935 * math/s_ccoshl.c (__ccoshl): Likewise.
30936 * math/s_cexp.c (__cexp): Likewise.
30937 * math/s_cexpf.c (__cexpf): Likewise.
30938 * math/s_cexpl.c (__cexpl): Likewise.
30939 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30940 * math/s_clog10.c (__clog10): Likewise.
30941 * math/s_clog10f.c (__clog10f): Likewise.
30942 * math/s_clog10l.c (__clog10l): Likewise.
30943 * math/s_clogf.c (__clogf): Likewise.
30944 * math/s_clogl.c (__clogl): Likewise.
30945 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30946 * math/s_csinf.c (__csinf): Likewise.
30947 * math/s_csinh.c (__csinh): Likewise.
30948 * math/s_csinhf.c (__csinhf): Likewise.
30949 * math/s_csinhl.c (__csinhl): Likewise.
30950 * math/s_csinl.c (__csinl): Likewise.
30951 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30952 * math/s_csqrtf.c (__csqrtf): Likewise.
30953 * math/s_csqrtl.c (__csqrtl): Likewise.
30954 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30955 * math/s_ctanf.c (__ctanf): Likewise.
30956 * math/s_ctanh.c (__ctanh): Likewise.
30957 * math/s_ctanhf.c (__ctanhf): Likewise.
30958 * math/s_ctanhl.c (__ctanhl): Likewise.
30959 * math/s_ctanl.c (__ctanl): Likewise.
30960 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30961 instead of volatile.
30962 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30963 math_check_force_underflow.
30964 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30965 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30966 volatile when forcing underflow.
30967 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30968 math_check_force_underflow_nonneg.
30969 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30970 Likewise.
30971 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30972 math_check_force_underflow.
30973 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30974 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30975 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30976 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30977 math_check_force_underflow_nonneg.
30978 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30979 math_check_force_underflow.
30980 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30982 instead of volatile.
30983 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30984 math_check_force_underflow.
30985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30986 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30987 math_check_force_underflow_nonneg.
30988 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30989 math_check_force_underflow.
30990 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30991 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30992 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30993 math_check_force_underflow_nonneg.
30994 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30995 Likewise.
30996 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30997 math_check_force_underflow.
30998 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30999 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31000 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
31001 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
31002 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
31003 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
31004 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31005 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31006 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31007 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
31008 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
31009 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31010 Likewise.
31011 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
31012 math_check_force_underflow_nonneg.
31013 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31014 Likewise.
31015 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
31016 math_check_force_underflow.
31017 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31018 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31019 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31020 Likewise.
31021 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31022 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
31023 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
31024 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
31025 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
31026 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
31027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
31028 instead of volatile.
31029 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
31030 math_check_force_underflow.
31031 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31032 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
31033 math_check_force_underflow.
31034 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
31035 Likewise.
31036 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31037 Use math_check_force_underflow_nonneg.
31038 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
31039 math_check_force_underflow.
31040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
31041 Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31043 Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
31049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31050 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31051 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31052 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
31053 math_check_force_underflow_nonneg.
31054 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
31055 math_check_force_underflow.
31056 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31057 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31058 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
31059 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
31060 math_check_force_underflow_nonneg.
31061 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
31062 math_check_force_underflow.
31063 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31064 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
31065 instead of volatile.
31066 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
31067 math_check_force_underflow.
31068
31069 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
31070 * stdlib/strtod_l.c: Include <math_private.h>.
31071 (overflow_value): Use math_narrow_eval.
31072 (underflow_value): Likewise.
31073 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31074 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31075 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
31076 (__ieee754_gamma_r): Likewise.
31077 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
31078 Likewise.
31079 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
31080 Likewise.
31081 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
31082 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
31083 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31084 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31085 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
31086 (__ieee754_gammaf_r): Likewise.
31087 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
31088 Likewise.
31089 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
31090 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
31091 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31092 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31093 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
31094 volatile.
31095 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31096 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
31097 math_narrow_eval.
31098 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
31099 Likewise.
31100 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31101 Likewise.
31102 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
31103 Likewise.
31104 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
31105 volatile.
31106 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
31108 math_narrow_eval.
31109 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31110 Likewise.
31111 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31112 Likewise.
31113
311142015-09-22 H.J. Lu <hongjiu.lu@intel.com>
31115
31116 * nptl/Versions: Remove ignored symbols.
31117
311182015-09-22 Florian Weimer <fweimer@redhat.com>
31119
31120 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
31121 * nss/Makefile (tests): Update.
31122
311232015-09-22 Florian Weimer <fweimer@redhat.com>
31124
31125 * nss/bug18287.c: New file.
31126 * nss/Makefile (tests): Add bug18287.
31127
311282015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31129
31130 * mach/Versions (__mach_host_self_): Add symbol.
31131
311322015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
31133
31134 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
31135 vm_page_size.
31136
311372015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
31138
31139 Really fix sysdeps/i386/fpu/s_scalbn.S build
31140
31141 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
31142 (libc: GLIBC_2_22): Remove unused version set.
31143
311442015-09-18 Mike Frysinger <vapier@gentoo.org>
31145
31146 * config.make.in (enable-timezone-tools): New variable.
31147 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
31148 (enable_timezone_tools): Export to generated files.
31149 * configure: Regenerate.
31150 * INSTALL: Regenerate.
31151 * manual/install.texi (--disable-timezone-tools): Document new flag.
31152 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
31153 ifeq ($(enable-timezone-tools),yes) check.
31154
311552015-09-18 Joseph Myers <joseph@codesourcery.com>
31156
31157 * timezone/Makefile: Revert previous change.
31158
31159 [BZ #18980]
31160 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
31161 (DEFINE_DBL_MIN): Likewise.
31162 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31163 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31164 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31165 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31166 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
31167 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31168 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31169 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
31170 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
31171 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31172 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31173 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31174 (flt_min): Replace with use of DEFINE_FLT_MIN.
31175 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31176 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
31177 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31178 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31179 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
31180 (flt_min): Replace with use of DEFINE_FLT_MIN.
31181 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31182 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
31183 (flt_min): Replace with use of DEFINE_FLT_MIN.
31184 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31185 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31186 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31187 (__ieee754_hypot): Use DBL_NARROW_EVAL.
31188 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31189 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31190 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31191 (__ieee754_pow): Use DBL_NARROW_EVAL.
31192 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31193 (__ieee754_powf): Use FLT_NARROW_EVAL.
31194 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31195 (__ieee754_expf_sse2): Convert double-precision result to single
31196 precision.
31197 * sysdeps/i386/fpu/libm-test-ulps: Update.
31198
311992015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31200
31201 * timezone/Makefile: Ignore unused variable errors due to private.h
31202 (time_t_min) and (time_t_max).
31203 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
31204 Likewise.
31205
312062015-09-18 Joseph Myers <joseph@codesourcery.com>
31207
31208 [BZ #18981]
31209 * sysdeps/i386/fpu/i386-math-asm.h: New file.
31210 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31211 (__ieee754_scalb): Use DBL_NARROW_EVAL.
31212 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31213 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31214 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31215 (__scalbn): Use DBL_NARROW_EVAL.
31216 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31217 (__scalbnf): Use FLT_NARROW_EVAL.
31218
312192015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31220
31221 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31222 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31223 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31224 * stdio-common/printf_fp.c (___printf_fp):
31225 Use signbit to get the sign. Use isinf macro to allow inlining.
31226 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31227 * stdio-common/printf_size.c (__printf_size): Likewise.
31228
312292015-09-18 Mike Frysinger <vapier@gentoo.org>
31230
31231 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31232
312332015-09-18 Joseph Myers <joseph@codesourcery.com>
31234
31235 [BZ #18980]
31236 * sysdeps/generic/math_private.h: Include <float.h>.
31237 (math_narrow_eval): New macro.
31238 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31239 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31240 math_narrow_eval on overflowing return value.
31241 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31242 Likewise.
31243 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31244 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31245 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31246 Likewise.
31247 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31248
312492015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31250
31251 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31252 * math/Makefile: Remove isinf_ns.c.
31253 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31254 * math/multc3.c (__multc3): Likewise.
31255 * math/s_casin.c (__casin): Likewise.
31256 * math/s_casinf.c (__casinf): Likewise.
31257 * math/s_casinl.c (__casinl): Likewise.
31258 * math/s_cproj.c (__cproj): Likewise.
31259 * math/s_cprojf.c (__cprojf): Likewise.
31260 * math/s_cprojl.c (__cprofl): Likewise.
31261 * math/s_ctan.c (__ctan): Likewise.
31262 * math/s_ctanf.c (__ctanf): Likewise.
31263 * math/s_ctanh.c (__ctanh): Likewise.
31264 * math/s_ctanhf.c (__ctanhf): Likewise.
31265 * math/s_ctanhl.c (__ctanhl): Likewise.
31266 * math/s_ctanl.c (__ctanl): Likewise.
31267 * math/w_fmod.c (__fmod): Likewise.
31268 * math/w_fmodf.c (__fmodf): Likewise.
31269 * math/w_fmodl.c (_fmodl): Likewise.
31270 * math/w_remainder.c (__remainder): Likewise.
31271 * math/w_remainderf.c (__remainderf): Likewise.
31272 * math/w_remainderl.c (__remainderl): Likewise.
31273 * math/w_scalb.c (__scalb): Likewise.
31274 * math/w_scalbf.c (__scalbf): Likewise.
31275 * math/w_scalbl.c (__scalbl): Likewise.
31276 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31277 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31278 with isinf.
31279 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31281 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31282 __isinf_nsf with isinf.
31283 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31284 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31285 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31286 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31287 with isinf.
31288 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31289 __isinf_nsl with isinf.
31290 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31291 with isinf.
31292 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31293 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31294 __isinf_nsl with isinf.
31295 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31296 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31297 with isinf.
31298
312992015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31300
31301 * resolv/base64.c (rcsid): Remove unused static.
31302 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31303 static. (tqpi1): Likewise.
31304 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31305 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31306 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31307 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31308 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31309 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31310 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31311 * timezone/private.h (time_t_min): Likewise. (time_t_max):
31312 Likewise.
31313
313142015-09-18 H.J. Lu <hongjiu.lu@intel.com>
31315
31316 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31317 <nptl/pthreadP.h>.
31318 (_longjmp_unwind): Use __libc_ptf_call.
31319 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31320
313212015-09-18 David Lamparter <equinox-gentoo@diac24.net>
31322
31323 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31324 * sysdeps/arm/__longjmp.S: Likewise.
31325
313262015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31327
31328 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31329 Use __builtin_signbit.
31330 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31331 Use __builtin_signbitf.
31332 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31333 Use __builtin_signbitl.
31334 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31335 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31336
313372015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31338
31339 [BZ #15367]
31340 [BZ #17441]
31341
31342 * math/Makefile: Build test-snan.c with -fsignaling-nans.
31343 * math/math.h (fpclassify): Use __builtin_fpclassify when
31344 available. (signbit): Use __builtin_signbit(f/l).
31345 (isfinite): Use__builtin_isfinite. (isnormal): Use
31346 __builtin_isnormal. (isnan): Use __builtin_isnan.
31347 (isinf): Use __builtin_isinf_sign.
31348
313492015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31350
31351 * benchtests/Makefile: Add bench-math-inlines, link with libm.
31352 * benchtests/bench-math-inlines.c: New benchmark.
31353 * benchtests/bench-util.h: New file.
31354 * benchtests/bench-util.c: New file.
31355 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31356
313572015-09-18 Carlos O'Donell <carlos@redhat.com>
31358
31359 * elf/tst-dlmopen1.c: Define TEST_SO.
31360 (do_test): Use TEST_SO.
31361
31362 * elf/dl-load.c: Include libc-internal.h.
31363 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31364
313652015-09-18 Vincent Bernat <vincent@bernat.im>
31366
31367 [BZ #17887]
31368 * time/strptime_l.c (__strptime_internal): Make %z accept
31369 [+-]HH:MM time zones.
31370
313712015-09-18 Vincent Bernat <vincent@bernat.im>
31372
31373 [BZ #17886]
31374 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31375 valid time zone.
31376
313772015-09-17 Mike Frysinger <vapier@gentoo.org>
31378
31379 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31380 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31381 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31382 (__ASSUME_FDATASYNC): Delete.
31383
313842015-09-17 Joseph Myers <joseph@codesourcery.com>
31385
31386 * conform/linknamespace.pl: Require weak undefined symbols to be
31387 in the standard namespace.
31388 (%strong_syms): Rename to %seen_syms.
31389 (%strong_seen): Rename to %seen_where.
31390
313912015-09-17 H.J. Lu <hongjiu.lu@intel.com>
31392
31393 [BZ #18970]
31394 * misc/error.c (error): Replace pthread_setcancelstate with
31395 __pthread_setcancelstate.
31396 (error_at_line): Likewise.
31397 * posix/wordexp.c (parse_comm): Likewise.
31398 * stdlib/fmtmsg.c (fmtmsg): Likewise.
31399 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31400 (__pthread_setcancelstate): This.
31401 (pthread_setcancelstate): Add an alias.
31402 * nptl/nptl-init.c (pthread_functions): Replace
31403 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31404 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31405 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31406 hidden_proto.
31407 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31408 it with hidden_def.
31409 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31410 (pthread_setcancelstate): Renamed to ...
31411 (__pthread_setcancelstate): This.
31412 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31413 __libc_ptf_call with __pthread_setcancelstate.
31414
314152015-09-17 Joseph Myers <joseph@codesourcery.com>
31416 Andreas Schwab <schwab@suse.de>
31417
31418 [BZ #17118]
31419 * math/s_ctan.c (__ctan): Determine sign of zero real part of
31420 result when imaginary part of argument is infinite using sine and
31421 cosine.
31422 * math/s_ctanf.c (__ctanf): Likewise.
31423 * math/s_ctanl.c (__ctanl): Likewise.
31424 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31425 of result when real part of argument is infinite using sine and
31426 cosine.
31427 * math/s_ctanhf.c (__ctanhf): Likewise.
31428 * math/s_ctanhl.c (__ctanhl): Likewise.
31429 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31430 (ctanh_test_data): Add more tests of ctanh.
31431
314322015-09-17 Joseph Myers <joseph@codesourcery.com>
31433
31434 [BZ #15384]
31435 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31436 bit-mask as in subtraction.
31437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31438 Likewise.
31439 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31440 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31441 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31442
31443 [BZ #18951]
31444 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31445 underflow exception for small results.
31446 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31447 Likewise.
31448 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31449 Likewise.
31450 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31451 Likewise.
31452 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31453 Likewise.
31454 * math/auto-libm-test-in: Add more tests of tgamma.
31455 * math/auto-libm-test-out: Regenerated.
31456
314572015-09-17 Andreas Schwab <schwab@suse.de>
31458
31459 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31460
314612015-09-16 Joseph Myers <joseph@codesourcery.com>
31462
31463 [BZ #18977]
31464 * math/bits/mathcalls.h
31465 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31466 not declare.
31467 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31468 Likewise.
31469 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31470 Likewise.
31471 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31472 Likewise.
31473 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31474 Likewise.
31475 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31476 Likewise.
31477 * conform/data/math.h-data
31478 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31479 function.
31480 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31481 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31482 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31483 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31484 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31485 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31486 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31487 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31488 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31489 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31490 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31491
31492 [BZ #6803]
31493 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31494 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31495 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31496 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31497 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31498 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31499 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31500 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31501 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31503 Likewise.
31504 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31505 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31506 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31508 long_double_symbol calls.
31509 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31510 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31511 strong alias of __ldexpl.
31512 (scalbnl): Define using long_double_symbol.
31513 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31514 Remove alias.
31515 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31516 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31517 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31518 (scalbln_test_data): Add more errno expectations.
31519
315202015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31521
31522 Cache the host port like we cache the task port. This way we do not
31523 need to call the kernel just to get the port. Furthermore, we no
31524 longer increase the reference count on every invocation of
31525 `mach_host_self'.
31526
31527 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31528 Protect declarations against the macro expansion.
31529 * mach/mach_init.c (__mach_host_self_): New variable.
31530 (mach_init): Initialize `__mach_host_self_'.
31531 * mach/mach_init.h (__mach_host_self_): New declaration.
31532 (__mach_host_self, mach_host_self): New macros.
31533 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31534 Release reference.
31535
315362015-09-16 Joseph Myers <joseph@codesourcery.com>
31537
31538 [BZ #4404]
31539 * po/de.po: Update from Translation Project.
31540
31541 [BZ #16415]
31542 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31543 (__expm1l): Remove code to handle positive infinity and overflow.
31544 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31545 variable.
31546 (__expm1l): Remove code to handle positive infinity and overflow.
31547
315482015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31549 Paul Pluzhnikov <ppluzhnikov@google.com>
31550
31551 [BZ #18872]
31552 * stdio-common/Makefile (tst-printf-bz18872): New test.
31553 (tst-printf-bz18872-mem.out): Likewise.
31554 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31555 * stdio-common/vfprintf.c: Fix memory leaks.
31556
315572015-09-16 Andreas Schwab <schwab@suse.de>
31558
31559 [BZ #17244]
31560 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31561 Remove extra va_start/va_end calls.
31562
31563 [BZ #17243]
31564 * posix/execl.c (execl): Add missing va_end.
31565 * posix/execle.c (execle): Likewise.
31566 * posix/execlp.c (execlp): Likewise.
31567
315682015-09-15 Roland McGrath <roland@hack.frob.com>
31569
31570 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31571 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31572
315732015-09-15 Joseph Myers <joseph@codesourcery.com>
31574
31575 [BZ #18967]
31576 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31577 undefine around includes of <bits/mathcalls.h>.
31578 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31579 not declare function.
31580 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31581 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31582 (scalb): Likewise.
31583 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31584 not define macro.
31585 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31586 variable.
31587 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31588 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31589 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31590
31591 [BZ #18857]
31592 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31593 return non-finite argument without doing ordered comparisons on
31594 it.
31595
31596 [BZ #16296]
31597 * math/fenv.h (fegetround): Use __attribute_pure__.
31598 * include/fenv.h (__fegetround): Likewise.
31599
31600 [BZ #18595]
31601 * math/s_ctan.c (__ctan): Force underflow exception for results
31602 whose real or imaginary part has small absolute value.
31603 * math/s_ctanf.c (__ctanf): Likewise.
31604 * math/s_ctanh.c (__ctanh): Likewise.
31605 * math/s_ctanhf.c (__ctanhf): Likewise.
31606 * math/s_ctanhl.c (__ctanhl): Likewise.
31607 * math/s_ctanl.c (__ctanl): Likewise.
31608 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31609 and ctanh. Add more tests of ctan and ctanh.
31610
31611 [BZ #15918]
31612 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31613 handling of cases where one argument is an infinity.
31614
31615 [BZ #18875]
31616 [BZ #18966]
31617 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31618 (MO): New macro.
31619 (__ieee754_exp10): For small results, force underflow exception
31620 and remove excess range and precision from return value.
31621 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31622 (MO): New macro.
31623 (__ieee754_exp10f): For small results, force underflow exception
31624 and remove excess range and precision from return value.
31625 * math/auto-libm-test-in: Add more tests of exp10.
31626 * math/auto-libm-test-out: Regenerated.
31627
316282015-09-14 Joseph Myers <joseph@codesourcery.com>
31629
31630 [BZ #18875]
31631 [BZ #18961]
31632 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31633 (MO): New macro.
31634 (__ieee754_exp): For small results, force underflow exception and
31635 remove excess range and precision from return value.
31636 (__exp_finite): Likewise.
31637 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31638 (MO): New macro.
31639 (__ieee754_expf): For small results, force underflow exception and
31640 remove excess range and precision from return value.
31641 (__expf_finite): Likewise.
31642 * math/auto-libm-test-in: Add more tests of exp.
31643 * math/auto-libm-test-out: Regenerated.
31644
31645 [BZ #16521]
31646 [BZ #18875]
31647 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31648 small results.
31649 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31650 (MO): New macro.
31651 (__ieee754_exp2): For small results, force underflow exception and
31652 remove excess range and precision from return value.
31653 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31654 (MO): New macro.
31655 (__ieee754_exp2f): For small results, force underflow exception
31656 and remove excess range and precision from return value.
31657 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31658 (MO): New macro.
31659 (__ieee754_exp2l): Force underflow exception for small results.
31660 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31661 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31662 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31663 (MO): New macro.
31664 (__ieee754_exp2l): Force underflow exception for small results.
31665 * math/auto-libm-test-in: Add more tests or exp2.
31666 * math/auto-libm-test-out: Regenerated.
31667
316682015-09-14 Carlos O'Donell <carlos@redhat.com>
31669
31670 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31671
31672 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31673 /dev/null.
31674
316752015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31676
31677 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31678 io fs process)): Drop spurious backslash.
31679
316802015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31681
31682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31683 Use sysinfo system call instead of parsing /proc/meminfo.
31684 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31685 Likewise.
31686
316872015-09-11 Mike Frysinger <vapier@gentoo.org>
31688
31689 [BZ #16985]
31690 * programs/localedef.c (main): Display argv[remaining] when
31691 output_path is NULL.
31692
316932015-09-11 Joseph Myers <joseph@codesourcery.com>
31694
31695 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31696 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31697 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31698 tanh.
31699 * math/auto-libm-test-out: Regenerated.
31700 * sysdeps/i386/fpu/libm-test-ulps: Update.
31701 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31702 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31704
317052015-09-11 Roland McGrath <roland@hack.frob.com>
31706
31707 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31708 Use 'override' keyword to freeze the value here, preventing
31709 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31710
317112015-09-11 Joseph Myers <joseph@codesourcery.com>
31712
31713 [BZ #14912]
31714 * sysdeps/aarch64/bits/atomic.h: Move to ...
31715 * sysdeps/aarch64/atomic-machine.h: ...here.
31716 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31717 _AARCH64_ATOMIC_MACHINE_H.
31718 * sysdeps/alpha/bits/atomic.h: Move to ...
31719 * sysdeps/alpha/atomic-machine.h: ...here.
31720 * sysdeps/arm/bits/atomic.h: Move to ...
31721 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31722 * bits/atomic.h: Move to ...
31723 * sysdeps/generic/atomic-machine.h: ...here.
31724 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31725 * sysdeps/i386/bits/atomic.h: Move to ...
31726 * sysdeps/i386/atomic-machine.h: ...here.
31727 * sysdeps/ia64/bits/atomic.h: Move to ...
31728 * sysdeps/ia64/atomic-machine.h: ...here.
31729 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31730 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31731 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31732 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31733 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31734 * sysdeps/microblaze/bits/atomic.h: Move to ...
31735 * sysdeps/microblaze/atomic-machine.h: ...here.
31736 * sysdeps/mips/bits/atomic.h: Move to ...
31737 * sysdeps/mips/atomic-machine.h: ...here.
31738 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31739 * sysdeps/powerpc/bits/atomic.h: Move to ...
31740 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31741 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31742 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31743 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31744 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31745 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31746 <atomic-machine.h> instead of <bits/atomic.h>.
31747 * sysdeps/s390/bits/atomic.h: Move to ...
31748 * sysdeps/s390/atomic-machine.h: ...here.
31749 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31750 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31751 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31752 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31753 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31754 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31755 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31756 * sysdeps/tile/bits/atomic.h: Move to ...
31757 * sysdeps/tile/atomic-machine.h: ...here.
31758 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31759 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31760 <sysdeps/tile/atomic-machine.h> instead of
31761 <sysdeps/tile/bits/atomic.h>.
31762 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31763 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31764 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31765 <sysdeps/tile/atomic-machine.h> instead of
31766 <sysdeps/tile/bits/atomic.h>.
31767 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31768 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31769 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31770 <sysdeps/arm/atomic-machine.h> instead of
31771 <sysdeps/arm/bits/atomic.h>.
31772 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31773 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31774 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31775 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31776 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31777 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31778 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31779 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31780 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31781 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31782 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31783 * sysdeps/x86_64/bits/atomic.h: Move to ...
31784 * sysdeps/x86_64/atomic-machine.h: ...here.
31785 * include/atomic.h: Include <atomic-machine.h> instead of
31786 <bits/atomic.h>.
31787
31788 * sysdeps/mips/mips32/libm-test-ulps: Update.
31789 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31790
31791 [BZ #18952]
31792 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31793 not convert non-integer negative arguments to int to determine the
31794 value of signgam.
31795 * math/auto-libm-test-in: Add more tests of lgamma.
31796 * math/auto-libm-test-out: Regenerated.
31797
31798 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31799 cosh, csqrt, erfc, expm1 and lgamma.
31800 * math/auto-libm-test-out: Regenerated.
31801 * sysdeps/i386/fpu/libm-test-ulps: Update.
31802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31803
318042015-09-10 Joseph Myers <joseph@codesourcery.com>
31805
31806 [BZ #2542]
31807 [BZ #2543]
31808 [BZ #2558]
31809 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31810 __lgamma_neg for arguments from -28.0 to -2.0.
31811 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31812 __lgamma_negf for arguments from -15.0 to -2.0.
31813 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31814 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31815 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31816 Call __lgamma_negl for arguments from -33.0 to -2.0.
31817 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31818 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31819 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31820 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31821 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31822 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31823 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31824 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31825 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31826 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31827 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31828 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31829 (__lgamma_neg): Likewise.
31830 (__lgamma_negl): Likewise.
31831 (__lgamma_product): Likewise.
31832 (__lgamma_productl): Likewise.
31833 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31834 * math/auto-libm-test-in: Add more tests of lgamma.
31835 * math/auto-libm-test-out: Regenerated.
31836 * sysdeps/i386/fpu/libm-test-ulps: Update.
31837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31838
318392015-09-09 Justin Maggard <jmaggard@netgear.com>
31840
31841 [BZ #18675]
31842 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31843
318442015-09-08 Joseph Myers <joseph@codesourcery.com>
31845
31846 [BZ #14912]
31847 * bits/libc-lock.h: Move to ...
31848 * sysdeps/generic/libc-lock.h: ...here.
31849 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31850 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31851 * sysdeps/mach/hurd/libc-lock.h: ...here.
31852 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31853 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31854 * sysdeps/mach/bits/libc-lock.h: Move to ...
31855 * sysdeps/mach/libc-lock.h: ...here.
31856 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31857 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31858 * sysdeps/nptl/libc-lock.h: ...here.
31859 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31860 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31861 * sysdeps/nptl/libc-lockP.h: ...here.
31862 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31863 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31864 <bits/libc-lock.h>.
31865 * dirent/scandir-tail.c: Likewise.
31866 * dlfcn/dlerror.c: Likewise.
31867 * elf/dl-close.c: Likewise.
31868 * elf/dl-iteratephdr.c: Likewise.
31869 * elf/dl-lookup.c: Likewise.
31870 * elf/dl-open.c: Likewise.
31871 * elf/dl-support.c: Likewise.
31872 * elf/dl-writev.h: Likewise.
31873 * elf/rtld.c: Likewise.
31874 * grp/fgetgrent.c: Likewise.
31875 * gshadow/fgetsgent.c: Likewise.
31876 * gshadow/sgetsgent.c: Likewise.
31877 * iconv/gconv_conf.c: Likewise.
31878 * iconv/gconv_db.c: Likewise.
31879 * iconv/gconv_dl.c: Likewise.
31880 * iconv/gconv_int.h: Likewise.
31881 * iconv/gconv_trans.c: Likewise.
31882 * include/link.h: Likewise.
31883 * inet/getnameinfo.c: Likewise.
31884 * inet/getnetgrent.c: Likewise.
31885 * inet/getnetgrent_r.c: Likewise.
31886 * intl/bindtextdom.c: Likewise.
31887 * intl/dcigettext.c: Likewise.
31888 * intl/finddomain.c: Likewise.
31889 * intl/gettextP.h: Likewise.
31890 * intl/loadmsgcat.c: Likewise.
31891 * intl/localealias.c: Likewise.
31892 * intl/textdomain.c: Likewise.
31893 * libidn/idn-stub.c: Likewise.
31894 * libio/libioP.h: Likewise.
31895 * locale/duplocale.c: Likewise.
31896 * locale/freelocale.c: Likewise.
31897 * locale/newlocale.c: Likewise.
31898 * locale/setlocale.c: Likewise.
31899 * login/getutent_r.c: Likewise.
31900 * login/getutid_r.c: Likewise.
31901 * login/getutline_r.c: Likewise.
31902 * login/utmp-private.h: Likewise.
31903 * login/utmpname.c: Likewise.
31904 * malloc/mtrace.c: Likewise.
31905 * misc/efgcvt.c: Likewise.
31906 * misc/error.c: Likewise.
31907 * misc/fstab.c: Likewise.
31908 * misc/getpass.c: Likewise.
31909 * misc/mntent.c: Likewise.
31910 * misc/syslog.c: Likewise.
31911 * nis/nis_call.c: Likewise.
31912 * nis/nis_callback.c: Likewise.
31913 * nis/nss-default.c: Likewise.
31914 * nis/nss_compat/compat-grp.c: Likewise.
31915 * nis/nss_compat/compat-initgroups.c: Likewise.
31916 * nis/nss_compat/compat-pwd.c: Likewise.
31917 * nis/nss_compat/compat-spwd.c: Likewise.
31918 * nis/nss_nis/nis-alias.c: Likewise.
31919 * nis/nss_nis/nis-ethers.c: Likewise.
31920 * nis/nss_nis/nis-grp.c: Likewise.
31921 * nis/nss_nis/nis-hosts.c: Likewise.
31922 * nis/nss_nis/nis-network.c: Likewise.
31923 * nis/nss_nis/nis-proto.c: Likewise.
31924 * nis/nss_nis/nis-pwd.c: Likewise.
31925 * nis/nss_nis/nis-rpc.c: Likewise.
31926 * nis/nss_nis/nis-service.c: Likewise.
31927 * nis/nss_nis/nis-spwd.c: Likewise.
31928 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31929 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31930 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31931 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31932 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31933 * nis/nss_nisplus/nisplus-network.c: Likewise.
31934 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31935 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31936 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31937 * nis/nss_nisplus/nisplus-service.c: Likewise.
31938 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31939 * nis/ypclnt.c: Likewise.
31940 * nptl/libc_pthread_init.c: Likewise.
31941 * nss/getXXbyYY.c: Likewise.
31942 * nss/getXXent.c: Likewise.
31943 * nss/getXXent_r.c: Likewise.
31944 * nss/nss_db/db-XXX.c: Likewise.
31945 * nss/nss_db/db-netgrp.c: Likewise.
31946 * nss/nss_db/nss_db.h: Likewise.
31947 * nss/nss_files/files-XXX.c: Likewise.
31948 * nss/nss_files/files-alias.c: Likewise.
31949 * nss/nsswitch.c: Likewise.
31950 * posix/regex_internal.h: Likewise.
31951 * posix/wordexp.c: Likewise.
31952 * pwd/fgetpwent.c: Likewise.
31953 * resolv/res_hconf.c: Likewise.
31954 * resolv/res_libc.c: Likewise.
31955 * shadow/fgetspent.c: Likewise.
31956 * shadow/lckpwdf.c: Likewise.
31957 * shadow/sgetspent.c: Likewise.
31958 * socket/opensock.c: Likewise.
31959 * stdio-common/reg-modifier.c: Likewise.
31960 * stdio-common/reg-printf.c: Likewise.
31961 * stdio-common/reg-type.c: Likewise.
31962 * stdio-common/vfprintf.c: Likewise.
31963 * stdio-common/vfscanf.c: Likewise.
31964 * stdlib/abort.c: Likewise.
31965 * stdlib/cxa_atexit.c: Likewise.
31966 * stdlib/fmtmsg.c: Likewise.
31967 * stdlib/random.c: Likewise.
31968 * stdlib/setenv.c: Likewise.
31969 * string/strsignal.c: Likewise.
31970 * sunrpc/auth_none.c: Likewise.
31971 * sunrpc/bindrsvprt.c: Likewise.
31972 * sunrpc/create_xid.c: Likewise.
31973 * sunrpc/key_call.c: Likewise.
31974 * sunrpc/rpc_thread.c: Likewise.
31975 * sysdeps/arm/backtrace.c: Likewise.
31976 * sysdeps/generic/ldsodefs.h: Likewise.
31977 * sysdeps/generic/stdio-lock.h: Likewise.
31978 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31979 * sysdeps/i386/backtrace.c: Likewise.
31980 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31981 * sysdeps/m68k/backtrace.c: Likewise.
31982 * sysdeps/mach/hurd/cthreads.c: Likewise.
31983 * sysdeps/mach/hurd/dirstream.h: Likewise.
31984 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31985 * sysdeps/nptl/malloc-machine.h: Likewise.
31986 * sysdeps/nptl/stdio-lock.h: Likewise.
31987 * sysdeps/posix/dirstream.h: Likewise.
31988 * sysdeps/posix/getaddrinfo.c: Likewise.
31989 * sysdeps/posix/system.c: Likewise.
31990 * sysdeps/pthread/aio_suspend.c: Likewise.
31991 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31992 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31993 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31994 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31995 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31996 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31997 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31998 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31999 * sysdeps/unix/sysv/linux/system.c: Likewise.
32000 * sysdeps/x86_64/backtrace.c: Likewise.
32001 * time/alt_digit.c: Likewise.
32002 * time/era.c: Likewise.
32003 * time/tzset.c: Likewise.
32004 * wcsmbs/wcsmbsload.c: Likewise.
32005 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
32006 instead of <bits/libc-lock.h> in comment.
32007
320082015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
32009
32010 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
32011 Only use .set mips2 if the current ISA is below mips2.
32012 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
32013 Likewise.
32014 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
32015 mips32r2 if the current ISA is below mips32r2.
32016 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
32017 (TLS_IE): Updated to use the TLD_RDHWR macro.
32018 (TLS_LE): Likewise.
32019 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
32020 __ASSEMBLER__ condition.
32021
320222015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
32023
32024 Fix parallel build of before-compile targets.
32025
32026 * sysdeps/mach/Makefile ($(patsubst
32027 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
32028 mach-before-compile target.
32029 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32030 io fs process)): Move rule to dedicated hurd-before-compile target.
32031
320322015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32033
32034 Fix rules generating headers in hurd/ and mach/ when initial make call
32035 has subdir= explicitly set.
32036
32037 * sysdeps/mach/Makefile ($(patsubst
32038 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
32039 calling $(MAKE).
32040 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32041 io fs process)): Force subdir to hurd when calling $(MAKE).
32042 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
32043 subdir to mach when calling $(MAKE).
32044
320452015-09-06 Manolis Ragkousis <manolis837@gmail.com>
32046
32047 Check sysheaders when looking for Mach and Hurd headers
32048
32049 * sysdeps/mach/configure.ac: Add sysheaders check.
32050 * sysdeps/mach/configure: Regenerate.
32051 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
32052 * sysdeps/mach/hurd/configure: Regenerate.
32053
320542015-09-04 Roland McGrath <roland@hack.frob.com>
32055
32056 [BZ #18921]
32057 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
32058 Fix inverted sense of test of 'o_directory_works' value.
32059 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
32060 Bernhard Voelker <mail@bernhard-voelker.de>.
32061
320622015-09-04 Joseph Myers <joseph@codesourcery.com>
32063
32064 [BZ #14912]
32065 * bits/linkmap.h: Move to ...
32066 * sysdeps/generic/linkmap.h: ...here.
32067 * sysdeps/aarch64/bits/linkmap.h: Move to ...
32068 * sysdeps/aarch64/linkmap.h: ...here.
32069 * sysdeps/arm/bits/linkmap.h: Move to ...
32070 * sysdeps/arm/linkmap.h: ...here.
32071 * sysdeps/hppa/bits/linkmap.h: Move to ...
32072 * sysdeps/hppa/linkmap.h: ...here.
32073 * sysdeps/ia64/bits/linkmap.h: Move to ...
32074 * sysdeps/ia64/linkmap.h: ...here.
32075 * sysdeps/mips/bits/linkmap.h: Move to ...
32076 * sysdeps/mips/linkmap.h: ...here.
32077 * sysdeps/s390/bits/linkmap.h: Move to ...
32078 * sysdeps/s390/linkmap.h: ...here.
32079 * sysdeps/sh/bits/linkmap.h: Move to ...
32080 * sysdeps/sh/linkmap.h: ...here.
32081 * sysdeps/x86/bits/linkmap.h: Move to ...
32082 * sysdeps/x86/linkmap.h: ...here.
32083 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
32084
320852015-09-04 Andreas Schwab <schwab@suse.de>
32086
32087 [BZ #18635]
32088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
32089 (__makecontext): Terminate FDE before return label.
32090 (__novec_makecontext): Likewise.
32091
320922015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32093
32094 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
32095 first member of struct sv in syscall macro.
32096
320972015-09-04 Joseph Myers <joseph@codesourcery.com>
32098
32099 [BZ #14912]
32100 * bits/stdio-lock.h: Move to ...
32101 * sysdeps/generic/stdio-lock.h: ...here.
32102 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32103 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
32104 * sysdeps/nptl/stdio-lock.h: ...here.
32105 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32106 * include/libio.h: Include <stdio-lock.h> instead of
32107 <bits/stdio-lock.h>.
32108 * sysdeps/nptl/fork.c: Likewise.
32109 * sysdeps/pthread/flockfile.c: Likewise.
32110 * sysdeps/pthread/ftrylockfile.c: Likewise.
32111 * sysdeps/pthread/funlockfile.c: Likewise.
32112
32113 [BZ #14912]
32114 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
32115 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
32116 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
32117 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
32118 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
32119 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32120 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
32121
321222015-09-03 Roland McGrath <roland@hack.frob.com>
32123
32124 * elf/Makefile (test-xfail-tst-protected1a): New variable.
32125 (test-xfail-tst-protected1b): New variable.
32126
321272015-09-03 Joseph Myers <joseph@codesourcery.com>
32128
32129 [BZ #14912]
32130 * bits/libc-tsd.h: Move to ...
32131 * sysdeps/generic/libc-tsd.h: ...here.
32132 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
32133 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
32134 * sysdeps/mach/hurd/libc-tsd.h: ...here.
32135 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
32136 * include/ctype.h: Include <libc-tsd.h> instead of
32137 <bits/libc-tsd.h>.
32138 * include/rpc/rpc.h: Likewise.
32139 * locale/localeinfo.h: Likewise.
32140 * sunrpc/rpc_thread.c: Likewise.
32141 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
32142 * sysdeps/nptl/malloc-machine.h: Likewise.
32143
32144 * Makefile (headers): Remove bits/libc-lock.h.
32145 * libio/Makefile (headers): Remove bits/stdio-lock.h.
32146
32147 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
32148 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
32149 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
32150 <bits/stdio-lock.h>.
32151 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
32152 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
32153
321542015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32155
32156 [BZ #18757]
32157 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
32158 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
32159 BZ #18757.
32160
321612015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32162
32163 * malloc/mtrace.pl: Filter out NULL entries.
32164
321652015-09-01 Joseph Myers <joseph@codesourcery.com>
32166
32167 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
32168 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
32169 macro.
32170
32171 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
32172 (TCP_CC_INFO): Likewise.
32173 (TCP_SAVE_SYN): Likewise.
32174 (TCP_SAVED_SYN): Likewise.
32175
321762015-08-31 Brett Neumeier <brett@neumeier.us>
32177
32178 [BZ #18870]
32179 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
32180
321812015-08-31 Paul Eggert <eggert@cs.ucla.edu>
32182
32183 [BZ #18873]
32184 Fix broken overflow check in posix_fallocate
32185 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32186 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32187 Fix parenthesization typo.
32188
321892015-08-28 Mike Frysinger <vapier@gentoo.org>
32190
32191 [BZ #18887]
32192 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32193 tst-mntent-blank-passno.
32194 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32195 * misc/tst-mntent-blank-corrupt.c: New test.
32196 * misc/tst-mntent-blank-passno.c: New test ripped from ...
32197 * misc/tst-mntent.c (do_test): ... here.
32198
321992015-08-29 Mike Frysinger <vapier@gentoo.org>
32200
32201 [BZ #4404]
32202 * po/de.po: Fix SIGALRM typo.
32203
322042015-08-28 James Perkins <james@loowit.net>
32205
32206 * time/tst-strptime2.c (tests): Replace short list of test
32207 strings for strptime %z specifier with code which exhaustively
32208 tests every combination of sign and 0 to 5 digits. Tests for
32209 rejection of invalid strings.
32210
322112015-08-28 James Perkins <james@loowit.net>
32212
32213 [BZ #16141]
32214 * time/strptime_l.c (__strptime_internal): Fix %z minutes
32215 calculation, removing incorrect decimal time rounding, so that
32216 all minute values result in a valid seconds value.
32217 * time/strptime_l.c (__strptime_internal): Extend %z time zone
32218 offset range limits to UTC-99:59 through UTC+99:59 to parse
32219 current and historical use cases.
32220 * time/tst-strptime2.c (tests): Modify and add tests for the
32221 strptime %z input field descriptor, specifically conversion of
32222 minutes to seconds and validating an offset range of -9959 to
32223 +9959.
32224
322252015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32226 Dmitry V. Levin <ldv@altlinux.org>
32227
32228 [BZ #18877]
32229 * posix/Makefile (tests): Add tst-mmap-offset.
32230 * posix/tst-mmap.c: New file.
32231 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32232 offset calculation for negative values.
32233
322342015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32235
32236 * sysdeps/i386/init-arch.h: New file.
32237 * sysdeps/i386/i586/init-arch.h: Likewise.
32238 * sysdeps/i386/i686/init-arch.h: Likewise.
32239 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32240 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
32241 * sysdeps/x86/cpu-features.h (bit_I586): New.
32242 (bit_I686): Likewise.
32243 (bit_CX8): Likewise.
32244 (bit_CMOV): Likewise.
32245 (index_CX8): Likewise.
32246 (index_CMOV): Likewise.
32247 (index_I586): Likewise.
32248 (index_I686): Likewise.
32249 (reg_CX8): Likewise.
32250 (reg_CMOV): Likewise.
32251 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32252 available at compile-time.
32253 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32254 available at compile-time.
32255 * sysdeps/x86/init-arch.h (USE_I586): New macro.
32256 (USE_I686): Likewise.
32257
322582015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32259
32260 * sysdeps/i386/bcopy.S: New file.
32261 * sysdeps/i386/bzero.S: Likewise.
32262 * sysdeps/i386/memcpy.S: Likewise.
32263 * sysdeps/i386/memmove.S: Likewise.
32264 * sysdeps/i386/mempcpy.S: Likewise.
32265 * sysdeps/i386/memset.S: Likewise.
32266 * sysdeps/i386/bzero.c: Removed.
32267 * sysdeps/i386/memset.c: Likewise.
32268 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32269 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32270 * sysdeps/i386/i586/memset_chk.S: Likewise.
32271 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32272 * sysdeps/i386/memcpy_chk.S: Here.
32273 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32274 * sysdeps/i386/memmove_chk.S: Here.
32275 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32276 * sysdeps/i386/mempcpy_chk.S: Likewise.
32277 * sysdeps/i386/i686/memset_chk.S: Moved to ...
32278 * sysdeps/i386/memset_chk.S: Likewise.
32279
322802015-08-27 Steve Ellcey <sellcey@imgtec.com>
32281
32282 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32283 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32284 file, move DIAG_POP_NEEDS_COMMENT to end of file.
32285 * soft-fp/fmadf4.c: Ditto.
32286 * soft-fp/fmatf4.c: Ditto.
32287
322882015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32289
32290 * sysdeps/i386/i586/Implies: Removed.
32291 * sysdeps/i386/i686/Implies: Likewise.
32292
322932015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32294
32295 * sysdeps/i386/i486/strlen.S: Moved to ...
32296 * sysdeps/i386/strlen.S: Here.
32297
322982015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32299
32300 * sysdeps/i386/i486/strcat.S: Moved to ...
32301 * sysdeps/i386/strcat.S: Here.
32302
323032015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32304
32305 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32306 * sysdeps/i386/pthread_spin_trylock.S: Here.
32307 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32308 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32309
323102015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32311
32312 * sysdeps/i386/i486/string-inlines.c: Moved to ...
32313 * sysdeps/i386/string-inlines.c: Here.
32314
323152015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32316
32317 * sysdeps/i386/i486/htonl.S: Moved ...
32318 * sysdeps/i386/htonl.S: here.
32319
323202015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32321
32322 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32323 * sysdeps/i386/bits/atomic.h: Here.
32324
323252015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32326
32327 * sysdeps/i386/i486/Versions: Removed.
32328
323292015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
32330
32331 [BZ #2898]
32332 * misc/mktemp.c: Add mkdtemp to the link_warning message.
32333 Based on patch by Aurelien Jarno.
32334
323352015-08-26 Stan Shebs <stanshebs@google.com>
32336
32337 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32338 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32339
323402015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32341
32342 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32343 * sysdeps/powerpc/dl-procinfo.c:
32344 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32345 feature so it shows when LD_SHOW_AUXV=1.
32346
323472015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32348
32349 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32350 (__arch_compare_and_exchange_val_32_acq): Remove and use common
32351 definition. ISA 2.07B no longer requires full sync.
32352
323532015-08-26 Mike Frysinger <vapier@gentoo.org>
32354
32355 [BZ #18863]
32356 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32357 (si_call_addr): Define.
32358 (si_syscall): Define.
32359 (si_arch): Define.
32360
323612015-08-26 H.J. Lu <hongjiu.lu@intel.com>
32362
32363 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32364 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32365 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32366 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32367 (__memset_zero_constant_len_parameter): New.
32368 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32369 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32370 (__memset_zero_constant_len_parameter): Don't define if
32371 __memset_chk or USE_AS_BZERO are defined.
32372
32373 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32374 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32375 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32376
32377 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32378 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32379 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32380 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
32381 comments.
32382 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32383 -mno-mmx for $(all-rtld-routines).
32384 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32385 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
32386 i386.
32387
323882015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32389
32390 * sysdeps/generic/unwind.h
32391 (_Unwind_Word): Use __mode__(__unwind_word__)
32392 instead of __mode__(__word__).
32393 (_Unwind_Sword): Likewise.
32394
32395 * sysdeps/s390/s390-64/utf8-utf16-z9.c
32396 (MAX_NEEDED_INPUT): New define.
32397 (MAX_NEEDED_OUTPUT): New define.
32398
32399 * NEWS: New item for IBM z13 string optimizations.
32400
32401 * sysdeps/s390/multiarch/memrchr-c.c: New File.
32402 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32403 * sysdeps/s390/multiarch/memrchr.c: Likewise.
32404 * sysdeps/s390/multiarch/Makefile
32405 (sysdep_routines): Add memrchr functions.
32406 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32407 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32408
32409 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32410 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32411 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32412 * sysdeps/s390/multiarch/Makefile
32413 (sysdep_routines): Add wmemcmp functions.
32414 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32415 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32416 * benchtests/bench-wmemcmp.c: New File.
32417 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32418
32419 * sysdeps/s390/multiarch/wmemset-c.c: New File.
32420 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32421 * sysdeps/s390/multiarch/wmemset.c: Likewise.
32422 * sysdeps/s390/multiarch/Makefile
32423 (sysdep_routines): Add wmemset functions.
32424 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32425 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32426 * wcsmbs/wmemset.c: Use WMEMSET if defined.
32427 * string/test-memset.c: Add wmemset support.
32428 * wcsmbs/test-wmemset.c: New File.
32429 * wcsmbs/Makefile (strop-tests): Add wmemset.
32430 * benchtests/bench-memset.c: Add wmemset support.
32431 * benchtests/bench-wmemset.c: New File.
32432 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32433
32434 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32435 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32436 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32437 * sysdeps/s390/multiarch/Makefile
32438 (sysdep_routines): Add memccpy functions.
32439 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32440 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32441 * string/memccpy.c: Use MEMCCPY if defined.
32442
32443 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32444 * sysdeps/s390/multiarch/memchr.c: Likewise.
32445 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32446 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32447 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32448 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32449 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32450 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32451 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32452 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32453 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32454 and rawmemchr functions.
32455 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32456 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32457 and wmemchr.
32458 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32459 * string/test-memchr.c: Add wmemchr support.
32460 * wcsmbs/test-wmemchr.c: New File.
32461 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32462 * benchtests/bench-memchr.c: Add wmemchr support.
32463 * benchtests/bench-wmemchr.c: New File.
32464 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32465
32466 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32467 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32468 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32469 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32470 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32471 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32472 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32473 wcscspn functions.
32474 * sysdeps/s390/multiarch/ifunc-impl-list.c
32475 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32476 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32477 * string/test-strcspn.c: Add wcscspn support.
32478 * wcsmbs/test-wcscspn.c: New File.
32479 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32480 * benchtests/bench-strcspn.c: Add wcscspn support.
32481 * benchtests/bench-wcscspn.c: New File.
32482 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32483
32484 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32485 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32486 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32487 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32488 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32489 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32490 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32491 wcspbrk functions.
32492 * sysdeps/s390/multiarch/ifunc-impl-list.c
32493 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32494 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32495 * string/test-strpbrk.c: Add wcspbrk support.
32496 * wcsmbs/test-wcspbrk.c: New File.
32497 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32498 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32499 * benchtests/bench-wcspbrk.c: New File.
32500 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32501
32502 * sysdeps/s390/multiarch/strspn-c.c: New File.
32503 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32504 * sysdeps/s390/multiarch/strspn.c: Likewise.
32505 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32506 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32507 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32508 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32509 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32510 wcsspn functions.
32511 * sysdeps/s390/multiarch/ifunc-impl-list.c
32512 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32513 * string/test-strspn.c: Add wcsspn support.
32514 * wcsmbs/test-wcsspn.c: New File.
32515 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32516 * benchtests/bench-strspn.c: Add wcsspn support.
32517 * benchtests/bench-wcsspn.c: New File.
32518 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32519
32520 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32521 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32522 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32523 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32524 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32525 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32526 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32527 wcsrchr functions.
32528 * sysdeps/s390/multiarch/ifunc-impl-list.c
32529 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32530 * benchtests/bench-wcsrchr.c: New File.
32531 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32532
32533 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32534 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32535 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32536 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32537 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32538 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32539 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32540 wcschrnul functions.
32541 * sysdeps/s390/multiarch/ifunc-impl-list.c
32542 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32543 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32544 * string/test-strchr.c: Add wcschrnul support.
32545 * wcsmbs/test-wcschrnul.c: New File.
32546 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32547 * benchtests/bench-strchr.c: Add wcschrnul support.
32548 * benchtests/bench-wcschrnul.c: New File.
32549 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32550
32551 * sysdeps/s390/multiarch/strchr-c.c: New File.
32552 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32553 * sysdeps/s390/multiarch/strchr.c: Likewise.
32554 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32555 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32556 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32557 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32558 wcschr functions.
32559 * sysdeps/s390/multiarch/ifunc-impl-list.c
32560 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32561 * string/strchr.c (STRCHR): Define and use macro.
32562 * benchtests/bench-wcschr.c: New File.
32563 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32564
32565 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32566 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32567 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32568 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32569 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32570 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32571 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32572 wcsncmp functions.
32573 * sysdeps/s390/multiarch/ifunc-impl-list.c
32574 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32575 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32576 * benchtests/bench-strncmp.c: Add wcsncmp support.
32577 * benchtests/bench-wcsncmp.c: New File.
32578 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32579
32580 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32581 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32582 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32583 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32584 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32585 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32586 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32587 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32588 wcscmp functions.
32589 * sysdeps/s390/multiarch/ifunc-impl-list.c
32590 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32591 * string/strcmp.c (STRCMP): Define and use macro.
32592 * benchtests/bench-wcscmp.c: New File.
32593 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32594 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32595 instead of _HAVE_STRING_ARCH_memchr.
32596
32597 * sysdeps/s390/multiarch/strncat-c.c: New File.
32598 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32599 * sysdeps/s390/multiarch/strncat.c: Likewise.
32600 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32601 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32602 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32603 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32604 wcsncat functions.
32605 * sysdeps/s390/multiarch/ifunc-impl-list.c
32606 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32607 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32608 * string/test-strncat.c: Add wcsncat support.
32609 * wcsmbs/test-wcsncat.c: New File.
32610 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32611 * benchtests/bench-strncat.c: Add wcsncat support.
32612 * benchtests/bench-wcsncat.c: New File.
32613 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32614
32615 * sysdeps/s390/multiarch/strcat-c.c: New File.
32616 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32617 * sysdeps/s390/multiarch/strcat.c: Likewise.
32618 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32619 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32620 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32621 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32622 wcscat functions.
32623 * sysdeps/s390/multiarch/ifunc-impl-list.c
32624 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32625 * string/strcat.c (STRCAT): Define and use macro.
32626 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32627 * string/test-strcat.c: Add wcscat support.
32628 * wcsmbs/test-wcscat.c: New File.
32629 * wcsmbs/Makefile (strop-tests): Add wcscat.
32630 * benchtests/bench-strcat.c: Add wcscat support.
32631 * benchtests/bench-wcscat.c: New File.
32632 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32633
32634 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32635 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32636 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32637 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32638 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32639 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32640 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32641 wcpncpy functions.
32642 * sysdeps/s390/multiarch/ifunc-impl-list.c
32643 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32644 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32645 * string/test-stpncpy.c: Add wcpncpy support.
32646 * wcsmbs/test-wcpncpy.c: New File.
32647 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32648 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32649 * benchtests/bench-wcpncpy.c: New File.
32650 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32651
32652 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32653 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32654 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32655 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32656 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32657 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32658 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32659 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32660 wcsncpy functions.
32661 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32662 * sysdeps/s390/multiarch/ifunc-impl-list.c
32663 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32664 * string/test-strncpy.c: Add wcsncpy support.
32665 * wcsmbs/test-wcsncpy.c: New File.
32666 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32667 * benchtests/bench-strncpy.c: Add wcsncpy support.
32668 * benchtests/bench-wcsncpy.c: New File.
32669 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32670
32671 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32672 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32673 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32674 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32675 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32676 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32677 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32678 wcpcpy functions.
32679 * string/stpcpy.c: Use STPCPY if defined.
32680 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32681 * sysdeps/s390/multiarch/ifunc-impl-list.c
32682 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32683 * string/test-stpcpy.c: Add wcpcpy support.
32684 * wcsmbs/test-wcpcpy.c: New File.
32685 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32686 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32687 * benchtests/bench-wcpcpy.c: New File.
32688 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32689
32690 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32691 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32692 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32693 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32694 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32695 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32696 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32697 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32698 wcscpy functions.
32699 * sysdeps/s390/multiarch/ifunc-impl-list.c
32700 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32701 * benchtests/bench-wcscpy.c: New File.
32702 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32703
32704 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32705 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32706 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32707 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32708 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32709 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32710 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32711 wcsnlen functions.
32712 * sysdeps/s390/multiarch/ifunc-impl-list.c
32713 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32714 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32715 * string/test-strnlen.c: Add wcsnlen support.
32716 * wcsmbs/test-wcsnlen.c: New File.
32717 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32718 * benchtests/bench-strnlen.c: Add wcsnlen support.
32719 * benchtests/bench-wcsnlen.c: New File.
32720 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32721
32722 * sysdeps/s390/multiarch/Makefile: New File.
32723 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32724 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32725 * sysdeps/s390/multiarch/strlen.c: Likewise.
32726 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32727 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32728 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32729 * string/strlen.c (STRLEN): Define and use macro.
32730 * sysdeps/s390/multiarch/ifunc-impl-list.c
32731 (IFUNC_VX_IMPL): New macro function.
32732 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32733 * benchtests/Makefile (wcsmbs-bench): New variable.
32734 (string-bench-all): Added wcsmbs-bench.
32735 * benchtests/bench-wcslen.c: New File.
32736
32737 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32738 s390_vx_libc_ifunc2): New macro function.
32739
32740 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32741 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32742 assembler support.
32743 * sysdeps/s390/configure: Regenerated.
32744
32745 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32746 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32747
32748 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32749 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32750 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32751
32752 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32753 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32754 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32755 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32756 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32757 (memcmp, bcmp): Use __memcmp_default as alias source.
32758 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32759 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32760 Rename to __memcmp_default.
32761 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32762 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32763 (memcpy): Use __memcpy_default as alias source.
32764 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32765 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32766 Rename to __memcpy_default.
32767 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32768 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32769 (memset): Use __memset_default as alias source.
32770 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32771 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32772 Rename to __memset_default.
32773 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32774 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32775 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32776 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32777 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32778 (memcmp, bcmp): Use __memcmp_default as alias source.
32779 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32780 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32781 Rename to __memcmp_default.
32782 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32783 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32784 (memcpy): Use __memcpy_default as alias source.
32785 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32786 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32787 Rename to __memcpy_default.
32788 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32789 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32790 (memset): Use __memset_default as alias source.
32791 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32792 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32793 Rename to __memset_default.
32794 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32795 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32796
32797 [BZ #18610]
32798 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32799 __ieee_instruction_pointer to __unused.
32800 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32801 __ieee_instruction_pointer.
32802 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32803 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32804 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32805 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32806 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32807 Mark dxc-field as reserved.
32808
328092015-08-25 Roland McGrath <roland@hack.frob.com>
32810
32811 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32812 if the weak reference is not null.
32813
328142015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32815
32816 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32817
32818 [BZ #11214]
32819 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32820
328212015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32822
32823 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32824 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32825 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32826 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32827 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32828 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32829 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32830 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32831 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32832 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32833 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32834 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32835 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32836 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32837 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32838 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32839 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32840 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32841
328422015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32843
32844 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32845 register other than r0 for tabort, it has special meaning.
32846 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32847 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32848 transaction before starting syscall.
32849
328502015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32851
32852 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32853
328542015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32855
32856 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32857
32858 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32859 * sysdeps/x86_64/rtld-memset.S: Likewise.
32860 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32861 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32862 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32863 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32864
32865 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32866
328672015-08-25 Ondřej Bílka <neleai@seznam.cz>
32868
32869 * debug/strcpy_chk.c: Improve performance.
32870 * debug/stpcpy_chk.c: Likewise.
32871 * sysdeps/x86_64/strcpy_chk.S: Remove.
32872 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32873
32874 [BZ #18240]
32875 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32876
328772015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32878
32879 [BZ #15128]
32880 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32881 ifuncmain8.
32882 (modules-names): Add ifuncmod8.
32883 ($(objpfx)ifuncmain8): New rule.
32884 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32885 <cpuid.h>.
32886 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32887 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32888 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32889 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32890 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32891 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32892 * sysdeps/x86_64/ifuncmain8.c: New file.
32893 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32894 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32895 Removed.
32896 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32897 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32898 Change rtld_savespace_sse to __glibc_unused2.
32899 (RTLD_CHECK_FOREIGN_CALL): Removed.
32900 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32901 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32902 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32903
329042015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32905
32906 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32907
329082015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32909
32910 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32911 Unconditionally set __fpcr to avoid uninialized warning.
32912 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32913
329142015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32915
32916 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32917 is corrupt.
32918
32919 * malloc/arena.c (arena_get2): Drop unused argument.
32920 (arena_lock): Adjust.
32921 (arena_get_retry): Likewise.
32922
329232015-08-24 Andreas Schwab <schwab@suse.de>
32924
32925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32926 Don't define.
32927 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32928 (__ASSUME_IPC64): Don't undef.
32929 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32930 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32931 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32932 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32933 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32934 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32935 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32936 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32937 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32938 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32939 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32940 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32941 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32942 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32943 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32944 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32945 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32946 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32947 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32948 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32949 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32950
329512015-08-21 Mike Frysinger <vapier@gentoo.org>
32952
32953 * manual/Makefile (install): Only build manual when perl is available.
32954
329552015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32956
32957 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32958 '#undef memcpy' by '#undef memchr'.
32959
329602015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32961
32962 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32963 memchr not point to the internal __GI_memchr implementation.
32964
329652015-08-20 Joseph Myers <joseph@codesourcery.com>
32966
32967 * timezone/Makefile (CFLAGS-zdump.c): Remove
32968 -Wno-strict-prototypes.
32969 (CFLAGS-zic.c): Likewise.
32970 (CFLAGS-ialloc.c): Likewise.
32971 (CFLAGS-scheck.c): Likewise.
32972
32973 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32974 -Wno-error=undef.
32975
329762015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32977
32978 * i386/i686/multiarch/strcasestr-c.c: Removed.
32979 * x86_64/multiarch/strcasestr.c: Likewise.
32980 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32981 Remove strcasestr.
32982
329832015-08-20 Joseph Myers <joseph@codesourcery.com>
32984
32985 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32986
32987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32988 variables for high and low parts before possibly modifying them.
32989
329902015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32991
32992 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32993 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32994 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32995 of "multiarch/init-arch.h".
32996 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32997 * sysdeps/x86/init-arch.h: This.
32998
329992015-08-20 H.J. Lu <hongjiu.lu@intel.com>
33000
33001 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
33002 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
33003
330042015-08-20 Ondřej Bílka <neleai@seznam.cz>
33005
33006 [BZ #17787]
33007 * manual/macros.texi: Add twoexp macro.
33008 * manual/filesys.texi: Fix exponents.
33009 * manual/llio.texi: Likewise.
33010 * manual/stdio.texi: Likewise.
33011
330122015-08-20 Florian Weimer <fweimer@redhat.com>
33013
33014 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
33015 incorrect use.
33016
330172015-08-19 Joseph Myers <joseph@codesourcery.com>
33018
33019 [BZ #18370]
33020 * math/s_csqrt.c (__csqrt): Force underflow exception for results
33021 whose real or imaginary part has small absolute value.
33022 * math/s_csqrtf.c (__csqrtf): Likewise.
33023 * math/s_csqrtl.c (__csqrtl): Likewise.
33024 * math/auto-libm-test-in: Add more tests of csqrt.
33025 * math/auto-libm-test-out: Regenerated.
33026 * sysdeps/i386/fpu/libm-test-ulps: Update.
33027
330282015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33029
33030 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
33031 __ppc_set_ppr_very_low): New functions.
33032 * manual/platform.texi: Add documentation about
33033 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
33034
330352015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
33036
33037 * string/stpncpy.c (stpncpy): Improve performance using
33038 __strnlen/memcpy/memset.
33039
330402015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
33041
33042 [BZ #18796]
33043 * scripts/test-installation.pl: Don't add -lmvec to build options if
33044 libmvec wasn't built.
33045
330462015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
33047
33048 [BZ #14341]
33049 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
33050 case when there is a gap between DT_REL and DT_JMPREL sections.
33051 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
33052 (LDFLAGS-tst-split-dynreloc): New.
33053 (tst-split-dynreloc-ENV): Likewise.
33054 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
33055 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
33056
330572015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33058
33059 [BZ #18822]
33060 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
33061 attribute_hidden.
33062 (__xstat64_conv): Likewise.
33063 (__xstat32_conv): Likewise.
33064
330652015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33066
33067 [BZ #18822]
33068 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
33069 Don't load %ebx when calling __setcontext. Call __setcontext
33070 with HIDDEN_JUMPTARGET.
33071 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
33072 libc_hidden_def.
33073
330742015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33075
33076 * sysdeps/i386/i686/Makefile
33077 [$(subdir) == string] (sysdep_routines): Moved to ...
33078 * sysdeps/i386/Makefile: Here.
33079 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
33080 * sysdeps/i386/cacheinfo.c: Here.
33081 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
33082 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
33083 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
33084 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
33085
330862015-08-19 H.J. Lu <hongjiu.lu@intel.com>
33087
33088 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
33089 __i586__ is defined.
33090 (HAS_I686): Defined to 1 if __i686__ is defined.
33091
330922015-08-19 Joseph Myers <joseph@codesourcery.com>
33093
33094 * elf/Makefile [$(have-z-execstack) = yes]
33095 (CPPFLAGS-tst-execstack.c): New variable.
33096
33097 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
33098 conditional to [defined UTMPX || _HAVE_UT_TYPE].
33099 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
33100 UTMPX || _HAVE_UT_TV].
33101 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
33102 UTMPX || _HAVE_UT_TV - 0].
33103
331042015-08-18 Joseph Myers <joseph@codesourcery.com>
33105
33106 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
33107 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
33108 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
33109
331102015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
33111
33112 * sysdeps/powerpc/dl-procinfo.c:
33113 (_dl_powerpc_cap_flags): Added missing strings for some
33114 hwcap features.
33115 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
33116
331172015-08-18 Paul Eggert <eggert@cs.ucla.edu>
33118
33119 Port the 0x7efe...feff pattern to GCC 6.
33120 See Steve Ellcey's bug report in:
33121 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
33122 * string/memrchr.c (MEMRCHR):
33123 * string/rawmemchr.c (RAWMEMCHR):
33124 * string/strchr.c (strchr):
33125 * string/strchrnul.c (STRCHRNUL):
33126 Rewrite code to avoid issues with signed shift overflow.
33127
331282015-08-18 H.J. Lu <hongjiu.lu@intel.com>
33129
33130 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
33131 whether cpuid is available only if HAS_CPUID is 0.
33132 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
33133 (HAS_I586): Likewise.
33134 (HAS_I686): Likewise.
33135
331362015-08-18 Zack Weinberg <zackw@panix.com>
33137
33138 * misc/Versions (libc): Add GLIBC_2.23.
33139
331402015-08-18 Alan Modra <amodra@gmail.com>
33141
33142 [BZ #18421]
33143 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
33144 .Lp__global.
33145 (_start): Load %dp via .Lp__global.
33146 [!SHARED]: Use .section .rodata.
33147
331482015-08-18 Mike Frysinger <vapier@gentoo.org>
33149
33150 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
33151 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
33152
331532015-08-18 Mike Frysinger <vapier@gentoo.org>
33154
33155 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
33156 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
33157
331582015-08-18 Mike Frysinger <vapier@gentoo.org>
33159
33160 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
33161 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
33162
331632015-08-18 Mike Frysinger <vapier@gentoo.org>
33164
33165 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
33166 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
33167
331682015-08-18 Mike Frysinger <vapier@gentoo.org>
33169
33170 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
33171 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
33172
331732015-08-18 Mike Frysinger <vapier@gentoo.org>
33174
33175 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
33176 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
33177
331782015-08-18 Mike Frysinger <vapier@gentoo.org>
33179
33180 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
33181
331822015-08-18 Mike Frysinger <vapier@gentoo.org>
33183
33184 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33185 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
33186 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33187 (__ASSUME_LWS_CAS): Delete.
33188
331892015-08-18 Mike Frysinger <vapier@gentoo.org>
33190
33191 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33192 * sysdeps/hppa/configure: Regenerated.
33193 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33194 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33195 * sysdeps/hppa/nptl/tls.h: Likewise.
33196
331972015-08-17 Joseph Myers <joseph@codesourcery.com>
33198
33199 [BZ #18823]
33200 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33201 for scaling up small arguments.
33202 * math/s_csqrtf.c (__csqrtf): Likewise.
33203 * math/s_csqrtl.c (__csqrtl): Likewise.
33204 * math/auto-libm-test-in: Add more tests of csqrt.
33205 * math/auto-libm-test-out: Regenerated.
33206
332072015-08-17 Andreas Schwab <schwab@suse.de>
33208
33209 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33210 version set GLIBC_2.19.
33211
332122015-08-16 Zack Weinberg <zackw@panix.com>
33213
33214 [BZ #18681]
33215 * misc/regexp.h: This interface is no longer supported.
33216 Remove all contents, leaving only an #error directive.
33217 * misc/regexp.c (loc1, loc2, locs, step, advance):
33218 Demote to compatibility symbols.
33219
332202015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
33221
33222 [BZ #18084]
33223 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33224 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33225 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33226 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33227 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33228 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33229 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33230 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33231 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33232
332332015-08-15 Zack Weinberg <zackw@panix.com>
33234
33235 [BZ #18795]
33236 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33237 buffer length is known to be too large, not if it's known to be
33238 small enough.
33239 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33240 overflow at runtime, involving a length parameter, twice: once
33241 with a compile-time constant length parameter, once without.
33242
332432015-08-14 Joseph Myers <joseph@codesourcery.com>
33244
33245 [BZ #18824]
33246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33247 scaling x * y up instead of down.
33248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33250 * math/auto-libm-test-in: Add more tests of fma.
33251 * math/auto-libm-test-out: Regenerated.
33252
332532015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
33254
33255 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33256
332572015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33258
33259 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33260 unnecessary movq.
33261 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33262 Likewise.
33263
332642015-08-13 Joseph Myers <joseph@codesourcery.com>
33265
33266 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33267 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33268 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33269 and tgamma.
33270 * math/auto-libm-test-out: Regenerated.
33271 * sysdeps/i386/fpu/libm-test-ulps: Update.
33272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33273
33274 [BZ #16520]
33275 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33276 (__tanh): Force underflow exception for arguments with small
33277 absolute value.
33278 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33279 (__tanhf): Force underflow exception for arguments with small
33280 absolute value.
33281 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33282 (__tanhl): Force underflow exception for arguments with small
33283 absolute value.
33284 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33285 (__tanhl): Force underflow exception for arguments with small
33286 absolute value.
33287 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33288 (__tanhl): Force underflow exception for arguments with small
33289 absolute value.
33290 * math/auto-libm-test-in: Add more tests of tanh.
33291 * math/auto-libm-test-out: Regenerated.
33292 * sysdeps/i386/fpu/libm-test-ulps: Update.
33293
332942015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33295
33296 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33297 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33298
332992015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33300
33301 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33302 <cpuid.h>.
33303
333042015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33305
33306 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33307 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33308
333092015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33310
33311 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33312 Remove $(objpfx)init-arch.o.
33313 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33314 init-arch.
33315 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33316 (INIT_ARCH_EXT): Defined as empty.
33317 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33318 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33319 __init_cpu_features call. Replace HAS_XXX with
33320 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33321 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33322 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33323 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33324 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33325 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33326 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33327 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33328 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33329 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33330 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33331 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33332 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33333 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33334 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33335 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33336 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33337 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33338 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33339 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33340 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33341 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33342 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33343 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33344 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33345 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33346 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33347 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33348 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33349 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33350 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33351 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33352 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33353 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33354 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33355 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33356
333572015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33358
33359 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33360 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33361 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33362 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33363 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33364 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33365 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33366 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33367 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33368 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33369 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33370 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
33371 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33372 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33373 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33374 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33375 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33376 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33377 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33378 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33379 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33380 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33381 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33382 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33383 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33384 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33385 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33386 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33387 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33388 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33389 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33390 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33391 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33392 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33393 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33394 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33395 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33396 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33397 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33398 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33399 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33400 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33401 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33402
334032015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33404
33405 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33406 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33409 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33410 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33412 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33413 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33414 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33415 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33416 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33417 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33418 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33419 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33420 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33421 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33422 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33423 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33424 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33426 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33427 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33428 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33429 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33430 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33431 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33432 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33433 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33434 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33435 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33436 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33437 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33438 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33439 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33440 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33441 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33442 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33443 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33444 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33445 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33446 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33447 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33448
334492015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33450
33451 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33452 (dl_platform_init): Call init_cpu_features.
33453 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33454 * sysdeps/i386/i686/cacheinfo.c
33455 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33456 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33457 * sysdeps/i386/i686/multiarch/Versions: Removed.
33458 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33459 Removed.
33460 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33461 * sysdeps/unix/sysv/linux/x86/Makefile
33462 (libpthread-sysdep_routines): Remove init-arch.
33463 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33464 <sysdeps/x86_64/dl-procinfo.c> instead of
33465 sysdeps/generic/dl-procinfo.c>.
33466 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33467 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33468 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33469 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33470 [$(subdir) == elf] (tests-static): Add
33471 tst-get-cpu-features-static.
33472 * sysdeps/x86/Versions: New file.
33473 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33474 * sysdeps/x86/cpu-features.c: Likewise.
33475 * sysdeps/x86/cpu-features.h: Likewise.
33476 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33477 * sysdeps/x86/libc-start.c: Likewise.
33478 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33479 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33480 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33481 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33482 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33483 Assume USE_MULTIARCH is defined and don't check it.
33484 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33485 (is_amd): Likewise.
33486 (max_cpuid): Likewise.
33487 (intel_check_word): Likewise.
33488 (__cache_sysconf): Don't call __init_cpu_features.
33489 (__x86_preferred_memory_instruction): Removed.
33490 (init_cacheinfo): Don't call __init_cpu_features. Replace
33491 __cpu_features with GLRO(dl_x86_cpu_features).
33492 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33493 (dl_platform_init): Call init_cpu_features.
33494 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33495 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33496 * sysdeps/x86_64/multiarch/Versions: Removed.
33497 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33498 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33499 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33500 Removed.
33501 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33502
335032015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33504
33505 [BZ #18820]
33506 * libio/Makefile (test-fmemopen-mem): New test.
33507 * libio/test-fmemopen.c (do_bz18820): New test.
33508 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33509 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33510
335112015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33512
33513 [BZ #16734]
33514 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33515 (FREE_BUF): Delete.
33516 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33517 * libio/genops.c (_IO_setb): Use malloc and free directly.
33518 (_IO_default_doallocate, _IO_default_finish): Likewise.
33519 ( _IO_unbuffer_all): Likewise.
33520 ( libc_freeres_fn): Likewise.
33521 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33522 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33523 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33524 (_IO_wdefault_doallocate): Likewise.
33525
335262015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33527
33528 [BZ #18086]
33529 * sysdeps/posix/nice.c (nice): Restore old errno.
33530 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33531
335322015-08-10 Ondrej Bilka <neleai@seznam.cz>
33533
33534 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33535
335362015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33537
33538 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33539 __bcopy and add a weak_alias to bcopy.
33540 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33541 for static build.
33542
33543 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33544 cleanup macro usage.
33545 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33546 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33547 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33548 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33549 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33550 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33551 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33552 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33553 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33554 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33555 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33556 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33557 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33558 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33559 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33560 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33561 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33562 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33563 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33564
33565 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33566 libc_hidden_def.
33567 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33568
33569 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33570 (sysdep_routines): Add strstr-ppc64.
33571 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33572
335732015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33574
33575 [BZ #18778]
33576 * elf/Makefile (tests): Add Add tst-nodelete2.
33577 (modules-names): Add tst-nodelete2mod.
33578 (tst-nodelete2mod.so-no-z-defs): New.
33579 ($(objpfx)tst-nodelete2): Likewise.
33580 ($(objpfx)tst-nodelete2.out): Likewise.
33581 (LDFLAGS-tst-nodelete2): Likewise.
33582 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33583 out of loop through all loaded libraries.
33584 * elf/tst-nodelete2.c: New file.
33585 * elf/tst-nodelete2mod.c: Likewise.
33586 * elf/tst-znodelete-zlib.cc: Delete.
33587
335882015-08-11 Andreas Schwab <schwab@suse.de>
33589
33590 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33591 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33592 (__openat64_nocancel): Likewise.
33593
335942015-08-11 Joseph Myers <joseph@codesourcery.com>
33595
33596 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33597 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33598 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33599 * math/auto-libm-test-out: Regenerated.
33600 * sysdeps/i386/fpu/libm-test-ulps: Update.
33601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33602
336032015-08-10 Joseph Myers <joseph@codesourcery.com>
33604
33605 [BZ #18790]
33606 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33607 threshold for returning +/- 1.
33608 * math/auto-libm-test-in: Add more tests of tanh.
33609 * math/auto-libm-test-out: Regenerated.
33610 * sysdeps/i386/fpu/libm-test-ulps: Update.
33611
336122015-08-10 Andreas Schwab <schwab@suse.de>
33613
33614 [BZ #18781]
33615 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33616 MORE_OFLAGS to oflag.
33617 * io/test-lfs.c (do_test): Test openat64.
33618
336192015-08-10 Joseph Myers <joseph@codesourcery.com>
33620
33621 [BZ #18789]
33622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33623 smaller threshold for returning the argument.
33624 * math/auto-libm-test-in: Add more tests of sinh.
33625 * math/auto-libm-test-out: Regenerated.
33626 * sysdeps/i386/fpu/libm-test-ulps: Update.
33627
336282015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33629
33630 [BZ #18674]
33631 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33632 break.
33633
336342015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33635
33636 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33637 (generated): Don't add $(addprefix z.,$(tzfiles)).
33638
336392015-08-09 Mike Frysinger <vapier@gentoo.org>
33640
33641 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33642 * scripts/sysd-rules.awk: Likewise.
33643
336442015-08-09 Mike Frysinger <vapier@gentoo.org>
33645
33646 * iconvdata/tst-tables.sh: Change echo -n to printf.
33647 * nss/db-Makefile: Likewise.
33648 * posix/tst-getconf.sh: Likewise.
33649 * stdio-common/tst-unbputc.sh: Likewise.
33650
336512015-08-09 Mike Frysinger <vapier@gentoo.org>
33652
33653 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33654 MADV_*_PAGES defines behind this feature check.
33655
336562015-08-09 John David Anglin <danglin@gcc.gnu.org>
33657
33658 [BZ #18480]
33659 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33660 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33661 Define.
33662 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33663 LOAD_REGS_5, LOAD_REGS_6): Update.
33664 (INTERNAL_SYSCALL): Update using new LOAD defines.
33665 (INTERNAL_SYSCALL_NCS): Likewise.
33666 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33667
336682015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33669
33670 [BZ #16734]
33671 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33672
336732015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33674
33675 [BZ #17905]
33676 * catgets/Makefile (tst-catgets-mem): New test.
33677 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33678 * catgets/open_catalog.c (__open_catalog): Likewise.
33679 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33680
336812015-08-08 John David Anglin <danglin@gcc.gnu.org>
33682
33683 [BZ #18787]
33684 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33685 clobber registers.
33686 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33687 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33688 Cast return to __typeof (oldval).
33689
336902015-08-08 Mike Frysinger <vapier@gentoo.org>
33691
33692 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33693 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33694 and delete sys/syscall.h include.
33695
336962015-08-07 Joseph Myers <joseph@codesourcery.com>
33697
33698 [BZ #16517]
33699 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33700 (tan): Force underflow exception for arguments with small absolute
33701 value.
33702 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33703 (__kernel_tanf): Force underflow exception for arguments with
33704 small absolute value.
33705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33706 (__kernel_tanl): Force underflow exception for arguments with
33707 small absolute value.
33708 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33709 (__kernel_tanl): Force underflow exception for arguments with
33710 small absolute value.
33711 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33712 (__kernel_tanl): Force underflow exception for arguments with
33713 small absolute value.
33714 * math/auto-libm-test-in: Add more tests of tan.
33715 * math/auto-libm-test-out: Regenerated.
33716
337172015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33718
33719 Fix sysdeps/i386/fpu/s_scalbn.S build
33720
33721 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33722
337232015-08-07 Mike Frysinger <vapier@gentoo.org>
33724
33725 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33726
337272015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33728
33729 Fix gcrt0.o compilation
33730
33731 When static-start-installed-name is different from
33732 start-installed-name, we must not use the shared objects.
33733
33734 * csu/Makefile
33735 (extra-objs): Add gmon-start.o when building shared library and
33736 $(static-start-installed-name) is different from
33737 $(start-installed-name).
33738 $(objpfx)g$(static-start-installed-name): When building shared
33739 library and $(static-start-installed-name) is different from
33740 $(static-start-installed-name), revert to non-shared rule,
33741 i.e. using $(objpfx)% and gmon-start.o.
33742
337432015-08-06 Joseph Myers <joseph@codesourcery.com>
33744
33745 [BZ #16519]
33746 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33747 (__ieee754_sinh): Force underflow exception for arguments with
33748 small absolute value.
33749 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33750 (__ieee754_sinhf): Force underflow exception for arguments with
33751 small absolute value.
33752 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33753 (__ieee754_sinhl): Force underflow exception for arguments with
33754 small absolute value.
33755 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33756 (__ieee754_sinhl): Force underflow exception for arguments with
33757 small absolute value.
33758 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33759 (__ieee754_sinhl): Force underflow exception for arguments with
33760 small absolute value.
33761 * math/auto-libm-test-in: Add more tests of sinh.
33762 * math/auto-libm-test-out: Regenerated.
33763 * sysdeps/i386/fpu/libm-test-ulps: Update.
33764
337652015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33766
33767 * libio/oldfileops.c: Include unistd.h.
33768
337692015-08-06 Mike Frysinger <vapier@gentoo.org>
33770
33771 * stdlib/isomac.c: Include ctype.h.
33772
337732015-08-06 Arjun Shankar <arjun.is@lostca.se>
33774
33775 * dirent/tst-seekdir.c (main): Converted to ...
33776 (do_test): ... this.
33777 (TEST_FUNCTION): New macro.
33778 Include test-skeleton.c.
33779 * elf/tst-dlmodcount.c (main): Converted to ...
33780 (do_test): ... this.
33781 (TEST_FUNCTION): New macro.
33782 Include test-skeleton.c.
33783 * elf/tst-order-main.c (main): Converted to ...
33784 (do_test): ... this.
33785 (TEST_FUNCTION): New macro.
33786 Include test-skeleton.c.
33787 * elf/tst-pie2.c (main): Converted to ...
33788 (do_test): ... this.
33789 (TEST_FUNCTION): New macro.
33790 Include test-skeleton.c.
33791 * inet/tst-ether_aton.c (main): Converted to ...
33792 (do_test): ... this.
33793 (TEST_FUNCTION): New macro.
33794 Include test-skeleton.c.
33795 * misc/tst-mntent.c (main): Converted to ...
33796 (do_test): ... this.
33797 (TEST_FUNCTION): New macro.
33798 Include test-skeleton.c.
33799 * misc/tst-tsearch.c (main): Converted to ...
33800 (do_test): ... this.
33801 (TEST_FUNCTION): New macro.
33802 Include test-skeleton.c.
33803 * posix/tst-regexloc.c (main): Converted to ...
33804 (do_test): ... this.
33805 (TEST_FUNCTION): New macro.
33806 Include test-skeleton.c.
33807 * resolv/tst-aton.c (main): Converted to ...
33808 (do_test): ... this.
33809 (TEST_FUNCTION): New macro.
33810 Include test-skeleton.c.
33811 * stdio-common/test-fwrite.c (main): Converted to ...
33812 (do_test): ... this.
33813 (TEST_FUNCTION): New macro.
33814 Include test-skeleton.c.
33815 * stdio-common/tst-ferror.c (main): Converted to ...
33816 (do_test): ... this.
33817 (TEST_FUNCTION): New macro.
33818 Include test-skeleton.c.
33819 * stdio-common/tst-printf.c (main): Converted to ...
33820 (do_test): ... this.
33821 (TEST_FUNCTION): New macro.
33822 Include test-skeleton.c.
33823 * stdio-common/tst-printfsz.c (main): Converted to ...
33824 (do_test): ... this.
33825 (TEST_FUNCTION): New macro.
33826 Include test-skeleton.c.
33827 * stdlib/tst-strtod.c (main): Converted to ...
33828 (do_test): ... this.
33829 (TEST_FUNCTION): New macro.
33830 Include test-skeleton.c.
33831 * string/tst-strlen.c (main): Converted to ...
33832 (do_test): ... this.
33833 (TEST_FUNCTION): New macro.
33834 Include test-skeleton.c.
33835 * string/tst-svc.c (main): Converted to ...
33836 (do_test): ... this.
33837 (TEST_FUNCTION): New macro.
33838 Include test-skeleton.c.
33839 * time/tst-strptime.c (main): Converted to ...
33840 (do_test): ... this.
33841 (TEST_FUNCTION): New macro.
33842 Include test-skeleton.c.
33843 * timezone/tst-timezone.c (main): Converted to ...
33844 (do_test): ... this.
33845 (TEST_FUNCTION): New macro.
33846 Include test-skeleton.c.
33847
338482015-08-05 Zack Weinberg <zackw@panix.com>
33849
33850 * misc/regexp.h: Update comments.
33851
338522015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33853
33854 [BZ #18635]
33855 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33856 before return label.
33857
338582015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33859
33860 [BZ #18661]
33861 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33862 when calling __errno_location.
33863 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33864 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33865
338662015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33867
33868 [BZ #18661]
33869 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33870 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33871 __gettimeofday.
33872
338732015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33874
33875 [BZ #18661]
33876 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33877 (__start_context): Don't use pop to restore %rdi so that stack
33878 is aligned to 16 bytes when calling __setcontext.
33879
338802015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33881
33882 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33883 only for libc.
33884 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33885
338862015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33887
33888 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33889 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33890 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33891
338922015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33893
33894 * string/memccpy.c (memccpy):
33895 Improve performance by using memchr/memcpy/__mempcpy.
33896
338972015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33898
33899 * string/strncpy.c (strncpy):
33900 Improve performance by using __strnlen/memcpy.
33901
339022015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33903
33904 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33905 Optimize to avoid an unnecessary FPCR read.
33906
339072015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33908
33909 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33910 Optimize to reduce FPCR/FPSR accesses.
33911
339122015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33913
33914 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33915 dead->data[category] != NULL.
33916
339172015-08-05 Joseph Myers <joseph@codesourcery.com>
33918
33919 [BZ #18647]
33920 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33921 and |x| close to 1, use absolute value of x when computing log.
33922 * math/auto-libm-test-in: Add more tests of pow.
33923 * math/auto-libm-test-out: Regenerated.
33924
339252015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33926
33927 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33928 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33929 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33930
339312015-08-05 Marko Myllynen <myllynen@redhat.com>
33932
33933 [BZ #18525]
33934 * locales/km_KH: Remove timezone definition.
33935 * locales/lo_LA: Likewise.
33936 * locales/my_MM: Likewise.
33937 * locales/nan_TW@latin: Likewise.
33938 * locales/th_TH: Likewise.
33939 * locales/uk_UA: Likewise.
33940
339412015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33942
33943 [BZ #18265]
33944 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33945 (wcsncat): Likewise.
33946 (wcscmp): Likewise.
33947 (wcsncmp): Likewise.
33948
339492015-08-05 Mike Frysinger <vapier@gentoo.org>
33950
33951 * test-skeleton.c (usage): New function.
33952 (main): Call usage when opt is '?'.
33953
339542015-08-05 Mike Frysinger <vapier@gentoo.org>
33955
33956 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33957 before first use.
33958
339592015-08-05 Mike Frysinger <vapier@gentoo.org>
33960
33961 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33962 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33963 in there too.
33964
339652015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33966
33967 * version.h (RELEASE): Set to "development".
33968 (VERSION): Set to "2.22.90"
33969
33970 * version.h (RELEASE): Set to "stable".
33971 (VERSION): Set to "2.22"
33972 * include/features.h (__GLIBC_MINOR__): Set to 22.
33973
339742015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33975
33976 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33977 Restructure macro to avoid "value computed is not used" warning.
33978 (atomic_compare_and_exchange_val_acq): Likewise.
33979
339802015-08-04 Andreas Schwab <schwab@suse.de>
33981
33982 [BZ #18635]
33983 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33984 ret.
33985 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33986
339872015-08-01 Carlos O'Donell <carlos@redhat.com>
33988
33989 * po/pl.po: Updated translation.
33990 * po/uk.po: Likewise.
33991 * po/fi.po: Likewise.
33992 * po/ko.po: Likewise.
33993 * po/ru.po: Likewise.
33994 * po/vi.po: Likewise.
33995
339962015-07-31 Zack Weinberg <zackw@panix.com>
33997
33998 [BZ #18681]
33999 * regexp.h: Add unconditional #warning stating that this header
34000 will be removed soon. Revise banner comment to match.
34001 (compile): Consistently use ERROR instead of RETURN to report
34002 errors (partial fix for BZ #18681).
34003 * regexp.c: Don't include regexp.h. Remove some unnecessary
34004 declarations.
34005
340062015-07-31 Carlos O'Donell <carlos@redhat.com>
34007
34008 * po/libc.pot: Regenerated.
34009
340102015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
34011
34012 [BZ #18740]
34013 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
34014 float-vlen4-arch-ext-cflags): Removed.
34015 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
34016 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
34017
340182015-07-30 Mike Frysinger <vapier@gentoo.org>
34019
34020 [BZ #14113]
34021 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
34022 aligned to __aligned__.
34023 (pthread_cond_t, pthread_rwlock_t): Likewise.
34024
340252015-07-30 Torvald Riegel <triegel@redhat.com>
34026
34027 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
34028
340292015-07-30 Mike Frysinger <vapier@gentoo.org>
34030
34031 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
34032 (struct sigaction): Change sa_flags from a long to an int, and add
34033 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
34034
340352015-07-30 Mike Frysinger <vapier@gentoo.org>
34036
34037 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
34038 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
34039 sysdeps/generic/sysdep.h include.
34040 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
34041 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
34042 sysdeps/hppa/sysdep.h.
34043 (ENTRY, PSEUDO): Undefine before defining.
34044
340452015-07-30 Mike Frysinger <vapier@gentoo.org>
34046
34047 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
34048 from scratch to use INTERNAL_SYSCALL.
34049
340502015-07-29 H.J. Lu <hongjiu.lu@intel.com>
34051
34052 [BZ #18078]
34053 * scripts/check-localplt.awk: Support alternate relocations.
34054 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
34055 sections.
34056 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
34057 malloc entries with + REL R_386_GLOB_DAT.
34058 * sysdeps/x86_64/localplt.data: New file.
34059
340602015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
34061
34062 [BZ #18731]
34063 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
34064 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34065 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34066
340672015-07-27 Mike Frysinger <vapier@gentoo.org>
34068
34069 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
34070
340712015-07-27 Mike Frysinger <vapier@gentoo.org>
34072
34073 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
34074 directly in terms of __sync_fetch_and_add and delete (int) cast.
34075
340762015-07-27 Mike Frysinger <vapier@gentoo.org>
34077
34078 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
34079 the -D_ASM_IA64_CURRENT_H flag.
34080
340812015-07-27 Mike Frysinger <vapier@gentoo.org>
34082
34083 [BZ #18641]
34084 * pwd/pwd.h (putpwent): Delete __nonnull markings.
34085
340862015-07-27 Andreas Schwab <schwab@suse.de>
34087
34088 * conform/conformtest.pl (checknamespace): Filter out string
34089 literals while tokenizing.
34090
340912015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
34092
34093 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34094 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
34095 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34096
340972015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
34098
34099 * nptl/tst-join7mod.c: Add #include <string.h>.
34100
341012015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
34102
34103 * sysdeps/nios2/libm-test-ulps: Update.
34104
341052015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
34106
34107 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
34108 Fix order of arguments to the rt_sigprocmask syscall.
34109 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
34110 Likewise.
34111
341122015-07-24 Roland McGrath <roland@hack.frob.com>
34113
34114 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
34115
341162015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34117
34118 [BZ #18457]
34119 * nptl/Makefile (tests): New test case tst-join7.
34120 (modules-names): New test case module tst-join7mod.
34121 * nptl/tst-join7.c: New file.
34122 * nptl/tst-join7mod.c: New file.
34123 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
34124 all translation units in libc.so, libpthread.so and rtld.
34125
341262015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34127
34128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34129
341302015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
34131
34132 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
34133 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
34134 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
34135 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
34136 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
34137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
34138 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
34139 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
34140 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
34141 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
34142 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
34143 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
34144 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
34145 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34146 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
34147 implementation.
34148
341492015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34150
34151 [BZ #17711]
34152 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34153 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
34154 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34155 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34156 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
34157 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34158
341592015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34160
34161 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
34162 instead of just saying load lock in the comments.
34163
341642015-07-23 Roland McGrath <roland@hack.frob.com>
34165
34166 * sysdeps/unix/Subdirs: Moved ...
34167 * sysdeps/posix/Subdirs: ... here.
34168 * login/pty.h (struct termios, struct winsize): Add forward decls.
34169 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
34170 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
34171 * sysdeps/arm/nacl/libc.abilist: Updated.
34172 * sysdeps/nacl/libutil.abilist: New file.
34173
34174 * bits/signum.h: Update comments to mention 1003.1-2013 too.
34175 (SIGWINCH): New macro.
34176
34177 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
34178 * sysdeps/arm/nacl/libc.abilist: Add it.
34179
341802015-07-23 Mike Frysinger <vapier@gentoo.org>
34181
34182 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34183
341842015-07-23 Mike Frysinger <vapier@gentoo.org>
34185
34186 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34187 Swap __glibc_reserved0 and sa_flags order.
34188
341892015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34190
34191 [BZ #18657]
34192 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34193 are pending TLS destructor calls.
34194 * include/link.h (struct link_map): Add concurrency note for
34195 L_TLS_DTOR_COUNT.
34196 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34197 Don't touch the link map flag. Atomically increment
34198 l_tls_dtor_count.
34199 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34200 Avoid taking the load lock and don't touch the link map flag.
34201 * stdlib/tst-tls-atexit-nodelete.c: New test case.
34202 * stdlib/Makefile (tests): Use it.
34203 * stdlib/tst-tls-atexit.c (do_test): dlopen
34204 tst-tls-atexit-lib.so again before dlclose. Add conditionals
34205 to allow tst-tls-atexit-nodelete test case to use it.
34206
342072015-07-22 Mike Frysinger <vapier@gentoo.org>
34208
34209 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34210 to bits/types.h.
34211 (msgqnum_t): New typedef.
34212 (msglen_t): Likewise.
34213 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
34214 and msg_qbytes type to msglen_t.
34215
342162015-07-22 Mike Frysinger <vapier@gentoo.org>
34217
34218 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34219 pad0 to __glibc_reserved0.
34220 (struct stat64): Likewise.
34221
342222015-07-22 Mike Frysinger <vapier@gentoo.org>
34223
34224 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34225 Change sa_flags from a long to an int and add __glibc_reserved0 before
34226 it for padding.
34227
342282015-07-22 Mike Frysinger <vapier@gentoo.org>
34229
34230 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34231 anonymous by deleting "siginfo" name.
34232
342332015-07-21 Roland McGrath <roland@hack.frob.com>
34234
34235 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34236 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34237 rather than __nacl_irt_filename.
34238 * sysdeps/nacl/xstat.c (__xstat): Likewise.
34239
34240 * NEWS: New item for arm-nacl port.
34241 * sysdeps/arm/nacl/libc.abilist: New file.
34242 * sysdeps/nacl/ld.abilist: New file.
34243 * sysdeps/nacl/libBrokenLocale.abilist: New file.
34244 * sysdeps/nacl/libanl.abilist: New file.
34245 * sysdeps/nacl/libcrypt.abilist: New file.
34246 * sysdeps/nacl/libdl.abilist: New file.
34247 * sysdeps/nacl/libm.abilist: New file.
34248 * sysdeps/nacl/libpthread.abilist: New file.
34249 * sysdeps/nacl/libresolv.abilist: New file.
34250 * sysdeps/nacl/librt.abilist: New file.
34251
342522015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
34253
34254 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34255 __startcontext to initialize the new context.
34256 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34257 up CFI directive to forbid further backtracing.
34258
342592015-07-21 Marko Myllynen <myllynen@redhat.com>
34260
34261 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34262 reference.
34263 * charmaps/ANSI_X3.4-1968: Likewise.
34264 * charmaps/BS_4730: Likewise.
34265 * charmaps/BS_VIEWDATA: Likewise.
34266 * charmaps/CP1250: Likewise.
34267 * charmaps/CP1251: Likewise.
34268 * charmaps/CP1252: Likewise.
34269 * charmaps/CP1253: Likewise.
34270 * charmaps/CP1254: Likewise.
34271 * charmaps/CP1255: Likewise.
34272 * charmaps/CP1256: Likewise.
34273 * charmaps/CSN_369103: Likewise.
34274 * charmaps/EBCDIC-DK-NO: Likewise.
34275 * charmaps/GB_1988-80: Likewise.
34276 * charmaps/GREEK-CCITT: Likewise.
34277 * charmaps/GREEK7: Likewise.
34278 * charmaps/INIS-8: Likewise.
34279 * charmaps/ISIRI-3342: Likewise.
34280 * charmaps/ISO_2033-1983: Likewise.
34281 * charmaps/ISO_5427-EXT: Likewise.
34282 * locales/POSIX: Likewise.
34283 * locales/ar_SA: Likewise.
34284 * locales/be_BY: Likewise.
34285 * locales/be_BY@latin: Likewise.
34286 * locales/ca_ES: Likewise.
34287 * locales/cs_CZ: Likewise.
34288 * locales/da_DK: Likewise.
34289 * locales/de_BE: Likewise.
34290 * locales/de_CH: Likewise.
34291 * locales/de_LU: Likewise.
34292 * locales/en_AU: Likewise.
34293 * locales/en_BW: Likewise.
34294 * locales/en_CA: Likewise.
34295 * locales/en_DK: Likewise.
34296 * locales/en_GB: Likewise.
34297 * locales/en_IE: Likewise.
34298 * locales/en_NZ: Likewise.
34299 * locales/en_ZA: Likewise.
34300 * locales/en_ZW: Likewise.
34301 * locales/es_AR: Likewise.
34302 * locales/es_BO: Likewise.
34303 * locales/es_CL: Likewise.
34304 * locales/es_CO: Likewise.
34305 * locales/es_DO: Likewise.
34306 * locales/es_EC: Likewise.
34307 * locales/es_ES: Likewise.
34308 * locales/es_HN: Likewise.
34309 * locales/es_MX: Likewise.
34310 * locales/es_PA: Likewise.
34311 * locales/es_PE: Likewise.
34312 * locales/es_PY: Likewise.
34313 * locales/es_SV: Likewise.
34314 * locales/es_US: Likewise.
34315 * locales/es_UY: Likewise.
34316 * locales/es_VE: Likewise.
34317 * locales/et_EE: Likewise.
34318 * locales/fa_IR: Likewise.
34319 * locales/fo_FO: Likewise.
34320 * locales/fr_CA: Likewise.
34321 * locales/fr_CH: Likewise.
34322 * locales/gv_GB: Likewise.
34323 * locales/he_IL: Likewise.
34324 * locales/hr_HR: Likewise.
34325 * locales/id_ID: Likewise.
34326 * locales/is_IS: Likewise.
34327 * locales/it_CH: Likewise.
34328 * locales/iw_IL: Likewise.
34329 * locales/kl_GL: Likewise.
34330 * locales/ko_KR: Likewise.
34331 * locales/kw_GB: Likewise.
34332 * locales/lg_UG: Likewise.
34333 * locales/lt_LT: Likewise.
34334 * locales/lv_LV: Likewise.
34335 * locales/mi_NZ: Likewise.
34336 * locales/nhn_MX: Likewise.
34337 * locales/nl_BE: Likewise.
34338 * locales/pl_PL: Likewise.
34339 * locales/sk_SK: Likewise.
34340 * locales/sl_SI: Likewise.
34341 * locales/sv_FI: Likewise.
34342 * locales/tl_PH: Likewise.
34343 * locales/tr_TR: Likewise.
34344 * locales/vi_VN: Likewise.
34345
343462015-07-21 Khem Raj <raj.khem@gmail.com>
34347
34348 [BZ #17475]
34349 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34350 of tu_IN and bh_IN.
34351
343522015-07-21 Mike Frysinger <vapier@gentoo.org>
34353
34354 [BZ #18694]
34355 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34356 bits/wordsize.h.
34357 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34358
343592015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34360
34361 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34362 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34363 (spawn_thread): New function.
34364 (load): Rename to reg_dtor_and_close. Move dlopen to...
34365 (do_test): ... here. Use IS_LOADED to test for its
34366 availability.
34367
343682015-07-21 Andreas Schwab <schwab@linux-m68k.org>
34369
34370 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34371
343722015-07-20 H.J. Lu <hongjiu.lu@intel.com>
34373
34374 [BZ #18696]
34375 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34376 si_addr_bnd.
34377 (si_lower): New.
34378 (si_upper): Likewise.
34379
343802015-07-16 David S. Miller <davem@davemloft.net>
34381
34382 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34383
343842015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34385
34386 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34387 buffer.
34388 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34389 fail output information.
34390
343912015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34392
34393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34394 and strstr-ppc64..
34395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34396 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34397 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34398 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34399 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34400
344012015-07-16 Mike Frysinger <vapier@gentoo.org>
34402
34403 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34404 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34405 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34406 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34407
344082015-07-16 Mike Frysinger <vapier@gentoo.org>
34409
34410 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34411 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34412 rtld_hidden_proto.
34413 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34414
344152015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34416
34417 * tst-nodelete-opened.c (do_test): Add comment to clarify how
34418 the test can fail.
34419
34420 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34421
34422 [BZ #18676]
34423 * elf/tst-nodelete-opened.c: New test case.
34424 * elf/tst-nodelete-opened-lib.c: New test case module.
34425 * elf/Makefile (tests, modules-names): Use them.
34426 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34427 early.
34428
344292015-07-15 David S. Miller <davem@davemloft.net>
34430
34431 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34432 futex-intenal.h
34433 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34434 * sysdeps/sparc/sparc64/Makefile: Likewise.
34435 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34436 Remove space from macro define.
34437 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34438
344392015-07-15 Pravin Satpute <psatpute@redhat.com>
34440
34441 [BZ #17475]
34442 * locale/iso-639.def: Update Bhili and Tulu language codes as
34443 per iso639-3.
34444
344452015-07-15 Arjun Shankar <arjun.is@lostca.se>
34446
34447 * elf/tst-leaks1.c (main): Converted to ...
34448 (do_test): ... this.
34449 (TEST_FUNCTION): New macro.
34450 Include test-skeleton.c.
34451 * localedata/tst-langinfo.c (main): Converted to ...
34452 (do_test): ... this.
34453 (TEST_FUNCTION): New macro.
34454 Include test-skeleton.c.
34455 * math/test-fpucw.c (main): Converted to ...
34456 (do_test): ... this.
34457 (TEST_FUNCTION): New macro.
34458 Include test-skeleton.c.
34459 * math/test-tgmath.c (main): Converted to ...
34460 (do_test): ... this.
34461 (TEST_FUNCTION): New macro.
34462 Include test-skeleton.c.
34463 * math/test-tgmath2.c (main): Converted to ...
34464 (do_test): ... this.
34465 (TEST_FUNCTION): New macro.
34466 Include test-skeleton.c.
34467 * setjmp/tst-setjmp.c (main): Converted to ...
34468 (do_test): ... this.
34469 (TEST_FUNCTION): New macro.
34470 Include test-skeleton.c.
34471 * stdio-common/tst-sscanf.c (main): Converted to ...
34472 (do_test): ... this.
34473 (TEST_FUNCTION): New macro.
34474 Include test-skeleton.c.
34475 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34476 (do_test): ... this.
34477 (TEST_FUNCTION): New macro.
34478 Include test-skeleton.c.
34479
34480 * elf/tst-audit9.c (main): Converted to ...
34481 (do_test): ... this.
34482 (TEST_FUNCTION): New macro.
34483 Include test-skeleton.c.
34484
344852015-07-15 Mike Frysinger <vapier@gentoo.org>
34486
34487 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34488
344892015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34490
34491 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34492 New variable.
34493
344942015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34495
34496 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34497
344982015-07-14 Roland McGrath <roland@hack.frob.com>
34499
34500 * sysdeps/generic/dl-fileid.h: New file.
34501 * sysdeps/posix/dl-fileid.h: New file.
34502 * sysdeps/nacl/dl-fileid.h: New file.
34503 * include/link.h: Include <dl-fileid.h>.
34504 (struct link_map): Replace l_dev and l_ino with l_file_id.
34505 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34506 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34507 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34508
345092015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34510
34511 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34512
345132015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34514
34515 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34516 Add iff $CXX is set.
34517 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34518 Likewise.
34519 (tst-nodelete-zmodiff): Likewise.
34520 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34521
345222015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34523
34524 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34525
345262015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34527
34528 * sysdeps/aarch64/fpu/math_private.h
34529 (define math_opt_barrier): Add AArch64 version.
34530 (math_force_eval): Likewise.
34531
345322015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34533
34534 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34535
345362015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34537
34538 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34539 %ld with %jd and cast to intmax_t.
34540 (do_test_length_zero): Likewise.
34541
345422015-07-10 Roland McGrath <roland@hack.frob.com>
34543
34544 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34545
345462015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34547
34548 * sysdeps/tile/libm-test-ulps: Regenerated.
34549
34550 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34551 Comment out the whole function, not just its body.
34552
345532015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34554
34555 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34556 locks.
34557
34558 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34559
345602015-07-10 Torvald Riegel <triegel@redhat.com>
34561
34562 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34563 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34564
345652015-07-10 Torvald Riegel <triegel@redhat.com>
34566
34567 * sysdeps/nptl/futex-internal.h: New file.
34568 * sysdeps/nacl/futex-internal.h: New file.
34569 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34570 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34571 error checking.
34572 (setxid_unmark_thread): Likewise.
34573 (__nptl_setxid): Likewise.
34574 (__wait_lookup_done): Likewise.
34575 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34576 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34577 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34578 * nptl/pthread_once.c (clear_once_control): Likewise.
34579 (__pthread_once_slow): Likewise.
34580 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34581 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34582 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34583 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34584 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34585 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34586 Likewise.
34587 (__pthread_rwlock_rdlock): Likewise.
34588 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34589 Likewise.
34590 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34591 Likewise.
34592 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34593 Likewise.
34594 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34595 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34596 Likewise.
34597 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34598 __ASSUME_PRIVATE_FUTEX check.
34599 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34600 Check that shared futexes are supported.
34601 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34602 wrappers with error checking.
34603 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34604 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34605 * nptl/pthread_barrierattr_setpshared.c
34606 (pthread_barrierattr_setpshared): Check that shared futexes are
34607 supported.
34608 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34609 Likewise.
34610 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34611 Likewise.
34612 * nptl/sem_init.c (futex_private_if_supported): Remove.
34613 (__new_sem_init): Adapt and check that shared futexes are supported.
34614 * nptl/sem_open.c (sem_open): Likewise.
34615 * nptl/sem_post.c (futex_wake): Remove.
34616 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34617 (do_futex_wait): Use futex wrappers with error checking.
34618 * nptl/sem_wait.c: Include lowlevellock.h.
34619 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34620 Use futex_supports_pshared.
34621 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34622 Use futex wrappers with error checking.
34623 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34624 Likewise.
34625 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34626 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34627 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34628 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34629 (futex_wake): Likewise.
34630 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34631 (do_futex_wait): Use futex wrappers with error checking.
34632 (__new_sem_wait_slow): Update EINTR handling.
34633 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34634
346352015-07-09 Martin Sebor <msebor@redhat.com>
34636
34637 [BZ #18435]
34638 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34639 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34640 * nptl/Makefile (test-xfail-tst-once5): Define.
34641
346422015-07-09 Roland McGrath <roland@hack.frob.com>
34643
34644 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34645 * elf/dl-minimal.c: For readability, reorder some definitions and
34646 introduce more page breaks. Include <stdio.h>.
34647 (__libc_fatal): New function.
34648
34649 * include/unistd.h: Add rtld_hidden_proto for _exit.
34650 * posix/_exit.c: Add rtld_hidden_def.
34651 * sysdeps/mach/hurd/_exit.c: Likewise.
34652 * sysdeps/nacl/_exit.c: Likewise.
34653 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34654 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34655
346562015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34657
34658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34659 bndmov encoding with zero displacement.
34660
346612015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34662 H.J. Lu <hongjiu.lu@intel.com>
34663
34664 [BZ #18134]
34665 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34666 * sysdeps/i386/configure: Regenerated.
34667 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34668 (_dl_runtime_profile): Save and restore Intel MPX return bound
34669 registers when calling _dl_call_pltexit. Add
34670 PRESERVE_BND_REGS_PREFIX before return.
34671 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34672 (LRV_BND1_OFFSET): Likewise.
34673 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34674 lrv_bnd1.
34675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34676 typo in bndmov encoding.
34677 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34678 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34679 branch instructions to preserve bounds.
34680
346812015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34682
34683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34684 [GLIBC_2.22]: Add fmemopen.
34685
346862015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34687
34688 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34689 returns an error, also try to use host port from __mach_host_self for
34690 the __vm_wire call.
34691 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34692
346932015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34694
34695 [BZ #18400]
34696 [BZ #18648]
34697 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34698 Fix pr_uid and pr_gid members.
34699 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34700 definition to elf_greg_t.
34701
347022015-07-08 Roland McGrath <roland@hack.frob.com>
34703
34704 [BZ #18383]
34705 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34706 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34707 * sysdeps/arm/configure: Regenerated.
34708 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34709 (test-xfail-tst-tlsalign-static): Variable removed.
34710
34711 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34712 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34713 rather than explicit 'ln -s'.
34714
34715 * resolv/rpc/netdb.h: New file.
34716 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34717
347182015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34719
34720 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34721 length buffers.
34722 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34723 test-skeleton.c.
34724
34725 [BZ #6544]
34726 [BZ #11216]
34727 [BZ #12836]
34728 [BZ #13151]
34729 [BZ #13152]
34730 [BZ #14292]
34731 * include/stdio.h (fmemopen): Remove hidden prototype.
34732 (__fmemopen): Add new hidden prototype.
34733 * libio/Makefile: Add oldfmemopen object.
34734 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34735 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34736 compliance.
34737 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34738 symbol compatibility.
34739 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34740 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34741 fmemopen.
34742 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34743 on append and read mode.
34744 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34745 fmemopen.
34746 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34747 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34748 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34749 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34750 Likewise.
34751 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34752 [GLIBC_2.22]: Likewise.
34753 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34754 Likewise.
34755 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34756 Likewise.
34757 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34758 [GLIBC_2.22]: Likewise.
34759 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34760 [GLIBC_2.22]: Likewise.
34761 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34762 [GLIBC_2.22]: Likewise.
34763 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34764 [GLIBC_2.22]: Likewise.
34765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34766 [GLIBC_2.22]: Likewise.
34767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34768 [GLIBC_2.22]: Likewise.
34769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34770 [GLIBC_2.22]: Likewise.
34771 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34772 Likewise.
34773 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34774 Likewise.
34775 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34776 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34777 [GLIBC_2.22]: Likewise.
34778 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34779 [GLIBC_2.22]: Likewise.
34780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34781 [GLIBC_2.22]: Likewise.
34782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34783 [GLIBC_2.22]: Likewise.
34784 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34785 Likewise.
34786 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34787 Likewise.
34788 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34789 Likewise.
34790 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34791 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34792
347932015-07-08 Carlos O'Donell <carlos@redhat.com>
34794
34795 [BZ #18643]
34796 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34797 IPV6_PATHMTU, and IPV6_DONTFRAG.
34798
347992015-07-08 Feng Gao <gfree.wind@gmail.com>
34800
34801 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34802 and _IO_UNBUFFERED.
34803 * libio/oldfileops.c: Likewise.
34804 * libio/wfileops.c: Likewise.
34805
348062015-07-08 Mike Frysinger <vapier@gentoo.org>
34807
34808 * nscd/selinux.c: Delete selinux/flask.h include.
34809
348102015-07-08 Mike Frysinger <vapier@gentoo.org>
34811
34812 [BZ #18641]
34813 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34814 (putpwent): Likewise.
34815 (getpwnam): Likewise.
34816 (getpwent_r): Likewise.
34817 (getpwuid_r): Likewise.
34818 (getpwnam_r): Likewise.
34819 (fgetpwent_r): Likewise.
34820
348212015-07-08 Carlos O'Donell <carlos@redhat.com>
34822
34823 [BZ #18557]
34824 * inet/rcmd.c (__validuser2_sa): Check user first to
34825 short-circuit host check.
34826
348272015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34828 Mikhail Ilin <m.ilin@samsung.com>
34829
34830 [BZ #17833]
34831 * elf/Makefile (tests): Add tst-nodelete.
34832 (modules-names): Add tst-nodelete-uniquemod.
34833 (tst-nodelete-uniquemod.so-no-z-defs): New.
34834 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34835 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34836 ($(objpfx)tst-nodelete): Likewise.
34837 ($(objpfx)tst-nodelete.out): Likewise.
34838 (LDFLAGS-tst-nodelete): Likewise.
34839 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34840 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34841 implement forced object deletion.
34842 (_dl_close): Pass false to _dl_close_worker.
34843 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34844 * elf/tst-nodelete.cc: New file.
34845 * elf/tst-nodeletelib.cc: Likewise.
34846 * elf/tst-znodeletelib.cc: Likewise.
34847 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34848
348492015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34850
34851 [BZ #18508]
34852 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34853 Depend on $(libdl).
34854 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34855 is not called infinitely times.
34856 (backtrace_helper): New function.
34857 (trace_arg): New struct.
34858 (st1): Enlarge stack size.
34859 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34860 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34861 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34862 Likewise.
34863
348642015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34865
34866 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34867
348682015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34869
34870 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34871 Include sys/types.h instead of bits/types.h.
34872 Remove inclusion of bits/wordsize.h.
34873
348742015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34875
34876 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34877 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34878 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34879 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34880 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34881 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34882
348832015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34884
34885 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34886 link-defines.sym.
34887 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34888 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34889 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34890 and LR_SIZE.
34891 * sysdeps/i386/link-defines.sym: New file.
34892
348932015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34894
34895 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34896 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34897 ($(objpfx)tst-audit3): New rule.
34898 ($(objpfx)tst-audit3.out): Likewise.
34899 * sysdeps/i386/tst-audit3.c: New file.
34900 * sysdeps/i386/tst-audit3.h: Likewise.
34901 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34902 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34903
349042015-07-07 Torvald Riegel <triegel@redhat.com>
34905
34906 [BZ #18633]
34907 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34908 pointer in C code.
34909 (__strcat_c): Likewise.
34910 (__strcat_g): Likewise.
34911
349122015-07-07 Cyril Hrubis <chrubis@suse.cz>
34913
34914 [BZ #18592]
34915 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34916
349172015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34918
34919 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34920 New function. (__ieee754_sqrtf): New function.
34921 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34922 New function.
34923 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34924 New function.
34925
349262015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34927
34928 * sysdeps/ieee754/support.c: Remove unused file.
34929
349302015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34931
34932 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34933 registers instead of d ones so the layout is kernel abi compatible.
34934 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34935 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34936 Likewise.
34937
349382015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34939
34940 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34941
349422015-07-01 Joseph Myers <joseph@codesourcery.com>
34943
34944 [BZ #18619]
34945 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34946 and return argument in case of subnormal argument.
34947
349482015-07-01 Martin Sebor <msebor@redhat.com>
34949
34950 [BZ #18435]
34951 * nptl/Makefile: Add tst-once5.cc.
34952 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34953 Remove macro redefinitions.
34954 * nptl/tst-once5.cc: New test.
34955
349562015-07-01 Joseph Myers <joseph@codesourcery.com>
34957
34958 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34959
34960 * sysdeps/arm/libm-test-ulps: Regenerated.
34961
34962 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34963 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34964
349652015-06-30 Torvald Riegel <triegel@redhat.com>
34966
34967 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34968 lll_lock_wait_private and lll_futex_wake probes.
34969
34970 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34971 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34972 Likewise.
34973 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34974 atomic_spin_nop.
34975 * sysdeps/x86_64/bits/atomic.h: Likewise.
34976 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34977 to atomic_spin_nop and move ...
34978 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34979 ... here and ...
34980 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34981 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34982 atomic_spin_nop instead of BUSY_WAIT_NOP.
34983 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34984 Likewise.
34985 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34986 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34987 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34988 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34989 instead of atomic_delay.
34990
349912015-06-29 Joseph Myers <joseph@codesourcery.com>
34992
34993 [BZ #18613]
34994 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34995 X_ADJ not X when adjusting exponent.
34996 (__ieee754_gamma_r): Do intermediate computations in
34997 round-to-nearest then adjust overflowing and underflowing results
34998 as needed.
34999 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
35000 of X_ADJ not X when adjusting exponent.
35001 (__ieee754_gammaf_r): Do intermediate computations in
35002 round-to-nearest then adjust overflowing and underflowing results
35003 as needed.
35004 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
35005 log of X_ADJ not X when adjusting exponent.
35006 (__ieee754_gammal_r): Do intermediate computations in
35007 round-to-nearest then adjust overflowing and underflowing results
35008 as needed. Use 1.0L not 1.0f as numerator of division.
35009 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
35010 log of X_ADJ not X when adjusting exponent.
35011 (__ieee754_gammal_r): Do intermediate computations in
35012 round-to-nearest then adjust overflowing and underflowing results
35013 as needed. Use 1.0L not 1.0f as numerator of division.
35014 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
35015 of X_ADJ not X when adjusting exponent.
35016 (__ieee754_gammal_r): Do intermediate computations in
35017 round-to-nearest then adjust overflowing and underflowing results
35018 as needed. Use 1.0L not 1.0f as numerator of division.
35019 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
35020 to auto-libm-test-in.
35021 (tgamma_test): Use ALL_RM_TEST.
35022 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
35023 tests of tgamma with spurious-overflow.
35024 * math/auto-libm-test-out: Regenerated.
35025 * math/gen-libm-have-vector-test.sh: Do not check for START.
35026 * sysdeps/i386/fpu/libm-test-ulps: Update.
35027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35028
35029 [BZ #18612]
35030 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
35031 arguments, just return 0.5 times the argument, with underflow
35032 forced as needed.
35033 * math/auto-libm-test-in: Add more tests of j1.
35034 * math/auto-libm-test-out: Regenerated.
35035
35036 [BZ #16559]
35037 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
35038 (__ieee754_j1): Force underflow exception for small results.
35039 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35040 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
35041 (__ieee754_j1f): Force underflow exception for small results.
35042 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35043 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35045 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
35046 (__ieee754_j1l): Force underflow exception for small results.
35047 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35048 * math/auto-libm-test-in: Add more tests of j1 and jn.
35049 * math/auto-libm-test-out: Regenerated.
35050
35051 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
35052 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
35053 (PF_MPLS): Likewise.
35054 (AF_IB): Likewise.
35055 (AF_MPLS): Likewise.
35056 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
35057 value and macro.
35058 (MS_RMT_MASK): Include MS_LAZYTIME.
35059
350602015-06-26 Mel Gorman <mgorman@suse.de>
35061
35062 [BZ #18502]
35063 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
35064 already minimal.
35065
350662015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
35067
35068 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
35069 (DT_MIPS_NUM): Update.
35070 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
35071 DT_MIPS_RLD_MAP_REL.
35072
350732015-06-25 Joseph Myers <joseph@codesourcery.com>
35074
35075 [BZ #16559]
35076 [BZ #18602]
35077 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
35078 round-to-nearest internally then recompute results that
35079 underflowed to zero in the original rounding mode.
35080 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35081 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35083 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35084 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
35085 * sysdeps/i386/fpu/libm-test-ulps: Update.
35086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35087
350882015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
35089
35090 * NEWS: Fixed description of link with vector math library.
35091
350922015-06-25 Andreas Schwab <schwab@suse.de>
35093
35094 [BZ #18549]
35095 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
35096 * libio/test-fmemopen.c (do_test): Add test for it.
35097
350982015-06-25 H.J. Lu <hongjiu.lu@intel.com>
35099
35100 [BZ #17841]
35101 * Makeconfig (no-pie-ldflag): New.
35102 (+link): Set to $(+link-pie) if default to PIE.
35103 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
35104 * config.make.in (build-pie-default): New.
35105 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
35106 is default. AC_SUBST.
35107 * configure: Regenerated.
35108 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
35109
351102015-06-24 Roland McGrath <roland@hack.frob.com>
35111
35112 * nptl/descr.h (struct pthread): Change type of field setxid_futex
35113 to 'unsigned int'.
35114
35115 * resolv/gai_misc.h (struct waitlist): Change type of field
35116 counterp to 'volatile unsigned int *'.
35117 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
35118 FUTEXADDR and OLDVAL.
35119 * resolv/getaddrinfo_a.c (getaddrinfo_a):
35120 Give local variable TOTAL type 'volatile unsigned int'.
35121 (struct async_waitlist): Change type of field counter to 'unsigned int'.
35122 * resolv/gai_suspend.c (gai_suspend):
35123 Give local variable CNTR type 'unsigned int'.
35124
35125 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
35126 counterp to 'volatile unsigned int *'.
35127 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
35128 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
35129 (aio_suspend): Give local variable CNTR type 'unsigned int'.
35130 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
35131 Give local variable TOTAL type 'volatile unsigned int'.
35132 (struct async_waitlist): Change type of field counter to 'unsigned int'.
35133
351342015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35135
35136 [BZ #18383]
35137 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
35138 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
35139 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
35140 comment for i386/x86-64.
35141 (test-xfail-tst-tlsalign-extern-static): Removed.
35142
351432015-06-24 Joseph Myers <joseph@codesourcery.com>
35144
35145 * math/test-double.h: New file.
35146 * math/test-float.h: Likewise.
35147 * math/test-ldouble.h: Likewise.
35148 * math/test-math-inline.h: Likewise.
35149 * math/test-math-no-inline.h: Likewise.
35150 * math/test-math-scalar.h: Likewise.
35151 * math/test-math-vector.h: Likewise.
35152 * math/test-vec-loop.h: Remove file. Contents moved into
35153 test-math-vector.h.
35154 * math/libm-test.inc (MATHCONST): Do not document macro.
35155 * math/test-double.c: Include test-double.h, test-math-no-inline.h
35156 and test-math-scalar.h.
35157 (FUNC): Remove macro.
35158 (FUNC_TEST): Likewise.
35159 (FLOAT): Likewise.
35160 (MATHCONST): Likewise.
35161 (PRINTF_EXPR): Likewise.
35162 (PRINTF_XEXPR): Likewise.
35163 (PRINTF_NEXPR): Likewise.
35164 (TEST_DOUBLE): Likewise.
35165 (TEST_MATHVEC): Likewise.
35166 (__NO_MATH_INLINES): Likewise.
35167 * math/test-float.c: Include test-float.h, test-math-no-inline.h
35168 and test-math-scalar.h.
35169 (FUNC): Remove macro.
35170 (FUNC_TEST): Likewise.
35171 (FLOAT): Likewise.
35172 (MATHCONST): Likewise.
35173 (PRINTF_EXPR): Likewise.
35174 (PRINTF_XEXPR): Likewise.
35175 (PRINTF_NEXPR): Likewise.
35176 (TEST_FLOAT): Likewise.
35177 (TEST_MATHVEC): Likewise.
35178 (__NO_MATH_INLINES): Likewise.
35179 * math/test-idouble.c: Include test-double.h, test-math-inline.h
35180 and test-math-scalar.h.
35181 (FUNC): Remove macro.
35182 (FUNC_TEST): Likewise.
35183 (FLOAT): Likewise.
35184 (MATHCONST): Likewise.
35185 (PRINTF_EXPR): Likewise.
35186 (PRINTF_XEXPR): Likewise.
35187 (PRINTF_NEXPR): Likewise.
35188 (TEST_DOUBLE): Likewise.
35189 (TEST_MATHVEC): Likewise.
35190 (TEST_INLINE): Likewise.
35191 (__NO_MATH_INLINES): Likewise.
35192 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35193 test-math-scalar.h.
35194 (FUNC): Remove macro.
35195 (FUNC_TEST): Likewise.
35196 (FLOAT): Likewise.
35197 (MATHCONST): Likewise.
35198 (PRINTF_EXPR): Likewise.
35199 (PRINTF_XEXPR): Likewise.
35200 (PRINTF_NEXPR): Likewise.
35201 (TEST_FLOAT): Likewise.
35202 (TEST_MATHVEC): Likewise.
35203 (TEST_INLINE): Likewise.
35204 (__NO_MATH_INLINES): Likewise.
35205 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35206 and test-math-scalar.h.
35207 (FUNC): Remove macro.
35208 (FUNC_TEST): Likewise.
35209 (FLOAT): Likewise.
35210 (MATHCONST): Likewise.
35211 (PRINTF_EXPR): Likewise.
35212 (PRINTF_XEXPR): Likewise.
35213 (PRINTF_NEXPR): Likewise.
35214 (TEST_LDOUBLE): Likewise.
35215 (TEST_MATHVEC): Likewise.
35216 (TEST_INLINE): Likewise.
35217 (__NO_MATH_INLINES): Likewise.
35218 * math/test-ldouble.c: Include test-ldouble.h,
35219 test-math-no-inline.h and test-math-scalar.h.
35220 (FUNC): Remove macro.
35221 (FUNC_TEST): Likewise.
35222 (FLOAT): Likewise.
35223 (MATHCONST): Likewise.
35224 (PRINTF_EXPR): Likewise.
35225 (PRINTF_XEXPR): Likewise.
35226 (PRINTF_NEXPR): Likewise.
35227 (TEST_LDOUBLE): Likewise.
35228 (TEST_MATHVEC): Likewise.
35229 (__NO_MATH_INLINES): Likewise.
35230 * math/test-double-vlen2.h: Include test-double.h,
35231 test-math-no-inline.h and test-math-vector.h.
35232 (FLOAT): Remove macro.
35233 (FUNC): Likewise.
35234 (MATHCONST): Likewise.
35235 (PRINTF_EXPR): Likewise.
35236 (PRINTF_XEXPR): Likewise.
35237 (PRINTF_NEXPR): Likewise.
35238 (TEST_DOUBLE): Likewise.
35239 (TEST_MATHVEC): Likewise.
35240 (__NO_MATH_INLINES): Likewise.
35241 (CNCT): Likewise.
35242 (CONCAT): Likewise.
35243 (WRAPPER_NAME): Likewise.
35244 (WRAPPER_DECL): Likewise.
35245 (WRAPPER_DECL_ff): Likewise.
35246 (WRAPPER_DECL_fFF): Likewise.
35247 (VECTOR_WRAPPER): Likewise.
35248 (VECTOR_WRAPPER_ff): Likewise.
35249 (VECTOR_WRAPPER_fFF): Likewise.
35250 (VEC_LEN): New macro.
35251 * math/test-double-vlen4.h: Include test-double.h,
35252 test-math-no-inline.h and test-math-vector.h.
35253 (FLOAT): Remove macro.
35254 (FUNC): Likewise.
35255 (MATHCONST): Likewise.
35256 (PRINTF_EXPR): Likewise.
35257 (PRINTF_XEXPR): Likewise.
35258 (PRINTF_NEXPR): Likewise.
35259 (TEST_DOUBLE): Likewise.
35260 (TEST_MATHVEC): Likewise.
35261 (__NO_MATH_INLINES): Likewise.
35262 (CNCT): Likewise.
35263 (CONCAT): Likewise.
35264 (WRAPPER_NAME): Likewise.
35265 (WRAPPER_DECL): Likewise.
35266 (WRAPPER_DECL_ff): Likewise.
35267 (WRAPPER_DECL_fFF): Likewise.
35268 (VECTOR_WRAPPER): Likewise.
35269 (VECTOR_WRAPPER_ff): Likewise.
35270 (VECTOR_WRAPPER_fFF): Likewise.
35271 (VEC_LEN): New macro.
35272 * math/test-double-vlen8.h: Include test-double.h,
35273 test-math-no-inline.h and test-math-vector.h.
35274 (FLOAT): Remove macro.
35275 (FUNC): Likewise.
35276 (MATHCONST): Likewise.
35277 (PRINTF_EXPR): Likewise.
35278 (PRINTF_XEXPR): Likewise.
35279 (PRINTF_NEXPR): Likewise.
35280 (TEST_DOUBLE): Likewise.
35281 (TEST_MATHVEC): Likewise.
35282 (__NO_MATH_INLINES): Likewise.
35283 (CNCT): Likewise.
35284 (CONCAT): Likewise.
35285 (WRAPPER_NAME): Likewise.
35286 (WRAPPER_DECL): Likewise.
35287 (WRAPPER_DECL_ff): Likewise.
35288 (WRAPPER_DECL_fFF): Likewise.
35289 (VECTOR_WRAPPER): Likewise.
35290 (VECTOR_WRAPPER_ff): Likewise.
35291 (VECTOR_WRAPPER_fFF): Likewise.
35292 (VEC_LEN): New macro.
35293 * math/test-float-vlen4.h: Include test-float.h,
35294 test-math-no-inline.h and test-math-vector.h.
35295 (FLOAT): Remove macro.
35296 (FUNC): Likewise.
35297 (MATHCONST): Likewise.
35298 (PRINTF_EXPR): Likewise.
35299 (PRINTF_XEXPR): Likewise.
35300 (PRINTF_NEXPR): Likewise.
35301 (TEST_FLOAT): Likewise.
35302 (TEST_MATHVEC): Likewise.
35303 (__NO_MATH_INLINES): Likewise.
35304 (CNCT): Likewise.
35305 (CONCAT): Likewise.
35306 (WRAPPER_NAME): Likewise.
35307 (WRAPPER_DECL): Likewise.
35308 (WRAPPER_DECL_ff): Likewise.
35309 (WRAPPER_DECL_fFF): Likewise.
35310 (VECTOR_WRAPPER): Likewise.
35311 (VECTOR_WRAPPER_ff): Likewise.
35312 (VECTOR_WRAPPER_fFF): Likewise.
35313 (VEC_LEN): New macro.
35314 * math/test-float-vlen8.h: Include test-float.h,
35315 test-math-no-inline.h and test-math-vector.h.
35316 (FLOAT): Remove macro.
35317 (FUNC): Likewise.
35318 (MATHCONST): Likewise.
35319 (PRINTF_EXPR): Likewise.
35320 (PRINTF_XEXPR): Likewise.
35321 (PRINTF_NEXPR): Likewise.
35322 (TEST_FLOAT): Likewise.
35323 (TEST_MATHVEC): Likewise.
35324 (__NO_MATH_INLINES): Likewise.
35325 (CNCT): Likewise.
35326 (CONCAT): Likewise.
35327 (WRAPPER_NAME): Likewise.
35328 (WRAPPER_DECL): Likewise.
35329 (WRAPPER_DECL_ff): Likewise.
35330 (WRAPPER_DECL_fFF): Likewise.
35331 (VECTOR_WRAPPER): Likewise.
35332 (VECTOR_WRAPPER_ff): Likewise.
35333 (VECTOR_WRAPPER_fFF): Likewise.
35334 (VEC_LEN): New macro.
35335 * math/test-float-vlen16.h: Include test-float.h,
35336 test-math-no-inline.h and test-math-vector.h.
35337 (FLOAT): Remove macro.
35338 (FUNC): Likewise.
35339 (MATHCONST): Likewise.
35340 (PRINTF_EXPR): Likewise.
35341 (PRINTF_XEXPR): Likewise.
35342 (PRINTF_NEXPR): Likewise.
35343 (TEST_FLOAT): Likewise.
35344 (TEST_MATHVEC): Likewise.
35345 (__NO_MATH_INLINES): Likewise.
35346 (CNCT): Likewise.
35347 (CONCAT): Likewise.
35348 (WRAPPER_NAME): Likewise.
35349 (WRAPPER_DECL): Likewise.
35350 (WRAPPER_DECL_ff): Likewise.
35351 (WRAPPER_DECL_fFF): Likewise.
35352 (VECTOR_WRAPPER): Likewise.
35353 (VECTOR_WRAPPER_ff): Likewise.
35354 (VECTOR_WRAPPER_fFF): Likewise.
35355 (VEC_LEN): New macro.
35356 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35357 test-vec-loop.h.
35358 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35359 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35360 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35361 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35362 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35363 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35364 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35365
353662015-06-24 Roland McGrath <roland@hack.frob.com>
35367
35368 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35369 (__getlogin_r): ... this.
35370
353712015-06-24 Joseph Myers <joseph@codesourcery.com>
35372
35373 [BZ #18594]
35374 * math/s_ccosh.c (__ccosh): Compare with least normal value
35375 instead of comparing class with FP_SUBNORMAL.
35376 * math/s_ccoshf.c (__ccoshf): Likewise.
35377 * math/s_ccoshl.c (__ccoshl): Likewise.
35378 * math/s_cexp.c (__cexp): Likewise.
35379 * math/s_cexpf.c (__cexpf): Likewise.
35380 * math/s_cexpl.c (__cexpl): Likewise.
35381 * math/s_csin.c (__csin): Likewise.
35382 * math/s_csinf.c (__csinf): Likewise.
35383 * math/s_csinh.c (__csinh): Likewise.
35384 * math/s_csinhf.c (__csinhf): Likewise.
35385 * math/s_csinhl.c (__csinhl): Likewise.
35386 * math/s_csinl.c (__csinl): Likewise.
35387 * math/s_ctan.c (__ctan): Likewise.
35388 * math/s_ctanf.c (__ctanf): Likewise.
35389 * math/s_ctanh.c (__ctanh): Likewise.
35390 * math/s_ctanhf.c (__ctanhf): Likewise.
35391 * math/s_ctanhl.c (__ctanhl): Likewise.
35392 * math/s_ctanl.c (__ctanl): Likewise.
35393 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35394 csin, csinh, ctan and ctanh.
35395 * math/auto-libm-test-out: Regenerated.
35396 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35397 * sysdeps/i386/fpu/libm-test-ulps: Update.
35398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35399
354002015-06-24 Roland McGrath <roland@hack.frob.com>
35401
35402 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35403 return value is wrong, print the expected value too.
35404
354052015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35406
35407 [BZ #18585]
35408 * elf/readlib.c (is_gdb_python_file): New.
35409 (process_file): Don't issue errors on filenames with -gdb.py
35410 suffix.
35411
354122015-06-24 Joseph Myers <joseph@codesourcery.com>
35413
35414 * math/auto-libm-test-in: Add more tests of csin and csinh.
35415 * math/auto-libm-test-out: Regenerated.
35416 * math/libm-test.inc (csin_test_data): Remove tests moved to
35417 auto-libm-test-in.
35418 (csinh_test_data): Likewise.
35419
35420 [BZ #18593]
35421 * math/s_csin.c (__csin): Negate before rather than after possibly
35422 overflowing multiplication.
35423 * math/s_csinf.c (__csinf): Likewise.
35424 * math/s_csinh.c (__csinh): Likewise.
35425 * math/s_csinhf.c (__csinhf): Likewise.
35426 * math/s_csinhl.c (__csinhl): Likewise.
35427 * math/s_csinl.c (__csinl): Likewise.
35428 * math/auto-libm-test-in: Add some tests of csin and csinh.
35429 * math/auto-libm-test-out: Regenerated.
35430 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35431 (csinh_test_data): Likewise.
35432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35433
35434 [BZ #18586]
35435 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35436 underflow exception for small results.
35437
354382015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35439
35440 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35441 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35442 variable and included header.
35443 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35444 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35445 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35446 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35447 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35448 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35449 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35450 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35451 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35452 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35453 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35454 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35455 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35456 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35457 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35458 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35459
354602015-06-23 Joseph Myers <joseph@codesourcery.com>
35461
35462 [BZ #16526]
35463 [BZ #16538]
35464 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35465 (__sin): Force underflow exception for arguments with small
35466 absolute value.
35467 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35468 (__kernel_sinf): Force underflow exception for arguments with
35469 small absolute value.
35470 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35471 (__kernel_sincosl): Force underflow exception for arguments with
35472 small absolute value.
35473 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35474 (__kernel_sinl): Force underflow exception for arguments with
35475 small absolute value.
35476 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35477 (__kernel_sincosl): Force underflow exception for arguments with
35478 small absolute value.
35479 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35480 (__kernel_sinl): Force underflow exception for arguments with
35481 small absolute value.
35482 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35483 (__kernel_sinl): Force underflow exception for arguments with
35484 small absolute value.
35485 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35486 (__kernel_sinf): Force underflow exception for arguments with
35487 small absolute value.
35488 * math/auto-libm-test-in: Add more tests of sin and sincos.
35489 * math/auto-libm-test-out: Regenerated.
35490
35491 [BZ #18245]
35492 [BZ #18583]
35493 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35494 (__kernel_standard_l): Use feholdexcept and fesetenv around
35495 conversion to double instead of special-casing overflow and
35496 underflow.
35497 * math/libm-test.inc (fmod_test_data): Add more tests.
35498 (remainder_test_data): Likewise.
35499 (sqrt_test_data): Likewise.
35500
355012015-06-23 Torvald Riegel <triegel@redhat.com>
35502
35503 [BZ #17403]
35504 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35505 atomic_read_barrier, atomic_write_barrier): Define.
35506 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35507 atomic_read_barrier, atomic_write_barrier): Define.
35508
355092015-06-23 Joseph Myers <joseph@codesourcery.com>
35510
35511 * math/Makefile [$(PERL) != no]
35512 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35513 dependency on libm-test.stmp below the inclusion of Rules.
35514
355152015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35516
35517 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35518 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35519 and included header.
35520 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35521 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35522 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35523 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35524 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35525 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35526 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35527 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35528 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35529 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35530 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35531 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35532 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35533 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35534 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35535 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35536 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35537 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35538 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35539
355402015-06-23 Joseph Myers <joseph@codesourcery.com>
35541
35542 [BZ #18371]
35543 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35544 intermediate but not final result might underflow.
35545 * math/s_csqrtf.c (__csqrtf): Likewise.
35546 * math/s_csqrtl.c (__csqrtl): Likewise.
35547 * math/auto-libm-test-in: Add more tests of csqrt.
35548 * math/auto-libm-test-out: Regenerated.
35549 * sysdeps/i386/fpu/libm-test-ulps: Update.
35550
35551 [BZ #18219]
35552 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35553 threshold on absolute value of exponent for which scaling is used.
35554 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35555 * math/auto-libm-test-in: Add more tests of exp2.
35556 * math/auto-libm-test-out: Regenerated.
35557
355582015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35559
35560 [BZ #17977]
35561 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35562 when initializing interface list, based on the bug analysis
35563 and the patch proposed by Eric Newton.
35564 * resolv/tst-res_hconf_reorder.c: New test.
35565 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35566 tst-res_hconf_reorder.
35567 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35568 and $(shared-thread-library).
35569 (tst-res_hconf_reorder-ENV): New variable.
35570
35571 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35572 in comment.
35573
355742015-06-22 Joseph Myers <joseph@codesourcery.com>
35575
35576 [BZ #16353]
35577 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35578 (__expm1): Force underflow exception for arguments with small
35579 absolute value.
35580 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35581 (__expm1f): Force underflow exception for arguments with small
35582 absolute value.
35583 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35584 (__expm1): Force underflow exception for arguments with small
35585 absolute value.
35586 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35587 (__expm1f): Force underflow exception for arguments with small
35588 absolute value.
35589 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35590 Check for small arguments before calling __expm1.
35591 * math/auto-libm-test-in: Do not mark underflow exceptions as
35592 possibly missing for bug 16353.
35593 * math/auto-libm-test-out: Regenerated.
35594
355952015-06-22 Andreas Schwab <schwab@suse.de>
35596
35597 [BZ #18513]
35598 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35599 PTR queries.
35600
356012015-06-22 Leonhard Holz <leonhard.holz@web.de>
35602
35603 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35604
35605 * string/strcoll_l.c: Remove unused struct element idxnow.
35606
356072015-06-21 Joseph Myers <joseph@codesourcery.com>
35608
35609 [BZ #18569]
35610 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35611 underflow and return argument in case of subnormal argument.
35612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35613 Likewise.
35614 * math/auto-libm-test-in: Add more tests of expm1.
35615 * math/auto-libm-test-out: Regenerated.
35616
35617 [BZ #16361]
35618 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35619 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35620 tiny results.
35621 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35622 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35623 tiny results.
35624 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35625 mark underflow exceptions as possibly missing for bug 16361.
35626 * math/auto-libm-test-out: Regenerated.
35627
356282015-06-19 Joseph Myers <joseph@codesourcery.com>
35629
35630 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35631 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35632 Remove variable.
35633 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35634 (test-xfail-XOPEN2K8/utmpx.h/conform).
35635
35636 * conform/conformtest.pl ($xerrors): New variable.
35637 (note_error): New function.
35638 (compiletest): New argument $xfail. Use not_error.
35639 (runtest): Likewise.
35640 (top level): Handle xfail- lines. Update calls to compiletest and
35641 runtest. Handle xfail- and optional- in headers listed with
35642 allow-header.
35643 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35644 (O_EXEC): Likewise.
35645 (O_SEARCH): Likewise.
35646 * conform/data/stropts.h-data (ioctl): Likewise.
35647 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35648 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35649 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35650 (msghdr.msg_controllen): Likewise.
35651 (cmsghdr.cmsg_len): Likewise.
35652 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35653 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35654 variable.
35655 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35656 (test-xfail-XPG4/stropts.h/conform): Likewise.
35657 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35658 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35659 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35660 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35661 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35662 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35663 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35664 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35665 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35666 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35667 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35668 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35669 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35670 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35671 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35672 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35673 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35674 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35675 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35676
356772015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35678
35679 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35680 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35681 definitions for proper unfolding of __MATHDECL_VEC.
35682
356832015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35684
35685 * benchtests/bench-strcoll.c:
35686 Include string.h.
35687 (main): Remove unused variable res.
35688
356892015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35690
35691 * timezone/Makefile (%/UTC %/Universal):
35692 Generate test-result files for UTC and Universal.
35693
356942015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35695
35696 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35697
356982015-06-18 Joseph Myers <joseph@codesourcery.com>
35699
35700 [BZ #16350]
35701 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35702 for arguments with small absolute value.
35703 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35704 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35705 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35706 (__asinh): Force underflow exception for arguments with small
35707 absolute value.
35708 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35709 (__asinhf): Force underflow exception for arguments with small
35710 absolute value.
35711 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35712 (__asinhl): Force underflow exception for arguments with small
35713 absolute value.
35714 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35715 (__asinhl): Force underflow exception for arguments with small
35716 absolute value.
35717 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35718 (__asinhl): Force underflow exception for arguments with small
35719 absolute value.
35720 * math/auto-libm-test-in: Do not mark underflow exceptions as
35721 possibly missing for bug 16350.
35722 * math/auto-libm-test-out: Regenerated.
35723
35724 * include/bits/ipc.h: Remove file.
35725 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35726 variable.
35727 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35728 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35729 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35730 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35731 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35732 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35733 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35734 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35735 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35736
35737 * math/auto-libm-test-in: Remove spurious underflow allowance for
35738 tests of cexp.
35739 * math/auto-libm-test-out: Regenerated.
35740
35741 [BZ #18558]
35742 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35743 unconditional definition.
35744 (MCAST_BLOCK_SOURCE): Likewise.
35745 (MCAST_UNBLOCK_SOURCE): Likewise.
35746 (MCAST_LEAVE_GROUP): Likewise.
35747 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35748 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35749 (MCAST_MSFILTER): Likewise.
35750 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35751 Remove variable.
35752 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35753 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35754 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35755 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35756 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35757
357582015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35759
35760 * NEWS: Mention addition of x86_64 vector sincosf.
35761 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35762 * math/test-float-vlen4.h: Likewise.
35763 * math/test-float-vlen8.h: Likewise.
35764 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35765 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35766 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35767 * sysdeps/x86_64/fpu/Versions: New versions added.
35768 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35769 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35770 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35771 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35772 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35773 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35774 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35775 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35776 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35777 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35778 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35779 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35780 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35781 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35782 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35783 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35784 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35785 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35786 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35787 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35788 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35789 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35790 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35791 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35792
35793 * NEWS: Mention addition of x86_64 vector sincos.
35794 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35795 * math/math.h (__MATHDECL_VEC): New macro.
35796 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35797 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35798 declaration under condition.
35799 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35800 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35801 TEST_VEC_LOOP change.
35802 * math/test-double-vlen4.h: Likewise.
35803 * math/test-double-vlen8.h: Likewise.
35804 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35805 * math/test-float-vlen4.h: Likewise.
35806 * math/test-float-vlen8.h: Likewise.
35807 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35808 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35809 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35810 * sysdeps/x86_64/fpu/Versions: New versions added.
35811 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35812 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35813 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35814 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35815 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35816 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35817 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35818 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35819 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35820 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35821 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35822 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35823 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35824 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35825 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35826 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35827 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35828 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35829 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35830 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35831 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35832 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35833 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35834 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35835
35836 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35837 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35838 redirections for powf.
35839 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35840 * sysdeps/x86_64/fpu/Versions: New versions added.
35841 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35842 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35843 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35844 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35845 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35846 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35847 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35848 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35849 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35850 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35851 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35852 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35853 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35854 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35855 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35856 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35857 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35858 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35859 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35860 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35861 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35862 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35863 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35864 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35865 * math/test-float-vlen16.h: Fixed 2 argument macro.
35866 * math/test-float-vlen4.h: Likewise.
35867 * math/test-float-vlen8.h: Likewise.
35868 * NEWS: Mention addition of x86_64 vector powf.
35869
358702015-06-17 Joseph Myers <joseph@codesourcery.com>
35871
35872 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35873 and redefine.
35874 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35875 and redefine.
35876 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35877 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35879
35880 [BZ #18553]
35881 * resource/getpriority.c (getpriority): Rename to __getpriority
35882 and define as weak alias of __getpriority.
35883 * resource/setpriority.c (setpriority): Rename to __setpriority
35884 and define as weak alias of __setpriority.
35885 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35886 __getpriority and define as weak alias of __getpriority.
35887 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35888 __setpriority and define as weak alias of __setpriority.
35889 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35890 strong name.
35891 (setpriority): Use __setpriority as strong name.
35892 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35893 __getpriority and define as weak alias of __getpriority.
35894 * include/sys/resource.h (__getpriority): Declare. Use
35895 libc_hidden_proto.
35896 (__setpriority): Likewise.
35897 (getpriority): Don't use libc_hidden_proto.
35898 (setpriority): Likewise.
35899 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35900 getpriority. Call __setpriority instead of setpriority.
35901 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35902 Remove variable.
35903
35904 [BZ #18547]
35905 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35906 as weak alias of __getttynam. Use prototype function definition.
35907 Call __setttyent, __getttyent and __endttyent instead of
35908 setttyent, getttyent and endttyent.
35909 (getttyent): Rename to __getttyent and define as weak alias of
35910 __getttyent. Call __setttyent instead of setttyent. Call
35911 __fgets_unlocked instead of fgets_unlocked.
35912 (setttyent): Rename to __setttyent and define as weak alias of
35913 __setttyent.
35914 (endttyent): Rename to __endttyent and define as weak alias of
35915 __endttyent.
35916 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35917 (__setttyent): Likewise.
35918 (__endttyent): Likewise.
35919 (getttyent): Don't use libc_hidden_proto.
35920 (setttyent): Likewise.
35921 (endttyent): Likewise.
35922 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35923 __endttyent instead of setttyent, getttyent and endttyent.
35924 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35925 Remove variable.
35926
35927 [BZ #18546]
35928 * socket/recv.c (__recv): Use libc_hidden_def.
35929 * socket/socket.c (__socket): Likewise.
35930 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35931 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35932 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35933 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35934 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35935 libc_hidden_def.
35936 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35937 libc_hidden_weak.
35938 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35939 Use libc_hidden_proto.
35940 (__recv): Likewise.
35941 * socket/Versions (libc): Export __recv and __socket at version
35942 GLIBC_PRIVATE.
35943 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35944 instead of recv.
35945 (init_mq_netlink): Call __socket instead of socket.
35946 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35947 Remove variable.
35948
35949 [BZ #18545]
35950 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35951 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35952 hidden_weak.
35953 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35954 define as alias of __mq_timedsend. Use hidden_weak.
35955 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35956 __mq_timedsend as strong name.
35957 (mq_timedreceive): Use __mq_timedreceive as strong name.
35958 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35959 (__mq_timedreceive): Likewise.
35960 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35961 __mq_timedreceive instead of mq_timedreceive.
35962 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35963 instead of mq_timedsend.
35964 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35965 Remove variable.
35966
35967 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35968 hidden_def and hidden_weak instead of libc_hidden_def and
35969 libc_hidden_weak.
35970 (top level): Refer to hidden_def in comment.
35971 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35972 macro. Use it instead of libc_hidden_def.
35973 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35974 specify __GI_* name explicitly.
35975 (mq_timedreceive): Likewise.
35976 (mq_setattr): Likewise.
35977
35978 [BZ #18544]
35979 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35980 __pthread_barrier_init and define as weak alias of
35981 __pthread_barrier_init.
35982 * sysdeps/sparc/nptl/pthread_barrier_init.c
35983 (pthread_barrier_init): Likewise.
35984 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35985 __pthread_barrier_wait and define as weak alias of
35986 __pthread_barrier_wait.
35987 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35988 (pthread_barrier_wait): Likewise.
35989 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35990 (pthread_barrier_wait): Likewise.
35991 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35992 (pthread_barrier_wait): Likewise.
35993 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35994 (pthread_barrier_wait): Likewise.
35995 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35996 __pthread_barrier_wait at version GLIBC_PRIVATE.
35997 * include/pthread.h (__pthread_barrier_init): Declare.
35998 (__pthread_barrier_wait): Likewise.
35999 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
36000 Call __pthread_barrier_wait instead of pthread_barrier_wait.
36001 (helper_thread): Likewise.
36002 (init_mq_netlink): Call __pthread_barrier_init instead of
36003 pthread_barrier_init.
36004
36005 [BZ #18542]
36006 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
36007 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
36008 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
36009 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
36010 vswscanf.
36011 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
36012 Remove variable.
36013
36014 [BZ #18540]
36015 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
36016 strong alias of _IO_fflush. Use libc_hidden_def.
36017 * libio/iofflush_u.c (fflush_unlocked): Rename to
36018 __fflush_unlocked and define as weak alias of __fflush_unlocked.
36019 Use libc_hidden_weak.
36020 * include/stdio.h (__fflush_unlocked): Declare. Use
36021 libc_hidden_proto.
36022 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
36023 fflush_unlocked.
36024 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
36025 Remove variable.
36026
36027 [BZ #18539]
36028 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
36029 define as weak alias of __addseverity.
36030 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
36031 Remove variable.
36032 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36033 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36034 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36035
36036 [BZ #18536]
36037 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
36038 (__tfind): Likewise.
36039 (__tdelete): Likewise.
36040 (__twalk): Likewise.
36041 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
36042 __twalk to GLIBC_PRIVATE.
36043 * include/search.h (__tsearch): Use libc_hidden_proto.
36044 (__tfind): Likewise.
36045 (__tdelete): Likewise.
36046 (__twalk): Likewise.
36047 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
36048 Call __tdelete instead of tdelete.
36049 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
36050 tfind. Call __tsearch instead of tsearch.
36051 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
36052 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
36053 Remove variable.
36054 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36055
36056 [BZ #18534]
36057 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
36058 (dprintf): Define as a weak alias of __dprintf, not a strong
36059 alias.
36060 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
36061 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
36062 dprintf.
36063 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
36064 Remove variable.
36065 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36066 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36067
36068 [BZ #18533]
36069 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
36070 not a strong alias.
36071 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
36072 Remove variable.
36073
36074 [BZ #18532]
36075 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
36076 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
36077 (in6addr_loopback): Rename to __in6addr_loopback and define as
36078 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
36079 * include/netinet/in.h (__in6addr_loopback): Declare. Use
36080 libc_hidden_proto.
36081 (__in6addr_any): Likewise.
36082 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
36083 in6addr_any.
36084 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
36085 variable.
36086 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36087
360882015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
36089
36090 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
36091 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
36092 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36093 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36094 redirections for pow.
36095 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36096 * sysdeps/x86_64/fpu/Versions: New versions added.
36097 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36098 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36099 build of SSE, AVX2 and AVX512 IFUNC versions.
36100 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
36101 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
36102 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
36103 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
36104 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
36105 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
36106 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
36107 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
36108 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
36109 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
36110 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
36111 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
36112 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
36113 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
36114 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36115 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36116 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36117 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36118 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36119 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36120 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36121 * NEWS: Mention addition of x86_64 vector pow.
36122
36123 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36124 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36125 redirections for expf.
36126 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36127 * sysdeps/x86_64/fpu/Versions: New versions added.
36128 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36129 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36130 build of SSE, AVX2 and AVX512 IFUNC versions.
36131 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
36132 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
36133 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
36134 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
36135 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
36136 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
36137 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
36138 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
36139 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
36140 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
36141 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
36142 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
36143 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
36144 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36145 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36146 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36147 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36148 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36149 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36150 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36151 * NEWS: Mention addition of x86_64 vector expf.
36152
36153 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
36154 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
36155 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36156 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36157 redirections for exp.
36158 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36159 * sysdeps/x86_64/fpu/Versions: New versions added.
36160 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36161 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36162 build of SSE, AVX2 and AVX512 IFUNC versions.
36163 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
36164 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
36165 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
36166 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
36167 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
36168 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
36169 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
36170 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
36171 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
36172 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
36173 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
36174 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
36175 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
36176 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36177 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36178 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36179 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36180 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36181 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36182 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36183 * NEWS: Mention addition of x86_64 vector exp.
36184
36185 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36186 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36187 redirections for logf.
36188 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36189 * sysdeps/x86_64/fpu/Versions: New versions added.
36190 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36191 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36192 build of SSE, AVX2 and AVX512 IFUNC versions.
36193 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36194 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36195 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36196 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36197 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36198 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36199 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36200 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36201 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36202 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36203 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36204 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36205 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36206 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36207 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36208 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36209 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36210 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36211 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36212 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36213 * NEWS: Mention addition of x86_64 vector logf.
36214
36215 * bits/libm-simd-decl-stubs.h: Added stubs for log.
36216 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36217 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36218 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36219 redirections for log.
36220 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36221 * sysdeps/x86_64/fpu/Versions: New versions added.
36222 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36223 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36224 build of SSE, AVX2 and AVX512 IFUNC versions.
36225 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36226 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36227 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36228 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36229 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36230 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36231 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36232 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36233 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36234 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36235 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36236 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36237 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36238 test.
36239 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36240 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36241 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36242 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36243 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36244 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36245 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36246 * NEWS: Mention addition of x86_64 vector log.
36247
362482015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
36249
36250 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36251 cfi_adjust_cfa_offset argument.
36252 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36253 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36254
36255 [BZ #18034]
36256 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36257 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36258 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36259 ordering using ldar.
36260 (_dl_tlsdesc_dynamic): Likewise.
36261 (_dl_tlsdesc_return_lazy): Likewise.
36262 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36263 relaxed atomics instead of volatile and synchronize with release store.
36264 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36265 volatile.
36266 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36267
362682015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
36269
36270 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36271 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36272 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36273 * sysdeps/x86_64/fpu/Versions: New versions added.
36274 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36275 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36276 build of SSE, AVX2 and AVX512 IFUNC versions.
36277 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36278 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36279 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36280 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36281 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36282 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36283 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36284 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36285 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36286 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36287 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36288 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36289 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36290 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36291 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36292 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36293 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36294 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36295 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36296 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36297 * NEWS: Mention addition of x86_64 vector sinf.
36298
362992015-06-14 Joseph Myers <joseph@codesourcery.com>
36300
36301 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36302 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36303 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36304 Remove variable.
36305 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36306 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36307
363082015-06-12 Joseph Myers <joseph@codesourcery.com>
36309
36310 [BZ #18530]
36311 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36312 strong alias of _IO_fputs. Use libc_hidden_def.
36313 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36314 and define as weak alias of __fputs_unlocked. Use
36315 libc_hidden_weak.
36316 * include/stdio.h (__fputs_unlocked): Declare. Use
36317 libc_hidden_proto.
36318 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36319 fputs_unlocked.
36320
36321 [BZ #18529]
36322 * resolv/netdb.h [__USE_POSIX]: Change condition to
36323 [__USE_XOPEN2K].
36324 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36325 not expect.
36326 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36327 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36328 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36329 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36330 [XPG4 || UNIX98] (AI_ALL): Likewise.
36331 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36332 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36333 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36334 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36335 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36336 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36337 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36338 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36339 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36340 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36341 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36342 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36343 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36344 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36345 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36346 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36347 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36348 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36349 [XPG4 || UNIX98] (gai_strerror): Likewise.
36350 [XPG4 || UNIX98] (getaddrinfo): Likewise.
36351 [XPG4 || UNIX98] (getnameinfo): Likewise.
36352
36353 [BZ #18528]
36354 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36355 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36356 __USE_XOPEN2K8].
36357 (getgrent): Likewise.
36358 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36359 expect.
36360 [XPG3 || POSIX2008] (endgrent): Likewise.
36361 [XPG3] (setgrent): Likewise.
36362 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36363 variable.
36364 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36365
36366 [BZ #18527]
36367 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36368 define as weak alias of __getlogin_r. Use libc_hidden_weak.
36369 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36370 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36371 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36372 * include/unistd.h (__getlogin_r): Declare. Use
36373 libc_hidden_proto.
36374 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36375 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36376 variable.
36377 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36378 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36379 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36380
363812015-06-12 Martin Sebor <msebor@redhat.com>
36382
36383 [BZ #18512]
36384 * Makerules (check-install-supported): New target.
36385 (install): Add check-install-supported as a dependency.
36386 * manual/install.texi (Installing the C Library): Document
36387 that overriding prefix and exec_prefix is not supported.
36388 Mention DESTDIR.
36389 * INSTALL: Regenerate from the above.
36390
363912015-06-12 Joseph Myers <joseph@codesourcery.com>
36392
36393 [BZ #18519]
36394 * posix/Versions (libc): Export __libc_pread at version
36395 GLIBC_PRIVATE.
36396 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36397 instead of pread.
36398 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36399 variable.
36400
36401 [BZ #18522]
36402 * misc/efgcvt_r.c
36403 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36404 (cvt_symbol): Use weak_alias instead of strong_alias.
36405 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36406 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36407 Remove variable.
36408 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36409 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36410
36411 [BZ #18520]
36412 * inet/herrno.c (h_errno): Rename to __h_errno.
36413 (__libc_h_errno): Define as alias of __h_errno not h_errno.
36414 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36415 to __h_errno instead of h_errno.
36416 * nptl/herrno.c (h_errno): Rename to __h_errno.
36417 (__h_errno_location): Refer to __h_errno not h_errno.
36418 * resolv/Versions (h_errno): Rename to __h_errno.
36419 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36420 Remove variable.
36421 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36422
364232015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
36424
36425 * configure.ac: More strict check for AVX512 assembler support.
36426 * configure: Regenerated.
36427
36428 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36429 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36430 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36431 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36432 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36433 * sysdeps/x86_64/fpu/Versions: New versions added.
36434 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36435 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36436 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36437 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36438 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36439 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36440 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36441 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36442 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36443 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36444 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36445 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36446 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36447 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36448 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36449 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36450 test.
36451 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36452 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36453 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36454 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36455 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36456 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36457 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36458 * NEWS: Mention addition of x86_64 vector sin.
36459
364602015-06-11 Florian Weimer <fweimer@redhat.com>
36461
36462 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36463 comment.
36464
364652015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36466
36467 [BZ #18479]
36468 * nptl/pt-interp.c: New file.
36469 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36470 Add pt-interp.
36471 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36472 $(common-objpfx)runtime-linker.h.
36473
364742015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36475
36476 * Makeconfig (+interp): Remove unused variable.
36477 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36478 only. Depend on $(common-objpfx)runtime-linker.h instead of
36479 $(elf-objpfx)runtime-linker.h.
36480 ($(elf-objpfx)runtime-linker.h): Rename to
36481 $(common-objpfx)runtime-linker.h and move ...
36482 * Makerules [$(build-shared) = yes]: ... here.
36483 * elf/interp.c: Include <runtime-linker.h> instead of
36484 <elf/runtime-linker.h>.
36485
364862015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36487
36488 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36489 (__gettimeofday_syscall): Remove vsyscall fallback.
36490 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36491 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36492 Add syscall fallback function.
36493 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36494 if vDSO is not present.
36495 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36496 fallback function.
36497 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36498 present.
36499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36500 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36501
365022015-06-09 Joseph Myers <joseph@codesourcery.com>
36503
36504 [BZ #18497]
36505 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36506 of wcscmp.
36507 (wcscmp): Define as weak alias of WCSCMP.
36508 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36509 wcscoll.
36510 (USE_HIDDEN_DEF): Define.
36511 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36512 __wcscoll. Don't use libc_hidden_weak.
36513 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36514 wcscmp.
36515 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36516 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36517 __GI_wcscmp.
36518 (weak_alias): Undefine and redefine.
36519 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36520 __wcscmp and define as weak alias of __wcscmp.
36521 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36522 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36523 (__wcscoll): Likewise.
36524 (wcscmp): Don't use libc_hidden_proto.
36525 (wcscoll): Likewise.
36526 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36527 wcscoll.
36528 * posix/regexec.c (check_node_accept_bytes): Likewise.
36529 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36530 variable.
36531 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36532 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36533
36534 [BZ #18507]
36535 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36536 __fstatvfs and define as weak alias of __fstatvfs. Use
36537 libc_hidden_weak.
36538 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36539 and define as weak alias of __statvfs. Use libc_hidden_weak.
36540 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36541 Define as alias of __fstatvfs, not fstatvfs.
36542 (fstatvfs64): Likewise.
36543 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36544 Define as alias of __statvfs, not statvfs.
36545 (statvfs64): Likewise.
36546 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36547 Remove variable.
36548
365492015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36550
36551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36552 (HAVE_GETCPU_VSYSCALL): Define.
36553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36554 (HAVE_GETCPU_VSYSCALL): Likewise.
36555 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36556 * sysdeps/unix/sysv/linux/sched_getcpu.c
36557 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36558 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36559 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36560 prototype.
36561 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36562 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36563 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36565 Define.
36566 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36567 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36568 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36569 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36570
365712015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36572
36573 * sysdeps/x86_64/fpu/Makefile: New file.
36574 * sysdeps/x86_64/fpu/Versions: New file.
36575 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36576 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36577 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36578 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36579 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36580 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36581 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36582 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36583 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36584 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36585 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36586 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36587 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36588 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36589 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36590 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36591 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36592 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36593 * sysdeps/x86_64/configure: Regenerated.
36594 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36595 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36596 * manual/install.texi (Configuring and compiling): Document
36597 --disable-mathvec.
36598 * INSTALL: Regenerated.
36599 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36600
36601 * math/Makefile: Added rules for vector tests.
36602 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36603 declaration under condition.
36604 * math/test-double-vlen2.h: New file.
36605 * math/test-double-vlen4.h: New file.
36606 * math/test-double-vlen8.h: New file.
36607 * math/test-vec-loop.h: Added initialization macro.
36608 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36609 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36610 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36611 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36612 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36613 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36614 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36615 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36616 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36617 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36618 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36619
36620 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36621 * sysdeps/x86_64/fpu/Versions: New versions added.
36622 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36623 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36624 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36625 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36626 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36627 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36628 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36629 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36630 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36631 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36632 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36633 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36634 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36635 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36636 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36637 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36638 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36639 * NEWS: Mention addition of x86_64 vector cosf.
36640
36641 * math/Makefile: Added CFLAGS for new tests.
36642 * math/test-float-vlen16.h: New file.
36643 * math/test-float-vlen4.h: New file.
36644 * math/test-float-vlen8.h: New file.
36645 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36646 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36647 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36648 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36649 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36650 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36651 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36652 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36653 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36654 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36655 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36656
366572015-06-09 Marko Myllynen <myllynen@redhat.com>
36658
36659 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36660 * locale/programs/ld-ctype.c: Likewise.
36661
366622015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36663
36664 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36665 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36666 bit_ZMM16_31_state): New macro.
36667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36668 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36669
366702015-06-08 Joseph Myers <joseph@codesourcery.com>
36671
36672 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36673
366742015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36675
36676 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36677
366782015-06-05 Joseph Myers <joseph@codesourcery.com>
36679
36680 [BZ #18498]
36681 * libio/memstream.c (open_memstream): Rename to __open_memstream
36682 and define as weak alias of __open_memstream.
36683 * include/stdio.h (__open_memstream): Declare. Use
36684 libc_hidden_proto.
36685 (open_memstream): Don't use libc_hidden_proto.
36686 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36687 open_memstream.
36688 * posix/getopt.c (_getopt_internal_r): Likewise.
36689 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36690 variable.
36691 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36692 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36693 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36694
36695 [BZ #18496]
36696 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36697 instead of wcrtomb.
36698
36699 [BZ #18483]
36700 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36701 [__USE_XOPEN2K8]. Remove redundant #endif.
36702 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36703 Remove redundant #if.
36704 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36705 Remove variable.
36706 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36707 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36708
36709 [BZ #18495]
36710 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36711 (__iswlower): Likewise.
36712 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36713 (__iswlower): Likewise.
36714 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36715 instead of towlower.
36716 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36717 instead of iswlower. Call __towupper instead of towupper.
36718 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36719 instead of iswalnum.
36720
367212015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36722
36723 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36724 errors to stderr.
36725
367262015-06-05 Florian Weimer <fweimer@redhat.com>
36727
36728 [BZ #15661]
36729 [BZ #17322]
36730 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36731 Check for overflow properly. Check for O_APPEND. Ignore large
36732 file system block sizes. Add comments about problems.
36733 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36734 * manual/filesys.texi (Storage Allocation): New node.
36735
367362015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36737
36738 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36739 cancellable syscalls.
36740 (SYS_ify): Add guard to no redefine it.
36741 (INLINE_SYSCALL): Likewise.
36742 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36743 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36744 SYSCALL_CANCEL instead.
36745 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36746 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36747 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36748 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36749 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36750 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36751 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36752 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36753 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36754 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36755 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36756 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36757 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36758 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36759 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36760 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36761 Likewise.
36762 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36763 (__libc_pread64): Likewise.
36764 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36765 (__libc_preadv): Likewise.
36766 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36767 (__libc_readv64): Likewise.
36768 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36769 (__libc_pwrite): Likewise.
36770 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36771 (__libc_pwrite64): Likewise.
36772 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36773 (__libc_pwritev): Likewise.
36774 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36775 (__libc_pwritev64): Likewise.
36776 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36777 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36778 (sync_file_range): Likewise.
36779 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36780 Likewise.
36781 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36782 Likewise.
36783 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36784 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36785 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36786 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36787 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36788 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36789 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36790 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36792 Likewise.
36793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36794 (__libc_read64): Likewise.
36795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36796 Likewise.
36797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36798 Likewise.
36799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36800 Likewise.
36801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36802 Likewise.
36803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36804 (__libc_pread64): Likewise.
36805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36806 Likewise.
36807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36808 (__libc_pwrite64): Likewise.
36809 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36810 (sync_file_range): Likewise.
36811 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36812 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36813 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36814 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36815 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36816 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36817 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36818 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36819 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36820 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36821 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36822 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36823 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36824 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36825 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36826 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36827 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36828 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36829 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36830 Likewise.
36831 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36832 Likewise.
36833 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36834 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36835 Likewise.
36836 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36837 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36838 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36839 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36840 Likewise.
36841 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36842 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36843 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36844 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36845 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36846
368472015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36848
36849 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36850 Include dl-vdso.
36851 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36852 Use VDSO routines for gettimeofday, clock_gettime if
36853 available.
36854 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36855 Declare VDSO symbols.
36856 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36857 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36858 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36859 * sysdeps/unix/sysv/linux/arm/Versions: Add
36860 __vdso_clock_gettime.
36861
368622015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36863
36864 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36865 be an inline implementation regardless of library is built within.
36866 (open_not_cancel_2): Likewise.
36867 (__read_nocancel): Likewise.
36868 (__write_nocancel): Likewise.
36869 (openat_not_cancel): Likewise.
36870 (openat_not_cancel_3): Likewise.
36871 (openat64_not_cancel): Likewise.
36872 (openat64_not_cancel_3): Likewise.
36873 (__close_nocancel): Likewise.
36874 (pause_not_cancel): Likewise.
36875 (nanosleep_not_cancel): Likewise.
36876 (sigsuspend_not_cancel): Likewise.
36877
368782015-06-04 Torvald Riegel <triegel@redhat.com>
36879
36880 [BZ #14958]
36881 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36882 wake-up.
36883 (__pthread_rwlock_rdlock_slow): Likewise.
36884 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36885 Likewise.
36886 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36887 Likewise.
36888 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36889 * nptl/tst-rwlock16.c: New file.
36890 * nptl/Makefile (tests): Add new test.
36891
368922015-06-04 Torvald Riegel <triegel@redhat.com>
36893
36894 [BZ #18324]
36895 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36896 missing wake-up of readers.
36897 * nptl/tst-rwlock15.c: New file.
36898 * nptl/Makefile (tests): Add new test.
36899
369002015-06-03 Roland McGrath <roland@hack.frob.com>
36901
36902 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36903 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36904 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36905 and __nacl_supply_interface_rtld.
36906 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36907 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36908 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36909 Add __nacl_supply_interface_rtld.
36910 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36911
369122015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36913
36914 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36915 isfinite.
36916 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36917 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36918
369192015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36920
36921 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36922 __signbit* with standard C99 macros.
36923 * math/e_exp10l.c: Likewise.
36924 * math/e_exp2l.c: Likewise.
36925 * math/e_scalb.c: Likewise.
36926 * math/e_scalbf.c: Likewise.
36927 * math/e_scalbl.c: Likewise.
36928 * math/s_ldexp.c: Likewise.
36929 * math/s_ldexpf.c: Likewise.
36930 * math/s_ldexpl.c: Likewise.
36931 * math/w_atan2.c: Likewise.
36932 * math/w_atan2f.c: Likewise.
36933 * math/w_atan2l.c: Likewise.
36934 * math/w_cosh.c: Likewise.
36935 * math/w_coshf.c: Likewise.
36936 * math/w_coshl.c: Likewise.
36937 * math/w_exp10.c: Likewise.
36938 * math/w_exp10f.c: Likewise.
36939 * math/w_exp10l.c: Likewise.
36940 * math/w_exp2.c: Likewise.
36941 * math/w_exp2f.c: Likewise.
36942 * math/w_exp2l.c: Likewise.
36943 * math/w_fmod.c: Likewise.
36944 * math/w_fmodf.c: Likewise.
36945 * math/w_fmodl.c: Likewise.
36946 * math/w_hypot.c: Likewise.
36947 * math/w_hypotf.c: Likewise.
36948 * math/w_hypotl.c: Likewise.
36949 * math/w_jnl.c: Likewise.
36950 * math/w_lgamma.c: Likewise.
36951 * math/w_lgamma_r.c: Likewise.
36952 * math/w_lgammaf.c: Likewise.
36953 * math/w_lgammaf_r.c: Likewise.
36954 * math/w_lgammal.c: Likewise.
36955 * math/w_lgammal_r.c: Likewise.
36956 * math/w_pow.c: Likewise.
36957 * math/w_powf.c: Likewise.
36958 * math/w_powl.c: Likewise.
36959 * math/w_remainder.c: Likewise.
36960 * math/w_remainderf.c: Likewise.
36961 * math/w_remainderl.c: Likewise.
36962 * math/w_scalb.c: Likewise.
36963 * math/w_scalbf.c: Likewise.
36964 * math/w_scalbl.c: Likewise.
36965 * math/w_scalbln.c: Likewise.
36966 * math/w_scalblnf.c: Likewise.
36967 * math/w_scalblnl.c: Likewise.
36968 * math/w_sinh.c: Likewise.
36969 * math/w_sinhf.c: Likewise.
36970 * math/w_sinhl.c: Likewise.
36971 * math/w_tgamma.c: Likewise.
36972 * math/w_tgammaf.c: Likewise.
36973 * math/w_tgammal.c: Likewise.
36974 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36975 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36976 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36977 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36978 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36980 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36982 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36983 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36984 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36985 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36986 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36987 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36988 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36989 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36990 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36991 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36992 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36993 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36994 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36995 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36996 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36998 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36999 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37000 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
37001 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37002 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37003 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37004 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
37005 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
37006 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
37007 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
37008 * stdio-common/printf_fp.c: Likewise.
37009 * stdio-common/printf_fphex.c: Likewise.
37010 * stdio-common/printf_size.c: Likewise.
37011
370122015-06-03 Joseph Myers <joseph@codesourcery.com>
37013
37014 [BZ #18470]
37015 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
37016 strnlen.
37017 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
37018 Remove variable.
37019 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37020 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37021 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37022 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37023 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37024 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37025 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37026 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37027 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37028 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37029
37030 [BZ #18468]
37031 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
37032 weak alias of __wmemchr. Use libc_hidden_weak.
37033 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
37034 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
37035 instead of wmemchr.
37036
370372015-06-02 Roland McGrath <roland@hack.frob.com>
37038
37039 [BZ #18383]
37040 * elf/tst-tlsalign-extern.c: New file.
37041 * elf/tst-tlsalign-extern-static.c: New file.
37042 * elf/tst-tlsalign-vars.c: New file.
37043 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
37044 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
37045 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
37046 ($(objpfx)tst-tlsalign-extern-static): Likewise.
37047 (test-xfail-tst-tlsalign-extern-static): New variable.
37048
370492015-06-02 Joseph Myers <joseph@codesourcery.com>
37050
37051 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
37052 Use variable name _sc_err instead of err.
37053 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
37054 instead of ret.
37055 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
37056 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
37057 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
37058 (INLINE_SYSCALL): Likewise.
37059
37060 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
37061 * include/string.h (__strnlen): Use libc_hidden_proto.
37062 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
37063 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
37064 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
37065 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
37066 (libc_hidden_def): Undefine and redefine.
37067 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
37068 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
37069 __GI_strnlen.
37070 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
37071 libc_hidden_def.
37072 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
37073
37074 [BZ #18469]
37075 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
37076 weak alias of __towlower. Use libc_hidden_weak.
37077 (towupper): Rename to __towupper and define as weak alias of
37078 __towupper. Use libc_hidden_weak.
37079 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
37080 (__towupper): Likewise.
37081 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
37082 __towlower instead of towlower.
37083
370842015-06-02 Roland McGrath <roland@hack.frob.com>
37085
37086 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
37087 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
37088
370892015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
37090
37091 * sysdeps/aarch64/libm-test-ulps: Update.
37092
370932015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37094
37095 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
37096 Define.
37097 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
37099 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37100 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37101 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
37102 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
37103 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
37104
371052015-06-01 Martin Sebor <msebor@redhat.com>
37106
37107 [BZ #18116]
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37109 (__setcontext): Use extended four-operand version of mtsf whenever
37110 possible.
37111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37112 (__novec_swapcontext): Likewise.
37113
371142015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37115
37116 * benchtests/scripts/compare_bench.py: New file.
37117 * benchtests/scripts/import_bench.py (mean): New function.
37118 (split_list): Likewise.
37119 (do_for_all_timings): Likewise.
37120 (compress_timings): Likewise.
37121
37122 * benchtests/scripts/import_bench.py: New file.
37123 * benchtests/scripts/validate_benchout.py: Import import_bench
37124 instead of jsonschema.
37125 (validate_bench): Remove function.
37126 (main): Use import_bench.
37127
371282015-06-01 Steve Ellcey <sellcey@imgtec.com>
37129
37130 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
37131 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
37132
371332015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37134
37135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37136
371372015-05-28 Roland McGrath <roland@hack.frob.com>
37138
37139 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
37140 set THREAD_SELF->tid to a magic value and futex-wake it.
37141 Pass its address to the thread_exit system call.
37142 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
37143 bit is clear.
37144 * sysdeps/nacl/lowlevellock.h: New file.
37145 * sysdeps/nacl/lll_timedwait_tid.c: New file.
37146
37147 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
37148 Add TIMEOUT to current time, don't subtract it.
37149
371502015-05-28 H.J. Lu <hongjiu.lu@intel.com>
37151
37152 [BZ #2981]
37153 [BZ #18422]
37154 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
37155 ($(objpfx)tst-audit2.out): Also depend on
37156 $(objpfx)tst-auditmod9b.so.
37157 * elf/tst-audit2.c: Include <dlfcn.h>.
37158 (calloc_called): New.
37159 (calloc): Allow to be called more than once.
37160 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
37161
371622015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
37163
37164 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
37165 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
37166
371672015-05-27 Marko Myllynen <myllynen@redhat.com>
37168
37169 * stdlib/monetary.h: Fix comment.
37170
371712015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
37172
37173 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
37174 Avoid using variables in #defines that might cause shadowing.
37175 (INTERNAL_VSYSCALL_CALL): Likewise.
37176
371772015-05-26 Roland McGrath <roland@hack.frob.com>
37178
37179 * sysdeps/nacl/lll_timedlock_wait.c: New file.
37180
37181 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
37182 * nptl/lll_timedlock_wait.c: ... to this new file.
37183 * nptl/Makefile (libpthread-routines): Add it.
37184 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37185 * nptl/lll_timedwait_tid.c: ... to this new file.
37186 * nptl/Makefile (libpthread-routines): Add it.
37187 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37188 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37189 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37190 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37191 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37192 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37193 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37194 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37195 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37196 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37197
371982015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37199
37200 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37201 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37202 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37203 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37204 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37205 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37206 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37208 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37209 * sysdeps/unix/sysv/linux/tile/sysdep.h
37210 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37211 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37212 using vDSO syscall macro.
37213
372142015-05-26 Andriy Rysin <arysin@gmail.com>
37215
37216 [BZ #17293]
37217 * uk_UA: Fix sorting order for Ukrainian locale
37218
372192015-05-26 Marko Myllynen <myllynen@redhat.com>
37220
37221 * stdlib/monetary.h: Fix comment.
37222
372232015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
37224
37225 [BZ #18234]
37226 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37227 st_mtim and st_ctim members.
37228 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37229 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37230 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37231 (struct stat64): Likewise.
37232 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37233 (struct stat64): Likewise.
37234 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37235 (struct stat64): Likewise.
37236
372372015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37238
37239 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37240 Define and include sysdep-vdso.h.
37241 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37242 Likewise.
37243 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37244 Likewise.
37245 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37246 Define with VDSO_SYMBOL and use PTR_MANGLE.
37247 (__vdso_clock_gettime): Likewise.
37248 (__vdso_clock_getres): Likewise.
37249 (_libc_vdso_platform_setup): Likewise.
37250 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37251 Likewise.
37252 (_libc_vdso_platform_setup): Likewise.
37253 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37254 Likewise.
37255 (__vdso_clock_gettime): Likewise.
37256 (__vdso_clock_getres): Likewise.
37257 (__vdso_get_tbfreq): Likewise.
37258 (__vdso_getcpu): Likewise.
37259 (__vdso_time): Likewise.
37260 (__vdso_sigtramp_rt64): Likewise.
37261 (__vdso_signtramp32): Likewise.
37262 (__vdso_sigtramp_rt32): Likewise.
37263 (_libc_vdso_platform_setup): Likewise.
37264 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37265 Likewise.
37266 (__vdso_clock_gettime): Likewise.
37267 (__vdso_clock_getres): Likewise.
37268 (_libc_vdso_platform_setup): Likewise.
37269 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37270 Likewise.
37271 (__vdso_clock_gettime): Likewise.
37272 (_libc_vdso_platform_setup): Likewise.
37273 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37274 Likewise.
37275 (__vdso_getcpu): Likewise.
37276 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37277 Use VDSO_SYMBOL macro to define.
37278 (__vdso_clock_gettime): Likewise.
37279 (__vdso_clock_getres): Likewise.
37280 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37281 Likewise.
37282 (__vdso_clock_gettime): Likewise.
37283 (__vdso_clock_getres): Likewise.
37284 (__vdso_get_tbfreq): Likewise.
37285 (__vdso_getcpu): Likewise.
37286 (__vdso_time): Likewise.
37287 (__vdso_sigtramp_rt64): Likewise.
37288 (__vdso_signtramp32): Likewise.
37289 (__vdso_sigtramp_rt32): Likewise.
37290 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37291 Likewise.
37292 (__vdso_clock_gettime): Likewise.
37293 (__vdso_clock_getres): Likewise.
37294 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37295 Likewise.
37296 (__vdso_clock_gettime): Likewise.
37297 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37298 Likewise.
37299 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
37300 macro.
37301 (INTERNAL_VSYSCALL): Likewise.
37302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37303 Remove macro.
37304 (INTERNAL_VSYSCALL): Likewise.
37305 (INTERNAL_VSYSCALL_NCS): Likewise.
37306 (INTERNAL_VSYSCALL_CALL): New macro.
37307 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37308 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37309 Likewise.
37310 (INTERNAL_VSYSCALL): Likewise.
37311 (INTERNAL_VSYSCALL_NCS): Likewise.
37312 (INTERNAL_VSYSCALL_CALL): New macro.
37313 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37315 (INLINE_VSYSCALL): Remove macro.
37316 (INTERNAL_VSYSCALL): Remove macro.
37317 (INTERNAL_VSYSCALL_NCS): Remove macro.
37318 (INTERNAL_VSYSCALL_CALL): New macro.
37319 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37320 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37321 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37322 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37323 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37325 (INLINE_VSYSCALL): Remove macro.
37326 (INTERNAL_VSYSCALL): Likewise.
37327 (INTERNAL_VSYSCALL_NCS): Likewise.
37328 (INTERNAL_VSYSCALL_CALL): New macro.
37329 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37330 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37331 PTR_DEMANGLE on vDSO pointer.
37332 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37333 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37334 macro.
37335 (INTERNAL_SYSCALL): Likewise.
37336 (INTERNAL_VSYSCALL_NCS): Remove macro.
37337 (INTERNAL_VSYSCALL_CALL): New macro.
37338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37339 Remove macro.
37340 (INTERNAL_VSYSCALL): Likewise.
37341 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37342 sysdep-vdso.h instead of libc-vdso.h.
37343 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37344 definition.
37345 (INLINE_VSYSCALL): Likewise.
37346 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37347 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37348 definition.
37349 (INLINE_VSYSCALL): Likewise.
37350 (INTERNAL_VSYSCALL): Likewise.
37351 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37352 * sysdeps/unix/sysv/linux/timespec_get.c
37353 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37354 (timespec_get): Use ANSI prototype.
37355 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37356 and definition for Linux.
37357
373582015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
37359
37360 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37361 * include/libc-symbols.h: libmvec_hidden_* macro series added.
37362
373632015-05-22 H.J. Lu <hongjiu.lu@intel.com>
37364
37365 [BZ #2981]
37366 [BZ #18410]
37367 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37368 for missing DT_PLTRELSZ.
37369
373702015-05-22 Paul Eggert <eggert@cs.ucla.edu>
37371
37372 Remove obsolete aliases that broke 'locale -a'
37373 [BZ #18412]
37374 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
37375 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37376 breaking some applications that use 'locale -a' output.
37377 Change the encoding of this file from Latin-1 to ASCII to avoid
37378 other potential problems with people grepping this file.
37379
373802015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37381
37382 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37383 -fasynchronous-unwind-tables.
37384 (CFLAGS-sendto.c): Likewise.
37385 (CFLAGS-sendmsg.c): Likewise.
37386 (CFLAGS-connect.c): Likewise.
37387 (CFLAGS-recvmsg.c): Likewise.
37388 (CFLAGS-recvfrom.c): Likewise.
37389 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37390 (SOCKETCALL): New macro: non-cancellable socketcall.
37391 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37392 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37393 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37394 * sysdeps/unix/sysv/linux/accept.c: New file.
37395 * sysdeps/unix/sysv/linux/bind.c: Likewise.
37396 * sysdeps/unix/sysv/linux/connect.c: Likewise.
37397 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37398 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37399 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37400 * sysdeps/unix/sysv/linux/listen.c: Likewise.
37401 * sysdeps/unix/sysv/linux/recv.c: Likewise.
37402 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37403 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37404 * sysdeps/unix/sysv/linux/send.c: Likewise.
37405 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37406 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37407 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37408 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37409 * sysdeps/unix/sysv/linux/socket.c: Likewise.
37410 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37411 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37412 prototype.
37413 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37414 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37415 instead of __internal_xxx function.
37416 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37417 prototype.
37418 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37419 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37420 instead of __internal_xxx function.
37421 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37422 prototype.
37423 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37424 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37425 instead of __internal_xxx function.
37426 * sysdeps/unix/sysv/linux/accept.S: Remove file.
37427 * sysdeps/unix/sysv/linux/bind.S: Likewise.
37428 * sysdeps/unix/sysv/linux/connect.S: Likewise.
37429 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37430 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37431 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37432 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37433 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37434 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37435 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37436 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37437 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37438 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37439 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37440 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37441 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37442 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37443 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37444 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37445 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37448 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37449 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37450 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37451 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37452 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37453 * sysdeps/unix/sysv/linux/send.S: Likewise.
37454 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37455 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37456 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37457 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37458 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37459 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37460 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37461 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37462 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37463 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37464 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37465 socketcall is implemented in GLIBC.
37466
374672015-05-22 Joseph Myers <joseph@codesourcery.com>
37468
37469 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37470 (__fma): Ignore uninitialized warnings around packing.
37471 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37472 (__fmaf): Ignore uninitialized warnings around packing.
37473 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37474 (__fmal): Ignore uninitialized warnings around packing.
37475
37476 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37477 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37478 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37479 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37480
37481 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37482 switch statement into default case.
37483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37484
37485 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37486 a conditional in forcing "inexact".
37487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37488 Likewise.
37489
374902015-05-22 Roland McGrath <roland@hack.frob.com>
37491
37492 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37493 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37494 for each INTERNAL_SYSCALL use.
37495
374962015-05-22 Joseph Myers <joseph@codesourcery.com>
37497
37498 [BZ #438]
37499 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37500 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37501 variable.
37502
37503 [BZ #18444]
37504 * string/basename.c (basename): Rename to __basename and define as
37505 weak alias of __basename. Use libc_hidden_weak.
37506 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37507 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37508 __basename instead of basename.
37509 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37510 Remove variable.
37511 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37512
375132015-05-18 Florian Weimer <fweimer@redhat.com>
37514
37515 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37516 (_IO_JUMPS_FILE_plus): New.
37517 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37518 _IO_CAST_FIELD_ACCESS.
37519 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37520 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37521 * libio/freopen.c (freopen): Likewise.
37522 * libio/freopen64.c (freopen64): Likewise.
37523 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37524 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37525 * libio/iofwide.c (_IO_fwide): Likewise.
37526 * libio/memstream.c (open_memstream): Likewise.
37527 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37528 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37529 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37530
375312015-05-21 Joseph Myers <joseph@codesourcery.com>
37532
37533 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37534 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37535 NADJ.
37536 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37537 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37538 NADJ.
37539 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37540 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37541 NADJ.
37542
37543 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37544 (p == 4) case.
37545
37546 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37547 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37548 Remove variable.
37549 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37550 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37551 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37552
375532015-05-21 Florian Weimer <fweimer@redhat.com>
37554
37555 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37556 Adjust jump table label generation macros.
37557
375582015-05-21 Florian Weimer <fweimer@redhat.com>
37559
37560 * stdio-common/vfprintf.c (vfprintf): Move local variables
37561 args_malloced, specs, specs_malloced, and the code after
37562 do_positional to the printf_positional function.
37563 (printf_positional): New function.
37564
375652015-05-21 Florian Weimer <fweimer@redhat.com>
37566
37567 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37568 function.
37569 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37570 STEP4_TABLE, process_arg): Move macro definitions
37571 out of the vfprintf function. (Cosmetic change only.)
37572
375732015-05-21 Carlos O'Donell <carlos@redhat.com>
37574
37575 * benchtests/Makefile (stdio-common-bench): Define.
37576 (benchset): Add stdio-common-bench.
37577 * sprintf-inputs: New file.
37578 * sprintf-source.c: New file.
37579
375802015-05-21 Andreas Schwab <schwab@suse.de>
37581
37582 [BZ #13028]
37583 [BZ #17053]
37584 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37585 of struct __res_state.
37586 * resolv/res_send.c (__libc_res_nsend): Likewise.
37587 (get_nsaddr): New function.
37588 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37589 statp directly.
37590
375912015-05-20 Joseph Myers <joseph@codesourcery.com>
37592
37593 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37594 -D_POSIX_C_SOURCE=199506L.
37595
37596 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37597
37598 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37599 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37600 Do not mention otherwise.
37601 [POSIX] (_XOPEN_VERSION): Do not expect.
37602 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37603 [POSIX] (_POSIX2_C_BIND): Likewise.
37604 [POSIX] (_POSIX2_VERSION): Likewise.
37605 [POSIX] (_XOPEN_XPG2): Likewise.
37606 [POSIX] (_XOPEN_XPG3): Likewise.
37607 [POSIX] (_XOPEN_XPG4): Likewise.
37608 [POSIX] (_XOPEN_UNIX): Likewise.
37609 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37610 [POSIX] (_POSIX_BARRIERS): Likewise.
37611 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37612 [POSIX] (_POSIX_CPUTIME): Likewise.
37613 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37614 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37615 [POSIX] (_POSIX_SHELL): Likewise.
37616 [POSIX] (_POSIX_SPAWN): Likewise.
37617 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37618 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37619 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37620 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37621 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37622 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37623 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37624 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37625 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37626 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37627 [POSIX] (_POSIX2_PBS): Likewise.
37628 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37629 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37630 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37631 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37632 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37633 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37634 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37635 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37636 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37637 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37638 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37639 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37640 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37641 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37642 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37643 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37644 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37645 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37646 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37647 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37648 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37649 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37650 [POSIX] (_SC_2_C_BIND): Likewise.
37651 [POSIX] (_SC_2_C_VERSION): Likewise.
37652 [POSIX] (_SC_2_PBS): Likewise.
37653 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37654 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37655 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37656 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37657 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37658 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37659 [POSIX] (_SC_BARRIERS): Likewise.
37660 [POSIX] (_SC_BASE): Likewise.
37661 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37662 [POSIX] (_SC_DEVICE_IO): Likewise.
37663 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37664 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37665 [POSIX] (_SC_FD_MGMT): Likewise.
37666 [POSIX] (_SC_FIFO): Likewise.
37667 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37668 [POSIX] (_SC_FILE_LOCKING): Likewise.
37669 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37670 [POSIX] (_SC_IOV_MAX): Likewise.
37671 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37672 [POSIX] (_SC_NETWORKING): Likewise.
37673 [POSIX] (_SC_PAGE_SIZE): Likewise.
37674 [POSIX] (_SC_PASS_MAX): Likewise.
37675 [POSIX] (_SC_PIPE): Likewise.
37676 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37677 [POSIX] (_SC_REGEXP): Likewise.
37678 [POSIX] (_SC_SHELL): Likewise.
37679 [POSIX] (_SC_SIGNALS): Likewise.
37680 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37681 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37682 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37683 [POSIX] (_SC_USER_GROUPS): Likewise.
37684 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37685 [POSIX] (_SC_STREAMS): Likewise.
37686 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37687 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37688 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37689 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37690 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37691 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37692 [POSIX] (_PC_FILESIZEBITS): Likewise.
37693 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37694 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37695 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37696 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37697 [POSIX] (uid_t): Likewise.
37698 [POSIX] (gid_t): Likewise.
37699 [POSIX] (off_t): Likewise.
37700 [POSIX] (pid_t): Likewise.
37701 [POSIX] (cuserid): Allow.
37702 (_SC_2_CHAR_TERM): Require constant.
37703 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37704 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37705 variable.
37706
377072015-05-20 Roland McGrath <roland@hack.frob.com>
37708
37709 * sysdeps/nacl/pthread-pids.h: New file.
37710 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37711 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37712
37713 * nptl/pthread-pids.h: New file.
37714 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37715 * nptl/nptl-init.c: Include <pthread-pids.h>.
37716 (__pthread_initialize_minimal_internal):
37717 Call __pthread_initialize_pids instead of set_tid_address syscall.
37718
37719 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37720 * sysdeps/posix/usleep.c: ... here.
37721
377222015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37723
37724 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37725 call_pselect6 object.
37726 [$(subdir) = io]: Remove call_sync_file_range object.
37727 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37728 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37729 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37730 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37731
377322015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37733
37734 * math/s_cproj.c: Add include "math_private.h".
37735 * math/s_cprojf.c: Likewise.
37736 * math/s_cprojl.c: Likewise.
37737
377382015-05-19 Joseph Myers <joseph@codesourcery.com>
37739
37740 [BZ #18244]
37741 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37742 high mantissa bit when testing whether P is a NaN.
37743 * math/libm-test.inc (remainder_test_data): Add more tests.
37744 (remquo_test_data): Likewise.
37745
37746 [BZ #18049]
37747 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37748 below -32, return the argument, with underflow if subnormal.
37749 * math/auto-libm-test-in: Add more tests of atanh.
37750 * math/auto-libm-test-out: Regenerated.
37751
377522015-05-19 Roland McGrath <roland@hack.frob.com>
37753
37754 [BZ #18434]
37755 * nptl/tst-sem15.c: New file.
37756 * nptl/Makefile (tests): Add it.
37757 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37758 s/<</>>/ to fix typo in EOVERFLOW check.
37759 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37760
377612015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37762
37763 * manual/strings.texi (envz_remove): Fix typo in safety
37764 annotations.
37765
377662015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37767 Steve Ellcey <sellcey@imgtec.com>
37768
37769 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37770 in order to avoid strict alias warnings.
37771 (iruserok_af): Ditto for ra.
37772
377732015-05-19 James Lemke <jwlemke@codesourcery.com>
37774
37775 [BZ #17581]
37776 * malloc/hooks.c
37777 (magicbyte): Convert to a function and avoid returning 0x01.
37778 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37779 (mem2chunk_check): Fix unsigned comparisons to zero.
37780 Hoist defs of sz and magic.
37781
377822015-05-19 Richard Henderson <rth@redhat.com>
37783
37784 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37785
37786 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37787
377882015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37789
37790 [BZ #16159]
37791 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37792 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37793 (reused_arena): Find a non-corrupt arena.
37794 (heap_trim): Pass arena to unlink.
37795 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37796 malloc_printerr.
37797 (top_check): Likewise.
37798 (free_check): Likewise.
37799 (realloc_check): Likewise.
37800 * malloc/malloc.c (malloc_printerr): Add arena argument.
37801 (unlink): Likewise.
37802 (munmap_chunk): Adjust.
37803 (ARENA_CORRUPTION_BIT): New macro.
37804 (arena_is_corrupt): Likewise.
37805 (set_arena_corrupt): Likewise.
37806 (sysmalloc): Use mmap if there are no usable arenas.
37807 (_int_malloc): Likewise.
37808 (__libc_malloc): Don't fail if arena_get returns NULL.
37809 (_mid_memalign): Likewise.
37810 (__libc_calloc): Likewise.
37811 (__libc_realloc): Adjust for additional argument to
37812 malloc_printerr.
37813 (_int_free): Likewise.
37814 (malloc_consolidate): Likewise.
37815 (_int_realloc): Likewise.
37816 (_int_memalign): Don't touch corrupt arenas.
37817 * malloc/tst-malloc-backtrace.c: New test case.
37818
37819 * Makefile (summarize-tests): Fix return value on success.
37820
37821 * manual/string.texi (Envz Functions): Add envz_remove.
37822
378232015-05-18 Roland McGrath <roland@hack.frob.com>
37824
37825 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37826 (invalid_name): New function, broken out of ...
37827 (__opendirat): ... here. Call it.
37828 (need_isdir_precheck): New function, broken out of ...
37829 (__opendirat): ... here. Call it.
37830 Use __fxstatat64, not __xstatat64.
37831 (opendir_oflags): New function, broken out of ...
37832 (__opendirat): ... here. Call it.
37833 (opendir_tail): New function, broken out of ...
37834 (__opendirat): ... here. Call it.
37835 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37836 opendir_tail, rather than punting to __opendirat.
37837 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37838
378392015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37840
37841 * .gitignore: Ignore generated *.pyc.
37842
378432015-05-18 Arjun Shankar <arjun.is@lostca.se>
37844
37845 * include/stdio.h: Define __need_wint_t.
37846 * test-skeleton.c: Avoid `for' loop initial declaration.
37847 * nptl/tst-initializers1.c: Use test-skeleton.c.
37848
378492015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37850
37851 [BZ #18418]
37852 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37853
378542015-05-15 Joseph Myers <joseph@codesourcery.com>
37855
37856 [BZ #16352]
37857 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37858 (__ieee754_atanh): Force underflow exception for results with
37859 small absolute value.
37860 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37861 (__ieee754_atanhf): Force underflow exception for results with
37862 small absolute value.
37863 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37864 (__ieee754_atanh): Force underflow exception for results with
37865 small absolute value.
37866 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37867 (__ieee754_atanhf): Force underflow exception for results with
37868 small absolute value.
37869 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37870 (__ieee754_atanhl): Force underflow exception for results with
37871 small absolute value.
37872 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37873 (__ieee754_atanhl): Force underflow exception for results with
37874 small absolute value.
37875 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37876 (__ieee754_atanhl): Force underflow exception for results with
37877 small absolute value.
37878 * math/auto-libm-test-in: Do not allow missing underflow
37879 exceptions from atanh.
37880 * math/auto-libm-test-out: Regenerated.
37881
37882 [BZ #18221]
37883 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37884 2**-28 as threshold for returning x or +/- 1/x.
37885 * math/auto-libm-test-in: Add more tests of tan.
37886 * math/auto-libm-test-out: Regenerated.
37887
37888 [BZ #18220]
37889 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37890 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37891 * math/auto-libm-test-in: Add another test of lgamma.
37892 * math/auto-libm-test-out: Regenerated.
37893
378942015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37895
37896 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37897 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37898 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37899 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37900 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37901 (ADD2A): Use fabs. (SUB2A): Use fabs.
37902 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37903 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37905 (log1): Use fabs. (my_log2): Use fabs.
37906 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37907 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37908 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37909 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37910 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37911 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37912 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37913 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37914 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37915 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37916 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37917
379182015-05-15 Joseph Myers <joseph@codesourcery.com>
37919
37920 [BZ #18217]
37921 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37922 as threshold for returning 1 - x.
37923 * math/auto-libm-test-in: Add more tests of erfc.
37924 * math/auto-libm-test-out: Regenerated.
37925
379262015-05-14 Joseph Myers <joseph@codesourcery.com>
37927
37928 [BZ #18196]
37929 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37930 threshold for large arguments.
37931 * math/auto-libm-test-in: Add another test of atan.
37932 * math/auto-libm-test-out: Regenerated.
37933
37934 [BZ #16339]
37935 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37936 (__log1p): Force underflow exception for results with small
37937 absolute value.
37938 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37939 (__log1pf): Force underflow exception for results with small
37940 absolute value.
37941 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37942 (__log1p): Force underflow exception for results with small
37943 absolute value.
37944 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37945 (__log1pf): Force underflow exception for results with small
37946 absolute value.
37947 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37948 (__log1pl): Force underflow exception for results with small
37949 absolute value.
37950 * math/auto-libm-test-in: Do not allow missing underflow
37951 exceptions from log1p.
37952 * math/auto-libm-test-out: Regenerated.
37953
379542015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37955 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37956
37957 [BZ #16704]
37958 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37959
379602015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37961
37962 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37963 (libmvec): New variable.
37964 * configure.ac: Added option for mathvec build.
37965 * configure: Regenerated.
37966 * mathvec/Depend: New file.
37967 * mathvec/Makefile: New file.
37968 * shlib-versions: Added libmvec.
37969 * math/Makefile: Added rule for libm.so installation.
37970
37971 * bits/math-vector.h: New file.
37972 * bits/libm-simd-decl-stubs.h: New header.
37973 * math/Makefile (headers): Added new header
37974 libm-simd-decl-stubs.h.
37975 * math/math.h (__MATHCALL_VEC): New macro.
37976
37977 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37978 for conditions in testing functions.
37979 * math/Makefile: Added call of libm-have-vector-test.sh.
37980 * math/libm-test.inc (HAVE_VECTOR): New macros.
37981
37982 * math/libm-test.inc: START refactored.
37983 * math/test-double.c (TEST_MATHVEC): Add define.
37984 * math/test-float.c: Likewise.
37985 * math/test-idouble.c: Likewise.
37986 * math/test-ifloat.c: Likewise.
37987 * math/test-ildoubl.c: Likewise.
37988 * math/test-ldouble.c: Likewise.
37989 * sysdeps/generic/math-tests-arch.h
37990 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37991 architecture check.
37992
37993 * math/test-double.c (FUNC_TEST): New macro.
37994 * math/test-float.c: Likewise.
37995 * math/test-idouble.c: Likewise.
37996 * math/test-ifloat.c: Likewise.
37997 * math/test-ildoubl.c: Likewise.
37998 * math/test-ldouble.c: Likewise.
37999 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
38000
380012015-05-13 Roland McGrath <roland@hack.frob.com>
38002
38003 * sysdeps/nacl/fdopendir.c: New file.
38004
38005 * dirent/scandir-tail.c: New file.
38006 * dirent/scandir64-tail.c: New file.
38007 * dirent/Makefile (routines): Add them.
38008 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
38009 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
38010 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
38011 [!SCANDIR] (SCANDIR_TAIL): New macro.
38012 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
38013 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
38014 (SCANDIRAT): Macro removed.
38015 (SCANDIR_TAIL): New macro.
38016 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
38017 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
38018 (SCANDIRAT): Just call __opendirat and __scandir_tail.
38019 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
38020 (READDIR): Macro removed.
38021 (SCANDIR_TAIL): New macro.
38022 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
38023 (SCANDIR_TAIL): New macro.
38024
38025 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
38026 * dirent/scandir-cancel.c: ... to this new file.
38027 * dirent/Makefile (routines): Add it.
38028 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
38029 * sysdeps/unix/sysv/linux/i386/scandir64.c
38030 (SKIP_SCANDIR_CANCEL): Macro removed.
38031 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
38032
38033 * dirent/tst-scandir.c: New file.
38034 * dirent/tst-scandir64.c: New file.
38035 * dirent/Makefile (tests): Add them.
38036
380372015-05-13 H.J. Lu <hongjiu.lu@intel.com>
38038
38039 [BZ #18409]
38040 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
38041
380422015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
38043
38044 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
38045 list.
38046
380472015-05-13 Leonhard Holz <leonhard.holz@web.de>
38048
38049 * benchtests/bench-strcoll.c: New benchmark.
38050 * benchtests/Makefile: Generate locales and run benchmark.
38051 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
38052 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
38053 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
38054 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
38055 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
38056 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
38057 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
38058 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
38059 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
38060 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
38061 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
38062 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
38063 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
38064 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
38065 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
38066 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
38067 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
38068 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
38069 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
38070 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
38071 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
38072 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
38073 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
38074 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
38075
380762015-05-12 Ondřej Bílka <neleai@seznam.cz>
38077
38078 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
38079 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38080
380812015-05-12 Roland McGrath <roland@hack.frob.com>
38082
38083 * posix/uname-values.h: New file.
38084 * posix/uname.c: Include that instead of <config-name.h>.
38085 * sysdeps/nacl/uname-values.h: New file.
38086 * sysdeps/arm/nacl/uname-values.h: New file.
38087
380882015-05-12 Joseph Myers <joseph@codesourcery.com>
38089
38090 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
38091 splitting into fields.
38092
380932015-05-12 Leonhard Holz <leonhard.holz@web.de>
38094
38095 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
38096 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
38097 * locale/localeinfo.h: Add enum collation_encoding_type.
38098 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
38099 * programs/ld-collate.c (collate_output): Add encoding type info.
38100 * string/strcoll_l.c (STRDIFF): New function.
38101 * (STRCOLL): Use STRDIFF to skip over equal prefix.
38102 * wcsmbs/wcscoll_l.c: Define STRDIFF.
38103
381042015-05-11 Joseph Myers <joseph@codesourcery.com>
38105
38106 [BZ #18397]
38107 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
38108 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
38109 <fpu_control.h> instead of <math/fpu_control.c>.
38110 * sysdeps/mips/mips32/fpu/Makefile: New file.
38111
381122015-05-11 Andreas Schwab <schwab@suse.de>
38113
38114 [BZ #18007]
38115 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
38116 nss_endgrent.
38117 (_nss_compat_endgrent): Call nss_endgrent.
38118 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
38119 nss_endpwent.
38120 (_nss_compat_endpwent): Call nss_endpwent.
38121 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
38122 needent, call nss_setspent only if non-zero.
38123 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
38124 (internal_endspent): Don't call nss_endspent.
38125 (_nss_compat_endspent): Call nss_endspent.
38126 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
38127 Remove. All uses removed.
38128 (internal_setent): Remove parameter stayopen, add parameter
38129 stream. Use it instead of global variable.
38130 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
38131 (internal_endent, internal_getent): Add parameter stream. Use it
38132 instead of global variable.
38133 (CONCAT(_nss_files_end,ENTNAME))
38134 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
38135 (_nss_files_get##name##_r): Pass local stream. Remove locking.
38136 * nss/nss_files/files-alias.c (position, last_use): Remove. All
38137 uses removed.
38138 (internal_setent, internal_endent): Add parameter stream. Use it
38139 instead of global variable.
38140 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
38141 stream.
38142 (get_next_alias): Add parameter stream.
38143 (_nss_files_getaliasent_r): Pass global stream.
38144 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
38145 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
38146 (_nss_files_gethostbyname4_r): Pass local stream to
38147 internal_setent, internal_getent and internal_endent. Remove
38148 locking.
38149
381502015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38151
38152 * tst-strfmon1.c (tests): Update expected currency symbol.
38153
381542015-05-08 Roland McGrath <roland@hack.frob.com>
38155
38156 * sysdeps/nacl/gethostname.c: New file.
38157
381582015-05-08 Joseph Myers <joseph@codesourcery.com>
38159
38160 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
38161 and sinh.
38162 * math/auto-libm-test-out: Regenerated.
38163 * sysdeps/i386/fpu/libm-test-ulps: Update.
38164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38165
381662015-05-08 Carlos O'Donell <carlos@redhat.com>
38167
38168 [BZ #18125]
38169 * stdlib/tst-setcontext3.c: New file.
38170 * stdlib/tst-setcontext3.sh: New file.
38171 * stdlib/Makefile (tests): Add tst-setcontext3.
38172 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
38173 to verify test program created output file.
38174 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
38175 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
38176 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
38177 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
38178
381792015-05-06 Roland McGrath <roland@hack.frob.com>
38180
38181 [BZ #18383]
38182 * elf/tst-tlsalign.c: New file.
38183 * elf/tst-tlsalign-static.c: New file.
38184 * elf/tst-tlsalign-lib.c: New file.
38185 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38186 (tests-static): Add tst-tlsalign-static.
38187 (modules-names): Add tst-tlsalign-lib.
38188 (test-xfail-tst-tlsalign): New variable.
38189 (test-xfail-tst-tlsalign-static): New variable.
38190
38191 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38192 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38193
381942015-05-06 Joseph Myers <joseph@codesourcery.com>
38195
38196 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38197 csqrt, erfc, sin and sincos.
38198 * math/auto-libm-test-out: Regenerated.
38199 * sysdeps/i386/fpu/libm-test-ulps: Update.
38200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38201
382022015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
38203
38204 * sysdeps/aarch64/libm-test-ulps: Update.
38205
382062015-05-05 Joseph Myers <joseph@codesourcery.com>
38207
38208 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38209 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38210 * math/auto-libm-test-out: Regenerated.
38211 * sysdeps/i386/fpu/libm-test-ulps: Update.
38212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38213
382142015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
38215
38216 [BZ #18265]
38217 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38218 (wcsncpy): Likewise.
38219
382202015-05-05 Florian Weimer <fweimer@redhat.com>
38221
38222 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38223 Assume __ASSUME_FALLOCATE is always true.
38224 * sysdeps/unix/sysv/linux/posix_fallocate64.c
38225 (__posix_fallocate64_l64): Likewise.
38226 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38227 (posix_fallocate): Likewise.
38228 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38229 (__posix_fallocate64_l64): Likewise.
38230 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38231 [!__ASSUME_FALLOCATE]: Add comment.
38232
382332015-05-05 Florian Weimer <fweimer@redhat.com>
38234
38235 * sysdeps/unix/sysv/linux/i386/Makefile
38236 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38237 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38238 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38239 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38240 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38241 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38242 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38243
382442015-05-02 Joseph Myers <joseph@codesourcery.com>
38245
38246 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38247 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38248 tgamma.
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
382532015-05-01 Joseph Myers <joseph@codesourcery.com>
38254
38255 * math/auto-libm-test-in: Add more tests of tgamma.
38256 * math/auto-libm-test-out: Regenerated.
38257 * sysdeps/i386/fpu/libm-test-ulps: Update.
38258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38259
38260 * math/auto-libm-test-in: Add more tests of tanh.
38261 * math/auto-libm-test-out: Regenerated.
38262 * sysdeps/i386/fpu/libm-test-ulps: Update.
38263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38264
38265 * math/auto-libm-test-in: Add more tests of tan.
38266 * math/auto-libm-test-out: Regenerated.
38267 * sysdeps/i386/fpu/libm-test-ulps: Update.
38268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38269
38270 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38271 * math/auto-libm-test-out: Regenerated.
38272 * sysdeps/i386/fpu/libm-test-ulps: Update.
38273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38274
38275 * math/auto-libm-test-in: Add another test of pow.
38276 * math/auto-libm-test-out: Regenerated.
38277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38278
38279 * math/auto-libm-test-in: Add more tests of lgamma.
38280 * math/auto-libm-test-out: Regenerated.
38281 * sysdeps/i386/fpu/libm-test-ulps: Update.
38282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38283
38284 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38285 log1p.
38286 * math/auto-libm-test-out: Regenerated.
38287 * sysdeps/i386/fpu/libm-test-ulps: Update.
38288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38289
382902015-05-01 Mark Wielaard <mjw@redhat.com>
38291
38292 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38293 Elf64_Chdr structs and ELFCOMPRESS constants.
38294
382952015-05-01 Joseph Myers <joseph@codesourcery.com>
38296
38297 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38298 expm1.
38299 * math/auto-libm-test-out: Regenerated.
38300 * sysdeps/i386/fpu/libm-test-ulps: Update.
38301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38302
38303 * math/auto-libm-test-in: Add more tests of erf and erfc.
38304 * math/auto-libm-test-out: Regenerated.
38305 * sysdeps/i386/fpu/libm-test-ulps: Update.
38306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38307
383082015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
38309
38310 * config.h.in (HAVE_AARCH64_BE): Add.
38311
383122015-04-30 Joseph Myers <joseph@codesourcery.com>
38313
38314 * math/auto-libm-test-in: Add more tests of csqrt.
38315 * math/auto-libm-test-out: Regenerated.
38316 * sysdeps/i386/fpu/libm-test-ulps: Update.
38317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38318
38319 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38320 * math/auto-libm-test-out: Regenerated.
38321 * sysdeps/i386/fpu/libm-test-ulps: Update.
38322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38323
38324 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38325
383262015-04-29 Roland McGrath <roland@hack.frob.com>
38327
38328 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38329 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38330
38331 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38332 (euidaccess, eaccess): Define as weak aliases.
38333
38334 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38335 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
38336 but __suseconds_t is often 'long int' so some sources assume that
38337 type is being used (e.g. they use %ld to print tv_usec).
38338
383392015-04-29 Florian Weimer <fweimer@redhat.com>
38340
38341 [BZ #18007]
38342 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38343 (CVE-2014-8121)
38344 * nss/tst-nss-getpwent.c: New file.
38345 * nss/Makefile (tests): Add new test.
38346
383472015-04-28 Joseph Myers <joseph@codesourcery.com>
38348
38349 [BZ #18346]
38350 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38351 exponents less than 48 as cases where high part of mantissa needs
38352 examining to determine whether argument is integral.
38353 * math/libm-test.inc (round_test_data): Add more tests.
38354
383552015-04-28 Mark Wielaard <mjw@redhat.com>
38356
38357 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38358
383592015-04-27 David S. Miller <davem@davemloft.net>
38360
38361 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38362 __tls_get_addr.
38363 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38364
383652015-04-27 H.J. Lu <hongjiu.lu@intel.com>
38366
38367 [BZ #18333]
38368 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38369
383702015-04-27 Florian Weimer <fweimer@redhat.com>
38371
38372 [BZ #18333]
38373 * time/tzset.c (parse_tzname): Return error on memory allocation
38374 failure.
38375 * test-skeleton.c (struct temp_name_list): Change type of name
38376 member to non-const.
38377 (add_temp_file): Create a copy of the file name.
38378 (delete_temp_files): Deallocate memory.
38379 (create_temp_file): Add comment.
38380
383812015-04-24 Florian Weimer <fweimer@redhat.com>
38382
38383 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38384 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38385
383862015-04-24 Roland McGrath <roland@hack.frob.com>
38387
38388 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38389 * sysdeps/arm/configure: Regenerated.
38390
383912015-04-24 Florian Weimer <fweimer@redhat.com>
38392
38393 [BZ #17715]
38394 * time/tzfile.c (__tzfile_read): Check for large values of
38395 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
38396 * time/tzset.c (__tzstring_len): New function, based on the old
38397 __tzstring function.
38398 (__tzstring): Call __tzstring_len.
38399 (parse_tzname): New helper function extracted from
38400 __tzset_parse_tz. Call __tzstring_len, without making a copy of
38401 the input string.
38402 (parse_offset): New helper function extracted from
38403 __tzset_parse_tz. Replace switch with fallthrough with
38404 initialization before sscanf.
38405 (parse_rule): Likewise.
38406 (__tzset_parse_tz): Rewrite using the new helper functions. Use
38407 new-style function definition.
38408 * timezone/Makefile (tests): Add tst-tzset.
38409 (tst-tzset.out): Dependencies on time zone files.
38410 (tst-tzset-ENV): Set TZDIR.
38411 (testdata/XT%): Copy crafted time zone files.
38412 * timezone/README: Mention crafted time zone files.
38413 * timezone/testdata/XT1, timezone/testdata/XT2,
38414 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38415 files.
38416 * timezone/tst-tzset.c: New test.
38417
384182015-04-24 Florian Weimer <fweimer@redhat.com>
38419
38420 * Makeconfig (+gccwarn): Remove -Winline.
38421
384222015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38423
38424 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38425
384262015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38427
38428 * NEWS: Mention sysconf() cache information support for s390.
38429 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38430
384312015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38432
38433 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38434 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38435 (__nearbyint): Likewise.
38436 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38437 (copysignl): Likewise.
38438
384392015-04-21 Arjun Shankar <arjun.is@lostca.se>
38440
38441 [BZ #18287]
38442 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38443 based on padding. (CVE-2015-1781)
38444
384452015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38446
38447 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38448 libc-vdso.h.
38449 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38450 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38451 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38452 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38453 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38454 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38455 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38456 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38457 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38458 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38459 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38460 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38461 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38462 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38463 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38464 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38465 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38466 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38467 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38468 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38469 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38470 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38471 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38472
384732015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38474
38475 * stdlib/setenv.c (__add_to_environ):
38476 Dump core quickly if setenv (..., NULL, ...) is called.
38477 This time, do it the right way, and pacify GCC with a pragma.
38478
384792015-04-17 Roland McGrath <roland@hack.frob.com>
38480
38481 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38482 IMAP->l_prev cannot be null, and #if out the code for the contrary
38483 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38484 believe that NS (&_dl_ns[NSID]) could point outside the array.
38485
38486 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38487 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38488 before using NSID as an index.
38489
384902015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38491
38492 [BZ #17825]
38493 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38494 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38495 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38496
384972015-04-17 Roland McGrath <roland@hack.frob.com>
38498
38499 Add preliminary port to Google Native Client on ARM.
38500 * abi-tags (.*-.*-nacl.*): New entry.
38501 * sysdeps/arm/nacl: New directory.
38502 * sysdeps/nacl: New directory.
38503
385042015-04-16 David S. Miller <davem@davemloft.net>
38505
38506 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38507 lowlevellock-futex.h
38508
385092015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38510
38511 * sysdeps/tile/configure.ac: New file.
38512 * sysdeps/tile/configure: Regenerated.
38513
385142015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38515
38516 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38517 conditionals for weak_alias and libc_hidden_weak.
38518 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38519 libc_hidden_weak and weak_alias.
38520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38521 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38522 and weak_alias for static one.
38523
385242015-04-15 David S. Miller <davem@davemloft.net>
38525
38526 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38527
385282015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38529
38530 [BZ #18206]
38531 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38532 Use signed comparision instead of substraction to avoid
38533 overflow bug.
38534 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38535 Take the sign of ret.
38536 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38537 Do not expect precise return values. Only the sign matters.
38538 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38539 * wcsmbs/test-wcsncmp.c: New File.
38540 * string/test-strncmp.c: Add wcsncmp support.
38541
385422015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38543
38544 [BZ #6792]
38545 * math/w_log1p.c: New file.
38546 * math/w_log1pf.c: Likewise.
38547 * math/w_log1pl.c: Likewise.
38548 * math/Makefile (libm-calls): Add w_log1p.
38549 * math/s_log1pl.c (log1pl): Remove weak_alias.
38550 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38551 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38552 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38553 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38554 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38555 [NO_LONG_DOUBLE] (log1pl): Likewise.
38556 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38557 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38558 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38559 (log1p): Remove long_double_symbol.
38560 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38561 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38562 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38563 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38564 remove weak_alias for corresponding log1p function.
38565 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38566 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38567 * sysdeps/ia64/fpu/w_log1p.c: New file.
38568 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38569 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38570 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38571
385722015-04-10 Joseph Myers <joseph@codesourcery.com>
38573
38574 [BZ #18247]
38575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38576 decimal exponent by 1.
38577 * stdlib/tst-strtod-round-data: Add more tests.
38578 * stdlib/tst-strtod-round.c (tests): Regenerated.
38579
385802015-04-09 Joseph Myers <joseph@codesourcery.com>
38581
38582 * math/auto-libm-test-in: Add more tests of clog and clog10.
38583 * math/auto-libm-test-out: Regenerated.
38584 * sysdeps/i386/fpu/libm-test-ulps: Update.
38585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38586
385872015-04-09 Roland McGrath <roland@hack.frob.com>
38588
38589 * Makeconfig (module-cppflags): Exclude all .v.i files.
38590 (skip-module-cppflags): Variable removed.
38591
38592 * configure.ac (libc_config_ok): Initialize before reading
38593 preconfigure scripts, not after.
38594 * configure: Regenerated.
38595
38596 * test-skeleton.c (TIMEOUT): Move #define to top level.
38597 (main): Grok environment variable TEST_DIRECT. If set, print
38598 test expectation details into that file and then behave as if
38599 given --direct.
38600
386012015-04-09 Florian Weimer <fweimer@redhat.com>
38602
38603 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38604 warning on 32-bit.
38605
386062015-04-08 David S. Miller <davem@davemloft.net>
38607
38608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38609
386102015-04-08 Joseph Myers <joseph@codesourcery.com>
38611
38612 * math/auto-libm-test-in: Add more tests of atanh.
38613 * math/auto-libm-test-out: Regenerated.
38614 * sysdeps/i386/fpu/libm-test-ulps: Update.
38615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38616
38617 * math/auto-libm-test-in: Add more tests of atan.
38618 * math/auto-libm-test-out: Regenerated.
38619 * sysdeps/i386/fpu/libm-test-ulps: Update.
38620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38621
386222015-04-08 Florian Weimer <fweimer@redhat.com>
38623
38624 * elf/pldd.c (main): Rewrite to use struct
38625 scratch_buffer instead of extend_alloca.
38626 * elf/pldd-xx.c (find_maps): Likewise.
38627 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38628 <alloca.h>.
38629 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38630 scratch_buffer instead of extend_alloca.
38631 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38632 grp/compat-initgroups.c.
38633 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38634 Rewrite to use struct scratch_buffer instead of extend_alloca.
38635 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38636 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38637
386382015-04-08 Joseph Myers <joseph@codesourcery.com>
38639
38640 * math/auto-libm-test-in: Add more tests of cbrt.
38641 * math/auto-libm-test-out: Regenerated.
38642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38643
38644 * math/auto-libm-test-in: Add more tests of cabs.
38645 * math/auto-libm-test-out: Regenerated.
38646 * sysdeps/i386/fpu/libm-test-ulps: Update.
38647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38648
38649 [BZ #18210]
38650 [BZ #18211]
38651 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38652 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38653 computations.
38654 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38655 clog10.
38656 * math/auto-libm-test-out: Regenerated.
38657 * sysdeps/i386/fpu/libm-test-ulps: Update.
38658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38659
38660 [BZ #18197]
38661 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38662 (atan): Set FE_TONEAREST mode for internal computations.
38663 * math/auto-libm-test-in: Add more tests of atan.
38664 * math/auto-libm-test-out: Regenerated.
38665
386662015-04-07 James Cowgill <james410@cowgill.org.uk>
38667
38668 [BZ #17930]
38669 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38670
386712015-04-07 Florian Weimer <fweimer@redhat.com>
38672
38673 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38674
386752015-04-07 Florian Weimer <fweimer@redhat.com>
38676
38677 * include/scratch_buffer.h: New file.
38678 * malloc/scratch_buffer_grow.c: Likewise.
38679 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38680 * malloc/scratch_buffer_set_array_size.c: Likewise.
38681 * malloc/tst-scratch_buffer.c: Likewise.
38682 * malloc/Makefile (routines): Add scratch_buffer_grow.
38683 (tests): Add test case.
38684 * malloc/Versions (GLIBC_PRIVATE): Export
38685 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38686 __libc_scratch_buffer_set_array_size.
38687
386882015-04-06 Richard Henderson <rth@redhat.com>
38689
38690 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38691 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38692
38693 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38694 unsigned int before printing.
38695
386962015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38697
38698 [BZ #17596]
38699 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38700 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38701
387022015-04-02 Florian Weimer <fweimer@redhat.com>
38703
38704 * include/libc-internal.h (libc_max_align_t): Define.
38705
387062015-04-02 Andreas Schwab <schwab@suse.de>
38707
38708 [BZ #16850]
38709 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38710
387112015-04-02 Mel Gorman <mgorman@suse.de>
38712
38713 [BZ #17195]
38714 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38715 as well as the main arena.
38716
387172015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38718
38719 [BZ #18185]
38720 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38721 sharing L2 cache to 2 for Silvermont/Knights Landing.
38722
387232015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38724
38725 [BZ #17711]
38726 * config.make.in (have-protected-data): New.
38727 * configure.ac: Check linker support for protected data symbol.
38728 * configure: Regenerated.
38729 * elf/Makefile (modules-names): Add tst-protected1moda and
38730 tst-protected1modb if $(have-protected-data) is yes.
38731 (tests): Add tst-protected1a and tst-protected1b if
38732 $(have-protected-data) is yes.
38733 ($(objpfx)tst-protected1a): New.
38734 ($(objpfx)tst-protected1b): Likewise.
38735 (tst-protected1modb.so-no-z-defs): Likewise.
38736 * elf/tst-protected1a.c: New file.
38737 * elf/tst-protected1b.c: Likewise.
38738 * elf/tst-protected1mod.h: Likewise.
38739 * elf/tst-protected1moda.c: Likewise.
38740 * elf/tst-protected1modb.c: Likewise.
38741
387422015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38743
38744 [BZ #17711]
38745 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38746 indicates it is called from do_lookup_x on relocation against
38747 protected data, skip the data definion in the executable from
38748 copy reloc.
38749 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38750 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38751 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38752 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38753 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38754 otherwise to 0.
38755 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38756 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38757 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38758 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38759 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38760 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38761
387622015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38763
38764 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38765 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38766
387672015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38768
38769 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38770 THREAD_SETMEM_NC.
38771 * sysdeps/x86_64/nptl/tls.h: Ditto.
38772
387732015-03-27 Roland McGrath <roland@hack.frob.com>
38774
38775 * dlfcn/tststatic.c (main): Converted to ...
38776 (do_test): ... this.
38777 (TEST_FUNCTION): New macro.
38778 Include test-skeleton.c.
38779
387802015-03-26 Alan Modra <amodra@gmail.com>
38781
38782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38783 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38784 zero for undefined weak.
38785 (elf_machine_plt_conflict): Similarly.
38786
387872015-03-25 Joseph Myers <joseph@codesourcery.com>
38788
38789 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38790 atanh.
38791 * math/auto-libm-test-out: Regenerated.
38792 * sysdeps/i386/fpu/libm-test-ulps: Update.
38793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38794
38795 * math/auto-libm-test-in: Add another test of asin.
38796 * math/auto-libm-test-out: Regenerated.
38797 * sysdeps/i386/fpu/libm-test-ulps: Update.
38798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38799
38800 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38801 Remove macro.
38802 (LLL_EBX_REG): Likewise.
38803 (LLL_ENTER_KERNEL): Likewise.
38804
38805 * math/auto-libm-test-in: Add more tests of asin.
38806 * math/auto-libm-test-out: Regenerated.
38807 * sysdeps/i386/fpu/libm-test-ulps: Update.
38808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38809
38810 [BZ #18138]
38811 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38812 libc_do_syscall_args): New structure.
38813 (INTERNAL_SYSCALL_MAIN_0): New macro.
38814 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38815 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38816 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38817 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38818 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38819 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38820 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38821 Replace conditional definitions by conditional definitions of ....
38822 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38823 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38824 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38825 (libpthread-sysdep_routines): Add libc-do-syscall.
38826 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38827 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38828 to __NR_futex not 240.
38829
388302015-03-25 Alan Modra <amodra@gmail.com>
38831
38832 * NEWS: Advertise TLS optimization.
38833 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38834 (DT_PPC_NUM): Increment.
38835 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38836 (CHECK_STATIC_TLS): Use here.
38837 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38838 TLS descriptors.
38839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38840 * sysdeps/powerpc/dl-tls.c: New file.
38841 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38842 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38843 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38844 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38848
388492015-03-25 Alan Modra <amodra@gmail.com>
38850
38851 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38852 for overlapping .opd entries" to "support...".
38853 * sysdeps/powerpc/powerpc64/configure: Regenerate
38854
388552015-03-25 Joseph Myers <joseph@codesourcery.com>
38856
38857 * math/auto-libm-test-in: Add more tests of acos.
38858 * math/auto-libm-test-out: Regenerated.
38859 * sysdeps/i386/fpu/libm-test-ulps: Update.
38860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38861
38862 * math/auto-libm-test-in: Add more tests of expm1.
38863 * math/auto-libm-test-out: Regenerated.
38864 * sysdeps/i386/fpu/libm-test-ulps: Update.
38865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38866
388672015-03-24 Joseph Myers <joseph@codesourcery.com>
38868
38869 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38870 * math/auto-libm-test-out: Regenerated.
38871 * sysdeps/i386/fpu/libm-test-ulps: Update.
38872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38873
38874 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38876
38877 * math/auto-libm-test-in: Add more tests of log2.
38878 * math/auto-libm-test-out: Regenerated.
38879 * sysdeps/i386/fpu/libm-test-ulps: Update.
38880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38881
388822015-03-23 Roland McGrath <roland@hack.frob.com>
38883
38884 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38885 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38886 _IO_IS_APPENDING bit in READ_WRITE instead.
38887
388882015-03-23 Florian Weimer <fweimer@redhat.com>
38889
38890 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38891 (__determine_cpumask_size): Replace extend_alloca with a
38892 variable-length array. Do not treat res == 0 as an error.
38893
388942015-03-23 Florian Weimer <fweimer@redhat.com>
38895
38896 [BZ #18100]
38897 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38898 and integer overflow.
38899 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38900 (main): Add integer overflow tests.
38901 * manual/pattern.texi (Calling Wordexp): Document additional use
38902 for WRDE_SYNTAX.
38903
389042015-03-23 Alan Modra <amodra@gmail.com>
38905
38906 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38907 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38908 and false branch of conditional.
38909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38910 Likewise.
38911
389122015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
38913
38914 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38915 libc-modules.h
38916 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38917 unused declaration of _hurd_intr_rpc_msg_in_trap.
38918 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38919 defined instead of whether it is non-zero.
38920 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38921 input constraint instead of both input and output constraint. Use ecx
38922 clobber instead of %ecx.
38923 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38924 mutex_unlock): Use a statement expression instead of an expression list.
38925 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38926 type to vm_size_t instead of vm_address_t.
38927 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38928 defined instead of whether it is non-zero.
38929 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38930 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38931 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38932 comparisons with mapaddr.
38933 * nscd/nscd-client.h: Include <time.h>.
38934 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38935 9th parameter to __vm_region instead of int.
38936 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38937 * scripts/check-local-headers.sh (exclude): Add device/,
38938 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38939 cthreads.h.
38940
389412015-03-19 Roland McGrath <roland@hack.frob.com>
38942
38943 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38944 to account for alignment padding.
38945 * sysdeps/arm/memmove.S: Likewise.
38946
389472015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38948
38949 * sysdeps/unix/sysv/linux/generic/README: New file.
38950
389512015-03-18 Joseph Myers <joseph@codesourcery.com>
38952
38953 [BZ #18138]
38954 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38955 (futex_abstimed_wait)
38956 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38957 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38958 of lll_futex_timed_wait.
38959
389602015-03-18 Brad Hubbard <bhubbard@redhat.com>
38961
38962 [BZ #17542]
38963 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38964
389652015-03-17 Alexandre Oliva <aoliva@redhat.com>
38966
38967 [BZ #17090]
38968 [BZ #17620]
38969 [BZ #17621]
38970 [BZ #17628]
38971 * NEWS: Update.
38972 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38973 entries with Static TLS too. Skip entries past the end of the
38974 allocated DTV, from Alan Modra.
38975 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38976 Static TLS DTV entry set up from...
38977 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38978 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38979 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38980 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38981 for Static TLS.
38982 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38983 that the slot we find is associated with the given map before
38984 using its generation count.
38985 * nptl_db/db_info.c: Include ldsodefs.h.
38986 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38987 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38988 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38989 (link_map::l_tls_offset): New struct field.
38990 (dtv_t::counter): Likewise.
38991 (rtld_global): New struct.
38992 (_rtld_global): New rtld variable.
38993 (dl_tls_dtv_slotinfo_list): New rtld global field.
38994 (dtv_slotinfo_list): New struct.
38995 (dtv_slotinfo): Likewise.
38996 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38997 (td_lookup): Rename to...
38998 (td_mod_lookup): ... this. Use new mod parameter instead of
38999 LIBPTHREAD_SO.
39000 * nptl_db/td_thr_tlsbase.c: Include link.h.
39001 (dtv_slotinfo_list, dtv_slotinfo): New functions.
39002 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
39003 addresses even if the DTV is out of date or missing them.
39004 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
39005 index zero-length arrays.
39006 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
39007 (td_lookup): Make it a macro implemented in terms of...
39008 (td_mod_lookup): ... this declaration.
39009 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
39010 (DB_MAIN_VARIABLE): Likewise.
39011
390122015-03-16 H.J. Lu <hongjiu.lu@intel.com>
39013
39014 [BZ #18134]
39015 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
39016
390172015-03-15 Paul Eggert <eggert@cs.ucla.edu>
39018
39019 * stdlib/setenv.c (__add_to_environ): Revert previous change.
39020
390212015-03-14 Andreas Schwab <schwab@linux-m68k.org>
39022
39023 [BZ #18128]
39024 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
39025 (atomic_add, atomic_increment_and_test)
39026 (atomic_decrement_and_test): Fix 64-bit arithmetic.
39027
390282015-03-13 Paul Eggert <eggert@cs.ucla.edu>
39029
39030 * stdlib/setenv.c (__add_to_environ):
39031 Dump core quickly if setenv (..., NULL, ...) is called.
39032
390332015-03-13 Roland McGrath <roland@hack.frob.com>
39034
39035 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
39036 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
39037 all the necessary asm magic in one place.
39038 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
39039 using those.
39040
390412015-03-13 Carlos O'Donell <carlos@redhat.com>
39042
39043 [BZ #14906]
39044 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
39045 traced file mtime. Use consistent log message.
39046 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
39047 (register_traced_file): Call install_watches. Always set mtime.
39048 (invalidate_cache): Iterate over all trace files. Call install_watches.
39049 (inotify_check_files): Don't inline. Handle watching parent
39050 directories and configuration file movement in and out.
39051 (handle_inotify_events): New function.
39052 (main_loop_poll): Call handle_inotify_events.
39053 (main_loop_epoll): Likewise.
39054 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
39055 (struct traced_file): Use array of inotify fds. Add parent directory,
39056 and basename.
39057 (struct database_dyn): Remove unused file_mtime.
39058 (init_traced_file): New inline function.
39059 (define_traced_file): New macro.
39060 * nss/nss_db/db-init.c: Use define_traced_file.
39061 (_nss_db_init): Use init_traced_file.
39062 * nss/nss_files/files-init.c: Use define_traced_file.
39063 (_nss_files_init): Use init_traced_file.
39064
390652015-03-12 Joseph Myers <joseph@codesourcery.com>
39066
39067 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
39068 [_LIBC]: Do not include <stdlib.h>.
39069 [!_LIBC] (abort): Remove declaration.
39070 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
39071 _FP_STATIC_ASSERT instead of conditionally calling abort.
39072 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
39073 (_FP_EXTEND_CNAN): Likewise.
39074 (FP_TRUNC): Likewise.
39075 (__FP_CLZ): Likewise.
39076 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
39077
390782015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
39079
39080 * manual/string.texi (XPG basename): Fix prototype.
39081
390822015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39083
39084 [BZ #18080]
39085 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
39086 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39087 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
39088 (__setcontext): Likewise.
39089 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
39090 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39091 Call rt_sigprocmask syscall one time to set new signal mask
39092 and retrieve the current signal mask instead of two calls.
39093 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
39094 (__swapcontext): Likewise.
39095 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
39096 * stdlib/tst-setcontext2.c: New file.
39097
390982015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39099
39100 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39101
391022015-03-11 Aurelien Jarno <aurelien@aurel32.net>
39103
39104 [BZ #18093]
39105 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
39106 the wrong size.
39107
391082015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
39109
39110 [BZ #18043]
39111 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
39112
391132015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39114
39115 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
39116 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
39117 Remove define.
39118 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
39119 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
39120 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
39121 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
39122 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
39123 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
39124 define.
39125 * nptl_db/td_symbol_list.c (td_lookup): Remove
39126 HAVE_ASM_GLOBAL_DOT_NAME code.
39127 * sysdeps/powerpc/powerpc64/configure.ac: Remove
39128 HAVE_ASM_GLOBAL_DOT_NAME check.
39129 * sysdeps/powerpc/powerpc64/configure: Regenerate.
39130 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
39131 (DOT_LABEL): Remove define.
39132 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
39133 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
39134 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
39135 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
39136 (__TLS_GET_ADDR): Likewise.
39137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
39138 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
39139
391402015-03-11 Carlos O'Donell <carlos@redhat.com>
39141
39142 [BZ #18111]
39143 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
39144 (_FPU_SETCW): Initialize cw from fpsr before storing.
39145 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
39146 (fesetexceptflag): Rewrite using fpu_control.h.
39147 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
39148
391492015-03-11 John David Anglin <danglin@gcc.gnu.org>
39150
39151 [BZ #18110]
39152 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
39153 asms.
39154 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39155
391562015-03-11 Joseph Myers <joseph@codesourcery.com>
39157
39158 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
39159 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
39160 abort.
39161 (_FP_FMA): Likewise.
39162 (_FP_DIV): Likewise.
39163
391642015-03-10 Roland McGrath <roland@hack.frob.com>
39165
39166 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
39167 with 0 in that case.
39168 * Makefile (summarize-tests): New canned sequence, factored out of
39169 commands for targets tests and xtests. Display summary lines that
39170 don't start with PASS: or XFAIL: rather than ones that do start with
39171 ERROR: or FAIL:. Make the commands fail if any summary lines fail
39172 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
39173 do start with ERROR: or FAIL:.
39174 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
39175 (except for [$(build-shared) = yes]).
39176 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
39177 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
39178 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
39179 * nptl/Makefile: Revert 2015-03-04 changes.
39180 [$(CXX) empty] (tests-unsupported): New variable.
39181 * debug/Makefile: Likewise.
39182
39183 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39184 gnulib file. Replace __attribute with __attribute__ throughout.
39185
391862015-03-10 Carlos O'Donell <carlos@redhat.com>
39187
39188 * sysdeps/hppa/fpu/libm-test-ulps: Update.
39189
391902015-03-10 Joseph Myers <joseph@codesourcery.com>
39191
39192 [BZ #18104]
39193 * math/auto-libm-test-in: Add another test of pow.
39194 * math/auto-libm-test-out: Regenerated.
39195
391962015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39197
39198 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39199 $(config-cflags-nofma).
39200
392012015-03-10 Joseph Myers <joseph@codesourcery.com>
39202
39203 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39204 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39205 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39206 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39207 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39208 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39209 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39210 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39211 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39212 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39213 Add comment on closing #endif.
39214
392152015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39216
39217 * posix/wordexp.c (CHAR_IN_SET): New macro.
39218 (parse_param): Use it.
39219
392202015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39221
39222 * sysdeps/powerpc/fpu/libm-test-ulps: update.
39223
392242015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39225
39226 [BZ #18043]
39227 * posix/wordexp.c (parse_param): Fix buffer overflow.
39228 * posix/wordexp-test.c (test_case): Add test case.
39229
392302015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39231
39232 [BZ #18042]
39233 * posix/wordexp.c (parse_backtick): Fix off-by-one.
39234 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39235
392362015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39237
39238 [BZ #18043]
39239 * posix/wordexp-test.c (test_case): Add test for BZ #18043
39240 (do_bz18043): Delete.
39241 (at_page_end): New.
39242 (testit): Refactor to have words at the edge of unreadable page.
39243
392442015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39245
39246 [BZ #16734]
39247 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39248 Cleanup read-only streams as well.
39249 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39250
392512015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39252
39253 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39254 <bits/libc-lockP.h>
39255
392562015-03-07 Joseph Myers <joseph@codesourcery.com>
39257
39258 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
39259 on [__KERNEL__].
39260 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39261 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39262 * soft-fp/op-common.h (_FP_DECL): Likewise.
39263
392642015-03-06 H.J. Lu <hongjiu.lu@intel.com>
39265
39266 * elf/ifuncdep2.c (global): Replace
39267 __attribute__((visibility("protected"))) with
39268 asm (".protected global").
39269 * elf/ifuncmod1.c (global): Likewise.
39270 * elf/ifuncmod5.c (global): Likewise.
39271
392722015-03-06 Joseph Myers <joseph@codesourcery.com>
39273
39274 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39275 <asm/sfp-machine.h> instead of <sfp-machine.h>.
39276
392772015-03-06 Roland McGrath <roland@hack.frob.com>
39278
39279 * manual/install.texi (Configuring and compiling):
39280 Document test-wrapper-env-only.
39281 * INSTALL: Regenerated.
39282
392832015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39284
39285 [BZ #18043]
39286 * posix/wordexp.c (parse_param): Fix buffer overflow.
39287 * posix/wordexp-test.c (do_bz18043): Add test case.
39288
392892015-03-06 Vincent Bernat <vincent@bernat.im>
39290
39291 * time/tst-strptime2.c (do_test): Ensure failing tests are
39292 reported correctly.
39293 * time/tst-strptime3.c (do_test): Likewise.
39294
392952015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
39296
39297 Fix aio_error thread-safety.
39298 * sysdeps/pthread/aio_error.c: New file
39299 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39300 synchronization.
39301
393022015-03-06 Florian Weimer <fweimer@redhat.com>
39303
39304 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39305 (group_number, vfprintf): Use it.
39306 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39307 (JUMP, REF): Use it.
39308 (WORK_BUFFER_SIZE): New enum constant.
39309 (process_arg, vfprintf): Use it.
39310
393112015-03-06 Rical Jasan <ricaljasan@pacific.net>
39312
39313 * manual/errno.texi (Error Messages): Complete example function
39314 by adding missing #define.
39315 (program_invocation_name): Add statement indicating GNU
39316 extension and reference which header file declares the variable.
39317 (program_invocation_short_name): Likewise.
39318
393192015-03-06 Mike Frysinger <vapier@gentoo.org>
39320
39321 * manual/errno.texi (Error Messages): Delete strerror ISO C89
39322 compatibility note.
39323
393242015-03-05 Roland McGrath <roland@hack.frob.com>
39325
39326 * Makeconfig (test-wrapper-env-only): New variable.
39327 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39328 then use that with $(test-wrapper-env-only) rather than using
39329 $(test-wrapper-env) $(run-program-env) $($*-ENV).
39330
393312015-03-05 H.J. Lu <hongjiu.lu@intel.com>
39332
39333 [BZ #18082]
39334 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39335 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39336 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39337 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39338 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39339 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39340 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39341 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39342 Likewise.
39343 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39344 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39345 Likewise.
39346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39347 Likewise.
39348 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39349 Likewise.
39350 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39351 Likewise.
39352 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39354 Likewise.
39355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39356 Likewise.
39357 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39358 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39359
393602015-03-04 Roland McGrath <roland@hack.frob.com>
39361
39362 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39363 (ETH_ALEN): New macro.
39364 (struct ether_addr): Use it for length of ether_addr_octet.
39365
39366 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39367 (setdb): Don't call __nss_configure_lookup for "rpc".
39368 (do_test): Don't call test_rpc.
39369 (output_rpcent, test_rpc): Functions moved ...
39370 * sunrpc/test-rpcent.c: ... to this new file.
39371 * sunrpc/Makefile (tests): Add it.
39372
39373 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39374 __xpg_sigpause.
39375 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39376 * nptl/tst-signal6.c: Likewise.
39377 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39378 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39379
39380 * configure.ac (libc_cv_cxx_link_ok): New check.
39381 Reset CXX to empty if it fails to link.
39382 * configure: Regenerated.
39383 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39384 bug-atexit3-lib only if $(CXX) is nonempty.
39385 * nptl/Makefile (tests): Likewise for tst-cancel24.
39386 (tests, tests-static): Likewise for tst-cancel24-static.
39387 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39388 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39389 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39390 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39391
393922015-03-04 Andreas Schwab <schwab@suse.de>
39393
39394 [BZ #17631]
39395 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39396 for non-GCC compilers.
39397 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39398 Likewise.
39399
394002015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39401
39402 [BZ #17776]
39403 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39404 integer before bitwise and assembly operations.
39405 (feclearexcept): Likewise.
39406 * math/test-fenvinline.c: New file.
39407 * math/Makefile: Add test-fenvinline test.
39408
394092015-03-03 Alan Modra <amodra@gmail.com>
39410
39411 [BZ #16512]
39412 * scripts/localplt.awk: Strip off symbol version.
39413 * NEWS: Mention bug fix.
39414
394152015-03-02 Roland McGrath <roland@hack.frob.com>
39416
39417 * sysdeps/pthread/timer_routines.c
39418 (timer_free_list, thread_free_list, thread_active_list): Make static.
39419
394202015-03-02 Joseph Myers <joseph@codesourcery.com>
39421
39422 [BZ #17779]
39423 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39424 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39425 Undefine.
39426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39427 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39428 Likewise.
39429 * sysdeps/unix/sysv/linux/sh/kernel-features.h
39430 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39431 Likewise.
39432
394332015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39434
39435 [BZ #18036]
39436 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39437 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39438
394392015-03-02 Andreas Schwab <schwab@suse.de>
39440
39441 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39442 variable name.
39443
394442015-03-02 Florian Weimer <fweimer@redhat.com>
39445
39446 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39447 Return error status.
39448
394492015-02-27 Alexandre Oliva <aoliva@redhat.com>
39450
39451 [BZ #15969]
39452 * locale/findlocale.c (_nl_find_locale): Introduce const
39453 version of loc_name and drop unsafe type casts.
39454
394552015-02-27 Roland McGrath <roland@hack.frob.com>
39456
39457 * dlfcn/tststatic2.c (main): Converted to ...
39458 (do_test): ... this.
39459 (TEST_FUNCTION): New macro.
39460 Include test-skeleton.c.
39461
394622015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39463
39464 [BZ #17711]
39465 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39466 (tests-pie): Add vismain.
39467 (CFLAGS-vismain.c): New.
39468 * elf/vismain.c: Add comments for PIE requirement.
39469
394702015-02-27 Joseph Myers <joseph@codesourcery.com>
39471
39472 [BZ #18046]
39473 [BZ #18047]
39474 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39475 0x1p-56L as threshold for just returning the argument.
39476 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39477 0x1p-32L as threshold for just returning the argument.
39478 * math/auto-libm-test-in: Add more tests of atanh.
39479 * math/auto-libm-test-out: Regenerated.
39480 * sysdeps/i386/fpu/libm-test-ulps: Update.
39481 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39482
394832015-02-27 Wilco Dijkstra <wdijkstr@arm.com>
39484
39485 * string/bcopy.c (bcopy): Call memmove for performance.
39486
394872015-02-27 Wilco Dijkstra <wdijkstr@arm.com>
39488
39489 * string/bzero.c (__bzero): Call memset for performance.
39490
394912015-02-27 John David Anglin <dave.anglin@bell.net>
39492
39493 [BZ #18068]
39494 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39495 to 00100000.
39496
394972015-02-27 Joseph Myers <joseph@codesourcery.com>
39498
39499 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39500
395012015-02-26 Joseph Myers <joseph@codesourcery.com>
39502
39503 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39504 (__kernel_standard): Use CSTR macro when setting exc.name.
39505 * sysdeps/ieee754/Makefile [$(subdir) = math]
39506 (CFLAGS-k_standard.c): Remove variable.
39507
39508 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39509 setting p and q from "else if" to "else".
39510 (qzero): Likewise.
39511 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39512 (qone): Likewise.
39513 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39514 (qzerof): Likewise.
39515 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39516 (qonef): Likewise.
39517 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39518 (qzero): Likewise.
39519 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39520 (qone): Likewise.
39521
39522 [BZ #18038]
39523 [BZ #18039]
39524 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39525 return pi/2 for arguments below 0x1p-113L.
39526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39527 return pi/2 for arguments below 0x1p-106L.
39528 * math/auto-libm-test-in: Add more tests of acos.
39529 * math/auto-libm-test-out: Regenerated.
39530
39531 [BZ #16351]
39532 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39533 (MO): New macro.
39534 (__ieee754_asin): Force underflow exception for results with small
39535 absolute value.
39536 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39537 (MO): New macro.
39538 (__ieee754_asinf): Force underflow exception for results with
39539 small absolute value.
39540 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39541 (__ieee754_asin): Force underflow exception for results with small
39542 absolute value.
39543 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39544 (__ieee754_asinf): Force underflow exception for results with
39545 small absolute value.
39546 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39547 (__ieee754_asinl): Force underflow exception for results with
39548 small absolute value.
39549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39550 (__ieee754_asinl): Force underflow exception for results with
39551 small absolute value.
39552 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39553 (__ieee754_asinl): Force underflow exception for results with
39554 small absolute value.
39555 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39556 Include <math.h>.
39557 * math/auto-libm-test-in: Do not mark underflow exceptions as
39558 possibly missing for bug 16351.
39559 * math/auto-libm-test-out: Regenerated.
39560
39561 [BZ #18030]
39562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39563 of power of 2 down when low part has opposite sign.
39564 * math/libm-test.inc (logb_test_data): Add more tests.
39565
395662015-02-26 Andreas Schwab <schwab@suse.de>
39567
39568 [BZ #18032]
39569 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39570 over collating symbol inside a bracket expression. Minor cleanup.
39571 * posix/tst-fnmatch3.c (do_test): Add test case.
39572
395732015-02-26 Joseph Myers <joseph@codesourcery.com>
39574
39575 [BZ #18029]
39576 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39577 Adjust exponent of power of 2 down when low part has opposite
39578 sign.
39579 * math/libm-test.inc (ilogb_test_data): Add more tests.
39580
395812015-02-26 Alexandre Oliva <aoliva@redhat.com>
39582
39583 [BZ #15969]
39584 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39585 the previous change.
39586
39587 [BZ #15969]
39588 * locale/findlocale.c (_nl_find_locale): Retry archive search
39589 after alias expansion.
39590
395912015-02-25 Roland McGrath <roland@hack.frob.com>
39592
39593 * iconv/tst-iconv3.c (main): Converted to ...
39594 (do_test): ... this.
39595 (TEST_FUNCTION): New macro.
39596 Include test-skeleton.c.
39597
39598 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39599 (convert): Make function static.
39600 (test_unalign): Likewise. Add const to argument pointee types.
39601 (main): Replace with static function do_test.
39602 Print "Succeeded." only if RET is zero.
39603 (TEST_FUNCTION): New macro.
39604 Include test-skeleton.c.
39605
39606 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39607 returns a null pointer.
39608
396092015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39610
39611 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39612 to __memcpy_ppc only for static builds.
39613
396142015-02-25 Joseph Myers <joseph@codesourcery.com>
39615
39616 [BZ #18020]
39617 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39618 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39619 * math/auto-libm-test-in: Add more tests of asinh.
39620 * math/auto-libm-test-out: Regenerated.
39621 * sysdeps/i386/fpu/libm-test-ulps: Update.
39622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39623
396242015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39625
39626 [BZ #15850]
39627 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39628 and ip6_mtuinfo definitions here.
39629 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39630 in this define too. Update comment.
39631
396322015-02-24 Benno Schulenberg <bensberg@justemail.net>
39633
39634 * elf/sprof.c (load_shobj): Tweak error message to match others.
39635
396362015-02-24 Kevin Easton <kevin@guarana.org>
39637
39638 [BZ #16145] (partial fix)
39639 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39640 to reduce lock contention.
39641
396422015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39643
39644 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39645 (struct timex): Update time comment.
39646 (ADJ_SETOFFSET): Define.
39647
396482015-02-24 Joseph Myers <joseph@codesourcery.com>
39649
39650 [BZ #18019]
39651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39652 2**56 not 2**28 as threshold for log (2x) formula.
39653 * math/auto-libm-test-in: Add more tests of acosh.
39654 * math/auto-libm-test-out: Regenerated.
39655 * sysdeps/i386/fpu/libm-test-ulps: Update.
39656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39657
396582015-02-24 Mike Frysinger <vapier@gentoo.org>
39659
39660 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39661 parenthesis around the buf assignment.
39662 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39663
396642015-02-24 Joseph Myers <joseph@codesourcery.com>
39665
39666 [BZ #16783]
39667 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39668 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39669 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39670 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39671 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39672 * math/libm-test.inc (scalb_test_data): Add more tests.
39673
396742015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39675
39676 [BZ #17916]
39677 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39678 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39679
396802015-02-24 Eric Rannaud <e@nanocritical.com>
39681
39682 [BZ #17523]
39683 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39684 * io/bits/fcntl2.h (open): Use it.
39685 (openat): Likewise.
39686 * io/open.c (__libc_open): Likewise.
39687 * io/open64.c (__libc_open64): Likewise.
39688 * io/open64_2.c (__open64_2): Likewise.
39689 * io/open_2.c (__open_2): Likewise.
39690 * io/openat.c (__openat): Likewise.
39691 * io/openat64.c (__openat64): Likewise.
39692 * io/openat64_2.c (__openat64_2): Likewise.
39693 * io/openat_2.c (__openat_2): Likewise.
39694 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39695 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39696 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39697 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39698 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39699 (__open_nocancel): Likewise.
39700 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39701 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39702 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39703
397042015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39705
39706 [BZ #14841]
39707 * resolv/gethnamaddr.c (getanswer): Skip logging if
39708 RES_USE_DNSSEC is set.
39709 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39710
397112015-02-24 Mike Frysinger <vapier@gentoo.org>
39712
39713 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39714
397152015-02-23 Alexandre Oliva <aoliva@redhat.com>
39716
39717 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39718 201304L, for Unicode 7.
39719
397202015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39721
39722 [BZ #17836]
39723 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39724 shared library. Add gmon-start.os otherwise.
39725 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39726 $(objpfx)gmon-start.os if builing shared library.
39727 ($(objpfx)g$(static-start-installed-name)): Likewise.
39728
397292015-02-23 Andreas Schwab <schwab@suse.de>
39730
39731 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39732
397332015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39734
39735 [BZ #17269]
39736 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39737 (enlarge_userbuf): Likewise.
39738
397392015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39740
39741 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39742 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39743 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39744 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39745
397462015-02-20 Joseph Myers <joseph@codesourcery.com>
39747
39748 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39749 expression inside statement expression.
39750
397512015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39752
39753 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39754 <sysdeps/nptl/lowlevellock.h> and remove macros and
39755 functions that are now defined there.
39756 (SYS_futex): Remove.
39757 (lll_compare_and_swap): Remove.
39758 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39759
397602015-02-19 Joseph Myers <joseph@codesourcery.com>
39761
39762 [BZ #17999]
39763 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39764 instead of scandirat.
39765 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39766 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39767 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39768 __scandirat.
39769 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39770 (__scandirat): Declare. Use libc_hidden_proto.
39771 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39772 Remove variable.
39773 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39774
397752015-02-18 Joseph Myers <joseph@codesourcery.com>
39776
39777 [BZ #15319]
39778 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39779 (MO): New macro.
39780 (__ieee754_atan2): For results with small absolute value, force
39781 underflow exception and remove excess range and precision from
39782 return value.
39783 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39784 (MO): New macro.
39785 (__ieee754_atan2f): For results with small absolute value, force
39786 underflow exception and remove excess range and precision from
39787 return value.
39788 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39789 (MO): New macro.
39790 (__atan): For results with small absolute value, force underflow
39791 exception and remove excess range and precision from return value.
39792 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39793 (MO): New macro.
39794 (__atanf): For results with small absolute value, force underflow
39795 exception and remove excess range and precision from return value.
39796 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39797 <math.h>.
39798 (__ieee754_atan2): Force underflow exception for results with
39799 small absolute value.
39800 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39801 <math_private.h>.
39802 (atan): Force underflow exception for results with small absolute
39803 value.
39804 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39805 (__atanf): Force underflow exception for results with small
39806 absolute value.
39807 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39808 <math.h>.
39809 (__atanl): Force underflow exception for results with small
39810 absolute value.
39811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39812 (__atanl): Force underflow exception for results with small
39813 absolute value.
39814 * sysdeps/x86/fpu/bits/mathinline.h
39815 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39816 (__ieee754_atan2): Only define inline for long double.
39817 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39818 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39819 * math/auto-libm-test-in: Do not mark underflow exceptions as
39820 possibly missing for bug 15319. Add more tests of atan2.
39821 * math/auto-libm-test-out: Regenerated.
39822 * math/libm-test.inc (casin_test_data): Do not mark underflow
39823 exceptions as possibly missing for bug 15319.
39824 (casinh_test_data): Likewise.
39825 * sysdeps/i386/fpu/libm-test-ulps: Update.
39826
398272015-02-18 Steve Ellcey <sellcey@imgtec.com>
39828
39829 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39830 * sysdeps/mips/bits/endian.h: Fix comments.
39831
398322015-02-18 Joseph Myers <joseph@codesourcery.com>
39833
39834 [BZ #17996]
39835 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39836 (hdestroy_r): Likewise.
39837 (hsearch_r): Likewise.
39838 (__hcreate_r): Declare and use libc_hidden_proto.
39839 (__hdestroy_r): Likewise.
39840 (__hsearch_r): Likewise.
39841 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39842 (hcreate): Call __hcreate_r instead of hcreate_r.
39843 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39844 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39845 as weak alias of __hcreate_r.
39846 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39847 __hdestroy_r.
39848 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39849 __hsearch_r.
39850 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39851 Remove variable.
39852 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39853 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39854 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39855 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39856
398572015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39858
39859 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39860 arena_lock into a single arena_get.
39861
398622015-02-17 Carlos O'Donell <carlos@redhat.com>
39863
39864 * dl-reloc.c: Inlucde libc-internal.h.
39865 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39866 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39867 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39868 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39869 (grow_heap): Likewise.
39870 * malloc/malloc.c: Include libc-internal.h.
39871 (do_check_malloc): Call powerof2.
39872 (sysmalloc): Use pagesize. Call ALIGN_UP.
39873 (systrim): Use pagesize.
39874 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39875 (__libc_valloc): Use pagesize.
39876 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39877
398782015-02-17 Joseph Myers <joseph@codesourcery.com>
39879
39880 [BZ #17991]
39881 * include/sys/resource.h (__getrlimit64): Declare. Use
39882 libc_hidden_proto.
39883 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39884 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39885 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39886 getrlimit64.
39887 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39888 __getrlimit64.
39889 [!getrlimit64] (getrlimit64): Define as weak alias of
39890 __getrlimit64. Use libc_hidden_weak.
39891 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39892 using __getrlimit64 not __new_getrlimit64.
39893 (__GI_getrlimit64): Likewise.
39894 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39895 Likewise.
39896 (__GI_getrlimit64): Likewise.
39897 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39899 (getrlimit): Add __getrlimit64 alias.
39900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39901 Likewise.
39902 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39903 Remove variable.
39904 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39905 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39906
399072015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39908
39909 * libio/fileops.c: Add missing sys/mman.h
39910 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39911
399122015-02-17 Joseph Myers <joseph@codesourcery.com>
39913
39914 * manual/math.texi (Errors in Math Functions): Clarify goals
39915 regarding inexact and underflow exceptions.
39916
399172015-02-17 Steve Ellcey <sellcey@imgtec.com>
39918
39919 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39920 * sysdeps/mips/memset.S: Ditto.
39921
399222015-02-17 Steve Ellcey <sellcey@imgtec.com>
39923
39924 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39925
399262015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39927
39928 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39929 (__v1longjmp): Remove versioned symbol.
39930 (__v1siglongjmp): Remove alias and versioned symbol.
39931 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39932 (__v2siglongjmp): Likewise.
39933
399342015-02-16 Torvald Riegel <triegel@redhat.com>
39935
39936 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39937
399382015-02-16 Mike Frysinger <vapier@gentoo.org>
39939
39940 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39941
399422015-02-16 Joseph Myers <joseph@codesourcery.com>
39943
39944 [BZ #17987]
39945 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39946 zero result does not depend on the sign resulting from
39947 subtraction.
39948 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39949 Likewise.
39950 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39951 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39952 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39953 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39954 * math/libm-test.inc (remquo_test_data): Add more tests.
39955
399562015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39957
39958 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39959 Problem reported by J William Piggott.
39960
399612015-02-16 Joseph Myers <joseph@codesourcery.com>
39962
39963 [BZ #17978]
39964 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39965 products 4 * y and 2 * y where those would overflow.
39966 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39967 Likewise.
39968 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39969 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39970 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39971 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39972 * math/libm-test.inc (remquo_test_data): Add more tests.
39973
39974 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39975
39976 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39977 [defined _COMPILING_NEWLIB].
39978 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39979 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39980
39981 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39982 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39983
399842015-02-16 Torvald Riegel <triegel@redhat.com>
39985
39986 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39987 acquired.
39988
399892015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39990
39991 [BZ #17792]
39992 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39993 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39994 HOST_STACK_END_ADDR): Likewise.
39995
399962015-02-13 Steve Ellcey <sellcey@imgtec.com>
39997
39998 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39999 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
40000 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
40001
400022015-02-13 Roland McGrath <roland@hack.frob.com>
40003
40004 * sysdeps/generic/c++-types.data: New file.
40005 * sysdeps/generic/ld.abilist: New file.
40006 * sysdeps/generic/libBrokenLocale.abilist: New file.
40007 * sysdeps/generic/libanl.abilist: New file.
40008 * sysdeps/generic/libc.abilist: New file.
40009 * sysdeps/generic/libcrypt.abilist: New file.
40010 * sysdeps/generic/libdl.abilist: New file.
40011 * sysdeps/generic/libm.abilist: New file.
40012 * sysdeps/generic/libpthread.abilist: New file.
40013 * sysdeps/generic/libresolv.abilist: New file.
40014 * sysdeps/generic/librt.abilist: New file.
40015
400162015-02-13 Joseph Myers <joseph@codesourcery.com>
40017
40018 [BZ #17569]
40019 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
40020 Compute absolute value of x as modified by fmod, not original
40021 value of x.
40022 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
40023 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
40024 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
40025 RUN_TEST_ffI_f1_mod8.
40026 (remquo_test_data): Add more tests.
40027
400282015-02-13 Roland McGrath <roland@hack.frob.com>
40029
40030 * sysdeps/init_array/pt-crti.S: New file.
40031
400322015-02-13 Joseph Myers <joseph@codesourcery.com>
40033
40034 [BZ #17967]
40035 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
40036 __builtin_fmaf instead of relying on contraction of a * b + c.
40037
400382015-02-12 J William Piggott <elseifthen@gmx.com>
40039
40040 [BZ #17969]
40041 * manual/time.texi: correct the zoneinfo path in the TZ Variable
40042 node.
40043
400442015-02-12 Joseph Myers <joseph@codesourcery.com>
40045
40046 [BZ #17964]
40047 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
40048 __builtin_fma instead of relying on contraction of a * b + c.
40049
400502015-02-12 Roland McGrath <roland@hack.frob.com>
40051
40052 * Makeconfig (ASFLAGS): Add -Werror=undef.
40053 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
40054 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
40055 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
40056
40057 * Makeconfig (after-link): New variable.
40058 (+link-pie, +link-pie-tests): Use it.
40059 (+link-static, +link-static-tests): Likewise.
40060 (+link, +link-tests): Likewise.
40061 * Makerules (build-module, build-module-asneeded): Likewise.
40062 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
40063 Likewise.
40064 * elf/Makefile ($(objpfx)ld.so): Likewise.
40065
400662015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
40067
40068 [BZ #17965]
40069 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
40070 both struct timeval and struct timespec.
40071
400722015-02-12 Joseph Myers <joseph@codesourcery.com>
40073
40074 [BZ #16560]
40075 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40076 and redefine.
40077 (__ieee754_exp2l): Do not multiply small fractional parts by
40078 M_LN2l.
40079 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
40080 small argument.
40081 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40082 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
40083 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
40084 * math/auto-libm-test-in: Add more tests of exp2.
40085 * math/auto-libm-test-out: Regenerated.
40086
400872015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40088
40089 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
40090 unaligned path.
40091
400922015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40093
40094 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
40095 little endian.
40096
400972015-02-12 Andreas Schwab <schwab@suse.de>
40098
40099 [BZ #15790]
40100 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
40101 Filter out elision flags from value returned in kind.
40102 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
40103 * nptl/tst-pthread-mutexattr.c: New file.
40104
401052015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
40106
40107 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
40108 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
40109 into gnu-gnu, and update comment to refer to abi-tags.
40110
401112015-02-11 Joseph Myers <joseph@codesourcery.com>
40112
40113 [BZ #15467]
40114 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
40115 (__sincos): Set errno to EDOM for infinite argument.
40116 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
40117 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
40118 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
40119 (__sincosl): Set errno to EDOM for infinite argument.
40120 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
40121 (__sincosl): Set errno to EDOM for infinite argument.
40122 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
40123 (__sincosl): Set errno to EDOM for infinite argument.
40124 * math/libm-test.inc (sincos_test_data): Test errno setting.
40125
401262015-02-11 Leonhard Holz <leonhard.holz@web.de>
40127
40128 * string/strxfrm_l.c: Remove #define STRCMP.
40129 * string/strcoll_l.c: Remove #define STRLEN.
40130 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
40131 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
40132
401332015-02-10 Joseph Myers <joseph@codesourcery.com>
40134
40135 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
40136 * sysdeps/mips/mips32/sfp-machine.h: ... here.
40137 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
40138 * sysdeps/mips/mips64/Makefile: ... here.
40139 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
40140 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
40141 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
40142 * sysdeps/mips/mips64/sfp-machine.h: ... here.
40143 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
40144 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
40145 * sysdeps/mips/mips64/n64/Implies: Likewise.
40146
401472015-02-10 Roland McGrath <roland@hack.frob.com>
40148
40149 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
40150 <sys/time.h>, <string.h>, and <errno.h>.
40151 (dest_offset, dest_address, value, zero): Remove unused variables.
40152 (ldouble): Remove typedef.
40153 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
40154 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
40155 1). Fix code style.
40156 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
40157 (check): Function removed.
40158 (CHECK): New macro.
40159 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
40160 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
40161 Don't call set_sigaction_FP and remove_sigaction_FP here.
40162 (ldouble_test): Just use 'long double' as macro argument, no need for
40163 the 'ldouble' typedef.
40164 (do_test): Set up SIGFPE handler at start, using plain signal rather
40165 than sigaction. Fix code style.
40166
401672015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
40168
40169 [BZ #17949]
40170 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
40171 jump label.
40172
401732015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40174
40175 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
40176 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40177
40178 * sysdeps/powerpc/configure.ac: Remove file.
40179 * sysdeps/powerpc/configure: Likewise.
40180
40181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40182 [sysdep_routines]: Remove wordcopy-power6 object.
40183 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40184 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40185 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40186 (__memmove_ppc32): Likewise.
40187 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40188 file.
40189 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40190 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40191 Remove preprocessor.
40192
40193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40194 [sysdep_routines]: Remove wide chars objects.
40195 [wcsmbs]: New rule for wide char objects.
40196
40197 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40198 Remove wordcopy-power6 obejct.
40199 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40200 Use local call for wordcopy and memcpy symbols.
40201 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40202 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40203 implementation for loader.
40204 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40205
40206 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40207 Remove wordcopy-power7 object.
40208 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40209 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40210 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40211 (_wordcopy_fwd_dest_aligned): Likewise.
40212 (_wordcopy_bwd_aligned): Likewise.
40213 (_wordcopy_bwd_dest_aligned): Likewise.
40214
40215 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40216 Rewrite to call __memmove_ppc instead of include default
40217 implementation.
40218
40219 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40220 Remove wide chars objects.
40221 [wcsmbs]: New rule for wide char objects.
40222
402232015-02-09 Andreas Schwab <schwab@suse.de>
40224
40225 [BZ #17912]
40226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40227 in terms of __O_DIRECTORY.
40228
402292015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
40230
40231 * time/getdate.c: Include <stdbool.h>.
40232 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40233 call PTR_MANGLE.
40234 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40235 PTR_DEMANGLE.
40236
402372015-02-07 Paul Eggert <eggert@cs.ucla.edu>
40238
40239 Add ersatz _Static_assert on older C hosts
40240 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40241 pre-C11 C platform that is not known to support _Static_assert.
40242
402432015-02-07 Richard Braun <rbraun@sceen.net>
40244
40245 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40246 sigstate.
40247 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40248
402492015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
40250
40251 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40252 priority against unexistent AIO_PRIO_DELTA_MAX.
40253 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40254 instead of int.
40255 * misc/fchflags.c (fchflags): Likewise.
40256 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40257 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40258 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40259 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40260 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40261 Declare macros.
40262 [__USE_MISC] (chflags, fchflags): Declare functions.
40263 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40264 EINVAL when nfds is greater than FD_SETSIZE.
40265 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40266 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40267 45.
40268 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40269 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40270 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40271 MACH_RCV_TIMED_OUT.
40272 * hurd/hurd/signal.h (_hurd_self_sigstate,
40273 _hurd_critical_section_lock, _hurd_critical_section_unlock):
40274 Explicit casts from void *.
40275 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40276 * abi-tags: Rename gnu-gnu os into gnu.
40277
40278 [BZ #4719]
40279 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40280 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40281 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40282 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40283 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40284 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40285
40286 [BZ #17944]
40287 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40288 duplicates ADDR->sun_path with sockaddr LEN limitation.
40289 * sysdeps/mach/hurd/connect.c: Include <string.h>
40290 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40291 * sysdeps/mach/hurd/sendmsg.c: Likewise.
40292 * sysdeps/mach/hurd/sendto.c: Likewise.
40293 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40294 implementing it by hand.
40295
402962015-02-06 Roland McGrath <roland@hack.frob.com>
40297
40298 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40299 Use sfi_breg on ldr.
40300 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40301 Likewise.
40302
40303 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40304 it's defined.
40305 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40306 Test SIGSETXID only if it's defined.
40307
40308 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40309
40310 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40311 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
40312
40313 * nptl/tst-align2.c: Moved ...
40314 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40315 * nptl/Makefile (tests): Remove tst-align2.
40316 * sysdeps/unix/sysv/linux/Makefile
40317 [$(subdir) = nptl] (tests): Add tst-align-clone.
40318 * nptl/tst-getpid1.c: Moved ...
40319 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40320 * nptl/tst-getpid2.c: Moved ...
40321 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40322 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40323 * sysdeps/unix/sysv/linux/Makefile
40324 [$(subdir) = nptl] (tests): ... here.
40325 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40326 * sysdeps/unix/sysv/linux/Makefile
40327 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40328
40329 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40330 Drop trailing \n from perror argument. Use return rather than exit.
40331
40332 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40333 on [SA_SIGINFO].
40334 * nptl/tst-cancel21.c (do_test): Likewise.
40335 * debug/tst-backtrace6.c: Include <signal.h> first thing.
40336 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40337 [!SA_SIGINFO]: Make it a stub test.
40338
40339 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40340 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40341
40342 * posix/tst-getlogin.c: Move to ...
40343 * login/tst-getlogin.c: ... here.
40344 * posix/Makefile (tests): Move tst-getlogin to ...
40345 * login/Makefile (tests): ... here.
40346
40347 * libio/tst-atime.c (do_test): Move local variables SV and E
40348 inside [ST_NOATIME] conditional.
40349
40350 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40351
40352 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40353
40354 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40355 (wait_code): New function replaces macro.
40356 Call nanosleep rather than syscall.
40357
40358 * nptl/pt-system.c: Rewritten. Put everything under
40359 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40360 Use IFUNC to redirect when possible.
40361
40362 * nptl/pt-longjmp.c: Rewritten. Put everything under
40363 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40364 Use IFUNC to redirect when possible.
40365
40366 * nptl/pt-fork.c: Rewritten. Put everything under
40367 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40368 Use IFUNC to redirect when possible.
40369 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40370
40371 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40372 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40373 unconditionally nowadays. This included the only reference to
40374 __vdso_clock_gettime that appears outside libc proper.
40375 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40376 Remove version set (containing only __vdso_clock_gettime).
40377 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40378 Add attribute_hidden.
40379 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40380 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40381 libc_hidden_data_def.
40382 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40384
40385 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40386 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40387 setrpcent, and getrpcport to ...
40388 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40389 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40390 getrpcbynumber_r, and getrpcent_r to ...
40391 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40392 * inet/getrpcbyname.c: Moved ...
40393 * sunrpc/getrpcbyname.c: ... here.
40394 * inet/getrpcbyname_r.c: Moved ...
40395 * sunrpc/getrpcbyname_r.c: ... here.
40396 * inet/getrpcbynumber.c: Moved ...
40397 * sunrpc/getrpcbynumber.c: ... here.
40398 * inet/getrpcbynumber_r.c: Moved ...
40399 * sunrpc/getrpcbynumber_r.c: ... here.
40400 * inet/getrpcent.c: Moved ...
40401 * sunrpc/getrpcent.c: ... here.
40402 * inet/getrpcent_r.c: Moved ...
40403 * sunrpc/getrpcent_r.c: ... here.
40404 * inet/Makefile (routines): Move those to ...
40405 * sunrpc/Makefile (routines): ... here.
40406 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40407 the $(subdirs) list.
40408 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
40409 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40410 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40411 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40412
40413 * elf/Makefile (routines): Include $(all-dl-routines), not just
40414 $(dl-routines).
40415 (rtld-routines): Likewise. Use = rather than :=.
40416 * sysdeps/aarch64/Makefile [$(subdir) = elf]
40417 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40418 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40419 * sysdeps/arm/Makefile: Likewise.
40420 * sysdeps/i386/Makefile: Likewise.
40421 * sysdeps/x86_64/Makefile: Likewise.
40422 * sysdeps/hppa/Makefile [$(subdir) = elf]
40423 (sysdep_routines, sysdep-rtld-routines): Don't add
40424 $(sysdep-dl-routines) to these.
40425 * sysdeps/ia64/Makefile: Likewise.
40426 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40427 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40428 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40429 Don't add dl-static to these; sysdep-dl-routines alone is enough.
40430 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40431 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40432 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40433 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40434 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40435 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40436 these; sysdep-dl-routines alone is enough.
40437
404382015-02-06 Joseph Myers <joseph@codesourcery.com>
40439
40440 [BZ #17932]
40441 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40442 where multiplication results in zero and third argument is finite
40443 and nonzero.
40444 * math/auto-libm-test-in: Add more tests of fma.
40445 * math/auto-libm-test-out: Regenerated.
40446
40447 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40448 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40449 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40450 (_FP_CMP_EQ): Likewise.
40451 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40452
40453 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40454 extra argument CHECK_NAN. Redefine as wrapper around
40455 _FP_EXTEND_CNAN.
40456
404572015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40458
40459 * version.h (RELEASE): Set to "stable".
40460 (VERSION): Set to "2.21"
40461 * include/features.h (__GLIBC_MINOR__): Set to 21.
40462
40463 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40464
404652015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40466 Paul Eggert <eggert@cs.ucla.edu>
40467
40468 [BZ #16618]
40469 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40470 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40471 size in bytes. Store needed elements in wpmax. Use needed size
40472 in bytes for extend_alloca.
40473
404742015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40475
40476 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40477 binutls 2.25, and texinfo 5.2.
40478 * INSTALL: Regenerate.
40479 * sysdeps/nios2/configure: Regenerate.
40480 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40481 * manual/contrib.texi: Update.
40482 * po/be.po: Update.
40483 * po/bg.po: Update.
40484 * po/ca.po: Update.
40485 * po/cs.po: Update.
40486 * po/da.po: Update.
40487 * po/de.po: Update.
40488 * po/el.po: Update.
40489 * po/eo.po: Update.
40490 * po/es.po: Update.
40491 * po/fi.po: Update.
40492 * po/fr.po: Update.
40493 * po/gl.po: Update.
40494 * po/hr.po: Update.
40495 * po/hu.po: Update.
40496 * po/ia.po: Update.
40497 * po/id.po: Update.
40498 * po/it.po: Update.
40499 * po/ja.po: Update.
40500 * po/ko.po: Update.
40501 * po/lt.po: Update.
40502 * po/nb.po: Update.
40503 * po/nl.po: Update.
40504 * po/pl.po: Update.
40505 * po/pt_BR.po: Update.
40506 * po/ru.po: Update.
40507 * po/rw.po: Update.
40508 * po/sk.po: Update.
40509 * po/sl.po: Update.
40510 * po/sv.po: Update.
40511 * po/tr.po: Update.
40512 * po/uk.po: Update.
40513 * po/vi.po: Update.
40514 * po/zh_CN.po: Update.
40515 * po/zh_TW.po: Update.
40516
40517 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40518 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40519 * sysdeps/hppa/dl-irel.h: Remove #warning.
40520 * sysdeps/hppa/entry.h: Provide prototype for
40521 __canonicalize_funcptr_for_compare and cast argument.
40522 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40523 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40524 * sysdeps/hppa/sotruss-lib.c: New file.
40525 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40526 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40527 (atomic_compare_and_exchange_bool_acq): Likewise.
40528 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40529 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40530
40531 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40532 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40533 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40534
405352015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40536
40537 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40538 called function in non-PIC case.
40539
405402015-01-31 David S. Miller <davem@davemloft.net>
40541
40542 * sysdeps/sparc/sparc32/bits/atomic.h
40543 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40544 unlock not after it.
40545 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40546 volatile register usage warnings from the compiler.
40547
40548 * sysdeps/sparc/nptl/sem_init.c: Delete.
40549 * sysdeps/sparc/nptl/sem_post.c: Delete.
40550 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40551 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40552 * sysdeps/sparc/sparc32/sem_init.c: New file.
40553 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40554 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40555 padding explicitly initialized.
40556 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40557 padding for in-semaphore spinlock.
40558 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40559 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40560 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40561 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40562 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40563 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40564 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40565 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40566 version.
40567 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40568 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40569
405702015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40571
40572 [BZ #17801]
40573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40574 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40575 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40576 New.
40577 (index_AVX_Fast_Unaligned_Load): Likewise.
40578 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40579 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40580 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40581 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40582 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40583 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40584 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40585 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40586 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40587
405882015-01-29 Andreas Schwab <schwab@suse.de>
40589
40590 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40591
405922015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40593
40594 [BZ #17892]
40595 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40596
405972015-01-28 Martin Sebor <msebor@redhat.com>
40598
40599 * math/README.libm-test: Clarify. Add "How to read the test output."
40600
406012015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40602
40603 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40604 Define to 0.
40605
406062015-01-28 Joseph Myers <joseph@codesourcery.com>
40607
40608 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40609 (__HAVE_64B_ATOMICS): Define to 0.
40610
406112015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40612
40613 [BZ #17885]
40614 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40615 value to set as new flag.
40616
40617 [BZ #16576]
40618 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40619 and use _ARCH_PPCSQ instead.
40620 (__ieee754_sqrt): Likewise.
40621 (__ieee754_sqrtf): Likewise.
40622 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40623 _ARCH_PPCSQ is defined.
40624 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40625 fsqrt instruction.
40626 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40627 _ARCH_PPCSQ is defined.
40628 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40629 fsqrts instruction.
40630 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40631
406322015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40633
40634 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40635 bug (GCC BZ #64739).
40636
406372015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40638
40639 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40640 Mark _retval as used.
40641 (lll_futex_wake_unlock): Likewise.
40642 (lll_futex_timed_wait_requeue_pi): Likewise.
40643
40644 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40645 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40646 register variables.
40647
40648 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40649 libm_hidden_def.
40650
40651 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40652 (__bswap_64): Mark as __always_inline.
40653
406542015-01-25 Bram <bug_rh@spam.wizbit.be>
40655
40656 [BZ #15378]
40657 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40658 when none of the search directories exist.
40659
406602015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40661
40662 [BZ #17869]
40663 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40664 power8 in .machine directive.
40665
40666 [BZ #17868]
40667 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40668 set dependency from opd value.
40669
406702015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40671
40672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40673 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40674 architecture.
40675
406762015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40677
40678 [BZ #17870]
40679 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40680 with uint64_t.
40681 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40682 (uint64_t) 1.
40683 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40684 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40685 Replace 1UL with (uint64_t) 1.
40686 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40687 int with uint64_t.
40688
406892015-01-23 Roland McGrath <roland@hack.frob.com>
40690
40691 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40692 (if_freenameindex): Likewise.
40693
40694 * resource/getrlimit64.c: Add missing libc_hidden_def.
40695
406962015-01-22 Joseph Myers <joseph@codesourcery.com>
40697
40698 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40699 __label__.
40700 (_FP_FMA): Likewise.
40701 (_FP_TO_INT_ROUND): Likewise.
40702 (_FP_FROM_INT): Likewise.
40703
407042015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40705
40706 [BZ #16418]
40707 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40708 Make code racy and cancel safe.
40709
407102015-01-21 Carlos O'Donell <carlos@redhat.com>
40711
40712 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40713 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40714 attribution.
40715
40716 * pwd/tst-getpw.c: Rewrite.
40717
40718 [BZ #17702]
40719 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40720 (modules-names): Add moddummy1 and moddummy2.
40721 ($(objpfx)tst-rec-dlopen): Define.
40722 * dlfcn/moddummy1.c: New file.
40723 * dlfcn/moddummy2.c: New file.
40724 * dlfcn/tst-rec-dlopen.c: New file.
40725 * elf/dl-cache.c (_dl_load_cache_lookup):
40726 Return char*. Copy result with alloca/strcpy/strdup.
40727 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40728 returns char*. Free cached. If not saving realname
40729 free cached.
40730 * elf/dl-open.c (dl_open_worker): Do not assert that
40731 _r_debug->r_state is RT_CONSISTENT.
40732 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40733 returns char*.
40734
407352015-01-21 Torvald Riegel <triegel@redhat.com>
40736 Carlos O'Donell <carlos@redhat.com>
40737
40738 [BZ #12674]
40739 * nptl/sem_waitcommon.c: New file.
40740 * nptl/sem_wait.c: Include sem_waitcommon.c.
40741 (__sem_wait_cleanup, do_futex_wait): Remove.
40742 (__new_sem_wait): Adapt.
40743 (__new_sem_trywait): New function.
40744 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40745 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40746 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40747 (sem_timedwait): Adapt.
40748 * nptl/sem_post.c (__new_sem_post): Adapt.
40749 (futex_wake): New function.
40750 (__old_sem_post): Add release MO fence.
40751 * nptl/sem_open.c (sem_open): Adapt.
40752 * nptl/sem_init.c (__new_sem_init): Adapt.
40753 (futex_private_if_supported): New function.
40754 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40755 (__old_sem_getvalue): Add using previous code.
40756 * sysdeps/nptl/internaltypes.h: Adapt.
40757 * nptl/tst-sem13.c (do_test): Adapt.
40758 * nptl/tst-sem11.c (main): Adapt.
40759 * nptl/sem_trywait.c: Remove.
40760 * nptl/DESIGN-sem.txt: Remove.
40761 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40762 (gen-as-const-headers): Remove structsem.sym.
40763 * nptl/structsem.sym: Remove.
40764 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40765 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40766 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40767 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40768 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40769 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40770 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40771 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40772 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40773 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40774 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40775 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40776 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40777 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40778 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40779 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40780 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40781 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40782 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40783 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40784 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40785 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40786
407872015-01-20 Carlos O'Donell <carlos@redhat.com>
40788
40789 * INSTALL: Regenerated.
40790
40791 * po/libc.pot: Regenerated.
40792
407932015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40794 Sandra Loosemore <sandra@codesourcery.com>
40795 Andrew Jenner <andrew@codesourcery.com>
40796 Joseph Myers <joseph@codesourcery.com>
40797 Nathan Sidwell <nathan@codesourcery.com>
40798
40799 * NEWS: Mention new Nios II port.
40800 * sysdeps/nios2/Implies: New file.
40801 * sysdeps/nios2/Makefile: New file.
40802 * sysdeps/nios2/Subdirs: New file.
40803 * sysdeps/nios2/Versions: New file.
40804 * sysdeps/nios2/__longjmp.S: New file.
40805 * sysdeps/nios2/abort-instr.h: New file.
40806 * sysdeps/nios2/backtrace.c: New file.
40807 * sysdeps/nios2/bits/endian.h: New file.
40808 * sysdeps/nios2/bits/fenv.h: New file.
40809 * sysdeps/nios2/bits/link.h: New file.
40810 * sysdeps/nios2/bits/setjmp.h: New file.
40811 * sysdeps/nios2/bsd-_setjmp.S: New file.
40812 * sysdeps/nios2/bsd-setjmp.S: New file.
40813 * sysdeps/nios2/configure: New generated file.
40814 * sysdeps/nios2/configure.ac: New file.
40815 * sysdeps/nios2/crti.S: New file.
40816 * sysdeps/nios2/crtn.S: New file.
40817 * sysdeps/nios2/dl-init.c: New file.
40818 * sysdeps/nios2/dl-machine.h: New file.
40819 * sysdeps/nios2/dl-sysdep.h: New file.
40820 * sysdeps/nios2/dl-tls.h: New file.
40821 * sysdeps/nios2/dl-trampoline.S: New file.
40822 * sysdeps/nios2/gccframe.h: New file.
40823 * sysdeps/nios2/gmp-mparam.h: New file.
40824 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40825 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40826 * sysdeps/nios2/ldsodefs.h: New file.
40827 * sysdeps/nios2/libc-tls.c: New file.
40828 * sysdeps/nios2/libm-test-ulps: New file.
40829 * sysdeps/nios2/machine-gmon.h: New file.
40830 * sysdeps/nios2/math-tests.h: New file.
40831 * sysdeps/nios2/math_private.h: New file.
40832 * sysdeps/nios2/memusage.h: New file.
40833 * sysdeps/nios2/nptl/Makefile: New file.
40834 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40835 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40836 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40837 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40838 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40839 * sysdeps/nios2/nptl/tls.h: New file.
40840 * sysdeps/nios2/preconfigure: New file.
40841 * sysdeps/nios2/s_fma.c: New file.
40842 * sysdeps/nios2/s_fmaf.c: New file.
40843 * sysdeps/nios2/setjmp.S: New file.
40844 * sysdeps/nios2/sfp-machine.h: New file.
40845 * sysdeps/nios2/sotruss-lib.c: New file.
40846 * sysdeps/nios2/stackguard-macros.h: New file.
40847 * sysdeps/nios2/stackinfo.h: New file.
40848 * sysdeps/nios2/start.S: New file.
40849 * sysdeps/nios2/sysdep.h: New file.
40850 * sysdeps/nios2/tls-macros.h: New file.
40851 * sysdeps/nios2/tst-audit.h: New file.
40852 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40853 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40854 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40855 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40856 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40857 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40858 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40859 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40860 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40861 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40862 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40863 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40864 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40865 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40866 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40867 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40868 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40869 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40870 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40871 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40872 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40873 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40874 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40875 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40876 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40877 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40878 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40879 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40880 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40881 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40882 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40883 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40884 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40885 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40886 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40887 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40888 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40889 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40890 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40891 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40892 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40893 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40894 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40895 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40896
408972015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40898
40899 [BZ #17844]
40900 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40901 (getutent): Use weak_alias in non SHARED case
40902 and default_symbol_version in SHARED case.
40903 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40904 (getutent_r, pututline): Likewise.
40905 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40906 (getutid): Likewise.
40907 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40908 (getutid_r): Likewise.
40909 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40910 (getutline): Likewise.
40911 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40912 (getutline_r): Likewise.
40913 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40914 (updwtmp): Likewise.
40915
409162015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40917
40918 [BZ #17848]
40919 * sysdeps/s390/s390-32/memcmp.S
40920 (memcmp_g5): Rename to __memcmp_g5.
40921 * sysdeps/s390/s390-32/memcpy.S
40922 (memcpy_g5): Rename to __memcpy_g5.
40923 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40924 (memcpy_mvcle) Rename to __memcpy_mvcle.
40925 * sysdeps/s390/s390-32/memset.S
40926 (memset_g5): Rename to __memset_g5.
40927 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40928 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40929 and use prefixed functions.
40930 * sysdeps/s390/s390-32/multiarch/memcmp.S
40931 (memcmp_z196): Rename to __memcmp_z196.
40932 (memcmp_z10): Rename to __memcmp_z10.
40933 (memcmp): Set alias to __memcmp_g5.
40934 (bcmp): Set alias to __memcmp_g5.
40935 * sysdeps/s390/s390-32/multiarch/memcpy.S
40936 (memcpy_z196): Rename to __memcpy_z196.
40937 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40938 (memcpy_z10): Rename to __memcpy_z10.
40939 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40940 (memcpy): Set alias to __memcpy_g5.
40941 * sysdeps/s390/s390-32/multiarch/memset.S
40942 (memset_z196): Rename to __memset_z196.
40943 Jump to __memset_mvcle instead of memset_mvcle.
40944 (memset_z10): Rename to __memset_z10.
40945 Jump to __memset_mvcle instead of memset_mvcle.
40946 (memset_mvcle) Rename to __memset_mvcle.
40947 (memset): Set alias to __memset_g5.
40948 * sysdeps/s390/s390-64/memcmp.S
40949 (memcmp_z900): Rename to __memcmp_z900.
40950 * sysdeps/s390/s390-64/memcpy.S
40951 (memcpy_z900): Rename to __memcpy_z900.
40952 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40953 (memcpy_mvcle) Rename to __memcpy_mvcle.
40954 * sysdeps/s390/s390-64/memset.S
40955 (memset_z900): Rename to __memset_z900.
40956 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40957 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40958 and use prefixed functions.
40959 * sysdeps/s390/s390-64/multiarch/memcmp.S
40960 (memcmp_z196): Rename to __memcmp_z196.
40961 (memcmp_z10): Rename to __memcmp_z10.
40962 (memcmp): Set alias to __memcmp_z900.
40963 (bcmp): Set alias to __memcmp_z900.
40964 * sysdeps/s390/s390-64/multiarch/memcpy.S
40965 (memcpy_z196): Rename to __memcpy_z196.
40966 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40967 (memcpy_z10): Rename to __memcpy_z10.
40968 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40969 (memcpy): Set alias to __memcpy_z900.
40970 * sysdeps/s390/s390-64/multiarch/memset.S
40971 (memset_z196): Rename to __memset_z196.
40972 Jump to __memset_mvcle instead of memset_mvcle.
40973 (memset_z10): Rename to __memset_z10.
40974 Jump to __memset_mvcle instead of memset_mvcle.
40975 (memset_mvcle) Rename to __memset_mvcle.
40976 (memset): Set alias to __memset_z900.
40977
409782015-01-14 Joseph Myers <joseph@codesourcery.com>
40979
40980 [BZ #17748]
40981 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40982 __fesetenv instead of fesetenv.
40983
409842015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40985
40986 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40987 macro.
40988
409892015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40990
40991 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40992 regression on LE.
40993
40994 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40995 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40996 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40997 strncmp-power8 object.
40998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40999 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
41000 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
41001 * NEWS: Update.
41002
410032015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41004 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41005
41006 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
41007 trailing byte check.
41008
410092015-01-13 David S. Miller <davem@davemloft.net>
41010
41011 * include/signal.h (__sigreturn): Guard with __USE_MISC.
41012
410132015-01-13 Roland McGrath <roland@hack.frob.com>
41014
41015 * login/logout.c (logout): Use memset rather than bzero.
41016 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
41017 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
41018 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
41019 (_gethtbyaddr): Likewise.
41020 * locale/programs/simple-hash.c (bcopy): Macro removed.
41021
410222015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41023
41024 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41025 Add strcmp-power8 object.
41026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41027 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
41028 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
41029 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
41030 __strcmp_power8 implementation.
41031 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
41032 * NEWS: Update.
41033
41034 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41035 Add strncpy-power8 and stpncpy-power8 objects.
41036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41037 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
41038 implementations.
41039 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
41040 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
41041 __stpncpy_power8 implementation.
41042 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
41043 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
41044 __strncpy_power8 implementation.
41045 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
41046 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
41047 * NEWS: Update.
41048
41049 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
41050 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
41051 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
41052
41053 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41054 strncat-power8 object.
41055 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
41056 __strcat_power8 implementation.
41057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41058 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
41059 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
41060 optimized strcat for power8.
41061
41062 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41063 strcpy-power8 and stpcpy-power8 objects.
41064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41065 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
41066 implementations.
41067 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
41068 multiarch stpcpy implementation for POWER8.
41069 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
41070 multiarch strcpy implementation for POWER8.
41071 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
41072 __strcpy_power8 function.
41073 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
41074 stpcpy for POWER8.
41075 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
41076 strcpy for POWER8.
41077 * NEWS: Update.
41078
410792015-01-13 Leonhard Holz <leonhard.holz@web.de>
41080
41081 [BZ #16009]
41082 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
41083 weights and rules. Use do_xfrm_cached if data fits in cache,
41084 do_xfrm otherwise. Moved former main loop to...
41085 * (do_xfrm_cached): New function.
41086 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
41087 find_idx, find_position and stack_push.
41088 * (find_idx): New function.
41089 * (find_position): Likewise.
41090 * localedata/sort-test.sh: Added test run for do_xfrm.
41091 * localedata/xfrm-test.c (main): Added command line option
41092 -nocache to run the test with strings that are too large for
41093 the STRXFRM cache.
41094
410952015-01-13 Torvald Riegel <triegel@redhat.com>
41096
41097 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
41098 variable to lll_futex_wake call, not the value itself.
41099
411002015-01-12 Joseph Myers <joseph@codesourcery.com>
41101
41102 [BZ #17803]
41103 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
41104 twom64. Adjust value to 0x1p-64L.
41105 (__scalblnl): Only return standard underflowing result for K <=
41106 -64 not K <= -63; adjust exponent for underflowing result by 64
41107 not 63.
41108 * math/libm-test.inc (scalbn_test_data): Add more tests.
41109 (scalbln_test_data): Likewise.
41110
41111 [BZ #17834]
41112 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
41113 0x1p63L.
41114 (__scalblnl): Get new exponent of adjusted subnormal value from ES
41115 not HX.
41116 * math/libm-test.inc (scalbn_test_data): Add more tests.
41117 (scalbln_test_data): Likewise.
41118
411192015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41120 Stefani Seibold <stefani@seibold.net>
41121
41122 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
41123 (sysdep_routines): Add dl-vdso here, ...
41124 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
41125 (sysdep_routines): ... not here.
41126 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
41127 fallback when vDSO is not presented.
41128 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
41129 Define with libc_hidden_proto/libc_hidden_data_def definitions.
41130 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
41131 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
41132 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
41133 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
41134 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
41135 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
41136 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
41137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
41138 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
41139 fallback configurable symbol when vDSO is not available.
41140 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
41141 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
41142 be able to redefine fallback symbol when vDSO is not available.
41143 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
41144 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
41145
411462015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41147
41148 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
41149 (TLS_INIT_TP): Add tm_capable initialization.
41150 (TLS_DEFINE_INIT_TP): Likewise.
41151 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
41152 TCB.
41153 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
41154 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
41155 calculation.
41156 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
41157 transactoion is lock elision is built and TCB tm_capable is set.
41158 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
41159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41160 (INTERNAL_SYSCALL_NCS): Likewise.
41161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41162 (INTERNAL_SYSCALL_NCS): Likewise.
41163 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
41164
41165 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
41166 for powerpc.
41167 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41168 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
41169 and remove it for 32 bits case.
41170 [pthread_rwlock_t] (__rwelision): New field for lock elision.
41171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
41172 initialization.
41173 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
41174 Disable lock elision with rdlocks if elision is not available.
41175
41176 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
41177 (sysdep_routines): Add lock elision objects.
41178 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41179 [pthread_mutex_t] (__spins): Rework to add lock elision field.
41180 [pthread_mutex_t] (__elision): Add field.
41181 [__PTHREAD_SPINS]: Adjust to init lock elision field.
41182 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
41183 elision definitions for powerpc.
41184 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41185 implementation of lock elision for powerpc.
41186 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41187 implementation of timed lock elision for powerpc.
41188 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41189 implementation of trylock with lock elision for powerpc.
41190 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41191 implementaion of unlock for lock elision for powerpc.
41192 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41193 automatic enable lock elision for mutexes.
41194 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41195 transaction execution definitions for powerpc.
41196 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41197 definitions.
41198 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41199 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41200 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41201 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41202 * NEWS: Update.
41203
412042015-01-09 Roland McGrath <roland@hack.frob.com>
41205
41206 * sysdeps/posix/shm-directory.c: Use <> rather than ""
41207 for #include of <shm-directory.h>.
41208
412092015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
41210
41211 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41212 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41213
412142015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
41215
41216 [BZ #17791]
41217 * NEWS: Mention bug fix.
41218 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41219 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41220 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41221
412222015-01-09 Torvald Riegel <triegel@redhat.com>
41223
41224 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41225
412262015-01-09 Torvald Riegel <triegel@redhat.com>
41227
41228 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41229
412302015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41231
41232 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41233 pointer and cast to uintptr_t.
41234
412352015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41236
41237 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41238 removed.
41239 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41240
412412015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41242
41243 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41244 of 0.
41245
412462015-01-08 Roland McGrath <roland@hack.frob.com>
41247
41248 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41249 <nptl/pthreadP.h> instead.
41250 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41251
41252 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41253 already defined.
41254 [__SIGRTMIN] (init): Function removed.
41255 [__SIGRTMIN] (initialized): Variable removed.
41256 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41257 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41258 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41259 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41260 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41261 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41262 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41263 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41264 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41265 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41266 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41267 * sysdeps/nptl/allocrtsig.c: New file.
41268 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41269 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41270 * sysdeps/generic/testrtsig.h: File removed.
41271
41272 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41273 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41274
41275 * nptl/nptl-init.c (pthread_functions): Conditionalize
41276 .ptr__nptl_setxid initialization on [SIGSETXID].
41277
41278 * sysdeps/nptl/sys/procfs.h: New file.
41279 * nptl_db/Makefile (headers): Add it.
41280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41281
41282 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41283 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41284 * nptl/pthread_attr_setaffinity.c: Include it.
41285 * nptl/pthread_setattr_default_np.c: Likewise.
41286 * nptl/check-cpuset.h: New file.
41287
412882015-01-08 Richard Henderson <rth@redhat.com>
41289
41290 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41291 (CFLAGS-tst-execstack-prog.c): Likewise.
41292 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41293
412942015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
41295 Sandra Loosemore <sandra@codesourcery.com>
41296 Andrew Jenner <andrew@codesourcery.com>
41297 Joseph Myers <joseph@codesourcery.com>
41298 Nathan Sidwell <nathan@codesourcery.com>
41299
41300 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41301 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41302 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41303 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41304 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41305 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41306 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41307 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41308 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41309 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41310 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41311 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41312 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41313 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41314 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41315 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41316 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41317
413182015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41319
41320 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41321 timespec struct member in syscall macro.
41322 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41323 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41324 first timeval struct member in syscall macro.
41325 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41326
413272015-01-07 Joseph Myers <joseph@codesourcery.com>
41328
41329 [BZ #17748]
41330 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41331 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41332 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41333 __feupdateenv and define as weak alias of __feupdateenv. Use
41334 libm_hidden_weak.
41335 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41336 libm_hidden_def.
41337 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41338 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
41339 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41340 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41341 libm_hidden_def.
41342 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41343 __feupdateenv and define as weak alias of __feupdateenv. Use
41344 libm_hidden_weak.
41345 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41346 libm_hidden_def.
41347 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41348 __feupdateenv and define as weak alias of __feupdateenv. Use
41349 libm_hidden_weak.
41350 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41351 libm_hidden_def.
41352 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41353 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41354 (__feupdateenv): Likewise.
41355 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41356 __feupdateenv and define as weak alias of __feupdateenv. Use
41357 libm_hidden_weak.
41358 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41359 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41360 libm_hidden_def.
41361 * sysdeps/tile/math_private.h (__feupdateenv): New inline
41362 function.
41363 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41364 libm_hidden_def.
41365 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41366 __feupdateenv instead of feupdateenv.
41367 (default_libc_feupdateenv_test): Likewise.
41368 (libc_feresetround_ctx): Likewise.
41369
413702015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41371
41372 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41373 prototype.
41374
413752015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
41376
41377 * posix/regcomp.c (parse_bracket_exp): Initialize type to
41378 COLL_SYM in a couple of places to avoid uninitialized variable
41379 wanings on tilegx gcc 4.8.2.
41380
413812015-01-07 Richard Earnshaw <rearnsha@arm.com>
41382
41383 * sysdeps/aarch64/strcpy.S: New file.
41384 * sysdeps/aarch64/stpcpy.S: New file.
41385 * NEWS: Updated.
41386
413872015-01-07 Richard Earnshaw <rearnsha@arm.com>
41388
41389 * sysdeps/aarch64/strrchr.S: New file.
41390 * NEWS: Updated.
41391
413922015-01-07 Eric Biggers <ebiggers3@gmail.com>
41393
41394 [BZ #17658]
41395 * stdlib/setenv.c: Fix memory leak when setting large,
41396 duplicate string.
41397
413982015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
41399
41400 [BZ #17273]
41401 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41402 and tabs from buffer before parsing fstab entry.
41403 * misc/tst-mntent.c (main): Add test for mount entry with
41404 trailing spaces and tabs.
41405
414062015-01-06 Joseph Myers <joseph@codesourcery.com>
41407
41408 [BZ #17748]
41409 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
41410 * math/fesetround.c (fesetround): Rename to __fesetround and
41411 define as weak alias of __fesetround. Use libm_hidden_weak.
41412 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41413 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41414 * sysdeps/arm/fesetround.c (fesetround): Likewise.
41415 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41416 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41417 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41418 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41419 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41420 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41421 __fesetround_inline.
41422 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41423 __fesetround_inline instead of __fesetround.
41424 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41425 __fesetround and define as weak alias of __fesetround. Use
41426 libm_hidden_weak. Call __fesetround_inline instead of
41427 __fesetround.
41428 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41429 __fesetround and define as weak alias of __fesetround. Use
41430 libm_hidden_weak.
41431 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41432 Likewise.
41433 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41434 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41435 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41436 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41437 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41438 __fesetround and define as weak alias of __fesetround. Use
41439 libm_hidden_weak.
41440 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41441 __fesetround instead of fesetround.
41442 (default_libc_feholdexcept_setround): Likewise.
41443 (libc_feholdsetround_ctx): Likewise.
41444 (libc_feholdsetround_noex_ctx): Likewise.
41445
41446 [BZ #17748]
41447 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41448 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41449 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41450 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41451 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41452 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41453 define as weak alias of __fesetenv. Use libm_hidden_weak.
41454 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41455 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41456 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41457 define as weak alias of __fesetenv. Use libm_hidden_weak.
41458 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41459 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41460 define as weak alias of __fesetenv. Use libm_hidden_weak.
41461 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41462 libm_hidden_def.
41463 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41464 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41465 Likewise.
41466 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41467 define as weak alias of __fesetenv. Use libm_hidden_weak.
41468 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41469 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41470 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41471 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41472 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41473 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41474 __fesetenv instead of fesetenv.
41475 (libc_feresetround_noex_ctx): Likewise.
41476 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41477 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41478 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41479 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41480 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41481 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41482 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41483 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41484 (__feupdateenv): Likewise.
41485 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41486 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41487 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41488 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41489
414902015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41491
41492 [BZ #17806]
41493 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41494 addresses have been freed.
41495
414962015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41497
41498 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41499 and nservall.
41500
415012015-01-06 Ondřej Bílka <neleai@seznam.cz>
41502
41503 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41504 Clean up check_pf allocation pattern. addresses
41505
415062015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41507
41508 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41509 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41510 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41511 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41512 * nptl/pthread_join.c (pthread_join): Likewise.
41513 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41514 * sysdeps/posix/waitid.c (__waitid): Likewise.
41515 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41516 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41517 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41518 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41520 Likewise.
41521 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41522 (__libc_pread64): Likewise.
41523 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41524 (__libc_pwrite): Likewise.
41525 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41526 (__libc_pwrite64): Likewsie.
41527 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41528 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41529 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41530 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41531 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41532 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41533 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41535 Likewise.
41536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41537 (__libc_pread64): Likewise.
41538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41539 Likewise.
41540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41541 (__libc_pwrite64): Likewise.
41542 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41543 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41544 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41545 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41546 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41547 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41548 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41549 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41550 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41551 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41552 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41553 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41554 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41555 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41556 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41557 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41558 Likewise.
41559
415602015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41561
41562 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41563 (CFLAGS-test-double.c): Likewise.
41564 (CFLAGS-test-ldouble.c): Likewise.
41565 (CPPFLAGS-test-ifloat.c): Likewise.
41566 (CPPFLAGS-test-idouble.c): Likewise.
41567 (CPPFLAGS-test-ildoubl.c): Likewise.
41568 (CFLAGS-test-test-fenv.c): Remove variable.
41569 (CFLAGS-test-misc.c): Likewise.
41570
415712015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41572
41573 [BZ #17797]
41574 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41575 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41576 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41577 CLOCKS_PER_SEC == 1000000.
41578 * time/clocktest.c (main): Replace %ld with %jd and cast to
41579 intmax_t.
41580
415812015-01-05 Roland McGrath <roland@hack.frob.com>
41582
41583 * sysdeps/generic/unwind-resume.h: New file.
41584 * sysdeps/gnu/unwind-resume.c: Include it.
41585 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41586 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41587 argument list.
41588 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41589 global rather than static.
41590 (_Unwind_Resume): Update user.
41591 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41592 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41593 rather than static. Add __attribute__ ((cold)).
41594 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41595 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41596 * sysdeps/arm/arm-unwind-resume.S: New file.
41597 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41598 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41599 * sysdeps/arm/Makefile [$(subdir) = csu]
41600 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41601 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41602 Add rt-arm-unwind-resume.
41603 [$(subdir) = nptl]
41604 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41605 Add pt-arm-unwind-resume.
41606 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41607 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41608
416092015-01-05 Joseph Myers <joseph@codesourcery.com>
41610
41611 [BZ #17748]
41612 * include/fenv.h (__feholdexcept): Declare. Use
41613 libm_hidden_proto.
41614 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41615 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41616 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41617 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41618 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41619 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41620 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41621 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41622 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41623 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41624 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41625 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41626 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41627 (feholdexcept): Likewise.
41628 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41629 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41630 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41631 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41632 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41633 __feholdexcept instead of feholdexcept.
41634 (default_libc_feholdexcept_setround): Likewise.
41635
416362015-01-05 Steve Ellcey <sellcey@imgtec.com>
41637
41638 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41639 to avoid using stl/str to align destination.
41640
416412015-01-05 Steve Ellcey <sellcey@imgtec.com>
41642
41643 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41644
416452015-01-05 Joseph Myers <joseph@codesourcery.com>
41646
41647 [BZ #17796]
41648 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41649 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41650 Define as weak alias not strong alias.
41651
416522015-01-05 Steve Ellcey <sellcey@imgtec.com>
41653
41654 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41655 bltzal with addiupc.
41656 (RTLD_START): Ditto.
41657
416582015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41659
41660 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41661 for __vdso_* functions in declarations.
41662 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41663 definitions.
41664 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41665 INTERNAL_VSYSCALL): Use struct return types to check for error.
41666
41667 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41668 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41669 function with cast from llround().
41670 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41671 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41672 Define.
41673
416742015-01-05 Joseph Myers <joseph@codesourcery.com>
41675
41676 [BZ #17793]
41677 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41678 Define as weak alias not strong alias.
41679
41680 [BZ #17635]
41681 * ctype/ctype-c99.c: New file. isblank implementation moved from
41682 ...
41683 * ctype/ctype-extn.c: ... here.
41684 (__isblank_l): Move to ...
41685 * ctype/ctype-c99_l.c: ... here. New file.
41686 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41687 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41688 Remove variable.
41689 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41690 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41691 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41692 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41693 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41694
41695 [BZ #17777]
41696 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41697 (posix_fadvise64): Define as weak alias not strong alias.
41698 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41699 (posix_fallocate64): Likewise.
41700 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41701 Remove variable.
41702 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41703 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41704 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41705 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41706 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41707
417082015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41709
41710 [BZ #16191]
41711 * NEWS: Mention bug fix.
41712 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41713 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41714 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41715 (HOST_STACK_END_ADDR): Likewise.
41716
417172015-01-02 Joseph Myers <joseph@codesourcery.com>
41718
41719 [BZ #17748]
41720 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41721 * math/fegetround.c (fegetround): Rename to __fegetround and
41722 define as weak alias of __fegetround. Use libm_hidden_weak.
41723 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41724 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41725 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41726 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41727 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41728 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41729 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41730 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41731 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41732 Undefine after rather than before function definition; use
41733 parentheses around function name in definition.
41734 (__fegetround): Also undefine macro after function definition.
41735 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41736 __fegetround and define as weak alias of __fegetround. Use
41737 libm_hidden_weak. Do not undefine as macro.
41738 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41739 Likewise.
41740 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41741 __fegetround and define as weak alias of __fegetround. Use
41742 libm_hidden_weak.
41743 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41744 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41745 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41746 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41747 __fegetround and define as weak alias of __fegetround. Use
41748 libm_hidden_weak.
41749 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41750 __fegetround instead of fegetround.
41751
41752 [BZ #17782]
41753 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41754 Condition macro definition on [__USE_MISC].
41755
41756 [BZ #17781]
41757 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41758 (struct sigaction): Change type of sa_flags field to int.
41759
41760 [BZ #17780]
41761 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41762 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41763 __glibc_reserved0.
41764
41765 * nptl/version.c (banner): Use single year in copyright notice.
41766
41767 * NEWS: Update copyright dates.
41768 * catgets/gencat.c (print_version): Likewise.
41769 * csu/version.c (banner): Likewise.
41770 * debug/catchsegv.sh: Likewise.
41771 * debug/pcprofiledump.c (print_version): Likewise.
41772 * debug/xtrace.sh (do_version): Likewise.
41773 * elf/ldconfig.c (print_version): Likewise.
41774 * elf/ldd.bash.in: Likewise.
41775 * elf/pldd.c (print_version): Likewise.
41776 * elf/sotruss.sh: Likewise.
41777 * elf/sprof.c (print_version): Likewise.
41778 * iconv/iconv_prog.c (print_version): Likewise.
41779 * iconv/iconvconfig.c (print_version): Likewise.
41780 * locale/programs/locale.c (print_version): Likewise.
41781 * locale/programs/localedef.c (print_version): Likewise.
41782 * login/programs/pt_chown.c (print_version): Likewise.
41783 * malloc/memusage.sh (do_version): Likewise.
41784 * malloc/memusagestat.c (print_version): Likewise.
41785 * malloc/mtrace.pl: Likewise.
41786 * manual/libc.texinfo: Likewise.
41787 * nptl/version.c (banner): Likewise.
41788 * nscd/nscd.c (print_version): Likewise.
41789 * nss/getent.c (print_version): Likewise.
41790 * nss/makedb.c (print_version): Likewise.
41791 * posix/getconf.c (main): Likewise.
41792 * scripts/test-installation.pl: Likewise.
41793 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41794
417952015-01-02 Will Newton <will.newton@linaro.org>
41796
41797 * sysdeps/arm/armv7/configure: Removed.
41798 * sysdeps/arm/armv7/configure.ac: Likewise.
41799
418002015-01-02 Joseph Myers <joseph@codesourcery.com>
41801
41802 * All files with FSF copyright notices: Update copyright dates
41803 using scripts/update-copyrights.
41804 * intl/plural.c: Regenerated.
41805 * locale/programs/charmap-kw.h: Likewise.
41806 * locale/programs/locfile-kw.h: Likewise.
41807
418082015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41809
41810 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41811
418122014-12-31 Joseph Myers <joseph@codesourcery.com>
41813
41814 [BZ #17748]
41815 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41816 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41817 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41818 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41819 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41820 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41821 define as weak alias of __fegetenv. Use libm_hidden_weak.
41822 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41823 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41824 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41825 define as weak alias of __fegetenv. Use libm_hidden_weak.
41826 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41827 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41828 define as weak alias of __fegetenv. Use libm_hidden_weak.
41829 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41830 libm_hidden_def.
41831 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41832 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41833 Likewise.
41834 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41835 define as weak alias of __fegetenv. Use libm_hidden_weak.
41836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41837 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41838 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41839 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41840 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41841 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41842 __fegetenv instead of fegetenv.
41843 (libc_feholdsetround_noex_ctx): Likewise.
41844
418452014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41846
41847 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41848 (Elf_MIPS_ABIFlags_v0): New structure.
41849 (EF_MIPS_FP64): Define.
41850 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41851 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41852 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41853 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41854 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41855 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41856 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41857 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41858 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41859 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41860 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41861 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41862 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41863 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41864 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41865 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41866 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41867 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41868 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41869 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41870 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41871 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41872 field.
41873 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41874 EF_MIPS_FP64.
41875 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41876 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41877 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41878 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41879 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41880 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41881 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41882 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41883 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41884 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41885 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41886 record the current FP ABI extension.
41887 (mips-mode-switch): Define to show if kernel headers support mode
41888 switching.
41889 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41890 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41891 supported SYSV ABI version to 3.
41892 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41893 feature.
41894
418952014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41896 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41897
41898 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41899 path.
41900 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41901
419022014-12-31 Joseph Myers <joseph@codesourcery.com>
41903
41904 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41905 __fegetround and redefine to call __fegetround. Remove condition
41906 on [!__NO_MATH_INLINES].
41907 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41908 function.
41909 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41910 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41911 Remove macro.
41912 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41913 instead of <fenv_libc.h>.
41914 (__llrintl): Call fegetround instead of __fegetround.
41915 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41916 instead of <fenv_libc.h>.
41917 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41918 (__lrintl): Call fegetround instead of __fegetround.
41919 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41920 instead of <fenv_libc.h>.
41921 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41922 (__rintl): Call fegetround instead of __fegetround.
41923
419242014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41925
41926 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41927 arrays.
41928
419292014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41930
41931 [BZ #17775]
41932 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41933 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41934 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41935
419362014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41937
41938 * sysdeps/i386/tls-macros.h: Include <features.h>.
41939 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41940 (TLS_IE): Likewise.
41941 (TLS_LD): Likewise.
41942 (TLS_GD): Likewise.
41943 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41944 define for GCC >= 5.0.
41945
419462014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41947
41948 * math/test-fenv.c (test_single_exception, set_single_exc,
41949 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41950 feexcp_mask_test, feenable_test, fe_single_test): Add
41951 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41952 case where they are not used.
41953 * math/libm-test.inc: Likewise.
41954 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41955 unused in the absence of FP rounding/exception support.
41956 * stdio-common/tst-printf-round.c: Likewise.
41957 * stdlib/tst-strtod-round.c: Likewise.
41958 * stdlib/tst-strtod-underflow.c: Likewise.
41959
419602014-12-30 Joseph Myers <joseph@codesourcery.com>
41961
41962 [BZ #17723]
41963 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41964 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41965 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41966 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41967 libm_hidden_weak.
41968 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41969 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41970 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41971 libm_hidden_def.
41972 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41973 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41974 libm_hidden_weak.
41975 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41976 Likewise.
41977 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41978 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41979 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41980 libm_hidden_weak.
41981 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41982 libm_hidden_def.
41983 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41984 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41985 (__feraiseexcept): Likewise.
41986 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41987 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41988 libm_hidden_weak.
41989 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41990 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41991 libm_hidden_def.
41992 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41993 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41994 Use libm_hidden_def.
41995 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41996 libm_hidden_def.
41997 (feraiseexcept): Define as weak not strong alias. Use
41998 libm_hidden_weak.
41999 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
42000 New inline function. Factored out of ...
42001 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
42002 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
42003 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
42004 feraiseexcept.
42005 * math/w_acos.c (__acos): Likewise.
42006 * math/w_asin.c (__asin): Likewise.
42007 * math/w_ilogb.c (__ilogb): Likewise.
42008 * math/w_j0.c (y0): Likewise.
42009 * math/w_j1.c (y1): Likewise.
42010 * math/w_jn.c (yn): Likewise.
42011 * math/w_log.c (__log): Likewise.
42012 * math/w_log10.c (__log10): Likewise.
42013 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
42014 * sysdeps/aarch64/fpu/math_private.h
42015 (libc_feupdateenv_test_aarch64): Likewise.
42016 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
42017 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
42018 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
42019 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
42020 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
42021 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
42022 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
42023 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42024 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42025 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42026
420272014-12-30 H.J. Lu <hongjiu.lu@intel.com>
42028
42029 [BZ #17732]
42030 * io/test-utime.c (main): Replace %ld with %jd and cast to
42031 intmax_t.
42032 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
42033 * nptl/tst-mutex5.c: Include <stdint.h>.
42034 (do_test): Replace %ld with %jd and cast to intmax_t.
42035 * posix/tst-regex.c (run_test): Likewise.
42036 (run_test_backwards): Likewise.
42037 * rt/tst-clock.c: Include <stdint.h>.
42038 (clock_test): Replace %ld with %jd and cast to intmax_t.
42039 * rt/tst-cpuclock1.c: Include <stdint.h>.
42040 (do_test): Replace %lu with %ju and cast to uintmax_t.
42041 * rt/tst-cpuclock2.c: Include <stdint.h>.
42042 (do_test): Replace %lu with %ju and cast to uintmax_t.
42043 * rt/tst-mqueue1.c: Include <stdint.h>.
42044 (check_attrs): Replace %ld with %jd and cast to intmax_t.
42045 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
42046 intmax_t.
42047 * rt/tst-mqueue4.c (do_test): Likewise.
42048 * rt/tst-timer4.c: Include <stdint.h>.
42049 (check_ts): Replace %ld with %jd and cast to intmax_t.
42050 (do_test): Likewise.
42051 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
42052 and cast to intmax_t.
42053 * sysdeps/pthread/tst-timer.c (main): Likewise.
42054 * time/clocktest.c (main): Likewise.
42055 * time/tst-posixtz.c (do_test): Likewise.
42056 * timezone/tst-timezone.c (main): Likewise.
42057
420582014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
42059 H.J. Lu <hongjiu.lu@intel.com>
42060
42061 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
42062 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
42063 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
42064 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
42065 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
42066 version if bit_Fast_Unaligned_Load is set.
42067 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42068 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42069 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42070 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42071 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42072 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42074 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
42075 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
42076 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
42077 to 4.
42078 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
42079 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
42080 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
42081 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
42082
420832014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
42084
42085 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
42086 instead of #if to avoid a Wundef warning.
42087 * stdlib/tst-limits.c (do_test): Likewise.
42088
42089 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
42090 parallel other exception macros.
42091 (fegetenv): Convert from macro to extern inline so that it applies
42092 retroactively to inline functions already seen by the compiler.
42093 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
42094
42095 * posix/Makefile (before-compile): Use $(objpfx) for
42096 posix-conf-vars-def.h.
42097
420982014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42099
42100 * posix/getconf.c (main): Use size_t for type of I.
42101 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
42102 NSPEC.
42103
42104 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
42105 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
42106 * posix/posix-envs.def: Likewise.
42107 * sysdeps/posix/sysconf.c: Likewise.
42108 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
42109 (specs): Remove array.
42110 * scripts/gen-posix-conf-vars.awk: Support generation of specs
42111 array.
42112
42113 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
42114 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
42115 (__sysconf): Use CONF_IS_* macros.
42116
42117 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
42118 ($(objpfx)posix-conf-vars-def.h): New target.
42119 * posix/posix-conf-vars.list: New file.
42120 * posix/posix-conf-vars.h: New file.
42121 * posix/confstr.c: Include posix-conf-vars.h.
42122 (confstr): Use CONF_IS_* macros.
42123 * posix/posix-envs.def: Include posix-conf-vars.h. Use
42124 CONF_IS_* macros.
42125 * scripts/gen-posix-conf-vars.awk: New file.
42126
421272014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
42128
42129 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
42130 fegetround): Add no-op macros to avoid linknamespace issues.
42131
42132 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
42133 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
42134
42135 * sysdeps/unix/sysv/linux/tile/sysdep.h
42136 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
42137 assembly-specific section to avoid a redefinition warning.
42138
42139 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
42140 long before casting to pointer to avoid a cast warning.
42141
421422014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
42143
42144 * sysdeps/tile/tilegx/Implies: New file.
42145
421462014-12-23 Richard Earnshaw <rearnsha@arm.com>
42147
42148 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
42149
421502014-12-23 Florian Weimer <fweimer@redhat.com>
42151
42152 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
42153
421542014-12-22 Joseph Myers <joseph@codesourcery.com>
42155
42156 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
42157 not define.
42158 * sysdeps/unix/sysv/linux/utimes.c: Do not include
42159 <kernel-features.h>.
42160 (__utimes) [__NR_utimes]: Make code unconditional.
42161 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
42162 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42163 (__ASSUME_UTIMES): Do not undefine.
42164 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42165 (__ASSUME_UTIMES): Likewise.
42166 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42167 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
42168 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
42169 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
42170
421712014-12-22 Steve Ellcey <sellcey@imgtec.com>
42172
42173 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
42174
421752014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
42176
42177 [BZ #17747]
42178 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
42179 alias to weak alias for j0l, y0l.
42180 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
42181 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
42182
42183 [BZ #17746]
42184 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42185 conversion.
42186
421872014-12-22 Steve Ellcey <sellcey@imgtec.com>
42188
42189 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42190 to zero if not already defined.
42191
421922014-12-22 Joseph Myers <joseph@codesourcery.com>
42193
42194 [BZ #17724]
42195 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42196 (__kernel_standard_f): Remove. Moved to k_standardf.c.
42197 (__kernel_standard_l): Remove. Moved to k_standardl.c with
42198 (char *) casts added.
42199 * sysdeps/ieee754/k_standardf.c: New file.
42200 * sysdeps/ieee754/k_standardl.c: Likewise.
42201 * math/Makefile (libm-support): Remove k_standard.
42202 (libm-calls): Add k_standard.
42203
422042014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42205
42206 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42207 Optimize to avoid an unnecessary FPCR read.
42208
422092014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42210
42211 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42212 Optimize to reduce FPCR/FPSR accesses.
42213
422142014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42215
42216 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42217 Call libc_fetestexcept_aarch64.
42218
422192014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42220
42221 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42222 Call libc_fesetround_aarch64.
42223
422242014-12-22 Joseph Myers <joseph@codesourcery.com>
42225
42226 [BZ #17733]
42227 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42228 (__bind): Do not define as weak alias.
42229 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42230 define.
42231 (__getsockname): Do not define as weak alias.
42232
422332014-12-22 Will Newton <will.newton@linaro.org>
42234
42235 * manual/install.texi: Document that we require bison 2.7
42236 or above.
42237 * INSTALL: Regenerate.
42238 * configure.ac: Use AC_CHECK_PROG_VER instead of
42239 AC_PATH_PROG when checking for bison and check for
42240 version 2.7 or above.
42241 * configure: Regenerate.
42242
422432014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
42244
42245 [BZ #17745]
42246 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42247 * sysdeps/tile/ffsll.c (ffsll): To here.
42248
42249 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42250
422512014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42252
42253 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42254 if not defined.
42255 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42256 definition.
42257 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42258 hidden ___tls_get_addr.
42259 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42260 hidden __tls_get_addr.
42261 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42262 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42263 Likewise.
42264
422652014-12-21 Andreas Schwab <schwab@linux-m68k.org>
42266
42267 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42268 _dl_init call.
42269
422702014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42271
42272 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42273 from "call _dl_init@PLT".
42274 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42275
422762014-12-21 Anders Kaseorg <andersk@mit.edu>
42277
42278 * manual/search.texi: (Array Sort Function): Clarify stable sorting
42279 guarantees.
42280
422812014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
42282
42283 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42284
422852014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42286
42287 [BZ #17744]
42288 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42289 strnlen.
42290
422912014-12-19 Steve Ellcey <sellcey@imgtec.com>
42292
42293 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42294 of multu on MIPSr6.
42295 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42296 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42297 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42298 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42299 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42300
423012014-12-19 Steve Ellcey <sellcey@imgtec.com>
42302
42303 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42304 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42305 (PTR_SUBU): Use subu for mips32r6/mips64r6.
42306 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42307 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42308 mips32r6/mips64r6.
42309 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42310
423112014-12-19 Ondřej Bílka <neleai@seznam.cz>
42312
42313 * string/strncat.c (STRNCAT): Simplify implementation.
42314
423152014-12-19 David S. Miller <davem@davemloft.net>
42316
42317 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42318 access the quad as both a long double and as a series of 4 words.
42319
42320 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42321 link_map->l_info array access.
42322
423232014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42324
42325 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42326
42327 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42328 * math/atest-exp2.c (TIMEOUT): Likewise.
42329 * math/atest-sincos.c (TIMEOUT): Likewise.
42330
423312014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42332
42333 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42334 -Wno-error with -fno-builtin-lround.
42335
423362014-12-19 Torvald Riegel <triegel@redhat.com>
42337
42338 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42339 Contains futex constants and functions moved over from ...
42340 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
42341 <lowlevellock-futex.h>.
42342 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42343 (lll_timedwait_tid): Add comments and parentheses around macro
42344 arguments.
42345
423462014-12-19 Torvald Riegel <triegel@redhat.com>
42347
42348 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42349 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
42350 (__lll_private_flag): Remove.
42351 (lll_futex_wait): Likewise.
42352 (lll_futex_timed_wait): Likewise.
42353 (lll_futex_wake): Likewise.
42354 (lll_futex_requeue): Likewise.
42355 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42356 (__lll_timedwait_tid): Spell out argument names.
42357 (lll_timedwait_tid): Add comments and parentheses around macro
42358 arguments.
42359 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42360 LLL_SHARED and LLL_PRIVATE usable from assembly code.
42361
423622014-12-19 Torvald Riegel <triegel@redhat.com>
42363
42364 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42365 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42366 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42367 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42368 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42369 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42370 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42371 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42372 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42373 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42374 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42375 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42376 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42377 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42378 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42379 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42380 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42381 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42382 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42383
423842014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42385
42386 * sysdeps/x86_64/x32/Makefile: New file.
42387
423882014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42389
42390 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42391 1L with (mp_limb_t) 1.
42392
423932014-12-17 Roland McGrath <roland@hack.frob.com>
42394
42395 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42396 * nptl/libc_pthread_init.c: ... here.
42397 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42398 * nptl/register-atfork.c: ... here.
42399
42400 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42401 Use pthread_sigmask rather than INTERNAL_SYSCALL.
42402 Use assert_perror to check its return value.
42403 (__gai_create_helper_thread): Likewise.
42404
42405 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42406
42407 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42408
424092014-12-17 Joseph Myers <joseph@codesourcery.com>
42410
42411 [BZ #17725]
42412 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42413 __profil_counter.
42414 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42415 Likewise.
42416 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42417 Likewise.
42418 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42419 Likewise.
42420 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42421 (profil_counter): Likewise.
42422 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42423 (profil_counter): Likewise.
42424 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42425 Likewise.
42426 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42427 Likewise.
42428 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42429 (profil_counter): Likewise.
42430 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42431 Likewise.
42432 [!__profil_counter] (profil_counter): Define as weak alias of
42433 __profil_counter.
42434 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42435 (profil_counter): Rename to __profil_counter.
42436 [!__profil_counter] (profil_counter): Define as weak alias of
42437 __profil_counter.
42438 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42439 (profil_counter): Rename to __profil_counter.
42440 [!__profil_counter] (profil_counter): Define as weak alias of
42441 __profil_counter.
42442 * sysdeps/posix/profil.c: Update comment referring to
42443 profil_counter.
42444 (__profil): Use __profil_counter instead of profil_counter.
42445 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42446 __profil_counter. Use __profil_counter_ushort and
42447 __profil_counter_uint in definitions.
42448 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42449 instead of profil_counter_uint and profil_counter_ushort.
42450
42451 [BZ #17722]
42452 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42453 define as weak alias of __inet_makeaddr.
42454 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42455 as weak alias of __inet_addr.
42456 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42457 as weak alias of __inet_pton. Use libc_hidden_weak.
42458 * include/arpa/inet.h (__inet_pton): Declare. Use
42459 libc_hidden_proto.
42460 (inet_makeaddr): Don't use libc_hidden_proto.
42461 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42462 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42463 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42464 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42465 Remove variable.
42466 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42467 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42468
424692014-12-17 Steve Ellcey <sellcey@imgtec.com>
42470
42471 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42472
424732014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42474
42475 * stdio-common/bug-vfprintf-nargs.c (do_test):
42476 Cast value to intptr_t to avoid format warning
42477 for usage with PRIdPTR printing macro.
42478
424792014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42480
42481 * libio/tst-widetext.c (do_test):
42482 Use format type %td instead of %Zd for ptrdiff_t
42483 in order to avoid format warning.
42484
424852014-12-17 Andreas Schwab <schwab@suse.de>
42486
42487 * nscd/mem.c (gc): Add size_t cast to match printf format.
42488
424892014-12-16 Roland McGrath <roland@hack.frob.com>
42490
42491 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42492 (init): Apply PTR_MANGLE to pointers before storing them.
42493 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42494 before using them.
42495
424962014-12-16 Joseph Myers <joseph@codesourcery.com>
42497
42498 [BZ #17719]
42499 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42500 define as weak alias of __memrchr.
42501 (__memrchr): Do not define as strong alias of memrchr.
42502 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42503 Remove variable.
42504 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42505 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42506 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42507
42508 [BZ #17717]
42509 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42510 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42511 (if_indextoname): Rename to __if_indextoname and define as weak
42512 alias of __if_indextoname. Use libc_hidden_weak.
42513 (if_freenameindex): Rename to __if_freenameindex and define as
42514 weak alias of __if_freenameindex.
42515 (if_nameindex): Rename to __if_nameindex and define as weak alias
42516 of __if_nameindex.
42517 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42518 __if_nametoindex and define as weak alias of __if_nametoindex.
42519 Use libc_hidden_weak.
42520 (if_freenameindex): Rename to __if_freenameindex and define as
42521 weak alias of __if_freenameindex.
42522 (if_nameindex): Rename to __if_nameindex and define as weak alias
42523 of __if_nameindex.
42524 (if_indextoname): Rename to __if_indextoname and define as weak
42525 alias of __if_indextoname. Use libc_hidden_weak.
42526 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42527 __if_nametoindex and define as weak alias of __if_nametoindex.
42528 Use libc_hidden_weak.
42529 (if_freenameindex): Rename to __if_freenameindex and define as
42530 weak alias of __if_freenameindex. Use libc_hidden_weak.
42531 (if_nameindex_netlink): Use __if_freenameindex instead of
42532 if_freenameindex.
42533 (if_nameindex): Rename to __if_nameindex and define as weak alias
42534 of __if_nameindex. Use libc_hidden_weak.
42535 (if_indextoname): Rename to __if_indextoname and define as weak
42536 alias of __if_indextoname. Use libc_hidden_weak.
42537 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42538 libc_hidden_proto.
42539 [!_ISOMAC] (__if_freenameindex): Likewise.
42540 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42541 if_nametoindex.
42542 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42543 variable.
42544 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42545 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42546 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42547 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42548 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42549 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42550 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42551
42552 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42553 Remove variable.
42554 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42555 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42556
425572014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42558
42559 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42560 subscript above bounds'
42561
42562 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42563 bounds.
42564
425652014-12-16 Arjun Shankar <arjun.is@lostca.se>
42566
42567 * libio/tst-fopenloc.c: Use test-skeleton.c.
42568
42569 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42570 (entry): Rename to ITEM.
42571 (do_test, comp): Adjust.
42572
42573 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42574
425752014-12-16 Torvald Riegel <triegel@redhat.com>
42576
42577 * string/tester.c: Include <libc-internal.h>.
42578 (test_memset): Ignore -Wmemset-transposed-args.
42579
425802014-12-16 Torvald Riegel <triegel@redhat.com>
42581
42582 * misc/tst-mntent2.c (do_test): Fix warning.
42583
425842014-12-16 Torvald Riegel <triegel@redhat.com>
42585
42586 * elf/tst-unique4lib.cc(a): Mark as used.
42587
425882014-12-16 Florian Weimer <fweimer@redhat.com>
42589
42590 [BZ #17630]
42591 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42592 names.
42593
425942014-12-16 Allan McRae <allan@archlinux.org>
42595
42596 * stdio-common/Makefile (tests): Re-add bug26.
42597
425982014-12-15 Ondřej Bílka <neleai@seznam.cz>
42599
42600 [BZ #17657]
42601 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42602 static array.
42603
426042014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42605
42606 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42607 (__lll_lock_wait): Likewise.
42608 (__lll_timedlock_wait): Likewise.
42609 (__lll_timedwait_tid): Likewise.
42610 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42611 (__lll_robust_timedlock_wait): Likewise.
42612 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42613 (lll_cond_trylock): Likewise.
42614 (__lll_lock): Likewise.
42615 (__lll_robust_lock): Likewise.
42616 (__lll_cond_lock): Likewise.
42617 (lll_robust_cond_lock): Likewise.
42618 (__lll_timedlock): Likewise.
42619 (__lll_robust_timedlock): Likewise.
42620 (__lll_unlock): Likewise.
42621 (__lll_robust_unlock): Likewise.
42622 (lll_wait_tid): Likewise.
42623 (lll_timedwait_tid): Likewise.
42624
426252014-12-15 Torvald Riegel <triegel@redhat.com>
42626
42627 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42628
426292014-12-15 Torvald Riegel <triegel@redhat.com>
42630
42631 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42632
426332014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42634
42635 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42636 * stdio-common/tst-sprintf.c: Likewise.
42637
426382014-12-15 Torvald Riegel <triegel@redhat.com>
42639
42640 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42641
426422014-12-15 Jeff Law <law@redhat.com>
42643
42644 [BZ #16617]
42645 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42646 on the heap. (CVE-2012-3406)
42647 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42648 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42649 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42650
426512014-12-15 Will Newton <will.newton@linaro.org>
42652
42653 * manual/install.texi: Bump required version of texinfo
42654 to 4.7 from 4.5.
42655 * INSTALL: Regenerated.
42656 * configure.ac: Check for makeinfo version 4.7 and above.
42657 * configure: Regenerated.
42658
426592014-12-12 Roland McGrath <roland@hack.frob.com>
42660
42661 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42662 PREFIX, string constant to insert between directory and name.
42663 * sysdeps/posix/shm_open.c: Update caller.
42664 * sysdeps/posix/shm_unlink.c: Likewise.
42665 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42666 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42667 (SEM_SHM_PREFIX): New macro.
42668 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42669 [$(have-thread-library) = no].
42670 * nptl/Makefile (libpthread-routines): Add shm-directory.
42671 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42672 * sysdeps/nptl/shm-directory.h: New file.
42673 * sysdeps/posix/shm-directory.c
42674 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42675 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42676 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42677 INTERNAL_SYSCALL.
42678 (__where_is_shmfs): Function removed.
42679 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42680 Variables removed.
42681 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42682 Use SHM_GET_NAME.
42683 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42684
42685 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42686 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42687 unconditional for use inside libpthread.
42688 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42689
426902014-12-12 Roland McGrath <roland@hack.frob.com>
42691
42692 * nptl/pthread_getaffinity.c: New file.
42693 * nptl/pthread_setaffinity.c: New file.
42694 * nptl/pthread_getname.c: New file.
42695 * nptl/pthread_setname.c: New file.
42696
42697 * nptl/pthread_create.c (START_THREAD_DEFN)
42698 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42699
427002014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42701 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42702
42703 * resolv/res_send.c (send_vc): Disable warning resplen may
42704 be used uninitialized.
42705
427062014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42707
42708 * nptl/tst-mutex6.c
42709 (ATTR_NULL): New define checks ATTR against NULL.
42710 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42711 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42712
427132014-12-11 James Lemke <jwlemke@codesourcery.com>
42714
42715 [BZ #17581]
42716 * malloc/hooks.c
42717 (mem2mem_check): Revert my previous change.
42718 (malloc_check_get_size): Revert my previous change.
42719 (mem2chunk_check): Revert my previous change.
42720
427212014-12-11 Roland McGrath <roland@hack.frob.com>
42722
42723 * sysdeps/posix/shm-directory.c: New file.
42724 * sysdeps/posix/shm-directory.h: New file.
42725 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42726 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42727 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42728 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42729 Transmute EPERM to EACCES.
42730 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42731 from ...
42732 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42733 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42734
427352014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42736
42737 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42738 pointer and cast to uintptr_t.
42739 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42740 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42741 Add cast to avoid warning.
42742 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42743
427442014-12-11 Joseph Myers <joseph@codesourcery.com>
42745
42746 * nptl/semaphore.h: Move to ...
42747 * sysdeps/pthread/semaphore.h: ... here.
42748 * Makefile (installed-headers): Change nptl/semaphore.h to
42749 sysdeps/pthread/semaphore.h.
42750
427512014-12-11 Roland McGrath <roland@hack.frob.com>
42752
42753 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42754 generated error format strings.
42755
42756 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42757 -Wformat-extra-args warnings for scanf formats.
42758 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42759 test of zero-length format (duh).
42760 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42761 corner-case scanf format test.
42762 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42763 generated fprintf format string.
42764 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42765 corner-case sprintf format tests.
42766 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42767 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42768 -Wformat-extra-args warnings throughout.
42769 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42770 (CFLAGS-scanf4.c): Likewise.
42771 (CFLAGS-scanf7.c): Likewise.
42772 (CFLAGS-tst-sprintf.c): Likewise.
42773 (CFLAGS-tst-printf.c): Likewise.
42774 (CFLAGS-tst-printfsz.c): Likewise.
42775
427762014-12-11 Joseph Myers <joseph@codesourcery.com>
42777
42778 * include/cpio.h: New file.
42779 * include/fmtmsg.h: Likewise.
42780
42781 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42782 corresponding format argument to size_t.
42783 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42784 arguments.
42785 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42786 corresponding format argument to size_t.
42787 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42788 arguments.
42789 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42790 corresponding format argument to size_t.
42791 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42792 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42793 (CFLAGS-tst-mbswcs2.c): Likewise.
42794 (CFLAGS-tst-mbswcs3.c): Likewise.
42795 (CFLAGS-tst-mbswcs4.c): Likewise.
42796 (CFLAGS-tst-mbswcs5.c): Likewise.
42797 (CFLAGS-tst-trans.c): Likewise.
42798
427992014-12-11 Roland McGrath <roland@hack.frob.com>
42800
42801 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42802 rather than assuming they won't contain any '%'s.
42803
428042014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42805
42806 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42807 inhibit_loop_to_libcall to avoid recursive calls.
42808 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42809 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42810
428112014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42812
42813 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42814 prototype.
42815
428162014-12-11 Steve Ellcey <sellcey@imgtec.com>
42817
42818 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42819 integer value instead of boolean.
42820
428212014-12-11 Steve Ellcey <sellcey@imgtec.com>
42822
42823 * malloc/malloc.c: Fix powerof2 check.
42824
428252014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42826
42827 * locale/programs/locfile.h (maybe_swap_uint32):
42828 Remove inline and add unused attribute.
42829
428302014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42831
42832 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42833 Truncating assembler expression to a .long expression.
42834
428352014-12-11 Andreas Schwab <schwab@suse.de>
42836
42837 * elf/rtld.c (struct map_args): Constify str member.
42838 (do_preload): Constify fname argument.
42839
428402014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42841
42842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42843 constants definition.
42844
428452014-12-11 Andreas Schwab <schwab@suse.de>
42846
42847 [BZ #16657]
42848 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42849 FORCE_ELISION instead of DO_ELISION.
42850 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42851 Remove.
42852 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42853 Likewise.
42854
42855 * iconvdata/gconv-modules: Remove duplicate entry.
42856
428572014-12-11 Will Newton <will.newton@linaro.org>
42858
42859 Merge gettext 0.19.3 into intl/.
42860
42861 This involves a number of cosmetic changes to comments
42862 and ANSI function definitions and prototypes throughout
42863 all the files. The gettext copyright header is used but
42864 with the date ranges taken from the glibc copy.
42865
42866 * NEWS: Add gettext merge to 2.21.
42867 * intl/bindtextdom.c: Switch to gettext copyright.
42868 Use ANSI definitions and prototypes.
42869 Use gl_* locking primitives rather than __libc_* ones.
42870 Use __builtin_expect rather than __glibc_likely/unlikely.
42871 * intl/dcgettext.c: Switch to gettext copyright.
42872 Use ANSI definitions and prototypes.
42873 * intl/dcigettext.c: Switch to gettext copyright.
42874 Use ANSI definitions and prototypes.
42875 (INTDIV0_RAISES_SIGFPE): New define.
42876 Use gl_* locking primitives rather than __libc_* ones.
42877 Include eval-plural.h instead of plural-eval.c.
42878 Use __builtin_expect rather than __glibc_likely/unlikely.
42879 * intl/dcngettext.c: Switch to gettext copyright.
42880 Use ANSI definitions and prototypes.
42881 * intl/dgettext.c: Likewise.
42882 * intl/dngettext.c: Likewise.
42883 * intl/plural-eval.c: Renamed to...
42884 * intl/eval-plural.h: ...this.
42885 * intl/explodename.c: Switch to gettext copyright.
42886 Use ANSI definitions and prototypes.
42887 (_nl_explode_name): Use strchr instead of __rawmemchr.
42888 * intl/finddomain.c: Switch to gettext copyright.
42889 Use ANSI definitions and prototypes.
42890 Use gl_* locking primitives rather than __libc_* ones.
42891 (_nl_find_domain): Use malloc rather than alloca for
42892 allocation of temporary locale name.
42893 * intl/gettext.c: Switch to gettext copyright.
42894 Use ANSI definitions and prototypes.
42895 * intl/gettextP.h: Switch to gettext copyright.
42896 Use ANSI definitions and prototypes.
42897 Use gl_* locking primitives rather than __libc_* ones.
42898 * intl/gmo.h: Switch to gettext copyright.
42899 (struct sysdep_string): Move struct segment_pair outside of
42900 struct definition.
42901 * intl/hash-string.c: Use ANSI definitions and prototypes.
42902 * intl/hash-string.h: Switch to gettext copyright.
42903 Use ANSI definitions and prototypes.
42904 * intl/l10nflist.c: Switch to gettext copyright.
42905 Use ANSI definitions and prototypes.
42906 (_nl_normalize_codeset): Avoid integer overflow.
42907 * intl/loadinfo.h: Switch to gettext copyright.
42908 Use ANSI definitions and prototypes.
42909 (LIBINTL_DLL_EXPORTED): New define.
42910 (PATH_SEPARATOR): New define.
42911 * intl/loadmsgcat.c: Switch to gettext copyright.
42912 * intl/localealias.c: Switch to gettext copyright.
42913 Use ANSI definitions and prototypes.
42914 (_nl_expand_alias): Use PATH_SEPARATOR.
42915 * intl/ngettext.c: Switch to gettext copyright.
42916 Use ANSI definitions and prototypes.
42917 * intl/plural-exp.c: Likewise.
42918 * intl/plural-exp.h: Switch to gettext copyright.
42919 Use ANSI definitions and prototypes.
42920 (struct expression): Move definition of enum operator outside
42921 of struct definition.
42922 * intl/plural.c: Regenerate.
42923 * intl/plural.y: Switch to gettext copyright.
42924 Use ANSI definitions and prototypes.
42925 Port to bison 3.0.
42926 * intl/textdomain.c: Switch to gettext copyright.
42927 Use ANSI definitions and prototypes.
42928 Use gl_* locking primitives rather than __libc_* ones.
42929
429302014-12-10 Steve Ellcey <sellcey@imgtec.com>
42931
42932 * debug/warning-nop.c: Add used atrribute.
42933
429342014-12-10 Joseph Myers <joseph@codesourcery.com>
42935
42936 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42937
42938 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42939 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42940 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42941
429422014-12-10 Joseph Myers <joseph@codesourcery.com>
42943 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42944
42945 [BZ #17634]
42946 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42947 Undefine after defining function. Define as weak alias of
42948 __wcschr. Use libc_hidden_weak.
42949 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42950 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42951 (libc_hidden_def): Also define __GI___wcschr alias.
42952 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42953 __wcschr and define as weak alias of __wcschr.
42954 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42955 __wcschr.
42956 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42957 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42958 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42959 libc_hidden_weak. Do not use libc_hidden_def.
42960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42961 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42962 __GI___wcschr alias.
42963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42964 [IS_IN (libc)] (wcschr): Define as macro expanding to
42965 __redirect_wcschr.
42966 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42967 [IS_IN (libc)] (__wcschr_power6): Likewise.
42968 [IS_IN (libc)] (__wcschr_power7): Likewise.
42969 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42970 instead of wcschr.
42971 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42972 __libc_wcschr.
42973 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42974 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42975 __wcschr and define as weak alias of __wcschr. Use
42976 libc_hidden_builtin_def.
42977 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42978 as weak alias of __wcschr. Use libc_hidden_weak.
42979 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42980 wcschr.
42981 * time/era.c (_nl_init_era_entries): Likewise.
42982 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42983 variable.
42984 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42985 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42986
429872014-12-10 Joseph Myers <joseph@codesourcery.com>
42988
42989 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42990 format for long int variable.
42991
429922014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42993
42994 [BZ #10672]
42995 * manual/search.texi: (Array Sort Function): Remove claim how to make
42996 qsort stable.
42997
429982014-12-10 Andreas Schwab <schwab@suse.de>
42999
43000 [BZ #12847]
43001 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
43002 user-controlled locks.
43003
430042014-12-10 Richard Earnshaw <rearnsha@arm.com>
43005
43006 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
43007 register.
43008
430092014-12-10 Joseph Myers <joseph@codesourcery.com>
43010
43011 * configure.ac (--disable-werror): New configure option.
43012 (enable_werror): New AC_SUBST.
43013 * configure: Regenerated.
43014 * config.make.in (enable-werror): New variable.
43015 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
43016 -Wno-error=undef.
43017 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
43018 * manual/install.texi (Configuring and compiling): Document
43019 --disable-werror.
43020 * INSTALL: Regenerated.
43021 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
43022 (CFLAGS-tst-chk2.c): Likewise.
43023 (CFLAGS-tst-chk3.c): Likewise.
43024 (CFLAGS-tst-chk4.cc): Likewise.
43025 (CFLAGS-tst-chk5.cc): Likewise.
43026 (CFLAGS-tst-chk6.cc): Likewise.
43027 (CFLAGS-tst-lfschk1.c): Likewise.
43028 (CFLAGS-tst-lfschk2.c): Likewise.
43029 (CFLAGS-tst-lfschk3.c): Likewise.
43030 (CFLAGS-tst-lfschk4.cc): Likewise.
43031 (CFLAGS-tst-lfschk5.cc): Likewise.
43032 (CFLAGS-tst-lfschk6.cc): Likewise.
43033
43034 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
43035 (main): Disable -Wdeprecated-declarations around calls to
43036 register_printf_function.
43037
43038 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
43039 (do_test): Disable -Wdiv-by-zero around some calls to
43040 fwrite_unlocked and fread_unlocked.
43041
43042 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
43043 (DIAG_POP_NEEDS_COMMENT): Likewise.
43044 (_DIAG_STR1): Likewise.
43045 (_DIAG_STR): Likewise.
43046 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
43047 * stdio-common/bug21.c: Include <libc-internal.h>.
43048 (do_test): Disable -Wformat around call to sscanf.
43049 * stdio-common/scanf14.c: Include <libc-internal.h>.
43050 (main): Disable -Wformat around some calls to scanf functions.
43051
430522014-12-09 Torvald Riegel <triegel@redhat.com>
43053
43054 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
43055
430562014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43057
43058 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
43059 stack variable alignment.
43060
430612014-12-06 Joseph Myers <joseph@codesourcery.com>
43062
43063 [BZ #17682]
43064 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
43065 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
43066 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
43067 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
43068 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
43069 __getrlimit instead of getrlimit.
43070 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
43071 __gettimeofday instead of gettimeofday.
43072 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
43073 Likewise.
43074 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
43075 Likewise.
43076 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43077 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
43078 Remove variable.
43079 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43080 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43081
430822014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43083
43084 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
43085 for wide-character tests.
43086
430872014-12-04 Roland McGrath <roland@hack.frob.com>
43088
43089 * io/openat64.c: #include <libc-internal.h>
43090 (__openat64): Prototypify. Use ignore_value on MODE.
43091 * io/openat.c: Likewise.
43092 * misc/reboot.c: #include <libc-internal.h>
43093 (reboot): Prototypify. Use ignore_value on HOWTO.
43094 * misc/ptrace.c: #include <libc-internal.h>
43095 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
43096
430972014-12-04 Joseph Myers <joseph@codesourcery.com>
43098
43099 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
43100 XPG4, UNIX98 and XOPEN2K.
43101 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
43102 Remove variable.
43103 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43104
431052014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43106
43107 * libio/fileops.c: Use ISO C style for function definitions.
43108 * libio/iofopen.c: Likewise.
43109 * libio/wfileops.c: Likewise.
43110
43111 [BZ #17653]
43112 * libio/fileops.c (_IO_new_file_underflow): Unset cached
43113 offset on EOF.
43114 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
43115 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
43116 (fgets_func): Function pointer to fgets and fgetws.
43117 (do_ftell_test): Add test to verify ftell value after read
43118 EOF.
43119 (do_test): Set fgets_func.
43120
43121 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
43122 O_TRUNC flag for w and w+ modes.
43123 (do_rewind_test): Likewise.
43124 (do_ftell_test): Likewise.
43125 (do_write_test): Likewise.
43126
43127 [BZ #17647]
43128 * libio/fileops.c (do_ftell): Seek only when there are
43129 unflushed writes.
43130 * libio/wfileops.c (do_ftell_wide): Likewise.
43131 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
43132 test case.
43133 (do_one_test): Call it.
43134
431352014-12-03 Joseph Myers <joseph@codesourcery.com>
43136
43137 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
43138 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
43139 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
43140 Remove variable.
43141 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43142 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43143 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43144
431452014-12-02 Joseph Myers <joseph@codesourcery.com>
43146
43147 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
43148 Remove variable.
43149 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43150
43151 [BZ #17668]
43152 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
43153 as weak alias of __getifaddrs. Use libc_hidden_weak.
43154 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43155 __freeifaddrs. Use libc_hidden_weak.
43156 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
43157 define as weak alias of __getifaddrs. Use libc_hidden_weak.
43158 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43159 __freeifaddrs. Use libc_hidden_weak.
43160 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
43161 __getifaddrs and define as weak alias of __getifaddrs. Use
43162 libc_hidden_weak.
43163 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43164 __freeifaddrs. Use libc_hidden_weak.
43165 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
43166 Remove variable.
43167 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43168 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43169
431702014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
43171
43172 [BZ #17601]
43173 * sysdeps/mips/start.S (__start): Use indirect jump to call
43174 __libc_start_main.
43175
431762014-12-02 Joseph Myers <joseph@codesourcery.com>
43177
43178 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
43179
43180 * nptl/tst-mutex1.c: Include <stdbool.h>.
43181 [!ATTR] (ATTR_NULL): New macro.
43182 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
43183 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43184 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43185
43186 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43187 to char *.
43188
43189 [BZ #17665]
43190 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43191 Change conditional to [__USE_MISC].
43192
43193 [BZ #17664]
43194 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43195 fgets_unlocked.
43196 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43197 __fgets_unlocked.
43198 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43199 fgets_unlocked.
43200 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43201 Remove variable.
43202 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43203 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43204 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43205 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43206 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43207 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43208 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43209 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43210 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43211
43212 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43213
432142014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43215
43216 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43217 Remove strpbrk objects.
43218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43219 (__libc_ifunc_impl_list): Remove strpbrk implementation.
43220 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43221 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43222 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43223 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43224
43225 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43226 Remove strcspn objects.
43227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43228 (__libc_ifunc_impl_list): Remove strcspn implementation.
43229 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43230 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43231 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43232 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43233
43234 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43235 Remove strspn objetcs.
43236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43237 (__libc_ifunc_impl_list): Remove strspn implementation.
43238 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43239 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43240 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43241 * sysdeps/powerpc/powerpc64/strspn.S: New file.
43242
432432014-12-01 James Lemke <jwlemke@codesourcery.com>
43244
43245 [BZ #17581]
43246 * malloc/hooks.c
43247 (mem2mem_check): Add a terminator to the chain of checking blocks.
43248 (malloc_check_get_size): Use it here.
43249 (mem2chunk_check): Ditto.
43250
432512014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43252
43253 * sysdeps/powerpc/powerpc64/strtok.S: New file.
43254 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43255
432562014-11-29 Carlos O'Donell <carlos@redhat.com>
43257
43258 * bits/ioctl-types.h: Indent preprocessor directives correctly.
43259
43260 * nptl/nptl-init.c: Include libc-internal.h.
43261 (__pthread_initialize_minimal_internal): Use ROUND_UP.
43262
43263 * elf/ldconfig.c (search_dir): Expand comment.
43264
432652014-11-29 Joseph Myers <joseph@codesourcery.com>
43266
43267 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43268 variable.
43269 (linknamespace-symlist-stdlibs-tests): Likewise.
43270 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43271 instead of $(objpfx)symlist-stdlibs.
43272 (linknamespace-libs-isoc): New variable.
43273 (linknamespace-libs): Use $(linknamespace-libs-isoc).
43274 (linknamespace-libs-ISO): New variable.
43275 (linknamespace-libs-ISO99): Likewise.
43276 (linknamespace-libs-ISO11): Likewise.
43277 (linknamespace-libs-XPG3): Likewise.
43278 (linknamespace-libs-XPG4): Likewise.
43279 (linknamespace-libs-POSIX): Likewise.
43280 (linknamespace-libs-UNIX98): Likewise.
43281 (linknamespace-libs-XOPEN2K): Likewise.
43282 (linknamespace-libs-POSIX2008): Likewise.
43283 (linknamespace-libs-XOPEN2K8): Likewise.
43284 ($(objpfx)symlist-stdlibs): Replace by
43285 $(linknamespace-symlist-stdlibs-tests). Use
43286 $(linknamespace-libs-$*) as set of libraries.
43287 ($(linknamespace-header-tests)): Update dependencies. Use
43288 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43289 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43290 * conform/linknamespace.pl: Remove comment about considering
43291 definitions of symbols from irrelevant libraries.
43292
432932014-11-28 H.J. Lu <hongjiu.lu@intel.com>
43294
43295 [BZ #13862]
43296 * elf/dl-tls.c: Include <atomic.h>.
43297 (oom): Remove #ifdef SHARED/#endif.
43298 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43299 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
43300 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43301 big enough.
43302 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43303 * nptl/Makefile (tests): Add tst-stack4.
43304 (modules-names): Add tst-stack4mod.
43305 ($(objpfx)tst-stack4): New.
43306 (tst-stack4mod.sos): Likewise.
43307 ($(objpfx)tst-stack4.out): Likewise.
43308 ($(tst-stack4mod.sos)): Likewise.
43309 (clean): Likewise.
43310 * nptl/tst-stack4.c: New file.
43311 * nptl/tst-stack4mod.c: Likewise.
43312
433132014-11-27 J. Brown <jb999@gmx.de>
43314
43315 * sysdeps/x86/bits/string.h: Add recent CPUs.
43316
433172014-11-27 Joseph Myers <joseph@codesourcery.com>
43318
43319 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43320 sigblock.
43321
43322 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43323 feof.
43324
43325 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43326 variable.
43327
433282014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
43329
43330 * nscd/connections.c: Include libc-internal.h because of macro
43331 usage ignore_value.
43332
433332014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43334
43335 * string/bits/string3.h (__warn_memset_zero_len): Don't
43336 declare for gcc newer than 5.0.
43337 (memset): Don't test for zero-length __LEN for gcc newer than
43338 5.0.
43339
433402014-11-27 Joseph Myers <joseph@codesourcery.com>
43341
43342 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43343 size_t for %zu format.
43344
43345 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43346 difference, not %ju.
43347
433482014-11-26 Joseph Myers <joseph@codesourcery.com>
43349
43350 * include/libc-internal.h (ignore_value): New macro.
43351 * nscd/connections.c (restart): Wrap calls to setuid and setgid
43352 with ignore_value.
43353
43354 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43355 definition.
43356
43357 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43358 pthread_cleanup_push to void *.
43359
43360 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43361 Undefine.
43362
43363 [BZ #16619]
43364 [BZ #16740]
43365 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43366 instead of 1L << 52.
43367
43368 * libio/bug-rewind.c (do_test): Check fwscanf return values.
43369 * libio/bug-rewind2.c (do_test): Likewise.
43370
43371 * debug/test-stpcpy_chk-ifunc.c: Remove file.
43372 * debug/test-strcpy_chk-ifunc.c: Likewise.
43373 * wcsmbs/test-wcschr-ifunc.c: Likewise.
43374 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43375 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43376 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43377 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43378 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43379 * Rules [$(multi-arch) = no] (tests): Do not filter out
43380 $(tests-ifunc).
43381 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43382 * debug/Makefile (tests-ifunc): Remove variable.
43383 (tests): Do not add $(tests-ifunc).
43384 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43385 (tests): Do not add $(tests-ifunc).
43386 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43387 [TEST_IFUNC]: Remove conditionals.
43388 * string/test-string.h (TEST_IFUNC): Remove macro.
43389 [TEST_IFUNC]: Remove conditionals.
43390
43391 * string/test-strchr.c [!WIDE] (L): New macro.
43392 [WIDE] (L): Likewise.
43393 (check1): Use CHAR instead of char. Use L on string and character
43394 constants.
43395
433962014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
43397
43398 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43399 tests.
43400 * sysdeps/powerpc/bits/atomic.h
43401 (__arch_atomic_exchange_and_add_32_acq): Add definition.
43402 (__arch_atomic_exchange_and_add_32_rel): Likewise.
43403 (atomic_exchange_and_add_acq): Likewise.
43404 (atomic_exchange_and_add_rel): Likewise.
43405 * sysdeps/powerpc/powerpc32/bits/atomic.h
43406 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43407 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43408 * sysdeps/powerpc/powerpc64/bits/atomic.h
43409 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43410 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43411
434122014-11-26 Torvald Riegel <triegel@redhat.com>
43413
43414 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43415 Change synchronization of __sched_fifo_min_prio and
43416 __sched_fifo_max_prio.
43417 * nptl/pthread_mutexattr_getprioceiling.c
43418 (pthread_mutexattr_getprioceiling): Likewise.
43419 * nptl/pthread_mutexattr_setprioceiling.c
43420 (pthread_mutexattr_setprioceiling): Likewise.
43421 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43422 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43423 Likewise.
43424
434252014-11-26 Joseph Myers <joseph@codesourcery.com>
43426
43427 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43428 void.
43429
434302014-11-25 Joseph Myers <joseph@codesourcery.com>
43431
43432 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43433 third argument const.
43434
434352014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43436
43437 fnmatch: work around GCC compiler warning bug with uninit var
43438 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43439 This works around a bug with x86-64 GCC 4.9.2 and earlier
43440 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43441 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43442 used uninitialized in this function [-Wmaybe-uninitialized]".
43443
434442014-11-25 Joseph Myers <joseph@codesourcery.com>
43445
43446 * posix/bug-regex31.c (main): Return RES not 0.
43447
434482014-11-25 Anton Blanchard <anton@samba.org>
43449
43450 * sysdeps/powerpc/bits/atomic.h
43451 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43452
434532014-11-24 Sterling Augustine <saugustine@google.com>
43454
43455 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43456
434572014-11-24 Ryan Cumming <etaoins@gmail.com>
43458
43459 [BZ #17608]
43460 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43461
434622014-11-24 Joseph Myers <joseph@codesourcery.com>
43463
43464 [BZ #17633]
43465 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43466 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43467 variable.
43468 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43469 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43470
434712014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43472
43473 * string/strncpy.c (strncpy): Improve performance by using memset.
43474
434752014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43476
43477 * string/strcpy.c (strcpy):
43478 Improve performance by using strlen and memcpy.
43479
434802014-11-24 Leonhard Holz <leonhard.holz@web.de>
43481
43482 * string/strcoll_l.c (get_next_seq): __always_inline.
43483 * string/strcoll_l.c (do_compare): __always_inline.
43484
434852014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43486
43487 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43488 defined.
43489 * include/mqueue.h: Likewise.
43490 * include/stdlib.h: Likewise.
43491
43492 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43493 (get_null_defines): Adjust.
43494 * sunrpc/Makefile: Adjust comment.
43495 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43496 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43497 (CFLAGS-interp.c): Likewise.
43498 (CFLAGS-ldconfig.c): Likewise.
43499 (CPPFLAGS-.os): Likewise.
43500 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43501 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43502 * extra-modules.mk (extra-modules.mk): Likewise.
43503 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43504 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43505 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43506 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43507 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43508 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43509 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43510 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43511 * iconvdata/Makefile (CPPFLAGS): Likewise.
43512 (cpp-srcs-left): Add libof for all iconvdata routines.
43513 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43514 * include/assert.h: Likewise.
43515 * include/ctype.h: Likewise.
43516 * include/errno.h: Likewise.
43517 * include/libc-symbols.h: Likewise.
43518 * include/math.h: Likewise.
43519 * include/netdb.h: Likewise.
43520 * include/resolv.h: Likewise.
43521 * include/stdio.h: Likewise.
43522 * include/stdlib.h: Likewise.
43523 * include/string.h: Likewise.
43524 * include/sys/stat.h: Likewise.
43525 * include/wctype.h: Likewise.
43526 * intl/l10nflist.c: Likewise.
43527 * libidn/idn-stub.c: Likewise.
43528 * libio/libioP.h: Likewise.
43529 * nptl/libc_multiple_threads.c: Likewise.
43530 * nptl/pthreadP.h: Likewise.
43531 * posix/regex_internal.h: Likewise.
43532 * resolv/res_hconf.c: Likewise.
43533 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43534 * sysdeps/arm/memmove.S: Likewise.
43535 * sysdeps/arm/sysdep.h: Likewise.
43536 * sysdeps/generic/_itoa.h: Likewise.
43537 * sysdeps/generic/symbol-hacks.h: Likewise.
43538 * sysdeps/gnu/errlist.awk: Likewise.
43539 * sysdeps/gnu/errlist.c: Likewise.
43540 * sysdeps/i386/i586/memcpy.S: Likewise.
43541 * sysdeps/i386/i586/memset.S: Likewise.
43542 * sysdeps/i386/i686/memcpy.S: Likewise.
43543 * sysdeps/i386/i686/memmove.S: Likewise.
43544 * sysdeps/i386/i686/mempcpy.S: Likewise.
43545 * sysdeps/i386/i686/memset.S: Likewise.
43546 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43547 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43548 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43549 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43550 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43551 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43552 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43553 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43554 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43555 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43556 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43557 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43558 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43559 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43560 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43561 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43562 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43563 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43564 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43565 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43566 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43567 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43568 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43569 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43570 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43572 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43573 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43574 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43575 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43576 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43577 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43579 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43580 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43581 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43582 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43583 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43584 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43585 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43586 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43587 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43588 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43589 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43590 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43591 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43592 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43593 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43594 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43595 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43596 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43597 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43598 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43599 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43600 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43601 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43602 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43603 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43604 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43605 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43606 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43607 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43608 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43609 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43610 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43611 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43612 * sysdeps/posix/closedir.c: Likewise.
43613 * sysdeps/posix/opendir.c: Likewise.
43614 * sysdeps/posix/readdir.c: Likewise.
43615 * sysdeps/posix/rewinddir.c: Likewise.
43616 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43617 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43618 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43619 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43620 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43621 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43622 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43623 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43624 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43625 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43626 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43627 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43628 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43629 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43630 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43631 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43632 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43633 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43634 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43635 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43636 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43637 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43638 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43639 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43640 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43641 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43642 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43643 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43644 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43648 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43651 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43652 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43653 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43654 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43655 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43656 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43657 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43658 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43659 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43660 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43661 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43662 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43663 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43664 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43665 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43666 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43667 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43668 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43669 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43670 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43673 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43674 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43675 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43676 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43677 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43678 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43679 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43680 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43681 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43682 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43683 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43684 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43685 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43686 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43687 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43688 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43689 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43690 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43691 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43692 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43693 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43694 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43695 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43696 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43697 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43698 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43699 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43700 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43702 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43703 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43704 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43705 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43706 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43707 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43708 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43710 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43712 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43714 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43715 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43717 * sysdeps/unix/alpha/sysdep.S: Likewise.
43718 * sysdeps/unix/alpha/sysdep.h: Likewise.
43719 * sysdeps/unix/make-syscalls.sh: Likewise.
43720 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43722 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43723 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43724 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43725 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43726 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43727 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43728 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43729 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43731 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43733 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43734 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43735 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43736 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43737 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43738 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43739 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43740 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43741 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43742 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43743 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43744 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43745 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43746 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43749 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43750 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43754 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43758 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43759 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43760 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43761 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43762 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43763 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43764 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43767 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43770 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43771 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43772 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43773 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43774 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43775 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43776 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43778 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43779 * sysdeps/x86_64/memcpy.S: Likewise.
43780 * sysdeps/x86_64/memmove.c: Likewise.
43781 * sysdeps/x86_64/memset.S: Likewise.
43782 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43783 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43784 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43785 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43786 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43789 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43790 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43791 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43792 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43793 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43794 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43795 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43796 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43797 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43798 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43799 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43800 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43801 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43802 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43803 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43804 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43806 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43807 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43808 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43809 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43810 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43811 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43812 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43813 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43814 * sysdeps/x86_64/strcmp.S: Likewise.
43815
43816 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43817
43818 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43819 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43820 * elf/rtld-Rules: Likewise.
43821 * elf/setup-vdso.h: Likewise.
43822 * include/assert.h: Likewise.
43823 * include/bits/stdlib-float.h: Likewise.
43824 * include/errno.h: Likewise.
43825 * include/sys/stat.h: Likewise.
43826 * include/unistd.h: Likewise.
43827 * sysdeps/aarch64/setjmp.S: Likewise.
43828 * sysdeps/alpha/setjmp.S: Likewise.
43829 * sysdeps/arm/__longjmp.S: Likewise.
43830 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43831 * sysdeps/arm/setjmp.S: Likewise.
43832 * sysdeps/arm/sysdep.h: Likewise.
43833 * sysdeps/generic/_itoa.h: Likewise.
43834 * sysdeps/generic/dl-sysdep.h: Likewise.
43835 * sysdeps/generic/ldsodefs.h: Likewise.
43836 * sysdeps/i386/dl-tls.h: Likewise.
43837 * sysdeps/i386/setjmp.S: Likewise.
43838 * sysdeps/m68k/setjmp.c: Likewise.
43839 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43840 * sysdeps/mach/hurd/opendir.c: Likewise.
43841 * sysdeps/posix/getcwd.c: Likewise.
43842 * sysdeps/posix/opendir.c: Likewise.
43843 * sysdeps/posix/profil.c: Likewise.
43844 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43845 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43846 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43847 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43848 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43849 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43850 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43851 * sysdeps/s390/dl-tls.h: Likewise.
43852 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43853 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43854 * sysdeps/sh/sh3/setjmp.S: Likewise.
43855 * sysdeps/sh/sh4/setjmp.S: Likewise.
43856 * sysdeps/unix/alpha/sysdep.h: Likewise.
43857 * sysdeps/unix/arm/sysdep.S: Likewise.
43858 * sysdeps/unix/i386/sysdep.S: Likewise.
43859 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43860 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43861 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43862 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43864 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43865 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43866 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43867 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43868 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43869 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43870 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43871 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43874 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43877 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43878 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43879 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43882 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43883 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43884 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43886 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43887 * sysdeps/x86_64/setjmp.S: Likewise.
43888
43889 * include/math.h: Use IS_IN instead of IS_IN_libm.
43890 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43891 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43892 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43893 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43894 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43895 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43896 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43897 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43898 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43899 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43900 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43901 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43902 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43903 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43904 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43905 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43906 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43907 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43908 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43909 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43910 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43911 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43912 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43913 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43914 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43915 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43916 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43917 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43918 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43919 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43920 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43921 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43922 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43924 Likewise.
43925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43926 Likewise.
43927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43928 Likewise.
43929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43930 Likewise.
43931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43932 Likewise.
43933 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43935 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43936 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43937 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43938 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43944 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43945 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43946 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43947 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43948 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43949 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43950 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43951 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43952 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43953 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43954 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43956 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43957 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43959 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43960
43961 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43962 * nptl/pthreadP.h: Likewise.
43963 * nptl_db/structs.def: Likewise.
43964 * sysdeps/arm/sysdep.h: Likewise.
43965 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43966 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43967 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43968 * sysdeps/unix/alpha/sysdep.h: Likewise.
43969 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43970 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43971 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43972 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43973 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43974 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43975 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43976 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43977 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43978 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43979 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43980 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43981 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43982 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43985 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43986 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43987 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43988 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43990 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43991 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43992 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43993 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43994 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43995
43996 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43997 * nptl/pthreadP.h: Likewise.
43998 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43999 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
44000 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
44001 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
44002 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
44003 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
44004 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44005 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
44006 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
44007 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
44008 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
44009 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
44010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44011 Likewise.
44012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44013 Likewise.
44014 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
44015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
44016 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
44017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
44018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
44019 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
44020 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
44021 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
44022
44023 * dlfcn/dladdr.c: Use IS_IN.
44024 * dlfcn/dladdr1.c: Likewise.
44025 * dlfcn/dlclose.c: Likewise.
44026 * dlfcn/dlerror.c: Likewise.
44027 * dlfcn/dlinfo.c: Likewise.
44028 * dlfcn/dlmopen.c: Likewise.
44029 * dlfcn/dlopen.c: Likewise.
44030 * dlfcn/dlsym.c: Likewise.
44031 * dlfcn/dlvsym.c: Likewise.
44032
44033 * include/ifaddrs.h: Use IS_IN.
44034 * inet/check_pf.c: Likewise.
44035 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44036 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
44037
44038 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
44039 IS_IN_ldconfig.
44040 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
44041 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
44042
44043 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
44044 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
44045 IS_IN (libc).
44046
44047 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
44048
44049 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
44050 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44051 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
44052 * include/libc-symbols.h (IS_IN_LIB): New macro.
44053 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
44054 * include/netdb.h: Likewise.
44055 * include/stap-probe.h: Remove all uses of IN_LIB.
44056
44057 * Makeconfig (module-cppflags-real): Define MODULE_NAME
44058 instead of IN_MODULE.
44059 * include/libc-symbols.h (IN_MODULE): Define using
44060 MODULE_NAME.
44061 (PASTE_NAME, PASTE_NAME1): New macros.
44062 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
44063 of IN_LIB.
44064 (STAP_PROBE_ASM): Likewise.
44065
440662014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
44067
44068 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
44069 __mach_init in dlopened libc.
44070
440712014-11-22 Mike Frysinger <vapier@gentoo.org>
44072
44073 * sysdeps/arm/preconfigure.ac: Delete EABI check.
44074 * sysdeps/arm/preconfigure: Regenerate.
44075
440762014-11-21 Roland McGrath <roland@hack.frob.com>
44077
44078 * nptl/pthread_create.c (__pthread_create_2_1): Set
44079 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
44080 when copying values from IATTR into PD.
44081
440822014-11-21 Will Newton <will.newton@linaro.org>
44083 Andrew Pinski <andrew.pinski@caviumnetworks.com>
44084
44085 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
44086 Refactor inline-asm. Also add comment.
44087
44088 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
44089 ElfW macro instead of hardcoded Elf64 types.
44090 (la_aarch64_gnu_pltenter): Likewise.
44091 * sysdeps/aarch64/dl-machine.h
44092 (elf_machine_runtime_setup): Use ElfW(Addr).
44093
44094 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
44095 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
44096 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
44097 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
44098 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
44099 (R_AARCH64_TLS_DTPMOD64): Rename to ..
44100 (R_AARCH64_TLS_DTPMOD): This.
44101 (R_AARCH64_TLS_DTPREL64): Rename to ...
44102 (R_AARCH64_TLS_DTPREL): This.
44103 (R_AARCH64_TLS_TPREL64): Rename to ...
44104 (R_AARCH64_TLS_TPREL): This.
44105 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
44106 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
44107 R_AARCH64_TLS_TPREL64.
44108 (elf_machine_rela): Likewise.
44109
441102014-11-21 Torvald Riegel <triegel@redhat.com>
44111
44112 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
44113 by setting it to 0. 64b atomics are not supported currently.
44114
441152014-11-21 Alexandre Oliva <aoliva@redhat.com>
44116
44117 [BZ #16469]
44118 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
44119 search domain names.
44120
441212014-11-21 Alexandre Oliva <aoliva@redhat.com>
44122
44123 [BZ #16469]
44124 * NEWS: Update.
44125 * resolv/res_query.c (__libc_res_nquerydomain): Retain
44126 trailing dot.
44127 * posix/tst-getaddrinfo5.c: New.
44128 * posix/Makefile (tests): Add it.
44129
441302014-11-21 Alexandre Oliva <aoliva@redhat.com>
44131
44132 [BZ #14498]
44133 * NEWS: Fixed.
44134 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
44135 after parsing line but before break_if_match.
44136 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
44137 if there is a protocol mismatch.
44138
441392014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
44140
44141 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
44142 because the potential race is on the user-supplied stream.
44143
441442014-11-21 Alexandre Oliva <aoliva@redhat.com>
44145
44146 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
44147 string literal if not passed a buffer.
44148 * manual/job.texi (ctermid): Update reasoning, note deviation
44149 from posix, suggest mtasurace when not passed a buffer, for
44150 future non-preliminary safety notes.
44151
441522014-11-21 Alexandre Oliva <aoliva@redhat.com>
44153
44154 * manual/users.texi (cuserid): Fix MT-Safety note for the case
44155 of not passing it a buffer.
44156 Reported by Peng Haitao.
44157
441582014-11-21 Alexandre Oliva <aoliva@redhat.com>
44159
44160 * manual/Makefile ($(objpfx)stamp-summary): Require
44161 check-safety.sh to pass.
44162 * manual/check-safety.sh: Wish for verification that every
44163 @deftypefn and @deftypefun is followed by a @safety remark.
44164
441652014-11-20 Roland McGrath <roland@hack.frob.com>
44166
44167 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
44168
44169 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
44170 PTHREAD_CANCEL_ASYNCHRONOUS.
44171 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
44172 send SIGCANCEL.
44173
44174 * nptl/default-sched.h: New file.
44175 * sysdeps/unix/sysv/linux/default-sched.h: New file.
44176 * nptl/pthread_create.c: Include it.
44177 (__pthread_create_2_1): Use collect_default_sched instead of making
44178 Linux syscalls here directly.
44179
441802014-11-20 Torvald Riegel <triegel@redhat.com>
44181
44182 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
44183 __pthread_once): Use C11 atomics.
44184
441852014-11-20 Torvald Riegel <triegel@redhat.com>
44186
44187 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44188
441892014-11-20 Torvald Riegel <triegel@redhat.com>
44190
44191 * include/atomic.h (__atomic_link_error, __atomic_check_size,
44192 atomic_thread_fence_acquire, atomic_thread_fence_release,
44193 atomic_thread_fence_seq_cst, atomic_load_relaxed,
44194 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44195 atomic_compare_exchange_weak_relaxed,
44196 atomic_compare_exchange_weak_acquire,
44197 atomic_compare_exchange_weak_release,
44198 atomic_exchange_acquire, atomic_exchange_release,
44199 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44200 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44201 atomic_fetch_and_acquire,
44202 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44203
442042014-11-20 Torvald Riegel <triegel@redhat.com>
44205
44206 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44207 USE_ATOMIC_COMPILER_BUILTINS): Define.
44208 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44209 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44210 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44211 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44212 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44213 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44214 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44215 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44216 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44217 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44218 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44219 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44220 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44221 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44222 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44223 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44224 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44225 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44226 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44227 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44228 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44229 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44230 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44231 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44232 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44233 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44234 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44235 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44236 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44237 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44238 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44239 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44240 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44241 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44242 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44243 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44244 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44245 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44246 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44247 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44248
442492014-11-19 Roland McGrath <roland@hack.frob.com>
44250
44251 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44252 the sched_priority value here. It was already checked when the user
44253 called pthread_attr_setschedparam.
44254
44255 * nptl/tst-bad-schedattr.c: New file.
44256 * nptl/Makefile (tests): Add it.
44257
442582014-11-19 Carlos O'Donell <carlos@redhat.com>
44259 Florian Weimer <fweimer@redhat.com>
44260 Joseph Myers <joseph@codesourcery.com>
44261 Adam Conrad <adconrad@0c3.net>
44262 Andreas Schwab <schwab@suse.de>
44263 Brooks <bmoses@google.com>
44264
44265 [BZ #17625]
44266 * wordexp-test.c (__dso_handle): Add prototype.
44267 (__register_atfork): Likewise.
44268 (__app_register_atfork): New function.
44269 (registered_forks): New global.
44270 (register_fork): New function.
44271 (test_case): Add 3 new tests for WRDE_CMDSUB.
44272 (main): Call __app_register_atfork.
44273 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44274 fork count is non-zero fail the test.
44275 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44276 is set.
44277 (parse_dollars): Remove check for WRDE_NOCMD.
44278 (parse_dquote): Likewise.
44279
442802014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44281
44282 * Makeconfig (built-modules): List non-library modules to be
44283 built.
44284 (module-cppflags): Include libc-modules.h for
44285 everything except shlib-versions.v.i.
44286 (CPPFLAGS): Use it.
44287 (before-compile): Add libc-modules.h.
44288 ($(common-objpfx)libc-modules.h,
44289 $(common-objpfx)libc-modules.stmp): New targets.
44290 (common-generated): Add libc-modules.h and libc-modules.stmp.
44291 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44292 * include/libc-symbols.h: Don't include libc-modules.h.
44293 * include/libc-modules.h: Remove file.
44294 * scripts/gen-libc-modules.awk: New script to generate
44295 libc-modules.h.
44296 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44297 Depend on libc-modules.stmp.
44298
44299 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44300
44301 * Makeconfig (in-module): Get value of libof set for the
44302 translation unit.
44303 (CPPFLAGS): Use $(in-module).
44304 * Makerules: Don't suffix routine names for nonlib.
44305 * include/libc-modules.h: New file.
44306 * include/libc-symbols.h: Include libc-modules.h
44307 (IS_IN): New macro to replace IS_IN_* macros.
44308 * elf/Makefile: Set libof-* for each routine.
44309 * elf/rtld-Rules: Likewise.
44310 * extra-modules.mk: Likewise.
44311 * iconv/Makefile: Likewise.
44312 * iconvdata/Makefile: Likewise.
44313 * locale/Makefile: Likewise.
44314 * malloc/Makefile: Likewise.
44315 * nss/Makefile: Likewise.
44316 * sysdeps/gnu/Makefile: Likewise.
44317 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44318 * sysdeps/unix/sysv/linux/Makefile: Likewise.
44319 * sysdeps/s390/s390-64/Makefile: Likewise.
44320 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
44321 CPPFLAGS for nscd instead of nonlib.
44322
443232014-11-18 Roland McGrath <roland@hack.frob.com>
44324
44325 * nptl/createthread.c: New file.
44326
44327 * nptl/createthread.c: Moved ...
44328 * sysdeps/unix/sysv/linux/createthread.c: ... here.
44329
44330 * nptl/createthread.c: Add proper top-line comment.
44331 (do_clone): Folded into ...
44332 (create_thread): ... here. Take new arguments STOPPED_START and
44333 THREAD_RAN. Always set PD->stopped_start to something here. Don't
44334 increment __nptl_threads, do event-reporting logic, do
44335 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44336 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
44337 resource cleanup if sched_setaffinity or sched_setscheduler fails,
44338 just send SIGCANCEL.
44339 * nptl/pthread_create.c: Forward-declare create_thread before
44340 including createthread.c.
44341 (start_thread): Use new macro START_THREAD_DEFN to replace defining
44342 declaration, and new macro START_THREAD_SELF to replace argument.
44343 Remove return statement.
44344 (report_thread_creation): New function.
44345 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
44346 synchronization logic, and __nptl_nthreads increment here, around
44347 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
44348 PD->parent_cancelhandling here, before create_thread. When
44349 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44350 __deallocate_stack, and ENOMEM translation here.
44351
443522014-11-18 Joseph Myers <joseph@codesourcery.com>
44353
44354 [BZ #17616]
44355 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44356 (mptwo): Rename to __mptwo.
44357 (__inv): Use __mptwo instead of mptwo.
44358 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44359 (mptwo): Rename to __mptwo.
44360 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44361 of mpone and __mptwo instead of mptwo.
44362 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44363 instead of mpone.
44364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44365 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44366 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44367 of mpone and __mptwo instead of mptwo.
44368 (__mpranred): Use __mpone instead of mpone.
44369 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44370 variable.
44371 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44372 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44373 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44374 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44375 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44376 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44377 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44378 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44379 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44380 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44381 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44382 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44383 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44384 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44385 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44386 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44387 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44388 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44389 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44390
443912014-11-18 Tom de Vries <tom@codesoucery.com>
44392
44393 * manual/signal.texi (Primitives Interrupted by Signals): In section,
44394 replace BSD Handler xref with BSD Signal Handling.
44395
443962014-11-17 Richard Henderson <rth@redhat.com>
44397
44398 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44399 (_FP_PACK_RAW_2): Remove.
44400 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44401 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44402 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44403 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44404 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44405 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44406 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44407 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44408 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44409 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44410 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44411 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44412 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44413 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44414 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44415 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44416
444172014-11-14 Roland McGrath <roland@hack.frob.com>
44418
44419 * signal/signal.h [__USE_MISC]
44420 (struct sigvec): Remove type.
44421 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44422 (sigvec): Remove declaration.
44423 * sysdeps/posix/sigvec.c: Moved ...
44424 * signal/sigvec.c: ... here, replacing old file.
44425 (struct sigvec): New type, copied from old signal.h definition.
44426 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44427 (__sigvec): Convert definition to prototype.
44428 (sigvec): Replace weak_alias with compat_symbol.
44429 * signal/Versions (libc: GLIBC_2.21): New version set.
44430 * include/signal.h: Remove __sigvec declaration.
44431 * sysdeps/unix/bsd/sigvec.c: Remove file.
44432 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44433 * manual/signal.texi (BSD Handler): Remove subsection.
44434 Move siginterrupt up to ...
44435 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44436 (Blocking in BSD): Fold subsection into its parent.
44437 * NEWS: Mention sigvec removal.
44438
444392014-11-14 Joseph Myers <joseph@codesourcery.com>
44440
44441 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44442 (DLA_FMS): Make definition conditional only on [__FMA4__].
44443 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44444 definition.
44445
44446 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44447 Make definition conditional only on [PROF].
44448 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44449 definition.
44450 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44451 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44452
44453 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44454 !__GNUC__].
44455 * include/signal.h (__sigpause): Move declaration above call to
44456 libc_hidden_proto.
44457 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44458 variable.
44459 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44460 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44461
444622014-11-14 David S. Miller <davem@davemloft.net>
44463
44464 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44465 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44466
444672014-11-14 Joseph Myers <joseph@codesourcery.com>
44468
44469 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44470 * configure: Regenerated.
44471 * manual/install.texi (Tools for Compilation): Document a
44472 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44473 compiler verified to work.
44474 * INSTALL: Regenerated.
44475
44476 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44477 redeclare with asm name.
44478 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44479 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44480 including <string.h>.
44481 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44482 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44483 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44484 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44485 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44486 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44487 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44488
444892014-11-13 Joseph Myers <joseph@codesourcery.com>
44490
44491 * stdlib/strtol.c (__strtol): Use prototype definition.
44492
44493 [BZ #17594]
44494 * stdlib/strtol.c (SYM__): New macro.
44495 (SYM__1): Likewise.
44496 (__strtol): Likewise.
44497 (strtol): Rename to __strtol and define as weak alias of
44498 __strtol. Use libc_hidden_weak.
44499
445002014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44501
44502 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44503 Use numbered labels in inline assembly.
44504
445052014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44506
44507 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44508 Add setjmp LIBC_PROBE.
44509 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44510 Likewise.
44511 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44512 Add longjmp, longjmp_target LIBC_PROBE.
44513 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44514 Likewise.
44515
445162014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44517
44518 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44519 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44520 to get rid of unused variable warning.
44521
445222014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44523
44524 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44525 Check for unwind_backtrace == NULL only in SHARED case.
44526 (__backchain_backtrace): Compile only in SHARED case.
44527 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44528 Likewise.
44529 (__backchain_backtrace): Declare as static.
44530
445312014-11-12 Roland McGrath <roland@hack.frob.com>
44532
44533 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44534 (__libc_multiple_threads_ptr): Variable moved ...
44535 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44536
445372014-11-12 Joseph Myers <joseph@codesourcery.com>
44538
44539 * conform/GlibcConform.pm: New file.
44540 * conform/conformtest.pl: Use GlibcConform module.
44541 * conform/linknamespace.pl: New file.
44542 * conform/list-header-symbols.pl: Likewise.
44543 * conform/Makefile (linknamespace-symlists-base): New variable.
44544 (linknamespace-symlists-tests): Likewise.
44545 (linknamespace-header-base): Likewise.
44546 (linknamespace-header-tests): Likewise.
44547 (tests-special): Add new tests.
44548 ($(linknamespace-symlists-tests)): New rule.
44549 (linknamespace-libs): New variable.
44550 ($(objpfx)symlist-stdlibs): New rule.
44551 ($(linknamespace-header-tests)): Likewise.
44552 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44553 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44554 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44555 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44556 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44557 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44558 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44559 (test-xfail-ISO/math.h/linknamespace): Likewise.
44560 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44561 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44562 (test-xfail-ISO/time.h/linknamespace): Likewise.
44563 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44564 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44565 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44566 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44567 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44568 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44569 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44570 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44571 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44572 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44573 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44574 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44575 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44576 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44577 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44578 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44579 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44580 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44581 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44582 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44583 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44584 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44585 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44586 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44587 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44588 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44589 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44590 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44591 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44592 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44593 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44594 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44595 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44596 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44597 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44598 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44599 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44600 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44601 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44602 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44603 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44604 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44605 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44606 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44607 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44608 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44609 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44610 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44611 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44612 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44613 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44614 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44615 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44616 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44617 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44618 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44619 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44620 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44621 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44622 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44623 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44624 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44625 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44626 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44627 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44628 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44629 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44630 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44631 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44632 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44633 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44634 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44635 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44636 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44637 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44638 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44639 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44640 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44641 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44642 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44643 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44644 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44645 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44646 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44647 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44648 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44649 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44650 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44651 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44652 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44653 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44654 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44655 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44656 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44657 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44658 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44659 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44660 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44661 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44662 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44663 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44664 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44665 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44666 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44667 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44668 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44669 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44670 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44671 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44672 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44673 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44674 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44675 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44676 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44677 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44678 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44679 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44680 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44681 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44682 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44683 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44684 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44685 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44686 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44687 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44688 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44689 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44690 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44691 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44692 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44693 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44694 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44695 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44696 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44697 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44698 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44699 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44700 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44701 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44702 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44703 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44704 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44705 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44706 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44707 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44708 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44709 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44710 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44711 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44712 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44713
44714 [BZ #17589]
44715 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44716 of fgets_unlocked.
44717
44718 [BZ #17585]
44719 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44720 (memmem): Rename to __memmem and define as weak alias of
44721 __memmem. Use libc_hidden_weak.
44722 (__memmem): Use libc_hidden_def.
44723 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44724 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44725 memmem.
44726
44727 [BZ #17582]
44728 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44729 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44730 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44731 and define as weak alias of __fgets_unlocked. Use
44732 libc_hidden_weak.
44733 (__fgets_unlocked): Use libc_hidden_def.
44734 * include/stdio.h (__fgets_unlocked): Declare. Use
44735 libc_hidden_proto.
44736 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44737 __fgets_unlocked instead of fgets_unlocked.
44738 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44739 (GET_NPROCS_CONF_PARSER): Likewise.
44740 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44741 (GET_NPROCS_CONF_PARSER): Likewise.
44742
44743 [BZ #17574]
44744 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44745 weak alias of __wmemset. Use libc_hidden_weak.
44746 (__wmemset): Use libc_hidden_def.
44747 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44748 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44749 of wmemset.
44750
44751 [BZ #17573]
44752 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44753 with asm name __mempcpy.
44754 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44755
44756 [BZ #17572]
44757 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44758 and define as weak alias of __rawmemchr.
44759 (__rawmemchr): Do not define as strong alias of rawmemchr.
44760
44761 [BZ #17571]
44762 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44763 alias of __qsort_r.
44764 (qsort): Call __qsort_r instead of qsort_r.
44765 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44766 (__qsort_r): Declare. Call libc_hidden_proto.
44767 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44768 instead of qsort_r.
44769 * nscd/gai.c (__qsort_r): Define to qsort_r.
44770 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44771 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44772 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44773
44774 [BZ #17570]
44775 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44776 define as weak alias of __malloc_info.
44777
44778 [BZ #17584]
44779 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44780 as weak alias of __rewinddir. Don't use libc_hidden_def.
44781 (__rewinddir): Use libc_hidden_def.
44782 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44783 as weak alias of __rewinddir. Don't use libc_hidden_def.
44784 (__rewinddir): Use libc_hidden_def.
44785 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44786 weak alias of __rewinddir. Don't use libc_hidden_def.
44787 (__rewinddir): Use libc_hidden_def.
44788 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44789 (__rewinddir): Use libc_hidden_proto.
44790 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44791 rewinddir.
44792 (__getcwd): Use __rewinddir instead of rewinddir.
44793
44794 [BZ #17583]
44795 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44796 alias of __fileno. Use libc_hidden_weak.
44797 (__fileno): Use libc_hidden_def.
44798 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44799 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44800 alias of __ftello.
44801 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44802 __ftello.
44803 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44804 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44805 libc_hidden_def.
44806 (fread_unlocked): Don't use libc_hidden_ver.
44807 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44808 and define as weak alias of __fread_unlocked. Don't use
44809 libc_hidden_def.
44810 (__fread_unlocked): Use libc_hidden_def.
44811 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44812 (ftello): Don't use libc_hidden_proto.
44813 (__ftello): Declare. Use libc_hidden_proto.
44814 (fread_unlocked): Don't use libc_hidden_proto.
44815 (__fread_unlocked): Declare. Use libc_hidden_proto.
44816 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44817 and __ftello instead of fileno, fread_unlocked and ftello.
44818
448192012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44820
44821 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44822 GOT12.
44823 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44824 Likewise.
44825 (_dl_start_user): Likewise.
44826 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44827
448282014-11-12 Carlos O'Donell <carlos@redhat.com>
44829 Siddhesh Poyarekar <siddhesh@redhat.com>
44830
44831 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44832 Move argv and envp down instead of moving argc up.
44833 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44834
448352014-11-12 Leonhard Holz <leonhard.holz@web.de>
44836
44837 [BZ #17506]
44838 * test-skeleton.c (main): Return successful if one of
44839 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44840 * string/tst-strcoll-overflow.c: Define expected status.
44841
448422014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44843
44844 [BZ #17475]
44845 * locale/iso-639.def: Define Bhili and Tulu language codes.
44846
448472014-11-11 Alan Hayward <alan.hayward@arm.com>
44848
44849 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44850
448512014-11-10 Renlin Li <Renlin.Li@arm.com>
44852
44853 [BZ #17555]
44854 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44855
448562014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44857
44858 * configure.ac: Updated check of minimal required version to
44859 2.22.
44860 * manual/install.texi (Tools for Compilation): Updated version
44861 number.
44862 * configure: Regenerated.
44863 * INSTALL: Likewise.
44864
448652014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44866
44867 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44868 __tls_get_addr.
44869
448702014-11-07 Joseph Myers <joseph@codesourcery.com>
44871
44872 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44873 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44874 (__waitpid): Don't define as alias. Use libc_hidden_def not
44875 libc_hidden_weak.
44876 (waitpid): Define as alias of __waitpid.
44877 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44878 __waitpid.
44879 (__waitpid): Don't define as alias. Use libc_hidden_def not
44880 libc_hidden_weak.
44881 (waitpid): Define as alias of __waitpid.
44882 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44883 __libc_waitpid alias.
44884 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44885 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44886 Likewise.
44887 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44888 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44889 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44890 alias.
44891 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44892 __waitpid.
44893 (__waitpid): Don't define as alias. Use libc_hidden_def not
44894 libc_hidden_weak.
44895 (waitpid): Define as alias of __waitpid.
44896
448972014-11-06 Carlos O'Donell <carlos@redhat.com>
44898
44899 * manual/llio.texi: Add comment that write safety has been
44900 fixed in Linux.
44901
44902 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44903 (localplt-build-dso): Add elf/ld.so.
44904 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44905 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44906 and free for ld.so.
44907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44908 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44910 Likewise.
44911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44912 Likewise.
44913 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44914 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44915 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44916 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44917 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44918 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44919 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44920 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44921 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44922 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44923 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44924
449252014-11-05 Joseph Myers <joseph@codesourcery.com>
44926
44927 [BZ #14132]
44928 * include/libc-symbols.h (INTUSE): Remove macro.
44929 (INTDEF): Likewise.
44930 (INTVARDEF): Likewise.
44931 (_INTVARDEF): Likewise.
44932 (INTDEF2): Likewise.
44933 (INTVARDEF2): Likewise.
44934 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44935 rtld_hidden_def instead of INTVARDEF.
44936 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44937 (_dl_starting_up_internal): Remove declaration.
44938 (_dl_starting_up): Use rtld_hidden_proto.
44939 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44940 declaration.
44941 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44942 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44943 _dl_starting_up.
44944 * elf/dl-writev.h (_dl_writev): Likewise.
44945 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44946 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44947 _dl_starting_up_internal.
44948
449492014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44950
44951 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44952 test-skeleton.c.
44953
449542014-11-05 Will Newton <will.newton@linaro.org>
44955
44956 * benchtests/Makefile: (bench-malloc): Add malloc thread
44957 scalability benchmark.
44958 * benchtests/bench-malloc-threads.c: New file.
44959
449602014-11-05 Richard Earnshaw <rearnsha@arm.com>
44961
44962 * sysdeps/aarch64/strchrnul.S: New file.
44963
449642014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44965
44966 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44967 definition.
44968 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44969 Likewise.
44970 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44971 Likewise.
44972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44973 Likewise.
44974 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44975 Likewise.
44976 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44977 Likewise.
44978
449792014-11-05 Arjun Shankar <arjun.is@lostca.se>
44980
44981 * catgets/test-gencat.c: Use test-skeleton.c.
44982 * catgets/tst-catgets.c: Likewise.
44983 * csu/tst-empty.c: Likewise.
44984 * elf/tst-audit2.c: Likewise.
44985 * elf/tst-global1.c: Likewise.
44986 * elf/tst-pathopt.c: Likewise.
44987 * elf/tst-piemod1.c: Likewise.
44988 * elf/tst-tls10.c: Likewise.
44989 * elf/tst-tls11.c: Likewise.
44990 * elf/tst-tls12.c: Likewise.
44991 * gnulib/tst-gcc.c: Likewise.
44992 * iconvdata/tst-e2big.c: Likewise.
44993 * iconvdata/tst-loading.c: Likewise.
44994 * iconv/tst-iconv1.c: Likewise.
44995 * iconv/tst-iconv2.c: Likewise.
44996 * inet/test-inet6_opt.c: Likewise.
44997 * inet/tst-gethnm.c: Likewise.
44998 * inet/tst-network.c: Likewise.
44999 * inet/tst-ntoa.c: Likewise.
45000 * intl/tst-codeset.c: Likewise.
45001 * intl/tst-gettext2.c: Likewise.
45002 * intl/tst-gettext3.c: Likewise.
45003 * intl/tst-ngettext.c: Likewise.
45004 * intl/tst-translit.c: Likewise.
45005 * io/test-stat.c: Likewise.
45006 * libio/test-fmemopen.c: Likewise.
45007 * libio/tst-freopen.c: Likewise.
45008 * libio/tst-sscanf.c: Likewise.
45009 * libio/tst-ungetwc1.c: Likewise.
45010 * libio/tst-ungetwc2.c: Likewise.
45011 * libio/tst-widetext.c: Likewise.
45012 * localedata/tst-ctype.c: Likewise.
45013 * localedata/tst-digits.c: Likewise.
45014 * localedata/tst-leaks.c: Likewise.
45015 * localedata/tst-mbswcs1.c: Likewise.
45016 * localedata/tst-mbswcs2.c: Likewise.
45017 * localedata/tst-mbswcs3.c: Likewise.
45018 * localedata/tst-mbswcs4.c: Likewise.
45019 * localedata/tst-mbswcs5.c: Likewise.
45020 * localedata/tst-setlocale.c: Likewise.
45021 * localedata/tst-trans.c: Likewise.
45022 * localedata/tst-wctype.c: Likewise.
45023 * localedata/tst-xlocale1.c: Likewise.
45024 * login/tst-grantpt.c: Likewise.
45025 * malloc/tst-calloc.c: Likewise.
45026 * malloc/tst-malloc.c: Likewise.
45027 * malloc/tst-mallocstate.c: Likewise.
45028 * malloc/tst-mcheck.c: Likewise.
45029 * malloc/tst-mtrace.c: Likewise.
45030 * malloc/tst-obstack.c: Likewise.
45031 * math/atest-exp2.c: Likewise.
45032 * math/atest-exp.c: Likewise.
45033 * math/atest-sincos.c: Likewise.
45034 * math/test-matherr.c: Likewise.
45035 * math/test-misc.c: Likewise.
45036 * math/test-powl.c: Likewise.
45037 * math/tst-definitions.c: Likewise.
45038 * misc/tst-dirname.c: Likewise.
45039 * misc/tst-efgcvt.c: Likewise.
45040 * misc/tst-fdset.c: Likewise.
45041 * misc/tst-hsearch.c: Likewise.
45042 * misc/tst-mntent2.c: Likewise.
45043 * nptl/tst-sem7.c: Likewise.
45044 * nptl/tst-sem8.c: Likewise.
45045 * nptl/tst-sem9.c: Likewise.
45046 * nss/test-netdb.c: Likewise.
45047 * posix/tst-fnmatch.c: Likewise.
45048 * posix/tst-getlogin.c: Likewise.
45049 * posix/tst-gnuglob.c: Likewise.
45050 * posix/tst-mmap.c: Likewise.
45051 * pwd/tst-getpw.c: Likewise.
45052 * resolv/tst-inet_ntop.c: Likewise.
45053 * rt/tst-timer.c: Likewise.
45054 * stdio-common/test-fseek.c: Likewise.
45055 * stdio-common/test-popen.c: Likewise.
45056 * stdio-common/test-vfprintf.c: Likewise.
45057 * stdio-common/tst-cookie.c: Likewise.
45058 * stdio-common/tst-fileno.c: Likewise.
45059 * stdio-common/tst-gets.c: Likewise.
45060 * stdio-common/tst-obprintf.c: Likewise.
45061 * stdio-common/tst-perror.c: Likewise.
45062 * stdio-common/tst-sprintf2.c: Likewise.
45063 * stdio-common/tst-sprintf3.c: Likewise.
45064 * stdio-common/tst-sprintf.c: Likewise.
45065 * stdio-common/tst-swprintf.c: Likewise.
45066 * stdio-common/tst-tmpnam.c: Likewise.
45067 * stdio-common/tst-unbputc.c: Likewise.
45068 * stdio-common/tst-wc-printf.c: Likewise.
45069 * stdlib/tst-environ.c: Likewise.
45070 * stdlib/tst-fmtmsg.c: Likewise.
45071 * stdlib/tst-limits.c: Likewise.
45072 * stdlib/tst-rand48-2.c: Likewise.
45073 * stdlib/tst-rand48.c: Likewise.
45074 * stdlib/tst-random2.c: Likewise.
45075 * stdlib/tst-random.c: Likewise.
45076 * stdlib/tst-strtol.c: Likewise.
45077 * stdlib/tst-strtoll.c: Likewise.
45078 * stdlib/tst-tls-atexit.c: Likewise.
45079 * stdlib/tst-xpg-basename.c: Likewise.
45080 * string/test-ffs.c: Likewise.
45081 * string/tst-bswap.c: Likewise.
45082 * string/tst-inlcall.c: Likewise.
45083 * string/tst-strtok.c: Likewise.
45084 * string/tst-strxfrm.c: Likewise.
45085 * sysdeps/x86_64/tst-audit10.c: Likewise.
45086 * sysdeps/x86_64/tst-audit3.c: Likewise.
45087 * sysdeps/x86_64/tst-audit4.c: Likewise.
45088 * sysdeps/x86_64/tst-audit5.c: Likewise.
45089 * time/tst-ftime_l.c: Likewise.
45090 * time/tst-getdate.c: Likewise.
45091 * time/tst-mktime3.c: Likewise.
45092 * time/tst-mktime.c: Likewise.
45093 * time/tst-posixtz.c: Likewise.
45094 * time/tst-strptime2.c: Likewise.
45095 * time/tst-strptime3.c: Likewise.
45096 * wcsmbs/tst-btowc.c: Likewise.
45097 * wcsmbs/tst-mbrtowc.c: Likewise.
45098 * wcsmbs/tst-mbsrtowcs.c: Likewise.
45099 * wcsmbs/tst-wchar-h.c: Likewise.
45100 * wcsmbs/tst-wcpncpy.c: Likewise.
45101 * wcsmbs/tst-wcrtomb.c: Likewise.
45102 * wcsmbs/tst-wcsnlen.c: Likewise.
45103 * wcsmbs/tst-wcstof.c: Likewise.
45104
451052014-11-04 Joseph Myers <joseph@codesourcery.com>
45106
45107 [BZ #14132]
45108 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
45109 INTDEF.
45110 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
45111 declaration.
45112 (_dl_mcount): Use rtld_hidden_proto.
45113 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
45114 _dl_mcount.
45115 * elf/rtld.c (_rtld_global_ro): Likewise.
45116
45117 [BZ #14132]
45118 * elf/dl-init.c (_dl_init): Don't use INTDEF.
45119 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
45120 of _dl_init_internal.
45121 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
45122 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
45123 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
45124 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
45125 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
45126 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
45127 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
45128 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
45129 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
45130 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
45131 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
45132 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
45133 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45134 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45135 * sysdeps/tile/dl-start.S (_start): Likewise.
45136 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
45137 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
45138
45139 [BZ #14132]
45140 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
45141 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
45142 (rtld_progname): Make macro definition unconditional.
45143 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
45144 INTDEF.
45145 (dlmopen_doit): Do not use INTUSE with _dl_argv.
45146 (dl_main): Likewise.
45147 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45148 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
45149 instead of _dl_argv_internal.
45150 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45151 __GI__dl_argv instead of INTUSE(_dl_argv).
45152 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
45153 __GI__dl_argv instead of _dl_argv_internal.
45154
45155 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
45156 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
45157 macro.
45158 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
45159 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
45160 New macro.
45161 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
45162 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
45163 macro.
45164 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
45165 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
45166
451672014-11-04 Andreas Schwab <schwab@suse.de>
45168
45169 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
45170
451712014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45172
45173 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
45174 mtvsrd instruction in binary form.
45175
451762014-11-03 Andreas Schwab <schwab@suse.de>
45177
45178 [BZ #17522]
45179 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
45180 for less than MB_LEN_MAX use a local buffer of that size.
45181 * libio/tst-fputws.c: New file.
45182 * libio/Makefile (tests): Add tst-fputws.
45183
451842014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
45185
45186 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45187 the size of the fpu_fr.fpu_dregs[] array.
45188
451892014-11-01 Joseph Myers <joseph@codesourcery.com>
45190
45191 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45192 (__nanosleep): Do not define as alias.
45193 (nanosleep): Define as alias of __nanosleep.
45194 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45195 __libc_nanosleep name.
45196
451972014-10-31 Joseph Myers <joseph@codesourcery.com>
45198
45199 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45200 install.texi in comment.
45201
452022014-10-31 Torvald Riegel <triegel@redhat.com>
45203
45204 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45205 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45206 ... add here and use lwsync or sync ...
45207 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45208 ... and add here using lwsync.
45209
452102014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
45211
45212 * elf/dl-machine-reject-phdr.h: New file.
45213 * elf/dl-load.c: #include that.
45214 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45215 if that returned true.
45216
452172014-10-31 Roland McGrath <roland@hack.frob.com>
45218
45219 [BZ #17496]
45220 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45221 gen-as-const-headers chunk. Add a big scare comment after the last
45222 safe place to touch before-compile.
45223
452242014-10-31 Joseph Myers <joseph@codesourcery.com>
45225
45226 * manual/install.texi (Tools for Compilation): Update autoconf
45227 version requirements.
45228 * INSTALL: Regenerated.
45229
45230 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45231 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45232 (__libc_pselect): Likewise.
45233
45234 [BZ #14138]
45235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45239
452402014-10-31 Torvald Riegel <triegel@redhat.com>
45241
45242 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45243 correct barrier instruction.
45244 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45245 Likewise.
45246 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45247 Likewise.
45248
452492014-10-30 Roland McGrath <roland@hack.frob.com>
45250
45251 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45252 after defining inlines. Instead, just use parens to defeat macro
45253 expansion of __isctype in its declaration.
45254
452552014-10-30 Joseph Myers <joseph@codesourcery.com>
45256
45257 * include/sys/uio.h (__libc_readv): Remove declaration.
45258 (__libc_writev): Likewise.
45259 * misc/readv.c (__libc_readv): Rename to __readv.
45260 (__readv): Do not define as alias.
45261 (readv): Define as alias of __readv.
45262 * misc/writev.c (__libc_writev): Rename to __writev.
45263 (__writev): Do not define as alias.
45264 (writev): Define as alias of __writev.
45265 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45266 (__readv): Do not define as alias.
45267 (readv): Define unconditionally as alias of __readv.
45268 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45269 (__writev): Do not define as alias.
45270 (writev): Define unconditionally as alias of __writev.
45271 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45272 name.
45273 (writev): Do not define __libc_writev name.
45274
452752014-10-30 Roland McGrath <roland@hack.frob.com>
45276
45277 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45278 (convert_charseq): New function, broken out of ...
45279 (use_from_charmap): ... here. Call it.
45280 (use_to_charmap): Use convert_charseq and free instead of duplicating
45281 its code with a variable-length stack struct.
45282
452832014-10-30 Joseph Myers <joseph@codesourcery.com>
45284
45285 * include/fcntl.h (__libc_creat): Remove declaration.
45286 * io/creat.c (__libc_creat): Rename to creat.
45287 (creat): Do not define as alias.
45288 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45289 of creat instead of __libc_creat.
45290 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45291 to creat.
45292 (creat): Do not define as alias.
45293 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45294 __libc_creat.
45295 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45296 __libc_creat name.
45297 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45298 Likewise.
45299
453002014-10-29 Carlos O'Donell <carlos@redhat.com>
45301
45302 * manual/llio.texi: Add comments discussing why write() may be
45303 considered MT-unsafe on Linux.
45304
453052014-10-28 Carlos O'Donell <carlos@redhat.com>
45306
45307 * dl-load.c (local_strdup): Remove.
45308 (expand_dynamic_string_token): Use __strdup.
45309 (decompose_rpath): Likewise.
45310 (_dl_map_object): Likewise.
45311
453122014-10-28 Joseph Myers <joseph@codesourcery.com>
45313
45314 [BZ #14132]
45315 * sysdeps/generic/unwind-dw2-fde.c
45316 (__register_frame_info_bases_internal): Do not declare.
45317 (__register_frame_info_table_bases_internal): Likewise.
45318 (__deregister_frame_info_bases_internal): Likewise.
45319 (__register_frame_info_bases): Declare and use hidden_proto before
45320 definition. Use hidden_def instead of INTDEF.
45321 (__register_frame_info_table_bases): Likewise.
45322 (__deregister_frame_info_bases): Likewise.
45323 (__register_frame_info): Do not use INTUSE.
45324 (__register_frame): Likewise.
45325 (__register_frame_info_table): Likewise.
45326 (__register_frame_table): Likewise.
45327 (__deregister_frame_info): Likewise.
45328 (__deregister_frame): Likewise.
45329
453302014-10-27 Gratian Crisan <gratian.crisan@ni.com>
45331
45332 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45333 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45334 not undefine.
45335 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45336 Likewise.
45337 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45338 Likewise.
45339
453402014-10-27 Joseph Myers <joseph@codesourcery.com>
45341
45342 [BZ #14138]
45343 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45344 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45345 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45346 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45347 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45348 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45349 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45350 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45351 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45352 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45353 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45354 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45355 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45356 syscall.
45357 (setfsuid): Likewise.
45358 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45359 (setfsuid): Likewise.
45360 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45361 (setfsuid): Likewise.
45362 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45363 Likewise.
45364 (setfsuid): Likewise.
45365 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45366 (setfsuid): Likewise.
45367 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45368 Likewise.
45369 (setfsuid): Likewise.
45370
453712014-10-27 Andreas Schwab <schwab@suse.de>
45372
45373 [BZ #17501]
45374 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45375 check for Slow_SSE4_2 feature bit.
45376 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45377 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45378 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45379 Likewise. Fix check for Fast_Unaligned_Load feature bit.
45380
453812014-10-24 Roland McGrath <roland@hack.frob.com>
45382
45383 * configure.ac: Validate compiler version with a empirical test of
45384 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45385 $CC -v output.
45386 * configure: Regenerated.
45387
45388 * inet/htons.c (htons): Prototypify.
45389 * inet/htonl.c (htonl): Likewise.
45390
453912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45392
45393 * string/strncat.c (strncat): Improve performance by using strlen.
45394
453952014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45396
45397 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45398
453992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45400
45401 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45402 Call libc_fetestexcept_aarch64.
45403
454042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45405
45406 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45407 Call libc_feholdexcept_aarch64.
45408
454092014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45410
45411 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45412 Call get_rounding_mode.
45413
454142014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45415
45416 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45417 Simplify logic.
45418
454192014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45420
45421 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45422 Simplify logic.
45423
454242014-10-24 Joseph Myers <joseph@codesourcery.com>
45425
45426 [BZ #14138]
45427 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45428 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45429 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45430 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45431 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45432 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45433 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45434 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45435 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45436 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45437 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45438 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45439 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45440 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45441 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45442 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45443 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45444 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45445 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45446 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45447 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45448 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45449 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45450 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45451 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45452 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45453 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45454 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45455 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45456 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45457 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45458 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45459 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45460 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45461 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45462 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45463 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45464 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45465 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45466 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45467 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45468 syscall.
45469 (geteuid): Likewise.
45470 (getgid): Likewise.
45471 (getuid): Likewise.
45472 (getresgid): Likewise.
45473 (getresuid): Likewise.
45474 (getgroups): Likewise.
45475 * sysdeps/unix/sysv/linux/i386/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/m68k/syscalls.list (getegid): Likewise.
45483 (geteuid): Likewise.
45484 (getgid): Likewise.
45485 (getuid): Likewise.
45486 (getresgid): Likewise.
45487 (getresuid): Likewise.
45488 (getgroups): Likewise.
45489 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45490 Likewise.
45491 (geteuid): Likewise.
45492 (getgid): Likewise.
45493 (getuid): Likewise.
45494 (getresgid): Likewise.
45495 (getresuid): Likewise.
45496 (getgroups): Likewise.
45497 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45498 (geteuid): Likewise.
45499 (getgid): Likewise.
45500 (getuid): Likewise.
45501 (getresgid): Likewise.
45502 (getresuid): Likewise.
45503 (getgroups): Likewise.
45504 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45505 Likewise.
45506 (geteuid): Likewise.
45507 (getgid): Likewise.
45508 (getuid): Likewise.
45509 (getgroups): Likewise.
45510
45511 [BZ #14138]
45512 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45513 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45514 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45515 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45516 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45517 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45518 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45519 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45520 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45521 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45522 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45523 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45524 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45525 __chown.
45526 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45527 (lchown): Likewise.
45528 (fchown): Likewise.
45529 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45530 Likewise.
45531 (lchown): Likewise.
45532 (fchown): Likewise.
45533 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45534 (lchown): Likewise.
45535 (fchown): Likewise.
45536 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45537 Likewise.
45538 (lchown): Likewise.
45539 (fchown): Likewise.
45540
455412014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45542
45543 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45544 Simplify logic.
45545
455462014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45547
45548 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45549 Cleanup logic.
45550
455512014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45552
45553 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45554 Remove unused include.
45555
455562014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45557
45558 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45559 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45560 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45561 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45562
455632014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45564 Helge Deller <deller@gmx.de>
45565
45566 [BZ #17508]
45567 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45568 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45569 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45570
455712014-10-23 Joseph Myers <joseph@codesourcery.com>
45572
45573 [BZ #14132]
45574 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45575 Remove macro definition.
45576 (__ashrdi3_v_glibc20): Likewise.
45577 (__lshrdi3_v_glibc20): Likewise.
45578 (__cmpdi2_v_glibc20): Likewise.
45579 (__ucmpdi2_v_glibc20): Likewise.
45580 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45581 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45582 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45583 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45584 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45585 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45586
455872014-10-22 Roland McGrath <roland@hack.frob.com>
45588
45589 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45590 old GNU extension [0] syntax.
45591 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45592 alloca rather than an array member with variable length.
45593 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45594 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45595 (parse_opt): ... here. Likewise use alloca there.
45596 Validate the -i argument before checking for rootness.
45597 (send_shutdown): New function, broken out of ...
45598 (parse_opt): ... here.
45599
456002014-10-22 Roland McGrath <roland@hack.frob.com>
45601
45602 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45603 macro to get at the _rt_local_ro field.
45604 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45605 ([PIC] case) or _dl_hwcap ([!PIC] case).
45606 * sysdeps/arm/setjmp.S: Likewise.
45607
45608 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45609 * sysdeps/arm/configure.ac: New check to define it.
45610 * sysdeps/arm/configure: Regenerated.
45611 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45612 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45613 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45614 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45615 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45616 Use move/movt pair instead of a load.
45617 (LDST_GLOBAL): Macro removed.
45618 (LDR_GLOBAL): New macro replaces it.
45619 (LDR_HIDDEN): New macro.
45620 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45621 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45622
45623 * setjmp/tst-setjmp-static.c: New file.
45624 * setjmp/Makefile (tests): Add it.
45625 (tests-static): New variable.
45626
456272014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45628
45629 [BZ #17485]
45630 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45631
456322014-10-21 Joseph Myers <joseph@codesourcery.com>
45633
45634 [BZ #14132]
45635 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45636
456372014-10-21 Roland McGrath <roland@hack.frob.com>
45638
45639 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45640
456412014-10-20 Roland McGrath <roland@hack.frob.com>
45642
45643 * io/fts.c (dirent_not_directory): New function.
45644 (fts_build): Call it.
45645
456462014-10-20 Roland McGrath <roland@hack.frob.com>
45647
45648 * nptl/version.c (__nptl_main): Use normal __write rather than
45649 INTERNAL_SYSCALL.
45650 (banner): Update copyright years.
45651
45652 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45653 gettimeofday.
45654 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45655 * nptl/pthread_cond_timedwait.c: Likewise.
45656 * nptl/pthread_mutex_timedlock.c: Likewise.
45657 * nptl/sem_timedwait.c: Likewise.
45658
45659 * sysdeps/nptl/bits/libc-lock.h
45660 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45661 (__libc_lock_init_recursive): Return void, not 0.
45662 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45663 (__libc_rwlock_init): Likewise.
45664 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45665
456662014-10-20 Torvald Riegel <triegel@redhat.com>
45667
45668 [BZ #15215]
45669 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45670 (__pthread_once_slow): ... here.
45671 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45672 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45673
456742014-10-20 Torvald Riegel <triegel@redhat.com>
45675
45676 [BZ #15215]
45677 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45678 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45679 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45680 * nptl/pthread_once.c (__pthread_once): Likewise.
45681 Update comments.
45682
456832014-10-20 Joseph Myers <joseph@codesourcery.com>
45684
45685 [BZ #14138]
45686 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45687 name.
45688 (writev): Use __libc_writev as strong name.
45689 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45690 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45691
456922014-10-17 Roland McGrath <roland@hack.frob.com>
45693
45694 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45695
45696 * sysdeps/i386/nptl/tls.h
45697 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45698 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45699 New macros.
45700 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45701 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45702 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45703 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45704 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45705 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45706
45707 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45708 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45709 on [__NR_futex].
45710 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45711 broken out of ...
45712 (__pthread_mutex_init): ... here. Call it.
45713 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45714 Conditionalize PI cases on [__NR_futex].
45715 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45716 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45717 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45718
45719 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45720 conditional on [SIGSETXID].
45721 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45722 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45723 is defined. Likewise for SIGSETXID.
45724 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45725 Conditionalize definitions on [SIGSETXID].
45726 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45727 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45728 unblocking on [SIGCANCEL].
45729
45730 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45731 [__NR_set_robust_list].
45732
457332014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45734
45735 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45736 (do_compare): Likewise.
45737
457382014-10-17 Leonhard Holz <leonhard.holz@web.de>
45739
45740 [BZ #15884]
45741 * string/strcoll_l.c: Don't include stdio.h.
45742 (coll_seq): Remove members idxarr and rulearr.
45743 (get_next_seq_cached): Remove function.
45744 (get_next_seq): Likewise.
45745 (get_next_seq_nocache): Rename to get_next_seq.
45746 (do_compare): Remove function.
45747 (do_compare_nocache): Rename to do_compare.
45748 (STRCOLL): Remove weight and rules cache.
45749
457502014-10-16 Roland McGrath <roland@hack.frob.com>
45751
45752 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45753 * sysdeps/arm/sfp-machine.h: ... to here.
45754 * sysdeps/arm/Implies: Remove arm/soft-fp.
45755
457562014-10-14 Joseph Myers <joseph@codesourcery.com>
45757
45758 * conform/data/sys/utsname.h-data (*_t): Allow.
45759 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45760 [POSIX] (WEXITED): Do not expect constant.
45761 [POSIX] (WSTOPPED): Likewise.
45762 [POSIX] (WNOHANG): Likewise.
45763 [POSIX] (WNOWAIT): Likewise.
45764 [POSIX] (siginfo_t): Do not expect type or elements.
45765 [POSIX] (pid_t): Do not expect type.
45766 [POSIX] (signal.h): Do not allow header.
45767 [POSIX] (sys/resource.h): Likewise.
45768 [POSIX] (si_*): Do not allow pattern.
45769 [POSIX] (W*): Likewise.
45770 [POSIX] (P_*): Likewise.
45771 [POSIX] (BUS_*): Likewise.
45772 [POSIX] (CLD_*): Likewise.
45773 [POSIX] (FPE_*): Likewise.
45774 [POSIX] (ILL_*): Likewise.
45775 [POSIX] (POLL_*): Likewise.
45776 [POSIX] (SEGV_*): Likewise.
45777 [POSIX] (SI_*): Likewise.
45778 [POSIX] (TRAP_*): Likewise.
45779 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45780 variable.
45781
457822014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45783
45784 [BZ #12926]
45785 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45786 infinite loop when __recvmsg returns 0.
45787
457882014-10-10 Joseph Myers <joseph@codesourcery.com>
45789
45790 * CANCEL-FCT-WAIVE: Remove file.
45791 * CANCEL-FILE-WAIVE: Likewise.
45792
45793 [BZ #14132]
45794 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45795 instead of INTVARDEF.
45796 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45797 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45798 rtld_hidden_data_def instead of INTVARDEF.
45799 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45800 * elf/dl-deps.c (expand_dst): Likewise.
45801 * elf/dl-load.c (_dl_dst_count): Likewise.
45802 (_dl_dst_substitute): Likewise.
45803 (decompose_rpath): Likewise.
45804 (_dl_init_paths): Likewise.
45805 (open_path): Likewise.
45806 (_dl_map_object): Likewise.
45807 * elf/rtld.c (dl_main): Likewise.
45808 (process_dl_audit): Likewise.
45809 (process_envvars): Likewise.
45810 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45811 Remove declaration.
45812 (__libc_enable_secure): Use rtld_hidden_proto.
45813
458142014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45815
45816 * elf/dl-load.c
45817 (add_path): New function broken out of _dl_rtld_di_serinfo.
45818 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45819
458202014-10-09 Joseph Myers <joseph@codesourcery.com>
45821
45822 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45823 parentheses around macro arguments.
45824 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45826 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45827 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45828 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45829 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45830 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45831 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45834 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45835 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45836 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45837 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45838 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45839 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45840 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45842 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45844 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45847 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45848 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45852 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45853 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45855 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45856 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45857 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45858 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45859 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45860 Likewise.
45861 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45862 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45863 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45864 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45865 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45866 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45867 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45868 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45869 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45870 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45871 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45872 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45873 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45874 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45875 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45876 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45877 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45878 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45879 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45880 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45881 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45882 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45883 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45884 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45885 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45886 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45887 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45888 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45889 (_FP_FRAC_SRS_1): Likewise.
45890 (_FP_FRAC_CLZ_1): Likewise.
45891 (_FP_MUL_MEAT_1_imm): Likewise.
45892 (_FP_MUL_MEAT_1_wide): Likewise.
45893 (_FP_MUL_MEAT_1_hard): Likewise.
45894 (_FP_SQRT_MEAT_1): Likewise.
45895 (_FP_FRAC_ASSEMBLE_1): Likewise.
45896 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45897 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45898 (__FP_CLZ_2): Likewise.
45899 (_FP_MUL_MEAT_2_wide): Likewise.
45900 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45901 (_FP_MUL_MEAT_2_gmp): Likewise.
45902 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45903 (_FP_SQRT_MEAT_2): Likewise.
45904 (_FP_FRAC_ASSEMBLE_2): Likewise.
45905 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45906 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45907 (_FP_FRAC_CLZ_4): Likewise.
45908 (_FP_MUL_MEAT_4_wide): Likewise.
45909 (_FP_MUL_MEAT_4_gmp): Likewise.
45910 (_FP_SQRT_MEAT_4): Likewise.
45911 (_FP_FRAC_ASSEMBLE_4): Likewise.
45912 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45913 * soft-fp/op-common.h (_FP_CMP): Likewise.
45914 (_FP_CMP_EQ): Likewise.
45915 (_FP_CMP_UNORD): Likewise.
45916 (_FP_TO_INT): Likewise.
45917 (_FP_FROM_INT): Likewise.
45918 [!__FP_CLZ] (__FP_CLZ): Likewise.
45919 (_FP_DIV_HELP_imm): Likewise.
45920 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45921 Likewise.
45922 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45923 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45924 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45925 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45926 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45927 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45928 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45929 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45930 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45931 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45932 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45933 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45934 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45935 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45936 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45937 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45938 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45939 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45940 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45941 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45942 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45943 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45944 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45945 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45946 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45947 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45948 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45949 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45950 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45951 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45952 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45953 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45954 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45955 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45956 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45957 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45958 (FP_UNPACK_RAW_SP): Likewise.
45959 (FP_PACK_RAW_S): Likewise.
45960 (FP_PACK_RAW_SP): Likewise.
45961 (FP_UNPACK_S): Likewise.
45962 (FP_UNPACK_SP): Likewise.
45963 (FP_UNPACK_SEMIRAW_S): Likewise.
45964 (FP_UNPACK_SEMIRAW_SP): Likewise.
45965 (FP_PACK_S): Likewise.
45966 (FP_PACK_SP): Likewise.
45967 (FP_PACK_SEMIRAW_S): Likewise.
45968 (FP_PACK_SEMIRAW_SP): Likewise.
45969 (_FP_SQRT_MEAT_S): Likewise.
45970 (FP_CMP_S): Likewise.
45971 (FP_CMP_EQ_S): Likewise.
45972 (FP_CMP_UNORD_S): Likewise.
45973 (FP_TO_INT_S): Likewise.
45974 (FP_FROM_INT_S): Likewise.
45975
45976 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45977
45978 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45979 (FP_EX_INVALID_IMZ): Likewise.
45980 (FP_EX_INVALID_IMZ_FMA): Likewise.
45981 (FP_EX_INVALID_ISI): Likewise.
45982 (FP_EX_INVALID_ZDZ): Likewise.
45983 (FP_EX_INVALID_IDI): Likewise.
45984 (FP_EX_INVALID_SQRT): Likewise.
45985 (FP_EX_INVALID_CVI): Likewise.
45986 (FP_EX_INVALID_VC): Likewise.
45987 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45988 "invalid" exceptions.
45989 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45990 (_FP_ADD_INTERNAL): Likewise.
45991 (_FP_MUL): Likewise.
45992 (_FP_FMA): Likewise.
45993 (_FP_DIV): Likewise.
45994 (_FP_CMP_CHECK_NAN): Likewise.
45995 (_FP_SQRT): Likewise.
45996 (_FP_TO_INT): Likewise.
45997 (FP_EXTEND): Likewise.
45998
459992014-10-09 Allan McRae <allan@archlinux.org>
46000
46001 * po/fr.po: Update French translation from translation project.
46002
460032014-10-09 Joseph Myers <joseph@codesourcery.com>
46004
46005 [BZ #14132]
46006 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
46007 of INTDEF.
46008 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
46009 (__cxa_atexit): Use libc_hidden_proto.
46010 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
46011
46012 [BZ #14132]
46013 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
46014 declaration.
46015 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
46016 [!_ISOMAC] (__iswspace_l_internal): Likewise.
46017 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
46018 [!_ISOMAC] (__iswctype_internal): Likewise.
46019 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
46020 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
46021 alias.
46022 (fcntl): Remove __fcntl_internal alias.
46023 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
46024 __connect_internal alias.
46025 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
46026 Likewise.
46027
46028 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
46029 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
46030 FP_DENORM_ZERO.
46031 (_FP_CHECK_FLUSH_ZERO): New macro.
46032 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
46033 (_FP_CMP): Likewise.
46034 (_FP_CMP_EQ): Likewise.
46035 (_FP_TO_INT): Do not set inexact for subnormal arguments if
46036 FP_DENORM_ZERO.
46037 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
46038 (FP_TRUNC): Likewise.
46039
46040 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
46041 treated as invalid conversion, not as normal exponent.
46042
46043 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
46044 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
46045 (_FP_CMP_EQ): Likewise.
46046 (_FP_CMP_UNORD): Likewise.
46047 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
46048 (FP_CMP_EQ_D): Likewise.
46049 (FP_CMP_UNORD_D): Likewise.
46050 * soft-fp/extended.h (FP_CMP_E): Likewise.
46051 (FP_CMP_EQ_E): Likewise.
46052 (FP_CMP_UNORD_E): Likewise.
46053 * soft-fp/quad.h (FP_CMP_Q): Likewise.
46054 (FP_CMP_EQ_Q): Likewise.
46055 (FP_CMP_UNORD_Q): Likewise.
46056 * soft-fp/single.h (FP_CMP_S): Likewise.
46057 (FP_CMP_EQ_S): Likewise.
46058 (FP_CMP_UNORD_S): Likewise.
46059 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
46060 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
46061 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
46062 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
46063 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
46064 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
46065 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
46066 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
46067 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
46068 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
46069 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
46070 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
46071 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
46072 to FP_CMP_Q.
46073 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
46074 FP_CMP_Q.
46075 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
46076 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
46077 FP_CMP_EQ_Q.
46078 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
46079 FP_CMP_Q.
46080 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
46081 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
46082 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
46083 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
46084 FP_CMP_EQ_Q.
46085 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
46086 FP_CMP_Q.
46087 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
46088 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
46089 FP_CMP_EQ_Q.
46090 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
46091 FP_CMP_Q.
46092 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
46093 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
46094 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
46095 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
46096 FP_CMP_EQ_Q.
46097
46098 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
46099 a subnormal result, set the underflow exception if trapping on
46100 underflow is enabled.
46101 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
46102 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
46103 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
46104 redefine to 0.
46105 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
46106 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46107 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46108 * soft-fp/extendxftf2.c (__extendxftf2): Use
46109 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
46110
46111 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
46112 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
46113 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46114 FP_HANDLE_EXCEPTIONS.
46115 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
46116 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46117 FP_HANDLE_EXCEPTIONS.
46118 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
46119 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46120 FP_HANDLE_EXCEPTIONS.
46121 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
46122 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46123 FP_HANDLE_EXCEPTIONS.
46124
461252014-10-08 Joseph Myers <joseph@codesourcery.com>
46126
46127 [BZ #14132]
46128 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
46129 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
46130 use INTUSE.
46131 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
46132 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
46133 Remove alias.
46134 (__adjtimex): Define using libc_hidden_ver.
46135 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
46136 Remove declaration.
46137 (ntp_gettime): Call __adjtimex directly.
46138 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
46139 Remove declaration.
46140 (ntp_gettimex): Call __adjtimex directly.
46141 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
46142 __adjtimex_internal alias.
46143
461442014-10-08 Roland McGrath <roland@hack.frob.com>
46145
46146 [BZ #17460]
46147 * nscd/nscd.c (more_help): Rewrite list of tables collection
46148 using xstrdup and asprintf.
46149
46150 * nscd/nscd_conf.c: Remove local xstrdup declaration.
46151
461522014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46153 Roland McGrath <roland@hack.frob.com>
46154
46155 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
46156 (do_lookup_unique): ... local function 'enter' here; update callers.
46157
461582014-10-06 Joseph Myers <joseph@codesourcery.com>
46159
46160 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
46161 compat_symbol calls on [SHARED].
46162 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
46163 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
46164 Remove.
46165 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46166 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
46167 (oldsetrlimit): Remove.
46168 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46170 (lchown): New syscall entry.
46171 (oldsetrlimit): Remove.
46172 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46173 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
46174 (oldsetrlimit): Remove.
46175 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46176
46177 [BZ #14138]
46178 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
46179 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
46180 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
46181 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
46182 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46183 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46184 (fchown): Likewise.
46185 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46186 (fchown): Likewise.
46187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46188 Likewise.
46189
461902014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46191
46192 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46193 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46194 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46195 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46196 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46197 Likewise.
46198 (__old_sem_post): Likewise.
46199
462002014-10-06 Chris Metcalf <cmetcalf@tilera.com>
46201
46202 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46203 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46204 HAVE_CLOCK_GETTIME_VSYSCALL macros.
46205 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46206 Use INLINE_VSYSCALL macro.
46207 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46208 __vdso_clock_gettime.
46209 * sysdeps/unix/sysv/linux/tile/init-first.c
46210 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46211 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46212 __vdso_clock_gettime.
46213
46214 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46215 to set up frame more cleanly.
46216
46217 * sysdeps/tile/memcmp.c: New file.
46218
46219 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46220
46221 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46222 * sysdeps/tile/tilegx/strcasestr.c: New file.
46223 * sysdeps/tile/tilegx/strnlen.c: New file.
46224 * sysdeps/tile/tilegx/strstr.c: New file.
46225
46226 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46227
462282014-10-06 Arjun Shankar <arjun.is@lostca.se>
46229
46230 * nptl/tst-setuid3.c: Write errors to stdout.
46231
462322014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46233
46234 * elf/dl-deps.c
46235 (preload): New functions broken out of _dl_map_object_deps.
46236 (_dl_map_object_deps): Remove a nested function. Update call sites.
46237
462382014-10-01 Joseph Myers <joseph@codesourcery.com>
46239
46240 [BZ #14138]
46241 * sysdeps/unix/sysv/linux/execve.c: Remove file.
46242 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46243
462442014-10-01 Steve Ellcey <sellcey@mips.com>
46245
46246 * sysdeps/mips/strcmp.S: New.
46247
462482014-09-30 Joseph Myers <joseph@codesourcery.com>
46249
46250 [BZ #14138]
46251 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46252 (linkat): Likewise.
46253 (mkdirat): Likewise.
46254 (readlinkat): Likewise.
46255 (renameat): Likewise.
46256 (symlinkat): Likewise.
46257 (unlinkat): Likewise.
46258 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46259 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46260 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46261 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46262 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46263 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46264 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46265
462662014-09-30 Will Newton <will.newton@linaro.org>
46267
46268 * math/math.h: Define long double math functions if
46269 _LIBC_TEST is defined.
46270 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46271
46272 * localedata/Makefile: Move assignment to tests-special
46273 into an ifdef testing run-built-tests.
46274 * timezone/Makefile: Likewise.
46275
462762014-09-29 Joseph Myers <joseph@codesourcery.com>
46277
46278 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46279 with $(BASH) not $(SHELL).
46280
462812014-09-29 Carlos O'Donell <carlos@redhat.com>
46282 Matthew LeGendre <legendre1@llnl.gov>
46283
46284 [BZ #17411]
46285 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46286 l_reloc_result.
46287
462882014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46289
46290 * stdio-common/printf_fp.c
46291 (hack_digit): New function, broken out of ...
46292 (__printf_fp): ... local function here. Update call sites.
46293 hack_digit now takes an additional parameter that is a pointer
46294 to a struct of the referenced locals. Those locals moved inside
46295 the struct and references updated.
46296
462972014-09-29 H.J. Lu <hongjiu.lu@intel.com>
46298
46299 * aclocal.m4: Require autoconf 2.69.
46300 * configure: Regenerated.
46301 * sysdeps/aarch64/configure: Likewise.
46302 * sysdeps/alpha/configure: Likewise.
46303 * sysdeps/arm/armv7/configure: Likewise.
46304 * sysdeps/arm/configure: Likewise.
46305 * sysdeps/ia64/configure: Likewise.
46306 * sysdeps/mach/configure: Likewise.
46307 * sysdeps/mips/configure: Likewise.
46308 * sysdeps/s390/configure: Likewise.
46309 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46311
46312 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46313 file.
46314 * sysdeps/ia64/configure.ac: Likewise.
46315
463162014-09-26 Joseph Myers <joseph@codesourcery.com>
46317
46318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46319 specify symbol version for ld.so. Do not include entry for
46320 libpthread.
46321 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46322 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46323 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46324
46325 [BZ #14171]
46326 * Makeconfig [$(build-shared) = yes]
46327 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46328 makefiles.
46329 [$(build-shared) = yes && $(soversions.mk-done) = t]
46330 ($(common-objpfx)gnu/lib-names.h): Remove rule.
46331 [$(build-shared) = yes && $(soversions.mk-done) = t]
46332 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
46333 to Makerules.
46334 [$(build-shared) = yes && $(soversions.mk-done) = t]
46335 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46336 here.
46337 [$(build-shared) = yes && $(soversions.mk-done) = t]
46338 (common-generated): Don't append gnu/lib-names.h and
46339 gnu/lib-names.stmp here.
46340 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46341 (lib-names-h-abi): New variable.
46342 [$(build-shared) = yes && $(soversions.mk-done) = t]
46343 (lib-names-stmp-abi): Likewise.
46344 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46345 abi-variants] (before-compile): Append
46346 $(common-objpfx)$(lib-names-h-abi).
46347 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46348 abi-variants] (common-generated): Append gnu/lib-names.h.
46349 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46350 abi-variants] (install-others-nosubdir): Depend on
46351 $(inst_includedir)/$(lib-names-h-abi).
46352 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46353 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46354 [$(build-shared) = yes && $(soversions.mk-done) = t]
46355 ($(common-objpfx)$(lib-names-h-abi)): New rule.
46356 [$(build-shared) = yes && $(soversions.mk-done) = t]
46357 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46358 [$(build-shared) = yes && $(soversions.mk-done) = t]
46359 (common-generated): Append $(lib-names-h-abi) and
46360 $(lib-names-stmp-abi).
46361 * scripts/lib-names.awk: Do not handle multi being set.
46362 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46363 Remove variable.
46364 (abi-lp64_be-ld-soname): Likewise.
46365 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46366 Likewise.
46367 (abi-hard-ld-soname): Likewise.
46368 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46369 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46370 Remove variable.
46371 (abi-o32_hard-ld-soname): Likewise.
46372 (abi-o32_soft_2008-ld-soname): Likewise.
46373 (abi-o32_hard_2008-ld-soname): Likewise.
46374 (abi-n32_soft-ld-soname): Likewise.
46375 (abi-n32_hard-ld-soname): Likewise.
46376 (abi-n32_soft_2008-ld-soname): Likewise.
46377 (abi-n32_hard_2008-ld-soname): Likewise.
46378 (abi-n64_soft-ld-soname): Likewise.
46379 (abi-n64_hard-ld-soname): Likewise.
46380 (abi-n64_soft_2008-ld-soname): Likewise.
46381 (abi-n64_hard_2008-ld-soname): Likewise.
46382 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46383 Likewise.
46384 (abi-64-v2-ld-soname): Likewise.
46385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46386 ld.so entries.
46387 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46388 variable.
46389 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46390 entry.
46391 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46392 variable.
46393 (abi-64-ld-soname): Likewise.
46394 (abi-x32-ld-soname): Likewise.
46395 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46396 entry.
46397 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46398
463992014-09-23 Joseph Myers <joseph@codesourcery.com>
46400
46401 [BZ #14138]
46402 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46403 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46404 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46405 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46406 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46407 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46408 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46409 syscall entry for GLIBC_2.2 symbol version.
46410 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46411 Likewise.
46412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46413 (setrlimit): Likewise.
46414 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46415 Likewise.
46416
464172014-09-23 Will Newton <will.newton@linaro.org>
46418
46419 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46420 _LINUX_ARM_SYSDEP_H include guard too.
46421 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46422 define.
46423
464242014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
46425
46426 * sysdeps/unix/sysv/linux/eventfd.c:
46427 Make first argument unsigned.
46428 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46429 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46430
464312014-09-20 Ondřej Bílka <neleai@seznam.cz>
46432
46433 [BZ #16852]
46434 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46435 * socket/sys/socket.h: Likewise.
46436 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46437
464382014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46439
46440 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46441
464422014-09-17 Arjun Shankar <arjun.is@lostca.se>
46443
46444 * time/tst-ftime.c: New test.
46445 * time/Makefile (tests): Add tst-ftime.
46446
464472014-09-17 Joseph Myers <joseph@codesourcery.com>
46448
46449 * soft-fp/extended.h: Fix comment formatting.
46450 * soft-fp/op-1.h: Likewise.
46451 * soft-fp/op-2.h: Likewise.
46452 * soft-fp/op-4.h: Likewise.
46453 * soft-fp/op-8.h: Likewise.
46454 * soft-fp/op-common.h: Likewise.
46455 * soft-fp/soft-fp.h: Likewise.
46456
46457 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46458
464592014-09-16 Joseph Myers <joseph@codesourcery.com>
46460
46461 [BZ #6652]
46462 * Makeconfig (soversions-default-setname): Remove variable.
46463 ($(common-objpfx)soversions.i): Don't pass default_setname to
46464 soversions.awk.
46465 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46466 oldest_abi to abi-versions.awk.
46467 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46468 * config.make.in (oldest-abi): Remove variable.
46469 * configure.ac (--enable-oldest-abi): Remove configure option.
46470 * configure: Regenerated.
46471 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46472 text.
46473 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46474 * scripts/soversions.awk: Do not handle default_setname variable.
46475 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46476 variable.
46477 * sysdeps/mach/hurd/configure: Regenerated.
46478 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46479 variable.
46480 * sysdeps/unix/sysv/linux/configure: Regenerated.
46481
464822014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46483
46484 * elf/Makefile (CFLAGS-interp.c): Remove.
46485 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46486 path string.
46487 * elf/interp.c: Include generated runtime-linker.h
46488
46489 * Makerules (lib%.so): Don't include $(+interp) in
46490 prerequisites.
46491 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46492 * dlfcn/eval.c: Remove file.
46493
46494 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46495 macros.
46496
46497 [BZ #17266]
46498 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46499 4.2 and newer.
46500
46501 [BZ #17370]
46502 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46503
465042014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46505 Jakub Jelinek <jakub@redhat.com>
46506
46507 [BZ #17266]
46508 * libio/stdio.h: Check definition of __fortify_function
46509 instead of __extern_always_inline to include bits/stdio2.h.
46510 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46511 check if __extern_always_inline is defined.
46512 [__USE_MISC || __USE_XOPEN]: Likewise.
46513 [__USE_ISOC99] Likewise.
46514 * misc/sys/cdefs.h (__fortify_function): Define only if
46515 __extern_always_inline is defined.
46516 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46517 __extern_always_inline and __extern_inline only for g++-4.3
46518 and newer or a compatible gcc.
46519
465202014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46521
46522 [BZ #17371]
46523 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46524 last change to handle zero prefix length.
46525
465262014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46527
46528 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46529 _SC_REGEX_VERSION.
46530
46531 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46532 _POSIX_RAW_SOCKETS.
46533
465342014-09-13 Allan McRae <allan@archlinux.org>
46535
46536 * po/ru.po: Update Russian translation from translation project.
46537
465382014-09-12 Roland McGrath <roland@hack.frob.com>
46539
46540 * locale/programs/locale.c (show_locale_vars): Inline local function
46541 into its sole call site. Clean up some style nits.
46542 (print_item): New function, broken out of ...
46543 (show_info): ... local function here. Clean up style nits.
46544
46545 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46546 out of ...
46547 (set_class_defaults): ... local function set_default here.
46548 Define set_default as a macro locally to pass constant parameters.
46549 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46550 rather than a shared local.
46551
46552 * stdlib/rpmatch.c (try): New function, broken out of ...
46553 (rpmatch): ... local function here. Also, prototypify definition.
46554
465552014-09-12 Joseph Myers <joseph@codesourcery.com>
46556
46557 * scripts/soversions.awk: Do not handle configuration names.
46558 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46559 vendor and os variables to soversions.awk.
46560 * configure.ac: Do not modify gnu-* host_os.
46561 * configure: Regenerated
46562 * shlib-versions: Remove first column with configuration names.
46563 * nptl/shlib-versions: Likewise.
46564 * nptl_db/shlib-versions: Likewise.
46565 * sysdeps/hppa/shlib-versions: Likewise.
46566 * sysdeps/m68k/shlib-versions: Likewise.
46567 * sysdeps/mach/hurd/shlib-versions: Likewise.
46568 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46569 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46570 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46571 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46572 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46573 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46574 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46575 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46577 Likewise.
46578 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46579 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46580 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46581 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46582 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46583 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46584 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46585 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46586
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46588 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46590 Regenerated.
46591 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46593 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46594
46595 * shlib-versions: Remove OS-specific entries. Moved to files in
46596 sysdeps.
46597 * sysdeps/mach/hurd/shlib-versions: New file.
46598 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46599
46600 * nptl/shlib-versions: Remove architecture-specific entries.
46601 Moved to files in sysdeps.
46602 * shlib-versions: Likewise.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46604 file.
46605 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46606 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46607 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46608 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46609
46610 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46611 (UDP_NO_CHECK6_RX): Likewise.
46612
466132014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46614
46615 * sysdeps/posix/sysconf.c (__sysconf): Spell
46616 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46617
466182014-08-12 Florian Weimer <fweimer@redhat.com>
46619
46620 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46621 loading.
46622 * iconv/Versions (__gconv_transliterate): Export for use from
46623 gconv modules.
46624 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46625 (struct __gconv_trans_data, __gconv_trans_fct,
46626 __gconv_trans_context_fct, __gconv_trans_query_fct,
46627 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46628 definitions.
46629 (struct __gconv_step_data): Remove __trans member.
46630 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46631 longer hidden. Remove unused trans_data argument.
46632 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46633 (__gconv_translit_find): Remove declaration.
46634 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46635 prototype.
46636 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46637 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46638 trans_data argument. Add hidden definition.
46639 (__gconv_translit_find): Remove.
46640 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46641 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46642 * iconv/skeleton.c: Remove transliteration initialization.
46643 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46644 __gconv_step_data initialization.
46645 * libio/iofwide.c (__libio_translit_): Remove.
46646 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46647 * wcsmbs/btowc.c (__btowc): Likewise.
46648 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46649 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46650 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46651 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46652 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46653 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46654 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46655 * wcsmbs/wctob.c (wctob): Likewise.
46656
466572014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46658
46659 [BZ #16194]
46660 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46661 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46662 register usage.
46663 * sysdeps/x86/Makefile: Adjust.
46664
466652014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46666 Roland McGrath <roland@hack.frob.com>
46667
46668 * locale/weight.h: Add include guard.
46669 (findidx): Make static rather than auto; take new parameters
46670 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46671 * locale/weightwc.h: Likewise.
46672 * posix/fnmatch_loop.c
46673 (FCT): Change type of EXTRA from int32_t to wint_t.
46674 Don't include either header inside the function.
46675 Call FINDIDX rather than findidx, and pass new arguments.
46676 #undef FINDIDX at the end of the file.
46677 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46678 FINDIDX before including fnmatch_loop.c for the non-wide version.
46679 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46680 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46681 for the wide version.
46682 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46683 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46684 Pass new arguments to findidx.
46685 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46686 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46687 Don't #include it inside the function. Pass new arguments to findidx.
46688 * posix/regex_internal.h
46689 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46690 (re_string_elem_size_at): Don't #include it inside the function.
46691 Pass new arguments to findidx.
46692 * string/strcoll_l.c: #include WEIGHT_H at top level.
46693 (get_next_seq): Don't #include it inside the function.
46694 Pass new arguments to findidx.
46695 (get_next_seq_nocache): Likewise.
46696 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46697 (STRXFRM): Don't #include it inside the function.
46698 Pass new arguments to findidx.
46699
467002014-09-11 Florian Weimer <fweimer@redhat.com>
46701
46702 [BZ #17344]
46703 * malloc/malloc.c (unlink): Turn asserts into a call to
46704 malloc_printerr.
46705
467062014-09-11 Tim Lammens <tim.lammens@gmail.com>
46707
46708 [BZ #17370]
46709 * libio/wfileops (do_ftell_wide): Free OUT.
46710
467112014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46712
46713 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46714
467152014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46716
46717 [BZ #17363]
46718 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46719 group if the current group is empty.
46720
467212014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46722
46723 * benchtests/bench-memset.c (test_main): Add more test from size
46724 from 32 to 512 bytes.
46725 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46726 Add POWER8 memset object.
46727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46728 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46729 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46730 implementation.
46731 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46732 Likewise.
46733 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46734 multiarch POWER8 memset optimization.
46735 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46736 POWER8 memset optimization.
46737
46738 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46739 Remove bzero multiarch objects.
46740 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46741 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46742 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46743 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46744 Remove define.
46745 [__bzero]: Redefine to specific name.
46746 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46747 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46748 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46749 define.
46750 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46751 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46752
467532014-09-10 Florian Weimer <fweimer@redhat.com>
46754
46755 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46756 warnings into errors.
46757
46758 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46759 __cxa_thread_atexit_impl prototype.
46760
467612014-09-09 Steve Ellcey <sellcey@mips.com>
46762
46763 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46764 Fix capitalization of error message.
46765
467662014-09-09 Steve Ellcey <sellcey@mips.com>
46767
46768 * sysdeps/mips/preconfigure: Modify ABI tests.
46769
467702014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46771
46772 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46773
467742014-09-07 Roland McGrath <roland@hack.frob.com>
46775 Carlos O'Donell <carlos@systemhalted.org>
46776
46777 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46778 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46779 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46780 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46781 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46782 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46783 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46784 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46785 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46786 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46787 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46788 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46789 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46790 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46791 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46792 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46793 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46794 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46795 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46796 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46797 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46798 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46799 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46800 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46801 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46802 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46803 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46804 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46805 Deconditionalize the code that was previously under [RESET_PID].
46806 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46807 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46808 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46809 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46810 include sysdep.h.
46811
468122014-09-08 Allan McRae <allan@archlinux.org>
46813
46814 * version.h (RELEASE): Set to "development".
46815 (VERSION): Set to "2.20.90"
46816
468172014-09-07 Allan McRae <allan@archlinux.org>
46818
46819 * version.h (RELEASE): Set to "stable".
46820 (VERSION): Set to "2.20"
46821 * include/features.h (__GLIBC_MINOR__): Set to 20.
46822
46823 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46824 Liebler.
46825
46826 * po/ko.po: Update Korean translation from translation project.
46827
468282014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46829
46830 [BZ #17354]
46831 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46832 macro for handling signed relocations.
46833
468342014-09-03 Florian Weimer <fweimer@redhat.com>
46835
46836 [BZ #17325]
46837 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46838 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46839 assert.
46840 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46841 * iconvdata/ibm935.c (BODY): Likewise.
46842 * iconvdata/ibm937.c (BODY): Likewise.
46843 * iconvdata/ibm939.c (BODY): Likewise.
46844 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46845 assert.
46846 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46847 script.
46848 * iconvdata/run-iconv-test.sh: New test loop for checking for
46849 decoder crashers.
46850
468512014-09-02 Khem Raj <raj.khem@gmail.com>
46852
46853 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46854 libm_hidden_ver.
46855
468562014-09-01 Allan McRae <allan@archlinux.org>
46857
46858 * po/eo.po: Update Esperanto translation from translation project.
46859
46860 * po/ca.po: Update Catalan translation from translation project.
46861
468622014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46863
46864 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46865 __proc_dostop call.
46866
468672014-08-27 Mark Wielaard <mjw@redhat.com>
46868
46869 [BZ #17319]
46870 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46871 to call set_thread_area instead of hand written asm.
46872 (__NR_set_thread_area): Removed define.
46873 (TLS_FLAG_WRITABLE): Likewise.
46874 (__ASSUME_SET_THREAD_AREA): Remove check.
46875 (TLS_EBX_ARG): Remove define.
46876 (TLS_LOAD_EBX): Likewise.
46877
468782014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46879
46880 Simplify atomicity of socket creation in bind.
46881
46882 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46883 looking up the name after linking the file.
46884
468852014-08-27 Allan McRae <allan@archlinux.org>
46886
46887 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46888
468892014-08-26 Florian Weimer <fweimer@redhat.com>
46890
46891 [BZ #17187]
46892 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46893 trans_compare, open_translit, __gconv_translit_find):
46894 Remove module loading code.
46895
468962014-08-26 Allan McRae <allan@archlinux.org>
46897
46898 * po/vi.po: Update Vietnamese translation from translation project.
46899
46900 * po/uk.po: Update Ukrainian translation from translation project.
46901
46902 * po/fr.po: Update French translation from translation project.
46903
46904 * po/ru.po: Update Russian translation from translation project.
46905
46906 * po/pl.po: Update Polish translation from translation project.
46907
46908 * po/cs.po: Update Czech translation from translation project.
46909
46910 * po/de.po: Update German translation from translation project.
46911
46912 * po/bg.po: Update Bulgarian translation from translation project.
46913
46914 * po/sv.po: Update Sweedish translation from translation project.
46915
46916 * po/nl.po: Update Dutch translation from translation project.
46917
46918 * po/es.po: Update Spanish translation from translation project.
46919
469202014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46921
46922 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46923
46924 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46925 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46926 (CPPFLAGS-iconvconfig): Likewise.
46927 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46928
46929 * include/libc-symbols.h: Remove unnecessary check for
46930 NOT_IN_libc.
46931 * nptl/pthreadP.h: Likewise.
46932 * sysdeps/aarch64/setjmp.S: Likewise.
46933 * sysdeps/alpha/setjmp.S: Likewise.
46934 * sysdeps/arm/sysdep.h: Likewise.
46935 * sysdeps/i386/setjmp.S: Likewise.
46936 * sysdeps/m68k/setjmp.c: Likewise.
46937 * sysdeps/posix/getcwd.c: Likewise.
46938 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46939 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46940 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46941 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46942 * sysdeps/sh/sh3/setjmp.S: Likewise.
46943 * sysdeps/sh/sh4/setjmp.S: Likewise.
46944 * sysdeps/unix/alpha/sysdep.h: Likewise.
46945 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46946 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46947 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46948 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46951 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46953 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46955 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46956 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46958 * sysdeps/x86_64/setjmp.S: Likewise.
46959
469602014-08-13 Joseph Myers <joseph@codesourcery.com>
46961
46962 [BZ #17263]
46963 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46964 <stdint.h>.
46965 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46966 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46967
469682014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46969
46970 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46971
46972 [BZ #17262]
46973 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46974 and __x86_64__ when disabling x87 inline functions.
46975
469762014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46977
46978 [BZ #17259]
46979 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46980 asm statement with __cpuid_count.
46981
469822014-08-12 Mike Frysinger <vapier@gentoo.org>
46983
46984 * configure.ac: Change __ehdr_start code to dereference the struct.
46985 Run readelf on the output to look for relocations.
46986 * configure: Regenerated.
46987
469882014-08-12 Joseph Myers <joseph@codesourcery.com>
46989
46990 [BZ #17261]
46991 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46992 value to 0.
46993 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46994
469952014-08-12 Roland McGrath <roland@hack.frob.com>
46996
46997 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46998
469992014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
47000
47001 [BZ #16892]
47002 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
47003 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
47004
470052014-08-12 Sean Anderson <seanga2@gmail.com>
47006
47007 * malloc/malloc.c: Fix typo in comment.
47008
470092014-08-09 Allan McRae <allan@archlinux.org>
47010
47011 * Regenerate libc.po.
47012
470132014-08-08 Mike Frysinger <vapier@gentoo.org>
47014
47015 * intl/tst-gettext2.sh: Check every lang file for creation.
47016
470172014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
47018
47019 * sysdeps/aarch64/fpu/math_private.h
47020 (libc_feholdsetround_noex_aarch64_ctx): New function.
47021
470222014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
47023
47024 * sysdeps/arm/armv6/strcpy.S (strcpy):
47025 Fix performance issue in misaligned cases.
47026
470272014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47028
47029 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
47030 Move definition from termios.h.
47031 (struct termio): Likewise.
47032 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47033 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47034 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47035 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47036 Likewise.
47037 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
47038 Move definition to ioctl-types.h
47039 (struct termio): Likewise.
47040 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47041 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47042 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47043 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47044 Likewise.
47045
470462014-08-05 Richard Henderson <rth@redhat.com>
47047
47048 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
47049 exceptions.
47050 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
47051 Add fraiseexcpt.
47052 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
47053 Use __feraiseexcept.
47054 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
47055 Protect libm symbols with IS_IN_libm.
47056
47057 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
47058
470592014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
47060
47061 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
47062
470632014-08-04 Will Newton <will.newton@linaro.org>
47064
47065 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
47066 file.
47067
470682014-08-04 Mike Frysinger <vapier@gentoo.org>
47069
47070 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
47071 variants for each function.
47072
470732014-08-04 Roland McGrath <roland@hack.frob.com>
47074
47075 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
47076 appended ...
47077 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
47078 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
47079 appended ...
47080 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
47081 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
47082 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
47083 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
47084 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
47085 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
47086 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
47087 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
47088 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
47089 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
47090 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
47091 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
47092 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
47093 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
47094 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
47095 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
47096 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
47097 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
47098 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
47099 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
47100 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
47101 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
47102 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
47103 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
47104 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
47105 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
47106 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
47107 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
47108 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
47109 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
47110 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
47111 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
47112 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
47113 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
47114 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
47115 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
47116 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
47117 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
47118 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
47119 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
47120 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
47121 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
47122 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
47123 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
47124 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
47125 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
47126 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
47127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
47128 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
47129 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
47130 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
47131 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
47132 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
47133 Update #include.
47134 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
47135 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
47136
471372014-08-04 Roland McGrath <roland@hack.frob.com>
47138
47139 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
47140 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
47141 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
47142 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
47143 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
47144 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
47145
471462014-08-04 Roland McGrath <roland@hack.frob.com>
47147
47148 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
47149 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
47150 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47151 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
47152
471532014-08-04 Roland McGrath <roland@hack.frob.com>
47154
47155 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
47156 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
47157 (__libc_vfork): Define function under this name.
47158 (__vfork): Define as an alias.
47159 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
47160 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
47161
471622014-08-04 Roland McGrath <roland@hack.frob.com>
47163
47164 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
47165 that was previously under [RESET_PID].
47166 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
47167
471682014-08-04 Andreas Schwab <schwab@suse.de>
47169
47170 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
47171
471722014-08-03 Mike Frysinger <vapier@gentoo.org>
47173
47174 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
47175 (main): Likewise.
47176
471772014-08-01 Roland McGrath <roland@hack.frob.com>
47178
47179 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
47180
471812014-08-01 Richard Henderon <rth@redhat.com>
47182
47183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47184 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47185 typo in exact zero test.
47186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47187 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47189
471902014-08-01 Roland McGrath <roland@hack.frob.com>
47191
47192 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47193 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47194 * sysdeps/arm/sysdep.h: ... here.
47195 [!__ASSEMBLER__]: Include <stdint.h>.
47196
471972014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47198
47199 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47200 (HAVE_WCTYPE_H): Likewise.
47201 (HAVE_ISWCTYPE): Likewise.
47202 (ENABLE_NLS): Likewise.
47203 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47204 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47205
47206 * posix/regex_internal.c: Check if DEBUG is defined and is
47207 set.
47208
47209 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47210 (HAVE_MBSRTOWCS): Likewise.
47211 * posix/fnmatch.c: Include string.h unconditionally.
47212
472132014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47214
47215 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47216 reversal.
47217
472182014-07-31 Roland McGrath <roland@hack.frob.com>
47219
47220 * sysdeps/generic/safe-fatal.h: New file.
47221 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47222 * nptl/forward.c: Include it.
47223 (__pthread_unwind): Use __safe_fatal as default action, rather
47224 than a bogus use of INTERNAL_SYSCALL that could never work.
47225
47226 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47227 * configure.ac (libc_cv_builtin_trap): New test.
47228 * configure: Regenerated.
47229 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47230 (ABORT_INSTRUCTION): Define using __builtin_trap.
47231
47232 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47233 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47234 * sysdeps/nptl/nptl-signals.h: New file.
47235 * nptl/pthreadP.h: Include <nptl-signals.h>.
47236
472372014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47238
47239 * sysdeps/s390/s390-64/utf16-utf32-z9.c
47240 (ONE_DIRECTION): Define.
47241 * sysdeps/s390/s390-64/utf8-utf16-z9.c
47242 (ONE_DIRECTION): Define.
47243 * sysdeps/s390/s390-64/utf8-utf32-z9.c
47244 (ONE_DIRECTION): Define.
47245
472462014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47247
47248 * sysdeps/s390/Makefile: Delete file.
47249 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47250 * sysdeps/s390/__longjmp.c: Delete file.
47251 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47252 Remove fields __flags and __reserved.
47253 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47254 and add versioning.
47255 * sysdeps/s390/rtld-__longjmp.c: Delete file.
47256 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47257 * sysdeps/s390/rtld-setjmp.S: Likewise.
47258 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47259 * sysdeps/s390/s390-32/__longjmp.c: ... here.
47260 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47261 * sysdeps/s390/s390-32/setjmp.S: ... here.
47262 Add versioning.
47263 (__sigsetjmp): Remove setting __flags field.
47264 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47265 * sysdeps/s390/s390-64/__longjmp.c: ... here.
47266 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47267 * sysdeps/s390/s390-64/setjmp.S: ... here.
47268 Add versioning.
47269 (__sigsetjmp): Remove setting __flags field.
47270 * sysdeps/s390/setjmp.S: Delete file.
47271 * sysdeps/s390/sigjmp.c: Likewise.
47272 * sysdeps/s390/v1-longjmp.c: Likewise.
47273 * sysdeps/s390/v1-setjmp.h: Likewise.
47274 * sysdeps/s390/v1-sigjmp.c: Likewise.
47275 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47276 Remove v1-longjmp_chk.
47277 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47278 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47279 Include debug/longjmp_chk.c and add versioning.
47280 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47281 Include nptl/pt-longjmp.c and add versioning.
47282 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47283 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47284 Include __longjmp.c.
47285 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47286 Move to ...
47287 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47288 (__getcontext): Remove setting __flags field.
47289 Add versioning.
47290 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47291 Don't restore upper high grps.
47292 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47293 Likewise.
47294 (__swapcontext): Remove setting uc_flags field.
47295 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47296 Delete file.
47297 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47298 Include __longjmp.c.
47299 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47300 Move to ...
47301 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47302 (__getcontext): Remove setting __flags field.
47303 Add versioning.
47304 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47305 (__swapcontext): Remove setting uc_flags field.
47306 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47307 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47308 Remove fields uc_high_gprs and __reserved.
47309 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47310 New file with reverted content.
47311 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47312 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47313 Regenerated.
47314 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47315 Regenerated.
47316
473172014-07-31 Andreas Schwab <schwab@suse.de>
47318
47319 * config.h.in (HAVE_IFUNC): Define to 0.
47320 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47321 definedness.
47322
473232014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
47324
47325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47326 memmove-avx-unaligned, memcpy-avx-unaligned and
47327 mempcpy-avx-unaligned.
47328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47329 Add tests for AVX memcpy functions.
47330 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47331 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47332 memcpy_chk.
47333 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47334 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47335 memmove_chk.
47336 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47337 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47338 mempcpy_chk.
47339 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47340 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47341 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47342
473432013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47344
47345 [BZ #17213]
47346 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47347 powerpc64le.
47348
473492014-07-29 Jeff Layton <jlayton@poochiereds.net>
47350
47351 [BZ #16839]
47352 * manual/llio.texi: Add section about open file description locks.
47353 * manual/examples/ofdlocks.c: Example of open file description
47354 lock usage.
47355 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47356 F_OFD_SETLK, and F_OFD_SETLKW.
47357
473582014-07-23 Allan McRae <allan@archlinux.org>
47359
47360 * po/es.po: Update Spanish translation from translation project.
47361
473622014-07-18 Andreas Schwab <schwab@linux-m68k.org>
47363
47364 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47365
473662014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
47367
47368 [BZ #17078]
47369 * sysdeps/arm/dl-machine.h (elf_machine_rela)
47370 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47371 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47372
473732014-07-17 Joseph Myers <joseph@codesourcery.com>
47374
47375 [BZ #17088]
47376 * math/fesetenv.c (__fesetenv)
47377 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47378 * math/feupdateenv.c (__feupdateenv)
47379 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47380
47381 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47382 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47383 (__ASSUME_SOCKETCALL): Do not define.
47384
47385 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47386 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47387 (__ASSUME_SOCKETCALL): Do not define.
47388 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47389 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47390 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47391 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47392 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47393 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47394 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47395 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47396
47397 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47398 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47399 (__ASSUME_SOCKETCALL): Do not define.
47400 (__ASSUME_IPC64): Define unconditionally.
47401 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47402 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47403 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47404 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47405 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47406 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47407 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47408 Likewise.
47409
47410 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47411 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47412 (__ASSUME_SOCKETCALL): Do not define.
47413 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47414 (__ASSUME_FUTEX_LOCK_PI): Likewise.
47415 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47416 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47417 (__ASSUME_REQUEUE_PI): Define unconditionally.
47418 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47419 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47420 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47421 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47422 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47423 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47424
47425 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47426 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47427 (__ASSUME_SOCKETCALL): Do not define.
47428 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47429 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47430 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47431 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47432 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47433 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47434
47435 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47436 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47437 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47438 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47439 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47440 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47441 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47442 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47443 (__ASSUME_GETCPU_SYSCALL): Likewise.
47444
47445 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47446 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47447 cases for individual architectures.
47448 * sysdeps/gnu/configure: Regenerated.
47449 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47450 LIBC_SLIBDIR_RTLDDIR.
47451 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47452 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47453 LIBC_SLIBDIR_RTLDDIR.
47454 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47456 LIBC_SLIBDIR_RTLDDIR.
47457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47458 Regenerated.
47459 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47460 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47461 file.
47462 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47463 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47464 file.
47465 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47466 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47467 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47468 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47469
47470 * sysdeps/aarch64/shlib-versions: Move to ...
47471 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47472 * sysdeps/alpha/shlib-versions: Move to ...
47473 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47474 * sysdeps/arm/shlib-versions: Move to ...
47475 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47476 * sysdeps/hppa/shlib-versions: Move all contents except for
47477 libgcc_s entry to ...
47478 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47479 entry from ...
47480 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47481 * sysdeps/ia64/shlib-versions: Move to ...
47482 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47483 entry from ...
47484 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47485 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47486 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47487 * sysdeps/microblaze/shlib-versions: Move to ...
47488 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47489 * sysdeps/mips/shlib-versions: Move to ...
47490 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47491 entry from ...
47492 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47493 * sysdeps/tile/shlib-versions: Move to ...
47494 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47495 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47496 from ...
47497 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47498 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47499 entry from ...
47500 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47501
475022014-07-17 Will Newton <will.newton@linaro.org>
47503
47504 * sysdeps/arm/bits/atomic.h
47505 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47506 (__arch_compare_and_exchange_bool_16_int): Likewise.
47507 (__arch_compare_and_exchange_bool_64_int): Likewise.
47508
47509 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47510 into an #else block.
47511
475122014-07-16 Roland McGrath <roland@hack.frob.com>
47513
47514 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47515 just Linux configurations. Test empirically that the compiler sets
47516 __ARM_EABI__, rather than using the tuple to decide.
47517 * sysdeps/arm/preconfigure: Regenerated.
47518 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47519 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47520 contents appended ...
47521 * sysdeps/arm/configure.ac: ... here.
47522 * sysdeps/arm/configure: Regenerated.
47523
475242014-07-15 Roland McGrath <roland@hack.frob.com>
47525
47526 * nptl/pthread_kill.c: New file.
47527 * nptl/pthread_sigmask.c: New file.
47528 * nptl/pthread_sigqueue.c: New file.
47529
47530 * sysdeps/nptl/lowlevellock.h: New file.
47531 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47532 * sysdeps/nptl/lowlevellock-futex.h: New file.
47533
47534 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47535 Remove dead declarations.
47536
475372014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47538
47539 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47540 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47541 config-cflags-avx2.
47542 * sysdeps/x86_64/configure.ac: Likewise.
47543 * sysdeps/i386/configure: Regenerated.
47544 * sysdeps/x86_64/configure: Likewise.
47545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47546 memset-avx2 only if config-cflags-avx2 is yes.
47547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47548 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47549 defined.
47550 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47551 only if HAVE_AVX2_SUPPORT is defined.
47552 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47553
475542014-07-14 Alan Modra <amodra@gmail.com>
47555
47556 [BZ #17153]
47557 * elf/elf.h (DT_PPC64_NUM): Correct value.
47558 * NEWS: Add to fixed bug list.
47559
475602014-07-13 Jim Meyering <meyering@fb.com>
47561
47562 [BZ 17150]
47563 regex: don't deref NULL upon heap allocation failure
47564 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47565 failure in one more place.
47566 To trigger the segfault, configure grep -with-included-regex,
47567 build it, and run these commands:
47568 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47569
475702014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47571
47572 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47573
475742014-07-11 Richard Henderson <rth@redhat.com>
47575
47576 * sysdeps/aarch64/libm-test-ulps: Update.
47577
475782014-07-10 Florian Weimer <fweimer@redhat.com>
47579
47580 [BZ #17135]
47581 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47582 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47583 (__nptl_setxid): Initialize error member. Call
47584 __nptl_setxid_error.
47585 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47586 * nptl/descr.h (struct xid_command): Add error member.
47587 * nptl/tst-setuid3.c: New file.
47588 * nptl/Makefile (tests): Add it.
47589
475902014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47591
47592 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47593 New define.
47594 (__lll_trylock): Use __lll_base_trylock.
47595 (__lll_cond_trylock): Likewise.
47596
475972014-07-10 Roland McGrath <roland@hack.frob.com>
47598
47599 * nptl/pthread_create.c (start_thread): Use atomic_or and
47600 lll_futex_wake directly rather than lll_robust_dead.
47601 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47602 (lll_robust_dead): Macro removed.
47603 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47604 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47605 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47606 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47607 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47608 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47609 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47610 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47611 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47612 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47613 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47614 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47615 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47616 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47617 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47618
47619 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47620 Use atomic_compare_and_exchange_val_acq directly rather than
47621 lll_robust_trylock.
47622 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47623 (__lll_robust_trylock, lll_robust_trylock): Removed.
47624 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47625 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47626 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47627 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47628 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47629 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47630 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47631 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47632 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47633 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47634 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47635 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47636 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47637 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47638
476392014-07-02 Florian Weimer <fweimer@redhat.com>
47640
47641 * manual/locale.texi (Locale Names): New section documenting
47642 locale name syntax. Adjust menu and node chaining accordingly.
47643 (Choosing Locale): Reference Locale Names, Locale Categories.
47644 Mention setting LC_ALL=C. Reflect that name syntax is now
47645 documented.
47646 (Locale Categories): New section title. Reference Locale Names.
47647 LC_ALL is an environment variable, but not a category.
47648 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47649 description, now in Locale Name. Reference that section. Locale
47650 name syntax is now documented.
47651
476522014-07-02 Florian Weimer <fweimer@redhat.com>
47653
47654 [BZ #17137]
47655 * locale/findlocale.c (name_present, valid_locale_name): New
47656 functions.
47657 (_nl_find_locale): Use the loc_name variable to store name
47658 candidates. Call name_present and valid_locale_name to check and
47659 validate locale names. Return an error if the locale is invalid.
47660
476612014-07-02 Florian Weimer <fweimer@redhat.com>
47662
47663 * locale/setlocale.c (setlocale): Use strdup for allocating
47664 composite name copy.
47665
476662014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47667
47668 Sync up with gnulib.
47669 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47670 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47671 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47672 and _GL_ARG_NONNULL.
47673 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47674 [!_LIBC]: Include code for Windows and Cygwin.
47675 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47676 Include prototype for int strerror_r.
47677 [!_LIBC] (is_open): New function.
47678 (flush_stdout): New function.
47679 (print_errno_message): Use it.
47680 (error): Likewise.
47681 (error_at_line): Likewise.
47682 (error_tail) Add function attribute macros. Use
47683 __builtin_expect.
47684
47685 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47686
47687 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47688
47689 * io/ftw.c: Include sys/param.h unconditionally.
47690
47691 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47692
47693 [BZ #17125]
47694 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47695 libc_freeres_ptr.
47696 (freecache): New function to free CACHE on exit.
47697
47698 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47699 initialization.
47700
477012014-07-09 David S. Miller <davem@davemloft.net>
47702
47703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47704
47705 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47706 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47707 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47708 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47709 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47710 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47711 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47712 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47713 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47714 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47715 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47716 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47717 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47718
477192014-07-09 Andreas Schwab <schwab@suse.de>
47720
47721 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47722 output.
47723 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47724 (do_test): Likewise.
47725
47726 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47727
477282014-07-09 Will Newton <will.newton@linaro.org>
47729
47730 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47731 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47732 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47733 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47734 * sysdeps/hppa/start.S (_start): Likewise.
47735
477362014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47737
47738 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47739
47740 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47741 defined.
47742
477432014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47744
47745 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47746 after checking that it is non-NULL.
47747
47748 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47749
477502014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47751
47752 * sysdeps/powerpc/memmove.c: Remove file.
47753 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47754 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47755 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47756 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47757 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47758 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47759 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47760 string memmove instead of removed powerpc one.
47761
47762 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47763 [weak_alias]: Fix compiler warning due trailing data.
47764 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47765 [weak_alias]: Likewise.
47766 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47767 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47768
47769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47770 (__libc_ifunc_impl_list): Add memmove functions.
47771
477722014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47773
47774 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47775 Remove code.
47776 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47777 Likewise.
47778 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47779 Likewise.
47780 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47781 Likewise.
47782 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47783 Likewise.
47784 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47785 Likewise.
47786 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47787 Likewise.
47788 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47789 Likewise.
47790 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47791 Likewise.
47792 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47793 Likewise.
47794 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47795 Likewise.
47796 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47797 Likewise.
47798 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47799 Likewise.
47800 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47801 Likewise.
47802 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47803 Likewise.
47804 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47805 Likewise.
47806 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47807 Likewise.
47808
478092014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47810
47811 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47812 to avoid alignment traps in non-cacheable memory.
47813 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47814
47815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47816 multiarch objects.
47817 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47818 file: multiarch power7 memmove.
47819 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47820 multiarch default memmove.
47821 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47822 multiarch memove for powerpc32/power4.
47823
47824 * string/bcopy.c: Use full path to include memmove.c.
47825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47826 multiarch objects.
47827 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47828 bcopy for powerpc64.
47829 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47830 bcopy for powerpc64.
47831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47832 and memmove implementations.
47833 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47834 optimized multiarch memmove for POWER7/powerpc64.
47835 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47836 default multiarch memmove for powerpc64.
47837 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47838 multiarch for powerpc64.
47839 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47840 for POWER7/powerpc64.
47841 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47842 memmove for POWER7/powerpc64.
47843
47844 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47845 glibc default one.
47846
47847 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47848 __ELF_NATIVE_CLASS equal to 64.
47849
478502014-07-07 Roland McGrath <roland@hack.frob.com>
47851
47852 * sysdeps/nptl/lowlevellock.h: File removed.
47853
47854 * NEWS: NPTL is no longer an add-on!
47855 * nptl/internaltypes.h: Moved ...
47856 * sysdeps/nptl/internaltypes.h: ... here.
47857 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47858 * sysdeps/nptl/fork.c: Likewise.
47859 * sysdeps/nptl/gai_misc.h: Likewise.
47860 * sysdeps/nptl/librt-cancellation.c: Likewise.
47861 * sysdeps/nptl/jmp-unwind.c: Likewise.
47862 * sysdeps/nptl/setxid.h: Likewise.
47863 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47864 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47865 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47866 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47867 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47868 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47869 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47870 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47871 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47872 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47873 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47874 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47875 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47876 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47877 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47878 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47879 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47880 * nptl/Makeconfig: Moved ...
47881 * sysdeps/nptl/Makeconfig: ... here.
47882 * nptl/configure: File removed.
47883 * nptl/ANNOUNCE: File removed.
47884 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47885 * sysdeps/unix/sysv/linux/configure: Regenerated.
47886
47887 * nptl/Makefile (routines): Add libc_pthread_init,
47888 libc_multiple_threads, register-atfork and unregister-atfork.
47889 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47890 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47891 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47892 pthread-pi-defines.sym, structsem.sym.
47893 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47894 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47895 [$(subdir) = nptl] (tests): Add tst-setgetname.
47896 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47897 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47898 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47899 [!LIBC_SIGACTION]: Remove aliases.
47900 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47901 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47902 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47903 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47904 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47905 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47906 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47907 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47908 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47909 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47910 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47911 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47912 __libc_allocate_rtsig_private.
47913 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47914 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47915 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47916 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47917 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47918 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47919 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47920 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47921 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47922 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47923 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47924 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47925 * nptl/internaltypes.h: ... here.
47926 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47927 * sysdeps/nptl/jmp-unwind.c: ... here.
47928 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47929 * nptl/libc-lowlevellock.c: ... here.
47930 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47931 * nptl/libc_multiple_threads.c: ... here.
47932 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47933 * nptl/libc_pthread_init.c: ... here.
47934 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47935 * nptl/lowlevelbarrier.sym: ... here.
47936 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47937 * nptl/lowlevelcond.sym: ... here.
47938 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47939 * nptl/lowlevellock.c: ... here.
47940 * nptl/lowlevellock.h: Moved ...
47941 * sysdeps/nptl/lowlevellock.h: ... here.
47942 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47943 * nptl/lowlevelrobustlock.c: ... here.
47944 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47945 * nptl/lowlevelrobustlock.sym: ... here.
47946 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47947 * nptl/lowlevelrwlock.sym: ... here.
47948 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47949 * nptl/pt-fork.c: ... here.
47950 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47951 * nptl/pthread-pi-defines.sym: ... here.
47952 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47953 * nptl/pthread_attr_getaffinity.c: ... here.
47954 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47955 * nptl/pthread_attr_setaffinity.c: ... here.
47956 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47957 * nptl/pthread_mutex_cond_lock.c: ... here.
47958 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47959 Update #include.
47960 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47961 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47962 * nptl/pthread_once.c: ... here, replacing old file.
47963 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47964 * nptl/pthread_yield.c: ... here.
47965 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47966 * nptl/register-atfork.c: ... here.
47967 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47968 * nptl/sem_post.c: ... here.
47969 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47970 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47971 * nptl/sem_timedwait.c: ... here.
47972 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47973 * nptl/sem_trywait.c: ... here.
47974 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47975 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47976 * nptl/sem_wait.c: ... here.
47977 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47978 * nptl/structsem.sym: ... here.
47979 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47980 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47981 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47982 * nptl/unregister-atfork.c: ... here.
47983 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47984 * nptl/unwindbuf.sym: ... here.
47985 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47986 * sysdeps/nptl/fork.c: ... here.
47987 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47988 * sysdeps/nptl/fork.h: ... here.
47989 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47990 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47991 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47992 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47993 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47994 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47995 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47996 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47997 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47998 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47999 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
48000 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
48001 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
48002 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
48003 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
48004 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
48005 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
48006 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
48007 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
48008 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
48009 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
48010 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
48011 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
48012 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
48013 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
48014 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
48015 * sysdeps/unix/sysv/linux/raise.c: ... here.
48016 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
48017 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
48018 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
48019 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
48020 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
48021 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
48022 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
48023 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
48024 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
48025 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
48026 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
48027 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
48028 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
48029 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
48030 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
48031
480322014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48033
48034 * sysdeps/generic/memcopy.h: Add comment for
48035 MEMCPY_OK_FOR_FWD_MEMMOVE.
48036
480372014-07-04 Will Newton <will.newton@linaro.org>
48038
48039 * string/memchr.c: Merge from gnulib.
48040 [_LIBC]: Remove conditionals.
48041 (__ptr_t): Remove define.
48042 (LONG_MAX_32_BITS): Likewise.
48043 (LONG_MAX): Likewise.
48044 (MEMCHR): Use ANSI prototype and optimize algorithm.
48045
48046 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
48047
480482014-07-03 Roland McGrath <roland@hack.frob.com>
48049
48050 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
48051 (lll_futex_timed_wait_bitset): Fix syscall argument count.
48052
48053 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
48054 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
48055 in a bare environment with no <stdlib.h> installed.
48056 * sysdeps/nptl/configure: Regenerated.
48057
48058 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
48059
48060 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
48061 AC_EGREP_CPP for kernel header checks, so they only succeed if
48062 including <linux/version.h> actually works right.
48063 * sysdeps/unix/sysv/linux/configure: Regenerated.
48064
48065 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
48066 value so it's not diagnosed as unused.
48067
48068 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
48069 thing) with "ifeq ($(subdir),rt)".
48070
480712014-07-03 Richard Henderson <rth@redhat.com>
48072
48073 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
48074 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
48075 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
48076
48077 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
48078 (math_force_eval): New.
48079
48080 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
48081 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
48082
48083 * sysdeps/alpha/fpu/s_round.c: Remove file.
48084 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
48085
48086 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
48087 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
48088 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
48089 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
48090 (_dl_start, print_statistics): Likewise.
48091 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
48092 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
48093
48094 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48095 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48096 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48097 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48099 (HP_SMALL_TIMING_AVAIL): Define.
48100 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48101 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48102 (HP_SMALL_TIMING_AVAIL): Define.
48103 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48104 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48105
48106 * sysdeps/aarch64/hp-timing.h: New file.
48107
48108 * sysdeps/generic/hp-timing.h: Remove dead comment.
48109 * sysdeps/generic/hp-timing-common.h: New file.
48110 * sysdeps/alpha/hp-timing.h: Include it.
48111 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
48112 * sysdeps/i386/i686/hp-timing.h: Likewise.
48113 * sysdeps/ia64/hp-timing.h: Likewise.
48114 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48115 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48116 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48117 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48118 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
48119 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
48120 (hp_timing_t): New.
48121
48122 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
48123 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
48124 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
48125 * elf/rtld.c (_dl_start_final): Likewise.
48126 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
48127 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48128 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48129 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48130 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48131 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48132 (HP_TIMING_DIFF_INIT): Remove.
48133 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48134 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48135 (HP_TIMING_DIFF_INIT): Remove.
48136 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48137 * sysdeps/i386/i686/hp-timing.c: Remove file.
48138 * sysdeps/x86_64/hp-timing.c: Remove file.
48139 * sysdeps/ia64/hp-timing.c: Remove file.
48140 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
48141 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
48142 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
48143 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
48144
48145 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
48146 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
48147 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
48148 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48149 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48150 (HP_TIMING_ACCUM): Remove.
48151 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48152 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
48153 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48154
48155 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
48156 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
48157 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
48158 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
48159 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
48160 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48161 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
48162 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48163
48164 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
48165
481662014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
48167
48168 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
48169
481702014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48171
48172 Sync up with gettext.
48173 * intl/loadmsgcat.c: Define O_BINARY if not defined.
48174 [_MSC_VER]: Include malloc.h
48175 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
48176 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
48177 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
48178 TEMP_FAILURE_RETRY. Cast return of alloca.
48179 [!_LIBC] Call gl_rwlock_init.
48180 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
48181
481822014-07-02 Roland McGrath <roland@hack.frob.com>
48183
48184 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48185 before checking its value.
48186
481872014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48188
48189 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48190
48191 * debug/memcpy_chk.c: Don't include pagecopy.h.
48192 * debug/mempcpy_chk.c: Likewise.
48193 * string/memcpy.c: Likewise.
48194 * string/memmove.c: Likewise.
48195 * sysdeps/powerpc/memmove.c: Likewise.
48196 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
48197 definition of PAGE_COPY_FWD_MAYBE here...
48198 * sysdeps/generic/pagecopy.h: ... from here.
48199 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48200
482012014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
48202 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48203
48204 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48206 optimizations.
48207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48208 (__libc_ifunc_impl_list): Likewise.
48209 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48210 multiarch strcat for PPC64.
48211 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48212 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48213
482142014-07-02 Roland McGrath <roland@hack.frob.com>
48215
48216 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48217
482182014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48219
48220 * intl/loadmsgcat.c: Remove declaration of
48221 get_sysdep_segment_value.
48222 (get_sysdep_segment_value): Use ISO C style.
48223 (_nl_load_domain): Use ISO C style. Get rid of redundant
48224 semicolon. Fix typo and formatting in comment.
48225 (_nl_unload_domain): Use ISO C style.
48226
48227 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48228
482292014-07-02 Will Newton <will.newton@linaro.org>
48230
48231 * malloc/obstack.c: Merge from gnulib master.
48232 [HAVE_CONFIG_H]: Remove conditional code.
48233 [!_LIBC]: Include config.h.
48234 [!ELIDE_CODE]: Don't include inttypes.h, include
48235 stdint.h unconditionally.
48236 (print_and_abort): Mark as _Noreturn.
48237 (_obstack_allocated_p): Mark as __attribute_pure__.
48238 (obstack_free): Rename to __obstack_free.
48239 [!__attribute__]: Remove conditional code.
48240 * malloc/obstack.h: Merge from gnulib master.
48241 [__cplusplus]: Move conditional down.
48242 [!__attribute_pure__]: Define __attribute_pure__ here
48243 if it is not already defined.
48244 (_obstack_memory_used): Mark as __attribute_pure__.
48245 [!__obstack_free]: Define as obstack_free.
48246 [__GNUC__]: Remove check for ancient NeXT gcc.
48247
482482014-07-02 Will Newton <will.newton@linaro.org>
48249 Paul Eggert <eggert@cs.ucla.edu>
48250
48251 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48252
482532014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48254
48255 * resolv/gethnamaddr.c: Add comment warning that the file is
48256 not maintained.
48257
482582014-07-01 Carlos O'Donell <carlos@redhat.com>
48259
48260 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48261 entries.
48262
48263 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48264 entry for aio_cancel and aio_cancel64.
48265 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48266 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48267 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48268 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48269 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48270 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48271 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48272 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48273 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48274 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48275 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48276 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48277 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48278
482792014-07-01 Roland McGrath <roland@hack.frob.com>
48280
48281 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48282 * nptl/pthread_mutex_lock.c: Likewise.
48283 * nptl/pthread_mutex_timedlock.c: Likewise.
48284 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48285
482862014-07-01 Richard henderson <rth@redhat.com>
48287
48288 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48289 (__isnan, __isnanl): Remove.
48290 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48291
48292 * sysdeps/alpha/fpu/libm-test-ulps: Update.
48293
482942014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
48295
48296 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48297
482982014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
48299
48300 * resolv/nss_dns/dns-host.c (getanswer_r)
48301 [MULTI_PTRS_ARE_ALIASES]: Remove code.
48302
483032014-07-01 Joseph Myers <joseph@codesourcery.com>
48304
48305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48306 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48307 undefine.
48308 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48309 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48310
483112014-07-01 Roland McGrath <roland@hack.frob.com>
48312
48313 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48314 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48315
48316 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48317 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48318
48319 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48320 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48321 ... here.
48322 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48323 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48324
48325 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48326 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48327 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48328 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48329
48330 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48331 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48332 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48333 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48334 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48335 Moved ...
48336 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48337 ... here.
48338 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48339 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48340 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48341 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48342 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48343 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48344 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48345 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48346 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48347 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48348 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48349 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48350 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48351 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48352 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48353 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48354 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48355 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48356 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48357 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48358 ... here.
48359 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48360 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48361 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48362 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48363 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48364 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48365 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48366 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48367
483682014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
48369
48370 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48371 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48372 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48373 Add sysdep.
48374
483752014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48376
48377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48378
483792014-06-30 Joseph Myers <joseph@codesourcery.com>
48380
48381 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48382 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48383
48384 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48385
48386 * sysdeps/arm/libm-test-ulps: Regenerated.
48387
483882014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48389 Roland McGrath <roland@hack.frob.com>
48390
48391 * test-skeleton.c (signal_handler): Kill the whole process group
48392 before killing the child individually.
48393 (main): Report any failure on `setpgid'.
48394
483952014-06-30 Roland McGrath <roland@hack.frob.com>
48396
48397 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48398 from _TLS_H to _ARM_NPTL_TLS_H.
48399 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48400 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48401
484022014-06-30 Joseph Myers <joseph@codesourcery.com>
48403
48404 [BZ #16539]
48405 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48406 (__expm1l): Return argument unchanged when small but not
48407 subnormal.
48408
48409 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48410 include macro name.
48411 (_FP_UNPACK_RAW_1_P): Likewise.
48412 (_FP_PACK_RAW_1): Likewise.
48413 (_FP_PACK_RAW_1_P): Likewise.
48414 (_FP_MUL_MEAT_1_wide): Likewise.
48415 (_FP_MUL_MEAT_DW_1_hard): Likewise.
48416 (_FP_MUL_MEAT_1_hard): Likewise.
48417 (_FP_DIV_MEAT_1_imm): Likewise.
48418 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48419 (_FP_DIV_MEAT_1_udiv): Likewise.
48420 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48421 (_FP_UNPACK_RAW_2): Likewise.
48422 (_FP_UNPACK_RAW_2_P): Likewise.
48423 (_FP_PACK_RAW_2): Likewise.
48424 (_FP_PACK_RAW_2_P): Likewise.
48425 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48426 (_FP_MUL_MEAT_2_wide): Likewise.
48427 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48428 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48429 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48430 (_FP_MUL_MEAT_2_gmp): Likewise.
48431 (_FP_DIV_MEAT_2_udiv): Likewise.
48432 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48433 (_FP_FRAC_SRL_4): Likewise.
48434 (_FP_FRAC_SRST_4): Likewise.
48435 (_FP_FRAC_SRS_4): Likewise.
48436 (_FP_UNPACK_RAW_4): Likewise.
48437 (_FP_UNPACK_RAW_4_P): Likewise.
48438 (_FP_PACK_RAW_4): Likewise.
48439 (_FP_PACK_RAW_4_P): Likewise.
48440 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48441 (_FP_MUL_MEAT_4_wide): Likewise.
48442 (_FP_MUL_MEAT_4_gmp): Likewise.
48443 (umul_ppppmnnn): Likewise.
48444 (_FP_DIV_MEAT_4_udiv): Likewise.
48445 (__FP_FRAC_ADD_4): Likewise.
48446 (__FP_FRAC_SUB_3): Likewise.
48447 (__FP_FRAC_SUB_4): Likewise.
48448 (__FP_FRAC_DEC_3): Likewise.
48449 (__FP_FRAC_DEC_4): Likewise.
48450 (__FP_FRAC_ADDI_4): Likewise.
48451 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48452 (_FP_FRAC_SRL_8): Likewise.
48453 (_FP_FRAC_SRS_8): Likewise.
48454
48455 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48456 include macro name.
48457 (FP_UNPACK_RAW_EP): Likewise.
48458 (FP_PACK_RAW_E): Likewise.
48459 (FP_PACK_RAW_EP): Likewise.
48460 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48461 (_FP_ISSIGNAN): Likewise.
48462 (_FP_ADD_INTERNAL): Likewise.
48463 (_FP_FMA): Likewise.
48464 (_FP_CMP): Likewise.
48465 (_FP_SQRT): Likewise.
48466 (_FP_TO_INT): Likewise.
48467 (_FP_FROM_INT): Likewise.
48468 (FP_EXTEND): Likewise.
48469 (_FP_DIV_MEAT_N_loop): Likewise.
48470
484712014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48472
48473 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48474 throughout.
48475
484762014-06-29 Joseph Myers <joseph@codesourcery.com>
48477
48478 [BZ #17097]
48479 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48480 result with correct sign in case of exponents that produce
48481 overflow except for X very close to 1.
48482
484832014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48484
48485 mktime: merge #if/#ifdef usage from glibc
48486 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48487 as that works with both Glibc's and Gnulib's style.
48488 See thread starting at Siddhesh Poyarekar's bug report at:
48489 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48490
484912014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48492
48493 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48494 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48495 * sysdeps/tile/tilegx/memmove.c: Remove file.
48496
484972014-06-27 Joseph Myers <joseph@codesourcery.com>
48498
48499 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48500 abi-name definition.
48501 * scripts/soversions.awk: Do not handle or generate ABI lines.
48502 * shlib-versions: Remove ABI entries.
48503 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48504 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48505
485062014-06-27 Roland McGrath <roland@hack.frob.com>
48507
48508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48509 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48510 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48511 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48513 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48515 Moved ...
48516 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48517 ... here.
48518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48519 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48521 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48523 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48525 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48527 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48529 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48530 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48531 Moved ...
48532 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48533 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48534 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48535 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48536 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48537 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48538 Moved ...
48539 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48540 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48541 Moved ...
48542 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48543 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48544 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48545 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48546 Moved ...
48547 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48548 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48549 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48550 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48551 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48552 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48553 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48555 Moved ...
48556 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48557 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48558 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48559 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48560 Moved ...
48561 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48563 Moved ...
48564 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48565 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48566 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48567 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48568 Moved ...
48569 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48570 ... here.
48571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48572 Identical file removed.
48573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48574 Moved ...
48575 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48576 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48577 Identical file removed.
48578 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48579 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48580 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48581 Moved ...
48582 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48583 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48584 Identical file removed.
48585 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48586 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48587 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48588 Identical file removed.
48589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48590 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48591 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48592 Identical file removed.
48593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48594 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48595 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48596 Identical file removed.
48597 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48598 Moved ...
48599 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48600 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48601 Identical file removed.
48602 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48603 Moved ...
48604 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48605 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48606 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48607 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48608 Identical file removed.
48609 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48610 Moved ...
48611 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48612 ... here.
48613 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48614 Identical file removed.
48615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48616 Moved ...
48617 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48618 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48619 Identical file removed.
48620 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48621 Moved ...
48622 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48623 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48624 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48625 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48626 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48627 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48628 Moved ...
48629 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48630 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48631 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48632
48633 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48634 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48635 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48636 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48637 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48638
486392014-06-27 Arjun Shankar <arjun.is@lostca.se>
48640
48641 [BZ #17092]
48642 * nscd/nscd.c (monitor_child): Return exit status of child
48643 instead of return value from wait syscall.
48644
486452014-06-27 Joseph Myers <joseph@codesourcery.com>
48646
48647 * configure.ac (libc_commonpagesize): Remove variable.
48648 (libc_relro_required): Likewise.
48649 (libc_cv_z_relro): Remove configure test.
48650 * configure: Regenerated.
48651 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48652 variable.
48653 (libc_relro_required): Likewise.
48654 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48655 (libc_relro_required): Likewise.
48656 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48657 (libc_relro_required): Likewise.
48658 * sysdeps/arm/preconfigure: Regenerated.
48659 * sysdeps/ia64/preconfigure: Remove file.
48660 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48661 variable.
48662 (libc_relro_required): Likewise.
48663
48664 [BZ #16561]
48665 [BZ #16562]
48666 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48667 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48668 recompute overflowing results in original rounding mode.
48669 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48670 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48671 recompute overflowing results in original rounding mode.
48672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48673 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48674 recompute overflowing results in original rounding mode.
48675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48676 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48677 recompute overflowing results in original rounding mode.
48678 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48679 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48680 recompute overflowing results in original rounding mode.
48681 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48682 (libc_feholdsetround_ctx): New macro.
48683 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48684 * sysdeps/i386/fpu/libm-test-ulps: Update.
48685 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48686
486872014-06-26 Joseph Myers <joseph@codesourcery.com>
48688
48689 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48690 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48691 corresponding .cpsetup call.
48692
486932014-06-26 Roland McGrath <roland@hack.frob.com>
48694
48695 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48696 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48697 * sysdeps/arm/Makefile [$(subdir) = csu]
48698 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48699 (static-only-routines): Add aeabi_read_tp here.
48700 (shared-only-routines): Add libc-aeabi_read_tp here.
48701 (CFLAGS-libc-start.c): Add -fexceptions here.
48702 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48703 (sysdep_routines, static-only-routines, shared-only-routines):
48704 Don't add to these here.
48705 (CFLAGS-libc-start.c): Likewise.
48706
48707 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48708 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48709 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48710 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48711 * sysdeps/arm/Makefile [$(subdir) = rt]
48712 (librt-sysdep_routines, librt-shared-only-routines):
48713 Append rt-aeabi_unwind_cpp_pr1 here.
48714 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48715 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48716 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48717 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48718 Append nptl-aeabi_unwind_cpp_pr1 here.
48719 (tests): Filter out tst-cleanupx4 here.
48720 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48721 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48722 Don't do those here.
48723
487242014-06-26 Joseph Myers <joseph@codesourcery.com>
48725
48726 * scripts/list-sources.sh: Do not handle ports specially.
48727
487282014-06-26 Roland McGrath <roland@hack.frob.com>
48729
48730 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48731 * sysdeps/arm/feupdateenv.c: Likewise.
48732
48733 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48734
487352014-06-26 Joseph Myers <joseph@codesourcery.com>
48736
48737 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48738 trailing whitespace removed.
48739 * scripts/config.guess: Update to version 2014-03-23.
48740 * scripts/config.sub: Update to version 2014-05-01
48741 * scripts/install-sh: Update to version 2013-12-25.23.
48742 * scripts/move-if-change: Update from gnulib.
48743
487442014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48745
48746 * debug/memmove_chk.c: Remove pagecopy.h include.
48747
487482014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48749
48750 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48751 identical to gnulib mktime.
48752
487532014-06-26 Joseph Myers <joseph@codesourcery.com>
48754
48755 * configure.ac: Do not test for machine being rs6000. Do not test
48756 for powerpc*-*soft.
48757 * configure: Regenerated.
48758
48759 [BZ #11505]
48760 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48761 test.
48762 * configure: Regenerated.
48763 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48764 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48765 Remove configure test.
48766 * sysdeps/arm/configure: Regenerated.
48767 * sysdeps/nptl/configure.ac: Do not check
48768 libc_cv_asm_cfi_directives.
48769 * sysdeps/nptl/configure: Regenerated.
48770 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48771 * sysdeps/x86_64/nptl/configure: Remove generated file.
48772 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48773 unconditional.
48774 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48775
487762014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48777
48778 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48779 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48780 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48781 it is defined.
48782
48783 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48784 instead of whether it is defined.
48785 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48786 * sysdeps/hppa/dl-machine.h: Likewise.
48787 * sysdeps/ia64/dl-machine.h: Likewise.
48788 * sysdeps/m68k/dl-machine.h: Likewise.
48789 * sysdeps/microblaze/dl-machine.h: Likewise.
48790 * sysdeps/mips/dl-machine.: Likewise.
48791 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48792 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48793 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48794 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48795 * sysdeps/sh/dl-machine.h: Likewise.
48796 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48797 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48798 * sysdeps/tile/dl-machine.h: Likewise.
48799 * sysdeps/x86_64/dl-machine.h: Likewise.
48800
48801 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48802 code.
48803 (verify_persistent_db): Likewise.
48804
488052014-06-26 Roland McGrath <roland@hack.frob.com>
48806
48807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48808 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48810 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48812 Moved ...
48813 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48814 ... here.
48815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48816 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48818 Identical file removed.
48819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48820 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48822 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48824 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48826 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48828 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48830 Moved ...
48831 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48833 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48835 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48837 Moved ...
48838 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48840 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48842 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48844 Identical file removed.
48845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48846 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48848 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48850 Moved ...
48851 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48852 ... here.
48853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48854 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48856 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48858 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48860 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48862 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48864 Moved ...
48865 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48867 Moved ...
48868 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48870 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48872 Moved ...
48873 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48875 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48876
48877 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48878 folded into ...
48879 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48880 * sysdeps/unix/sysv/linux/s390/Versions
48881 (libpthread: GLIBC_2.19): New version set.
48882 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48883 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48884 (librt: GLIBC_2.3.3): New version set.
48885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48886 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48887 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48888 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48889 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48890 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48891 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48892 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48893 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48894 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48895 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48896 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48897 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48898 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48899 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48900 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48901 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48902 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48903 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48904 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48905 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48906 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48907 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48908 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48909 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48910 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48911 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48912 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48913 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48914 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48915 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48916 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48917 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48920 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48921 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48923 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48924 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48925 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48927 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48928 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48929 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48930
48931 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48932 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48933 (__libc_vfork): Define the function under this name.
48934 [!NOT_IN_libc] (__vfork): Make this an alias.
48935 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48936 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48937 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48938 (__libc_vfork): Define the function under this name.
48939 [!NOT_IN_libc] (__vfork): Make this an alias.
48940 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48941 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48942 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48943 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48944 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48945 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48946
48947 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48948 code that was previously under [RESET_PID].
48949 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48950 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48951 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48952
48953 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48954 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48955 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48956 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48957 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48958 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48959 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48960 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48961 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48962 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48963 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48964 Moved ...
48965 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48966 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48967 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48968 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48969 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48970 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48971 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48972 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48973 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48974 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48975 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48976 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48977 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48978 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48979 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48980 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48981 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48982 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48983 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48984 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48985 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48986 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48987 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48988 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48989 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48990 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48991 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48992 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48993 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48994
489952014-06-25 Roland McGrath <roland@hack.frob.com>
48996
48997 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48998 that was previously under [RESET_PID].
48999 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
49000
490012014-06-25 Joseph Myers <joseph@codesourcery.com>
49002
49003 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
49004 not undefine and redefine.
49005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
49006 [O_CLOEXEC]: Make code unconditional.
49007 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
49008 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
49009 <kernel-features.h>.
49010 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
49011 conditional variable definition.
49012 (shm_open) [O_CLOEXEC]: Make code unconditional.
49013 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
49014 code.
49015
49016 * configure.ac (USE_REGPARMS): Don't define here.
49017 * configure: Regenerated.
49018 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
49019 * sysdeps/i386/configure: Regenerated.
49020
49021 * nptl/createthread.c: Don't include kernel-features.h.
49022 * nptl/pthread_cancel.c: Likewise.
49023 * nptl/pthread_condattr_setclock.c: Likewise.
49024 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
49025 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
49026 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
49027 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
49028 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
49029 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
49030 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
49031 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
49032 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
49033 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
49034 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
49035 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
49036 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
49037 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
49038 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
49039 * nscd/gai.c: Likewise.
49040 * nss/nss_db/db-open.c: Likewise.
49041 * sysdeps/generic/ldsodefs.h: Likewise.
49042 * sysdeps/sh/nptl/tls.h: Likewise.
49043 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
49044 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
49045 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
49046 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
49047 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
49048 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
49049 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
49050 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49051 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49052 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
49053 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
49054 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49055 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
49056 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
49057 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
49058 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
49059 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
49060 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
49061 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
49062 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
49063 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
49064 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
49065 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
49066 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
49067 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
49068 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
49069 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
49070 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
49071 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
49072 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
49073 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
49074 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
49075 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
49076 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49077 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49078 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
49079 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49080 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
49081 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
49082 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
49083 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49084 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
49085 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
49086 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49087 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
49088 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
49089 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
49090 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
49091 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
49092 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
49093 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
49094 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
49095 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
49096 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
49097 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
49098 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49099 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
49100 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
49101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
49103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
49104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
49105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
49106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
49107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
49108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
49109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
49112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
49113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
49114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
49115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
49121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
49122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
49123 * sysdeps/unix/sysv/linux/pread.c: Likewise.
49124 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
49125 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
49126 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
49127 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
49128 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
49129 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
49130 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
49131 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
49132 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
49133 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
49134 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
49135 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
49136 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
49137 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
49138 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
49139 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49140 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
49141 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
49142 * sysdeps/unix/sysv/linux/system.c: Likewise.
49143 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
49144 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
49145 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49146 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49147 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49148 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
49149 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49150
49151 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
49152 * configure: Regenerated.
49153 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
49154
49155 * configure.ac (base_machine): Do not set specially for particular
49156 machines here.
49157 * configure: Regenerated.
49158 * sysdeps/powerpc/preconfigure: Move machine and base_machine
49159 settings from configure.ac.
49160 * sysdeps/i386/preconfigure: New file.
49161 * sysdeps/s390/preconfigure: Likewise.
49162 * sysdeps/sh/preconfigure: Likewise.
49163 * sysdeps/sparc/preconfigure: Likewise.
49164
491652014-06-25 Roland McGrath <roland@hack.frob.com>
49166
49167 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
49168 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
49169 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
49170 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
49171 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
49172 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
49173 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
49174 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
49175 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
49176 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
49177 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
49178 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
49179 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
49180 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
49181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
49182 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
49183 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49184 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49185 * sysdeps/sparc/sparc64/Makefile: ... appended here.
49186
49187 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49188 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49189 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49190 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49191 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49192 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49193 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49194 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49195 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49196 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49197 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49198 * sysdeps/sparc/sparc32/sem_post.c: ... here.
49199 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49200 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49201 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49202 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49203 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49204 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49205 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49206 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49207 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49208 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49209 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49210 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49211 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49212 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49213 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49214 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49215 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49216 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49217 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49218 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49219 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49220 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49221 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49222 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49223 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49224 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49225
49226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49227 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49229 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49231 Moved ...
49232 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49233 ... here.
49234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49235 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49237 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49239 Moved ...
49240 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49242 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49244 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49246 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49248 Moved ...
49249 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49251 Moved ...
49252 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49254 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49256 Moved ...
49257 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49259 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49261 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49263 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49265 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49267 Moved ...
49268 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49269 ... here.
49270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49271 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49273 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49275 Moved ...
49276 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49278 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49280 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49282 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49284 Moved ...
49285 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49287 Moved ...
49288 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49290 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49292 Moved ...
49293 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49295 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49297 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49298
492992014-06-25 Joseph Myers <joseph@codesourcery.com>
49300
49301 * timezone/checktab.awk: Update from tzcode 2014e.
49302 * timezone/private.h: Likewise.
49303 * timezone/tzfile.h: Likewise.
49304 * timezone/zdump.c: Likewise.
49305 * timezone/zic.c: Likewise.
49306
49307 * sysdeps/unix/sysv/linux/kernel-features.h
49308 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49309 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49310 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49311 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49312 Remove conditional code.
49313
493142014-06-25 Will Newton <will.newton@linaro.org>
49315
49316 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49317 (_dl_arm_cap_flags): Add HWCAP2 values.
49318 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49319 (_DL_HWCAP_COUNT): Increase to 37.
49320 (_DL_HWCAP_LAST): New define.
49321 (_DL_HWCAP2_LAST): New define.
49322 (_dl_procinfo): Add support for printing
49323 AT_HWCAP2 entries.
49324 (_dl_string_hwcap): Use _dl_hwcap_string.
49325
493262014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49327
49328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49329
493302014-06-25 Joseph Myers <joseph@codesourcery.com>
49331
49332 * README: Do not mention ports directory.
49333
49334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49335 Remove macro.
49336 * sysdeps/unix/sysv/linux/futimes.c: Do not include
49337 <kernel-features.h>.
49338 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49339 conditional variable definition.
49340 (__futimes): Update comment.
49341 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49342 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49343
49344 [BZ #16560]
49345 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49346 arguments close to 0.
49347 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49348 Likewise.
49349 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49350 Likewise.
49351 * math/auto-libm-test-in: Add more tests of exp10.
49352 * math/auto-libm-test-out: Regenerated.
49353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49354
49355 * sysdeps/unix/sysv/linux/kernel-features.h
49356 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49357 * sysdeps/unix/sysv/linux/readv.c: Do not include
49358 <kernel-features.h>.
49359 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49360 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49361 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49362 unconditional.
49363 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49364 conditional code.
49365 * sysdeps/unix/sysv/linux/writev.c: Do not include
49366 <kernel-features.h>.
49367 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49368 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49369 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49370 unconditional.
49371 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49372 conditional code.
49373
493742014-06-25 Will Newton <will.newton@linaro.org>
49375
49376 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49377 comment changes throughout the file. Remove checks
49378 for HAVE_*_H definitions that are not required.
49379 (__gen_tempname): Call abort if an unknown kind value is
49380 passed.
49381
493822014-06-25 Andreas Schwab <schwab@suse.de>
49383
49384 [BZ #17086]
49385 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49386 scalbln, scalblnf, scalblnl in libc.
49387
493882014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49389
49390 [BZ #17086]
49391 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49392 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49393 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49394
493952014-06-24 Roland McGrath <roland@hack.frob.com>
49396
49397 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49398 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49399 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49400 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49401 Update #include.
49402 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49403 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49404 Update #include.
49405 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49406 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49407 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49408 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49409 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49410 * sysdeps/x86/bits/pthreadtypes.h: ... here.
49411 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49412 * sysdeps/x86/bits/semaphore.h: ... here.
49413 * sysdeps/x86/nptl/elide.h: Moved ...
49414 * sysdeps/x86/elide.h: ... here.
49415 * sysdeps/x86_64/nptl/Implies: File removed.
49416 * sysdeps/i386/nptl/Implies: File removed.
49417
494182014-06-24 Joseph Myers <joseph@codesourcery.com>
49419
49420 [BZ #16539]
49421 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49422 return the argument for normal arguments with exponent below -64.
49423 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49424 Likewise.
49425 * math/auto-libm-test-in: Add another test of expm1.
49426 * math/auto-libm-test-out: Regenerated.
49427
49428 [BZ #16287]
49429 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49430 calling __erfcl for arguments at least 16.
49431 * math/auto-libm-test-in: Add more tests of erf.
49432 * math/auto-libm-test-out: Regenerated.
49433
49434 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49435 individual architectures.
49436 * sysdeps/unix/sysv/linux/configure: Regenerated.
49437 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49438 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49439 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49440 (ldd_rewrite_script): Define variable.
49441 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49443 file.
49444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49445 generated file.
49446 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49447 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49448 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49449 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49450 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49451 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49452 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49453 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49454
494552014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49456
49457 [BZ #17084]
49458 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49459 Rename member __data.d to __data.__elision_data.
49460
494612014-06-24 Wilco <wdijkstr@arm.com>
49462
49463 * NEWS: Add 16918 to fixed bug list.
49464
494652014-06-24 Wilco <wdijkstr@arm.com>
49466
49467 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49468
494692014-06-24 Wilco <wdijkstr@arm.com>
49470
49471 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49472 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49473 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49474 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49475 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49476 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49477 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49478 Use _FPU_MASK_RM.
49479
494802014-06-24 Wilco <wdijkstr@arm.com>
49481
49482 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49483
494842014-06-24 Wilco <wdijkstr@arm.com>
49485
49486 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49487 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49488 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49489 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49490
494912014-06-24 Wilco <wdijkstr@arm.com>
49492
49493 [BZ #16918]
49494 * sysdeps/arm/feupdateenv.c (feupdateenv):
49495 Rewrite to reduce FPSCR accesses and fix return value.
49496
494972014-06-24 Wilco <wdijkstr@arm.com>
49498
49499 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49500 Optimize to avoid unnecessary FPSCR writes.
49501 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49502 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49503 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49504 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49505
495062014-06-24 Wilco <wdijkstr@arm.com>
49507
49508 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49509 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49510 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49511 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49512 Call libc_fetestexcept_vfp.
49513 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49514 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49515 __SOFTFP__ ifdef so that they can be built for softfp.
49516
495172014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49518
49519 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49520 argument type signed char.
49521
49522 * Makerules (check-abi): Dump diff of symlist if the test
49523 fails.
49524
495252014-06-23 Roland McGrath <roland@hack.frob.com>
49526
49527 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49528 using abort.
49529
49530 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49531 Remove unused variable ST.
49532
495332014-06-23 Joseph Myers <joseph@codesourcery.com>
49534
49535 [BZ #16354]
49536 [BZ #17061]
49537 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49538 small arguments before calling __expm1.
49539 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49540 small arguments before calling __expm1f.
49541 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49542 small arguments before calling __expm1l.
49543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49544 Likewise.
49545 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49546 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49547 spurious underflow for some cosh tests.
49548 * math/auto-libm-test-out: Regenerated.
49549 * sysdeps/i386/fpu/libm-test-ulps: Update.
49550
49551 [BZ #17050]
49552 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49553 (__ieee754_y1): Set errno if return value overflows.
49554 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49555 (__ieee754_y1f): Set errno if return value overflows.
49556 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49557 (__ieee754_y1l): Set errno if return value overflows.
49558 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49559 (__ieee754_y1l): Set errno if return value overflows.
49560 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49561 * math/auto-libm-test-out: Regenerated.
49562
49563 * math/gen-auto-libm-tests.c: Document use of
49564 ignore-zero-inf-sign.
49565 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49566 (input_flags): Add ignore-zero-inf-sign.
49567 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49568 * math/gen-libm-test.pl (generate_testfile): Handle
49569 ignore-zero-inf-sign.
49570 * math/auto-libm-test-in: Mark some cpow tests with
49571 ignore-zero-inf-sign and some with xfail-rounding.
49572 * math/auto-libm-test-out: Regenerated.
49573 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49574 * sysdeps/i386/fpu/libm-test-ulps: Update.
49575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49576
49577 [BZ #16315]
49578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49579 overflowing or underflowing operations take place with sign of
49580 result.
49581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49582 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49583 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49584 (__ieee754_pow): Recompute overflowing and underflowing results in
49585 original rounding mode.
49586 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49587 (__powl_helper): Allow negative argument X and scale negated value
49588 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49589 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49590 overflowing or underflowing operations take place with sign of
49591 result.
49592 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49593 Include <math.h>.
49594 * math/auto-libm-test-in: Add more tests of pow.
49595 * math/auto-libm-test-out: Regenerated.
49596 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49597 (pow_tonearest_test_data): Remove.
49598 (pow_test_tonearest): Likewise.
49599 (pow_towardzero_test_data): Likewise.
49600 (pow_test_towardzero): Likewise.
49601 (pow_downward_test_data): Likewise.
49602 (pow_test_downward): Likewise.
49603 (pow_upward_test_data): Likewise.
49604 (pow_test_upward): Likewise.
49605 (main): Don't call removed functions.
49606 * sysdeps/i386/fpu/libm-test-ulps: Update.
49607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49608
496092014-06-23 Roland McGrath <roland@hack.frob.com>
49610
49611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49612 Moved ...
49613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49615 Moved ...
49616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49618 Moved ...
49619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49621 Moved ...
49622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49624 File removed.
49625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49626 File removed.
49627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49628 File removed.
49629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49630 File removed.
49631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49632 File removed.
49633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49634 File removed.
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49636 File removed.
49637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49638 File removed.
49639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49640 File removed.
49641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49642 File removed.
49643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49644 File removed.
49645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49646 File removed.
49647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49648 Moved ...
49649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49651 Moved ...
49652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49653 ... here.
49654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49655 Moved ...
49656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49658 Moved ...
49659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49661 Moved ...
49662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49664 Moved ...
49665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49667 Moved ...
49668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49670 Moved ...
49671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49673 Moved ...
49674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49677 ... here.
49678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49679 Moved ...
49680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49682 Moved ...
49683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49684 ... here.
49685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49686 Moved ...
49687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49688 ... here.
49689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49690 Moved ...
49691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49692 ... here.
49693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49694 Moved ...
49695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49697 Moved ...
49698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49702 Moved ...
49703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49704 ... here.
49705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49706 Moved ...
49707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49708 ... here.
49709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49710 Moved ...
49711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49713 Moved ...
49714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49716 Moved ...
49717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49719 Moved ...
49720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49722 Moved ...
49723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49724 ... here.
49725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49726 Moved ...
49727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49729 Moved ...
49730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49732 Moved ...
49733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49735 Moved ...
49736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49740 Moved ...
49741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49743 Moved ...
49744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49746 Moved ...
49747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49748 ... here.
49749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49750 Moved ...
49751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49752 ... here.
49753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49754 Moved ...
49755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49756 ... here.
49757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49758 Moved ...
49759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49761 Moved ...
49762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49764 Moved ...
49765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49767 Moved ...
49768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49769 ... here.
49770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49771 Moved ...
49772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49773 ... here.
49774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49775 Moved ...
49776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49777 ... here.
49778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49779 Moved ...
49780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49782 Moved ...
49783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49784
497852014-06-23 Will Newton <will.newton@linaro.org>
49786 Wilco <wdijkstr@arm.com>
49787
49788 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49789 implementation. Include get-rounding-mode.h.
49790 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49791 [!libc_feholdsetround_noex_ctx]: Define
49792 libc_feholdsetround_noex_ctx.
49793 [!libc_feholdsetround_noexf_ctx]: Define
49794 libc_feholdsetround_noexf_ctx.
49795 [!libc_feholdsetround_noexl_ctx]: Define
49796 libc_feholdsetround_noexl_ctx.
49797 (libc_feholdsetround_ctx): New function.
49798 (libc_feresetround_ctx): New function.
49799 (libc_feholdsetround_noex_ctx): New function.
49800 (libc_feresetround_noex_ctx): New function.
49801
498022014-06-23 Roland McGrath <roland@hack.frob.com>
49803
49804 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49805 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49806 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49807 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49808 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49809 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49810
49811 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49812 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49813 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49814 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49815 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49816 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49818 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49820 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49821 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49822 Moved ...
49823 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49824 ... here.
49825 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49826 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49828 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49829 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49830 Moved ...
49831 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49833 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49834 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49835 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49836 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49837 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49838 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49839 Moved ...
49840 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49841 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49842 Moved ...
49843 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49844 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49845 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49846 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49847 Moved ...
49848 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49849 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49850 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49851 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49852 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49853 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49854 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49855 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49856 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49857 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49858 Moved ...
49859 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49860 ... here.
49861 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49862 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49863 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49864 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49865 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49866 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49867 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49868 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49869 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49870 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49871 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49872 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49873 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49874 Moved ...
49875 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49876 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49877 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49878 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49879 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49880 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49881 Moved ...
49882 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49883 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49884 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49885 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49886 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49887
49888 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49889 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49890 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49891 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49892 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49893 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49894 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49895 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49897 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49898 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49899 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49900 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49901 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49902 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49903 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49904 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49905 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49906 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49907 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49908 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49909 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49910 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49911 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49912 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49913 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49914 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49915 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49916
499172014-06-23 Joseph Myers <joseph@codesourcery.com>
49918
49919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49920 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49921 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49922 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49923 (IPV6_PMTUDISC_INTERFACE): Likewise.
49924 (IPV6_PMTUDISC_OMIT): Likewise.
49925
499262014-06-23 Andreas Schwab <schwab@suse.de>
49927
49928 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49929 Remove unused errout label.
49930
499312014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49932
49933 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49934 macro: hardware supports Vector Crypto instructions.
49935
499362014-06-23 Will Newton <will.newton@linaro.org>
49937
49938 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49939 rather than __builtin_expect.
49940
49941 * elf/dl-lookup.c (undefined_msg): Remove variable.
49942 (_dl_lookup_symbol_x): Replace undefined_msg with string
49943 literal.
49944
49945 * elf/dl-lookup.c (do_lookup_unique): New function.
49946 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49947 to a separate function.
49948
499492014-06-23 Andreas Schwab <schwab@suse.de>
49950
49951 [BZ #17079]
49952 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49953 before reading the next line.
49954
499552014-06-23 Will Newton <will.newton@linaro.org>
49956
49957 * test-skeleton.c (signal_handler): Use printf and %m
49958 rather than perror. Use printf rather than fprintf to
49959 stderr. Use puts rather than fputs to stderr.
49960 (main): Likewise.
49961
499622014-06-22 Ludovic Courtès <ludo@gnu.org>
49963
49964 * nscd/nscd.c (thread_info_t): Remove typedef.
49965 (thread_info): Remove variable.
49966
499672014-06-21 Allan McRae <allan@archlinux.org>
49968
49969 * NEWS: Mention CVE-2014-4043.
49970
499712014-06-20 Roland McGrath <roland@hack.frob.com>
49972
49973 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49974 * nptl/smp.h: ... here.
49975
49976 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49977
49978 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49979 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49980 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49981 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49982
49983 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49984 * nptl/stack-aliasing.h: New file.
49985 * sysdeps/i386/i686/stack-aliasing.h: New file.
49986 * sysdeps/i386/i686/nptl/Makefile: File removed.
49987 * sysdeps/x86_64/stack-aliasing.h: New file.
49988 * sysdeps/x86_64/nptl/Makefile
49989 (CFLAGS-pthread_create.c): Variable removed.
49990
49991 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49992 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49993 old file.
49994 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49995 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49996 old file.
49997
499982014-06-21 Joseph Myers <joseph@codesourcery.com>
49999
50000 * sysdeps/unix/sysv/linux/arm/kernel-features.h
50001 (__ASSUME_SIGFRAME_V2): Remove macro.
50002 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
50003 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
50004 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
50005 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
50006 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
50007 Declare as function. Remove conditional macro definitions.
50008 (__default_rt_sa_restorer): Likewise.
50009 (__default_sa_restorer_v1): Remove declaration.
50010 (__default_sa_restorer_v2): Likewise.
50011 (__default_rt_sa_restorer_v1): Likewise.
50012 (__default_rt_sa_restorer_v2): Likewise.
50013 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
50014 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
50015 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
50016
500172014-06-20 Roland McGrath <roland@hack.frob.com>
50018
50019 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
50020 (libpthread-routines): Add sysdep.
50021 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
50022 * sysdeps/unix/sysv/linux/sparc/Versions
50023 (libpthread: GLIBC_2.3.3): New version set.
50024 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
50025 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
50026 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
50027 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
50028 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
50029 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
50030 Moved ...
50031 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
50032 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
50033 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
50034 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
50035 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
50036 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
50037 * sysdeps/sparc/nptl/sem_init.c: ... here.
50038 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
50039 * sysdeps/sparc/nptl/sem_post.c: ... here.
50040 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
50041 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
50042 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
50043 * sysdeps/sparc/nptl/sem_wait.c: ... here.
50044 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
50045 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
50046 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
50047 (libpthread-routines): Add cpu_relax.
50048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
50049 File removed.
50050 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
50051 (librt: GLIBC_2.3.3): New version set.
50052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
50053 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
50054 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
50055 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
50056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
50057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
50058 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
50059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
50060 Moved ...
50061 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
50062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
50063 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
50064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
50065 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
50066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
50067 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
50068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
50069 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
50070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
50071 Moved ...
50072 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
50073 Update #include.
50074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
50075 Moved ...
50076 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
50077 Update #include.
50078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
50079 Moved ...
50080 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
50081 Update #include.
50082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
50083 Moved ...
50084 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
50085 Update #include.
50086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
50087 Moved ...
50088 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
50089 Update #include.
50090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
50091 Moved ...
50092 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
50093 Update #include.
50094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
50095 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
50096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
50097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
50098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
50099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
50100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
50101 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
50102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
50103 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
50104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50105 Moved ...
50106 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
50107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
50108 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
50109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
50110 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
50111
501122014-06-20 Joseph Myers <joseph@codesourcery.com>
50113
50114 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
50115 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
50116 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
50117 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
50118 * nscd/nscd.c: Likewise.
50119 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
50120 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
50121 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
50122 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
50123
50124 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
50125 <kernel-features.h>.
50126 (init_mq_netlink): Remove conditional have_sock_cloexec
50127 definitions. Remove code conditional on have_sock_cloexec < 0.
50128 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
50129 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
50130 * sysdeps/unix/sysv/linux/opensock.c: Do not include
50131 <kernel-features.h>.
50132 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
50133 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
50134
501352014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50136
50137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50138 Add tests for memset_chk and memset.
50139
50140 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
50141 with AVX2_Usable.
50142
501432014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
50144
50145 [BZ #16046]
50146 * elf/tst-dl-iter-static.c: New file.
50147 * elf/Makefile (tests-static): Add tst-dl-iter-static.
50148
50149 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
50150 error.
50151
501522014-06-20 Joseph Myers <joseph@codesourcery.com>
50153
50154 * sysdeps/unix/sysv/linux/kernel-features.h
50155 (__ASSUME_F_GETOWN_EX): Remove macro.
50156 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
50157 <kernel-features.h>.
50158 (miss_F_GETOWN_EX): Remove variable or macro.
50159 (do_fcntl): Do not check miss_F_GETOWN_EX.
50160 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
50161
50162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
50163 Remove macro.
50164 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
50165 [!__ASSUME_AT_RANDOM]: Remove conditional code.
50166 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
50167
50168 * sysdeps/unix/sysv/linux/kernel-features.h
50169 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
50170 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
50171 [ADJ_OFFSET_SS_READ]: Make code unconditional.
50172 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
50173
501742014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
50175
50176 [BZ #17075]
50177 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
50178 Fix calculation of the symbol's value.
50179 * sysdeps/arm/tst-armtlsdescloc.c: New file.
50180 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
50181 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
50182 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
50183 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50184 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50185 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50186 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50187 (modules-names): Add `tst-armtlsdescmod',
50188 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50189 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50190 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50191 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50192 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50193 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50194 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50195 ($(objpfx)tst-armtlsdescloc): New dependency.
50196 ($(objpfx)tst-armtlsdescextnow): Likewise.
50197 ($(objpfx)tst-armtlsdescextlazy): Likewise.
50198 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50199 TLS scheme support.
50200 * sysdeps/arm/configure: Regenerate.
50201
502022014-06-20 Joseph Myers <joseph@codesourcery.com>
50203
50204 * include/fcntl.h (__atfct_seterrno): Remove prototype.
50205 (__atfct_seterrno_2): Likewise.
50206 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50207 <kernel-features.h>.
50208 (__ASSUME_ATFCTS): Do not undefine and redefine.
50209 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50210 (__have_atfcts): Remove conditional definition.
50211 (__fxstatat([__NR_fstatat64]: Make code unconditional.
50212 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50213 unreachable if [__ASSUME_ATFCTS].
50214 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50215 not undefine and redefine.
50216 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50217 <kernel-features.h>.
50218 (faccessat) [__NR_faccessat]: Make code unconditional.
50219 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50220 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50221 <kernel-features.h>.
50222 (fchmodat) [__NR_fchmodat]: Make code unconditional.
50223 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50224 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50225 <kernel-features.h>.
50226 (fchownat) [__NR_fchownat]: Make code unconditional.
50227 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50228 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50229 <kernel-features.h>.
50230 (futimesat) [__NR_futimesat]: Make code unconditional.
50231 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50232 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50233 <kernel-features.h>.
50234 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50235 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50236 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50237 <kernel-features.h>.
50238 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50239 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50240 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50241 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50242 <kernel-features.h>.
50243 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50244 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50245 * sysdeps/unix/sysv/linux/linkat.c: Do not include
50246 <kernel-features.h>.
50247 (linkat) [__NR_linkat]: Make code unconditional.
50248 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50249 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50250 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50251 <kernel-features.h>.
50252 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50253 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50254 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50255 <kernel-features.h>.
50256 (mkdirat) [__NR_mkdirat]: Make code unconditional.
50257 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50258 * sysdeps/unix/sysv/linux/openat.c: Do not include
50259 <kernel-features.h>.
50260 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50261 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50262 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50263 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50264 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50265 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50266 <kernel-features.h>.
50267 (readlinkat) [__NR_readlinkat]: Make code unconditional.
50268 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
50269 result of INLINE_SYSCALL directly, not via int variable.
50270 * sysdeps/unix/sysv/linux/renameat.c: Do not include
50271 <kernel-features.h>.
50272 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50273 (renameat) [__NR_renameat]: Make code unconditional.
50274 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50275 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50276 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50277 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50278 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50279 (__ASSUME_ATFCTS): Do not undefine and redefine.
50280 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50281 <kernel-features.h>.
50282 (symlinkat) [__NR_symlinkat]: Make code unconditional.
50283 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50284 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50285 <kernel-features.h>.
50286 (unlinkat) [__NR_unlinkat]: Make code unconditional.
50287 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50288 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50289 (__ASSUME_ATFCTS): Do not undefine and redefine.
50290 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50291 <kernel-features.h>.
50292 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50293 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50294 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50295 <kernel-features.h>.
50296 (__xmknodat) [__NR_mknodat]: Make code unconditional.
50297 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50298
502992014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50300
50301 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50302
503032014-06-20 Andreas Schwab <schwab@linux-m68k.org>
50304
50305 [BZ #17069]
50306 * posix/regcomp.c (parse_reg_exp): Deallocate partially
50307 constructed tree before returning error.
50308 * posix/bug-regexp36.c: Expand test case.
50309
503102014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
50311
50312 [BZ #6803]
50313 * math/libm-test.inc (scalbln_test_date):
50314 Add errno expectations.
50315 * math/w_scalblnf.c: New File.
50316 Add wrapper which checks for setting errno to ERANGE.
50317 Add weak_alias for corresponding scalbln function.
50318 * math/w_scalbln.c: Likewise.
50319 * math/w_scalblnl.c: Likewise.
50320 * math/Makefile (libm-calls): Add w_scalbln.
50321 * sysdeps/ieee754/flt-32/s_scalblnf.c:
50322 Remove weak_alias for corresponding scalbln function.
50323 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50325 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50327 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50328 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50329 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50330 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50331 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50332 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50333 Remove long_double_symbol for scalblnl function in libm, libc.
50334 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50335 Add wrapper which checks for setting errno to ERANGE.
50336 Add long_double_symbol for scalblnl function in libm, libc.
50337 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50338 Remove long_double_symbol for scalblnl in libm.
50339 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50340 Add wrapper which checks for setting errno to ERANGE.
50341 Add long_double_symbol for scalblnl function in libm.
50342 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50343 Do not use wrapper because of own implementation.
50344
503452014-06-19 H.J. Lu <hongjiu.lu@intel.com>
50346
50347 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50348 3 bytes for __pad1 for x32.
50349 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50350
503512014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
50352 H.J. Lu <hongjiu.lu@intel.com>
50353
50354 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50355 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50356 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50357 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50358 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50359
503602014-06-19 Andreas Schwab <schwab@linux-m68k.org>
50361
50362 [BZ #17069]
50363 * posix/regcomp.c (parse_expression): Deallocate partially
50364 constructed tree before returning error.
50365 * posix/Makefile.c (tests): Add bug-regex36.
50366 (generated): Add bug-regex36.mtrace.
50367 (tests-special): Add $(objpfx)bug-regex36-mem.out
50368 (bug-regex36-ENV): New variable.
50369 ($(objpfx)bug-regex36-mem.out): New rule.
50370 * posix/bug-regex36.c: New file.
50371
503722014-06-19 Will Newton <will.newton@linaro.org>
50373
50374 * malloc/malloc.c (systrim): If extra is zero then return
50375 early.
50376
503772014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50378
50379 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50380
503812014-06-19 Richard Earnshaw <rearnsha@arm.com>
50382
50383 * sysdeps/aarch64/strchr.S: New file.
50384
503852014-06-18 Joseph Myers <joseph@codesourcery.com>
50386
50387 [BZ #17022]
50388 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50389 from arguments -2 or below.
50390 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50391 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50392
503932014-06-18 Andreas Schwab <schwab@suse.de>
50394
50395 [BZ #17062]
50396 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50397 of a bracket expr not to run off the end of the string.
50398 * posix/Makefile (tests): Add tst-fnmatch3.
50399 * posix/tst-fnmatch3.c: New file.
50400
504012014-06-18 Joseph Myers <joseph@codesourcery.com>
50402
50403 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50404 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50405 [$(cross-compiling) = no]: Likewise.
50406 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50407 [$(cross-compiling) = no]: Likewise.
50408
504092014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50410
50411 [BZ #17031]
50412 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50413 double, adjusted for any remainder from the high double.
50414 * math/libm-test.inc (nearbyint): Add tests.
50415 (rint): Likewise.
50416
504172014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50418
50419 * nptl/sysdeps/powerpc/Makefile: Moved ...
50420 * sysdeps/powerpc/nptl/Makefile: ... here.
50421 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50422 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50423 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50424 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50425 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50426 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50427 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50428 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50429 * nptl/sysdeps/powerpc/tls.h: Moved ...
50430 * sysdeps/powerpc/nptl/tls.h: ... here.
50431
504322014-06-16 Joseph Myers <joseph@codesourcery.com>
50433
50434 [BZ #16681]
50435 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50436 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50437 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50438 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50439 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50440 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50441 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50442 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50443 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50444
504452014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50446
50447 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50448
504492014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50450
50451 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50452 defined operator.
50453
50454 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50455 $TIMEOUTFACTOR.
50456
504572014-06-16 Florian Weimer <fweimer@redhat.com>
50458
50459 [BZ #17058]
50460 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50461 non-executed part of the test.
50462
504632014-06-16 Andreas Schwab <schwab@suse.de>
50464
50465 * string/bits/string2.h (strdup, strndup): Update feature guard.
50466
504672014-06-14 David S. Miller <davem@davemloft.net>
50468
50469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50470
504712014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50472
50473 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50474 that was previously under [RESET_PID].
50475 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50476
50477 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50478 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50479 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50480 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50481 (__libc_vfork): New strong alias.
50482 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50483
504842014-06-14 Andi Kleen <ak@linux.intel.com>
50485
50486 * sysdeps/generic/elide.h: New file.
50487
504882014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50489
50490 * Makefile (installed-headers): Adjust path of pthread.h header.
50491
504922014-06-13 Roland McGrath <roland@hack.frob.com>
50493
50494 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50495 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50496 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50497 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50498
50499 * nptl/sysdeps/s390/Makefile: Moved ...
50500 * sysdeps/s390/nptl/Makefile: ... here.
50501 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50502 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50503 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50504 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50505 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50506 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50507 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50508 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50509 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50510 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50511 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50512 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50513 * nptl/sysdeps/s390/tls.h: Moved ...
50514 * sysdeps/s390/nptl/tls.h: ... here.
50515
50516 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50517 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50518
505192014-06-13 David S. Miller <davem@davemloft.net>
50520
50521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50524 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50525 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50528 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50529 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50530 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50531 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50532 Remove RESET_PID cpp guards.
50533 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50534 Remove RESET_PID cpp guards.
50535 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50536
505372014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50538
50539 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50540 __sp to uintptr_t.
50541
505422014-06-13 Andi Kleen <ak@linux.intel.com>
50543
50544 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50545 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50546 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50547 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50548 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50549 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50550 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50551 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50552 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50553 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50554 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50555 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50556 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50557 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50558 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50559 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50560 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50561 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50562 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50563 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50564
50565 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50566 (pthread_rwlock_rdlock): Add elision.
50567 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50568 (pthread_rwlock_wrlock): Add elision.
50569 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50570 (pthread_rwlock_trywrlock): Add elision.
50571 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50572 (pthread_rwlock_tryrdlock): Add elision.
50573 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50574 (pthread_rwlock_tryrdlock): Add elision unlock.
50575 * nptl/sysdeps/pthread/pthread.h:
50576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50577 (PTHREAD_RWLOCK_INITIALIZER,
50578 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50579 Handle new elision field.
50580 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50581 * sysdeps/arm/nptl/bits/pthreadtypes.h
50582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50583 * sysdeps/sh/nptl/bits/pthreadtypes.h
50584 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50585 * sysdeps/tile/nptl/bits/pthreadtypes.h
50586 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50587 * sysdeps/a/nptl/bits/pthreadtypes.h
50588 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50589 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50590 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50591 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50592 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50593 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50594 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50595 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50596 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50597 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50598 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50599 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50600 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50601 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50602 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50603 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50604 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50605 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50606 (elision_init): Set try_xbegin to zero when no RTM.
50607 * sysdeps/x86/nptl/bits/pthreadtypes.h
50608 (pthread_rwlock_t): Change __pad1 to __rwelision.
50609 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50610
506112014-06-13 Andi Kleen <ak@linux.intel.com>
50612
50613 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50614 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50615 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50616 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50617
506182014-06-13 Meador Inge <meadori@codesourcery.com>
50619
50620 [BZ #16996]
50621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50622 that the cached result has been set before returning it.
50623
506242014-06-12 Roland McGrath <roland@hack.frob.com>
50625
50626 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50627 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50628 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50629 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50630 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50631 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50632
50633 * nptl/sysdeps/sparc/Makefile: Moved ...
50634 * sysdeps/sparc/nptl/Makefile: ... here.
50635 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50636 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50637 * nptl/sysdeps/sparc/tls.h: Moved ...
50638 * sysdeps/sparc/nptl/tls.h: ... here.
50639 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50640 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50641 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50642 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50643 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50644 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50645 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50646 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50647 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50648 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50649 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50650 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50651 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50652 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50653 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50654 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50655 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50656 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50657 Update #include.
50658 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50659 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50660 Update #include.
50661 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50662 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50663 Update #include.
50664 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50665 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50666 Update #include.
50667
50668 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50669
50670 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50671 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50672
50673 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50674 (struct list_links): Type removed.
50675 (struct thread_node, struct timer_node): Replace struct list_links
50676 with struct list_head.
50677 (list_unlink_ip): Likewise.
50678 * sysdeps/pthread/timer_routines.c
50679 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50680 (list_append, list_insbefore): Likewise.
50681 (list_init): Function removed.
50682 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50683 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50684 * sysdeps/pthread/Makefile: ... here, new file.
50685
50686 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50687 * sysdeps/nptl/Implies: ... here.
50688 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50689 * nptl/sysdeps/pthread/list.h: Moved ...
50690 * include/list.h: ... here.
50691 * nptl/sysdeps/pthread/createthread.c: Moved ...
50692 * nptl/createthread.c: ... here.
50693 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50694 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50695 * nptl/pt-longjmp.c: ... here.
50696 * nptl/sysdeps/pthread/Makefile: Moved ...
50697 * sysdeps/nptl/Makefile: ... here.
50698 * nptl/sysdeps/pthread/Subdirs: Moved ...
50699 * sysdeps/nptl/Subdirs: ... here.
50700 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50701 * sysdeps/nptl/aio_misc.h: ... here.
50702 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50703 * sysdeps/nptl/bits/libc-lock.h: ... here.
50704 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50705 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50706 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50707 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50708 * nptl/sysdeps/pthread/configure: Moved ...
50709 * sysdeps/nptl/configure: ... here.
50710 * nptl/sysdeps/pthread/configure.ac: Moved ...
50711 * sysdeps/nptl/configure.ac: ... here.
50712 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50713 * sysdeps/nptl/gai_misc.h: ... here.
50714 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50715 * sysdeps/nptl/librt-cancellation.c: ... here.
50716 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50717 * sysdeps/nptl/malloc-machine.h: ... here.
50718 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50719 * sysdeps/nptl/pthread-functions.h: ... here.
50720 * nptl/sysdeps/pthread/pthread.h: Moved ...
50721 * sysdeps/nptl/pthread.h: ... here.
50722 * nptl/sysdeps/pthread/setxid.h: Moved ...
50723 * sysdeps/nptl/setxid.h: ... here.
50724 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50725 * sysdeps/nptl/sigfillset.c: ... here.
50726 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50727 * sysdeps/nptl/tcb-offsets.h: ... here.
50728 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50729 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50730 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50731 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50732 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50733 * sysdeps/pthread/allocalim.h: ... here.
50734 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50735 * sysdeps/pthread/bits/sigthread.h: ... here.
50736 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50737 * sysdeps/pthread/flockfile.c: ... here.
50738 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50739 * sysdeps/pthread/ftrylockfile.c: ... here.
50740 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50741 * sysdeps/pthread/funlockfile.c: ... here.
50742 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50743 * sysdeps/pthread/posix-timer.h: ... here.
50744 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50745 * sysdeps/pthread/timer_create.c: ... here.
50746 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50747 * sysdeps/pthread/timer_delete.c: ... here.
50748 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50749 * sysdeps/pthread/timer_getoverr.c: ... here.
50750 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50751 * sysdeps/pthread/timer_gettime.c: ... here.
50752 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50753 * sysdeps/pthread/timer_routines.c: ... here.
50754 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50755 * sysdeps/pthread/timer_settime.c: ... here.
50756 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50757 * sysdeps/pthread/tst-timer.c: ... here.
50758 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50759 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50760
50761 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50762 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50763
50764 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50765 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50766 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50767 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50768 Update #include target.
50769 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50770 * sysdeps/i386/i686/nptl/Makefile: ... here.
50771 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50772 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50773 Update #include target.
50774 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50775 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50776 * nptl/sysdeps/i386/Makefile: Moved ...
50777 * sysdeps/i386/nptl/Makefile: ... here.
50778 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50779 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50780 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50781 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50782 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50783 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50784 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50785 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50786 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50787 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50788 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50789 * nptl/sysdeps/i386/tls.h: Moved ...
50790 * sysdeps/i386/nptl/tls.h: ... here.
50791
50792 * sysdeps/sh/Makefile [$(subdir) = csu]
50793 (gen-as-const-headers): Add tcb-offsets.sym.
50794 * nptl/sysdeps/sh/Makefile: File removed.
50795 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50796 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50797 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50798 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50799 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50800 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50801 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50802 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50803 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50804 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50805 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50806 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50807 * nptl/sysdeps/sh/tls.h: Moved ...
50808 * sysdeps/sh/nptl/tls.h: ... here.
50809 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50810 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50811 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50812 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50813 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50814 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50815 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50816 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50817 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50818 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50819 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50820 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50821 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50822 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50823 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50824 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50825 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50826 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50827 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50828 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50829 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50830 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50831 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50832 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50833 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50834 Moved ...
50835 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50836 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50837 Moved ...
50838 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50839 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50840 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50841 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50842 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50843 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50844 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50845 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50846 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50847 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50848 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50849 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50850 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50851 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50852 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50853 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50854 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50855 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50856 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50857
508582014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50859
50860 * posix/spawn_faction_addopen.c: Include string.h.
50861
508622014-06-11 Roland McGrath <roland@hack.frob.com>
50863
50864 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50865 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50866 * nptl/sysdeps/x86_64/Makefile: Moved ...
50867 * sysdeps/x86_64/nptl/Makefile: ... here.
50868 * nptl/sysdeps/x86_64/configure: Moved ...
50869 * sysdeps/x86_64/nptl/configure: ... here.
50870 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50871 * sysdeps/x86_64/nptl/configure.ac: ... here.
50872 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50873 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50874 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50875 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50876 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50877 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50878 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50879 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50880 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50881 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50882 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50883 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50884 * nptl/sysdeps/x86_64/tls.h: Moved ...
50885 * sysdeps/x86_64/nptl/tls.h: ... here.
50886 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50887 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50888 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50889 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50890
50891 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50892
508932014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50894
50895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50896
508972014-06-11 Joseph Myers <joseph@codesourcery.com>
50898
50899 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50900 type.
50901 [POSIX] (off_t): Likewise.
50902 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50903 [POSIX] (S_ISBLK): Require macro.
50904 [POSIX] (S_ISCHR): Likewise.
50905 [POSIX] (S_ISDIR): Likewise.
50906 [POSIX] (S_ISFIFO): Likewise.
50907 [POSIX] (S_ISREG): Likewise.
50908 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50909 optional-macro.
50910 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50911 type.
50912 [POSIX] (time_t): Likewise.
50913 [POSIX] (timer_t): Likewise.
50914
509152014-06-11 Florian Weimer <fweimer@redhat.com>
50916
50917 [BZ #17048]
50918 * posix/spawn_int.h (struct __spawn_action): Make the path string
50919 non-const to support deallocation.
50920 * posix/spawn_faction_addopen.c
50921 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50922 * posix/spawn_faction_destroy.c
50923 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50924 path in all spawn_do_open actions.
50925 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50926 posix_spawn_file_actions_addopen.
50927
509282014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50929
50930 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50931 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50932 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50933 conditional code always true.
50934 (__libc_vfork): New alias.
50935
509362014-06-11 Roland McGrath <roland@hack.frob.com>
50937
50938 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50939 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50940
50941 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50942
50943 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50944 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50945
50946 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50947 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50948
50949 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50950 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50951
509522014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50953
50954 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50955 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50956 multiarch strcmp for PPC64.
50957 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50958 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50960 multiarch optimizations.
50961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50962 (__libc_ifunc_impl_list): Likewise.
50963
509642014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50965
50966 * benchtests/scripts/validate_benchout.py: New script.
50967 * benchtests/Makefile (bench-func): Call it.
50968 * benchtests/scripts/benchout.schema.json: New file.
50969
509702014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50971
50972 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50973 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50974 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50975 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50976 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50977 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50978 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50979 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50980 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50981 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50982 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50983 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50984 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50985 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50986 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50987 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50989 Moved ...
50990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50991 ... here.
50992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50993 Moved ...
50994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50996 Moved ...
50997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50998 ... here.
50999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
51000 Moved ...
51001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
51002 ... here.
51003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
51004 Moved ...
51005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
51006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
51007 Moved ...
51008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
51009 ... here.
51010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
51011 Moved ...
51012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
51013 ... here.
51014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
51015 Moved ...
51016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
51017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
51018 Moved ...
51019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
51020 ... here.
51021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
51022 Moved ...
51023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
51024 ... here.
51025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
51026 Moved ...
51027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
51028 ... here.
51029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
51030 Moved ...
51031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
51032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
51033 Moved ...
51034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
51035 ... here.
51036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
51037 Moved ...
51038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
51039 ... here.
51040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
51041 Moved ...
51042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
51043 ... here.
51044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
51045 Moved ...
51046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
51047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
51048 Moved ...
51049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
51050 ... here.
51051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
51052 Moved ...
51053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
51054 ... here.
51055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
51056 Moved ...
51057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
51058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
51059 Moved ...
51060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
51061 ... here.
51062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
51063 Moved ...
51064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
51065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
51066 Moved ...
51067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
51068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
51069 Moved ...
51070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
51071 ... here.
51072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
51073 Moved ...
51074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
51075 ... here.
51076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
51077 Moved ...
51078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
51079 ... here.
51080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
51081 Moved ...
51082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
51083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
51084 Moved ...
51085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
51086 ... here.
51087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
51088 Moved ...
51089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
51090 ... here.
51091 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
51092 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
51093 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
51094 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
51095 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
51096 Moved ...
51097 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
51098 ... here.
51099 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
51100 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
51101 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
51102 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
51103 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
51104 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
51105 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
51106 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
51107 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
51108 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
51109 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
51110 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
51111 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
51112 Moved ...
51113 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
51114 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
51115 Moved ...
51116 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
51117 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
51118 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
51119 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
51120 Moved ...
51121 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
51122 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
51123 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
51124 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
51125 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
51126 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
51127 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
51128
511292014-06-10 Wilco <wdijkstr@arm.com>
51130
51131 * math/test-fenv-return.c: New file.
51132 * math/Makefile: Add new test test-fenv-return.
51133
511342014-06-10 Joseph Myers <joseph@codesourcery.com>
51135
51136 [BZ #17042]
51137 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
51138 when x - 1 is zero.
51139 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
51140 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
51141 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
51142 0.0L for an argument of 1.0L.
51143 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
51144 Likewise.
51145 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
51146 value when x - 1 is zero.
51147 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
51148 * sysdeps/i386/fpu/libm-test-ulps: Update.
51149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51150
511512014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
51152
51153 [BZ #15119]
51154 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
51155
511562014-06-09 Roland McGrath <roland@hack.frob.com>
51157
51158 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
51159 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
51160
511612014-06-09 Roland McGrath <roland@hack.frob.com>
51162
51163 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51164 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
51165
51166 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51167 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
51168
51169 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51170 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
51171
51172 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51173 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
51174
51175 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
51176 if not already defined.
51177 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
51178 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
51179 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
51180 (TLS_INIT_TP): Use it.
51181 (TLS_DEFINE_INIT_TP): New macro.
51182 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51183
511842014-06-09 Joseph Myers <joseph@codesourcery.com>
51185
51186 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51187 constant.
51188 [POSIX] (IXANY): Likewise.
51189 [POSIX] (OLCUC): Likewise.
51190 [POSIX || POSIX2008] (CBAUD): Do not allow.
51191 [POSIX || POSIX2008] (DEFECHO): Likewise.
51192 [POSIX || POSIX2008] (ECHOCTL): Likewise.
51193 [POSIX || POSIX2008] (ECHOKE): Likewise.
51194 [POSIX || POSIX2008] (ECHOPRT): Likewise.
51195 [POSIX || POSIX2008] (EXTA): Likewise.
51196 [POSIX || POSIX2008] (EXTB): Likewise.
51197 [POSIX || POSIX2008] (FLUSHO): Likewise.
51198 [POSIX || POSIX2008] (LOBLK): Likewise.
51199 [POSIX || POSIX2008] (PENDIN): Likewise.
51200 [POSIX || POSIX2008] (SWTCH): Likewise.
51201 [POSIX || POSIX2008] (VDISCARD): Likewise.
51202 [POSIX || POSIX2008] (VDSUSP): Likewise.
51203 [POSIX || POSIX2008] (VLNEXT): Likewise.
51204 [POSIX || POSIX2008] (VREPRINT): Likewise.
51205 [POSIX || POSIX2008] (VSTATUS): Likewise.
51206 [POSIX || POSIX2008] (VWERASE): Likewise.
51207 (B*): Change to B[0123456789]*.
51208 * conform/data/time.h-data [POSIX || UNIX98]
51209 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51210 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51211 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51212 [POSIX] (tm_*): Do not allow.
51213
512142014-06-07 Joseph Myers <joseph@codesourcery.com>
51215
51216 * Makefile (install): Don't set LANGUAGE.
51217 * Makefile.in (install): Likewise.
51218 * assert/Makefile (test-assert-ENV): Remove variable.
51219 (test-assert-perr-ENV): Likewise.
51220 * elf/Makefile (neededtest4-ENV): Likewise.
51221 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51222 [$(cross-compiling) = no]: Don't set LANGUAGE.
51223 * io/ftwtest-sh (LANG): Remove variable.
51224 * libio/Makefile (tst-widetext-ENV): Likewise.
51225 * manual/install.texi (Running make install): Don't refer to
51226 environment settings for make install.
51227 * INSTALL: Regenerated.
51228 * nptl/tst-tls6.sh: Don't set LANG.
51229 * posix/globtest.sh (LANG): Remove variable.
51230 * string/Makefile (tester-ENV): Likewise.
51231 (inl-tester-ENV): Likewise.
51232 (noinl-tester-ENV): Likewise.
51233 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51234 [$(cross-compiling) = no]: Don't set LANGUAGE.
51235 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51236 without explicit environment settings.
51237
512382014-06-06 Roland McGrath <roland@hack.frob.com>
51239
51240 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51241 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51242 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51243 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51244
512452014-06-06 Chris Metcalf <cmetcalf@tilera.com>
51246
51247 * crypt/crypt-private.h [DOS]: Add some includes taken from the
51248 other files in the crypt directory.
51249 * crypt/crypt.c: Remove duplicate includes.
51250 * crypt/crypt-entry.c: Likewise.
51251 * crypt/crypt_util.c: Likewise.
51252
512532014-06-06 Joseph Myers <joseph@codesourcery.com>
51254
51255 * Makeconfig (run-program-env): New variable.
51256 (run-program-prefix-before-env): Likewise.
51257 (run-program-prefix-after-env): Likewise.
51258 (run-program-prefix): Define in terms of new variables.
51259 (built-program-cmd-before-env): New variable.
51260 (built-program-cmd-after-env): Likewise.
51261 (built-program-cmd): Define in terms of new variables.
51262 (test-program-prefix-before-env): New variable.
51263 (test-program-prefix-after-env): Likewise.
51264 (test-program-prefix): Define in terms of new variables.
51265 (test-program-cmd-before-env): New variable.
51266 (test-program-cmd-after-env): Likewise.
51267 (test-program-cmd): Define in terms of new variables.
51268 * Rules (make-test-out): Use $(run-program-env).
51269 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51270 (help): Do not mention environment variables. Mention
51271 --timeoutfactor option.
51272 (timeoutfactor): New variable.
51273 (blacklist_exports): Remove function.
51274 (exports): Remove variable.
51275 (command): Do not include ${exports}.
51276 * manual/install.texi (Configuring and compiling): Do not mention
51277 test wrappers preserving environment variables. Mention that last
51278 assignment to a variable must take precedence.
51279 * INSTALL: Regenerated.
51280 * benchtests/Makefile (run-bench): Use $(run-program-env).
51281 * catgets/Makefile ($(objpfx)test1.cat): Use
51282 $(built-program-cmd-before-env), $(run-program-env) and
51283 $(built-program-cmd-after-env).
51284 ($(objpfx)test2.cat): Do not specify environment variables
51285 explicitly.
51286 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51287 $(run-program-env) and $(built-program-cmd-after-env).
51288 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51289 $(run-program-env) and $(test-program-cmd-after-env).
51290 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51291 explicitly.
51292 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51293 run_program_env and test_program_cmd_after_env arguments.
51294 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51295 * elf/tst-pathopt.sh: Use run_program_env argument.
51296 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51297 $(test-wrapper-env) and $(run-program-env).
51298 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51299 run_program_env arguments.
51300 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51301 * intl/Makefile ($(objpfx)tst-gettext.out): Use
51302 $(test-program-prefix-before-env), $(run-program-env) and
51303 $(test-program-prefix-after-env).
51304 ($(objpfx)tst-gettext2.out): Likewise.
51305 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51306 run_program_env and test_program_prefix_after_env arguments.
51307 * intl/tst-gettext2.sh: Likewise.
51308 * intl/tst-gettext4.sh: Do not set environment variables
51309 explicitly.
51310 * intl/tst-gettext6.sh: Likewise.
51311 * intl/tst-translit.sh: Likewise.
51312 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51313 $(test-program-prefix-before-env), $(run-program-env) and
51314 $(test-program-prefix-after-env).
51315 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51316 run_program_env and test_program_prefix_after_env arguments.
51317 * math/Makefile (run-regen-ulps): Use $(run-program-env).
51318 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51319 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
51320 explicitly with each use of ${test_wrapper_env}.
51321 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51322 $(test-program-prefix-before-env), $(run-program-env) and
51323 $(test-program-prefix-after-env).
51324 * posix/tst-getconf.sh: Do not set environment variables
51325 explicitly.
51326 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51327 run_program_env and test_program_prefix_after_env arguments.
51328 * stdio-common/tst-printf.sh: Do not set environment variables
51329 explicitly.
51330 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51331 $(test-program-prefix-before-env), $(run-program-env) and
51332 $(test-program-prefix-after-env).
51333 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51334 run_program_env and test_program_prefix_after_env arguments.
51335 Split $test calls into $test_pre and $test.
51336 * timezone/Makefile (build-testdata): Use
51337 $(built-program-cmd-before-env), $(run-program-env) and
51338 $(built-program-cmd-after-env).
51339
513402014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51341
51342 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51343 strlen for non SHARED builds.
51344
513452014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
51346
51347 * nptl/allocatestack.c (check_list): Inlined function...
51348 (__reclaim_stacks): ... here.
51349
513502014-06-05 Ondřej Bílka <neleai@seznam.cz>
51351
51352 [BZ #15698]
51353 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51354 memory overrun.
51355
513562014-06-05 Joseph Myers <joseph@codesourcery.com>
51357
51358 * Rules (make-test-out): Include
51359 LOCPATH=$(common-objpfx)localedata in default environment.
51360 * debug/Makefile (tst-chk1-ENV): Remove variable.
51361 (tst-chk2-ENV): Likewise.
51362 (tst-chk3-ENV): Likewise.
51363 (tst-chk4-ENV): Likewise.
51364 (tst-chk5-ENV): Likewise.
51365 (tst-chk6-ENV): Likewise.
51366 (tst-lfschk1-ENV): Likewise.
51367 (tst-lfschk2-ENV): Likewise.
51368 (tst-lfschk3-ENV): Likewise.
51369 (tst-lfschk4-ENV): Likewise.
51370 (tst-lfschk5-ENV): Likewise.
51371 (tst-lfschk6-ENV): Likewise.
51372 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51373 (tst-iconv7-ENV): Likewise.
51374 * intl/Makefile (LOCPATH-ENV): Likewise.
51375 (tst-codeset-ENV): Likewise.
51376 (tst-gettext3-ENV): Likewise.
51377 (tst-gettext5-ENV): Likewise.
51378 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51379 (tst-fopenloc-ENV): Likewise.
51380 (tst-fgetws-ENV): Remove variable.
51381 (tst-ungetwc1-ENV): Likewise.
51382 (tst-ungetwc2-ENV): Likewise.
51383 (bug-ungetwc2-ENV): Likewise.
51384 (tst-swscanf-ENV): Likewise.
51385 (bug-ftell-ENV): Likewise.
51386 (tst-fgetwc-ENV): Likewise.
51387 (tst-fseek-ENV): Likewise.
51388 (tst-ftell-partial-wide-ENV): Likewise.
51389 (tst-ftell-active-handler-ENV): Likewise.
51390 (tst-ftell-append-ENV): Likewise.
51391 * posix/Makefile (tst-fnmatch-ENV): Likewise.
51392 (tst-regexloc-ENV): Likewise.
51393 (bug-regex1-ENV): Likewise.
51394 (tst-regex-ENV): Likewise.
51395 (tst-regex2-ENV): Likewise.
51396 (bug-regex5-ENV): Likewise.
51397 (bug-regex6-ENV): Likewise.
51398 (bug-regex17-ENV): Likewise.
51399 (bug-regex18-ENV): Likewise.
51400 (bug-regex19-ENV): Likewise.
51401 (bug-regex20-ENV): Likewise.
51402 (bug-regex22-ENV): Likewise.
51403 (bug-regex23-ENV): Likewise.
51404 (bug-regex25-ENV): Likewise.
51405 (bug-regex26-ENV): Likewise.
51406 (bug-regex30-ENV): Likewise.
51407 (bug-regex32-ENV): Likewise.
51408 (bug-regex33-ENV): Likewise.
51409 (bug-regex34-ENV): Likewise.
51410 (bug-regex35-ENV): Likewise.
51411 (tst-rxspencer-ENV): Likewise.
51412 (tst-rxspencer-no-utf8-ENV): Likewise.
51413 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51414 (tst-sscanf-ENV): Likewise.
51415 (tst-swprintf-ENV): Likewise.
51416 (tst-swscanf-ENV): Likewise.
51417 (test-vfprintf-ENV): Likewise.
51418 (scanf13-ENV): Likewise.
51419 (bug14-ENV): Likewise.
51420 (tst-grouping-ENV): Likewise.
51421 * stdlib/Makefile (tst-strtod-ENV): Likewise.
51422 (tst-strtod3-ENV): Likewise.
51423 (tst-strtod4-ENV): Likewise.
51424 (tst-strtod5-ENV): Likewise.
51425 (testmb2-ENV): Likewise./
51426 * string/Makefile (tst-strxfrm-ENV): Likewise.
51427 (tst-strxfrm2-ENV): Likewise.
51428 (bug-strcoll1-ENV): Likewise.
51429 (test-strcasecmp-ENV): Likewise.
51430 (test-strncasecmp-ENV): Likewise.
51431 * time/Makefile (tst-strptime-ENV): Likewise.
51432 (tst-ftime_l-ENV): Likewise.
51433 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51434 (tst-mbrtowc-ENV): Likewise.
51435 (tst-wcrtomb-ENV): Likewise.
51436 (tst-mbrtowc2-ENV): Likewise.
51437 (tst-c16c32-1-ENV): Likewise.
51438 (tst-mbsnrtowcs-ENV): Likewise.
51439
514402014-06-05 Ondřej Bílka <neleai@seznam.cz>
51441
51442 * manual/resource.texi (How to get information about the memory
51443 subsystem?): Fix typo.
51444 Reported by Peon de la Parra Ivan <peon@keba.com>
51445
514462014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51447
51448 [BZ #16882]
51449 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51450 (pthread_spin_lock): Branch out of spin loop to proper location.
51451 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51452 (pthread_spin_lock): Likewise.
51453
51454 * nptl/tst-spin4.c: New test.
51455 * nptl/Makefile (tests): Add tst-spin4.
51456
514572014-06-03 Andreas Schwab <schwab@suse.de>
51458
51459 [BZ #15946]
51460 * resolv/res_send.c (send_dg): Reload file descriptor after
51461 calling reopen.
51462
514632014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51464
51465 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51466
514672014-06-03 Richard Henderson <rth@redhat.com>
51468
51469 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51470 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51471 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51472 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51473 in the SAVE_PID block.
51474 (__libc_vfork): New alias.
51475 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51476
51477 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51478 child in registers, not on the stack. Remove RESET_PID conditionals.
51479 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51480
514812014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51482
51483 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51484
514852014-06-03 Wilco <wdijkstr@arm.com>
51486
51487 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51488 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51489 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51490 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51491 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51492 Likewise.
51493
514942014-06-03 Wilco <wdijkstr@arm.com>
51495
51496 * sysdeps/aarch64/fpu/math_private.h
51497 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51498 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51499 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51500 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51501 Fix declarations.
51502
515032014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51504
51505 * crypt/crypt-private.h: Include ufc-crypt.h.
51506 (__b64_from_24bit): Declare extern.
51507 * crypt/crypt_util.c(__b64_from_24bit): New function.
51508 (b64t): New static const variable.
51509 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51510 (b64t): Remove variable.
51511 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51512 * crypt/sha256-crypt.c: Include crypt-private.h.
51513 (b64t): Remove variable.
51514 (__sha256_crypt_r): Remove b64_from_24bit and replace
51515 with __b64_from_24bit.
51516 * crypt/sha512-crypt.c: Likewise.
51517
515182014-06-02 Roland McGrath <roland@hack.frob.com>
51519
51520 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51521 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51522 Label the code __libc_vfork rather than __vfork.
51523 [!NOT_IN_libc] (vfork): Define as weak alias.
51524 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51525 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51526 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51527
515282014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51529
51530 * malloc/malloc.c (malloc_info): Fix format specifier for
51531 n_mmaps.
51532
515332014-06-02 Wilco <wdijkstr@arm.com>
51534
51535 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51536 FPCR write.
51537
515382014-06-02 Wilco <wdijkstr@arm.com>
51539
51540 [BZ #17009]
51541 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51542 Rewrite to reduce FPCR/FPSR accesses.
51543
515442014-06-01 David S. Miller <davem@davemloft.net>
51545
51546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51547
515482014-05-31 David S. Miller <davem@davemloft.net>
51549
51550 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51551 to occur in round to nearest mode when |x| >= 2.0
51552
515532014-05-30 Richard Henderson <rth@twiddle.net>
51554
51555 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51556 (PSEUDO_RET_NOERRNO): Remove.
51557 (ret): Don't redefine.
51558 (ret_NOERRNO): Define in terms of ret.
51559 (ret_ERRVAL): Likewise.
51560
51561 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51562 use of PSEUDO_RET; perform the error check directly.
51563
515642014-05-30 Marko Myllynen <myllynen@redhat.com>
51565
51566 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51567 with __int128_t.
51568
515692014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51570
51571 * malloc/malloc (malloc_info): Fix formatting.
51572
515732014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51574 Roland McGrath <roland@hack.frob.com>
51575
51576 * malloc/malloc (malloc_info): Also print mmapped statistics.
51577
515782014-05-30 Roland McGrath <roland@hack.frob.com>
51579
51580 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51581 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51582
515832014-05-30 Ondřej Bílka <neleai@seznam.cz>
51584
51585 * malloc/malloc.c (malloc_info): Inline mi_arena.
51586
515872014-05-29 Richard Henderson <rth@twiddle.net>
51588
51589 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51590 Remove comma before expanding ASM_ARGS_##nr.
51591 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51592 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51593 of ASM_ARGS_##nr.
51594 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51595 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51596 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51597 (ASM_ARGS_1): Add leading comma.
51598
51599 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51600 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51601 to __errno_location.
51602 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51603 Remove the expected plt for __errno_location.
51604
51605 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51606 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51607 call to __read_tp.
51608
51609 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51610 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51611 it and break it down.
51612 (DOCARGS_0, DOCARGS_1): Do nothing.
51613 (DOCARGS_2): Update to store into the new stack frame.
51614 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51615 (UNDOCARGS_1): Update to restore from the new stack frame.
51616 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51617 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51618
51619 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51620 (SINGLE_THREAD_P): New parameter for result regno.
51621 (PSEUDO): Update to match; use cbz instead of beq.
51622
51623 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51624 Use ENTRY to define the _nocancel entry point. Share the syscall
51625 and syscall error check paths with the cancel path.
51626 (PSEUDO_END): New.
51627
51628 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51629 whitespace; tabs before and after asm mnemonics.
51630
516312014-05-29 Eric Wong <normalperson@yhbt.net>
51632
51633 [BZ #15132]
51634 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51635 Call fstat64 or stat64 internally, depending on arguments passed.
51636 Replace stat buffer argument with file descriptor argument.
51637 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51638 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51639 Pass fd to __internal_statvfs instead of calling fstat64.
51640 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51641 Pass fd to __internal_statvfs64 instead of calling fstat64.
51642 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51643 Pass -1 to __internal_statvfs instead of calling stat64.
51644 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51645 Pass -1 to __internal_statvfs64 instead of calling stat64.
51646
516472014-05-28 Roland McGrath <roland@hack.frob.com>
51648
51649 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51650 that was previously under [RESET_PID].
51651 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51652
51653 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51654 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51655
516562014-05-27 Roland McGrath <roland@hack.frob.com>
51657
51658 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51659
51660 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51661 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51662
516632014-05-27 Ondřej Bílka <neleai@seznam.cz>
51664
51665 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51666
516672014-05-27 Andreas Schwab <schwab@suse.de>
51668
51669 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51670 TLS_INIT_TP macro.
51671 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51672 * elf/rtld.c (init_tls, dl_main): Likewise.
51673 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51674 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51675 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51676 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51677 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51678 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51679 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51680 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51681 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51682 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51683 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51684 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51685 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51686 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51687 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51688 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51689 * sysdeps/generic/tls.h: Update description.
51690
516912014-05-27 Will Newton <will.newton@linaro.org>
51692
51693 [BZ #16990]
51694 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51695 and restore r2 rather than just restoring.
51696
516972014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51698
51699 [BZ #16724]
51700 * libio/tst-ftell-append.c: New test case.
51701 * libio/Makefile (tests): Add test case.
51702 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51703 append mode.
51704 * libio/wfileops.c (do_ftell_wide): Likewise.
51705
517062014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51707
51708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51709
51710 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51711 ...
51712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51714 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51715 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51716 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51717 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51718 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51719 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51721 Moved ...
51722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51724 Moved ...
51725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51726 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51727 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51728 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51729 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51730 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51731 ...
51732 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51733 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51734 Moved ...
51735 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51736 here.
51737 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51738 ...
51739 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51740 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51741 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51742
51743 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51744 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51745 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51746 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51747
51748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51749 merge into ...
51750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51752 ...
51753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51754 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51755 ...
51756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51757 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51758 Moved ...
51759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51760 here.
51761 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51762 Moved ...
51763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51764 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51765 Moved ...
51766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51767
51768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51769 conditional [RESET_PID].
51770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51771 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51772 removed.
51773 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51774 removed.
51775
51776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51777 <tcb-offsets.h>.
51778 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51779 (__libc_vfork): New strong alias.
51780 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51781 removed.
51782 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51783 Removed.
51784
51785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51786 <tcb-offsets.h>.
51787 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51788 (__libc_vfork): New strong alias.
51789 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51790 removed.
51791 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51792 removed.
51793
517942014-05-26 Carlos O'Donell <carlos@redhat.com>
51795
51796 * malloc/malloc.c (mi_arena): New function.
51797 (malloc_info): Remove nested function mi_arena. Call non-nosted
51798 function mi_arena.
51799
518002014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51801
51802 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51803 by insrwi.
51804 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51805 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51806 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51807 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51808 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51809 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51810 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51811
518122014-05-26 Andreas Schwab <schwab@suse.de>
51813
51814 [BZ #16984]
51815 * locale/programs/repertoire.c (repertoire_read): Add slash
51816 between I18NPATH element and file name.
51817 * locale/programs/locfile.c (locfile_read): Likewise.
51818
518192014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51820
51821 * nptl/pthread_mutexattr_settype.c
51822 (__pthread_mutexattr_settype):
51823 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51824
518252014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51826
51827 * nptl/tst-mutex5 (do_test):
51828 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51829
518302014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51831
51832 * benchtests/README: Document 'init' directive.
51833 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51834 BENCH_INIT.
51835 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51836 (parse_file): Recognize 'init' directive.
51837
518382014-05-26 Kyle McMartin <kyle@redhat.com>
51839
51840 [BZ #16796]
51841 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51842 alignment of struct pthread.
51843
518442014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51845
51846 [BZ #16878]
51847 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51848 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51849 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51850 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51851
518522014-05-25 Richard Henderson <rth@twiddle.net>
51853
51854 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51855 (SINGLE_THREAD_P_PIC): Remove.
51856 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51857 (SINGLE_THREAD_P_PIC): Remove.
51858
51859 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51860 branch to syscall error ...
51861 (PSEUDO): ... here.
51862 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51863 from __local_syscall_error to .Lsyscall_error.
51864 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51865 (SYSCALL_ERROR): Update label name.
51866
51867 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51868 Do not use DOARGS/UNDOARGS.
51869 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51870 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51871 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51872 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51873 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51874
51875 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51876 block comment.
51877
51878 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51879 define if !NOT_IN_libc.
51880 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51881 define with non-default symbol versions.
51882
518832014-05-23 Richard Henderson <rth@twiddle.net>
51884
51885 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51886 (vfork, __vfork): Define via compat_symbol.
51887
51888 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51889 [!HAVE_IFUNC] (vfork_compat): Remove.
51890 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51891
518922014-05-23 Joseph Myers <joseph@codesourcery.com>
51893
51894 [BZ #16978]
51895 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51896 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51897 variable.
51898
518992014-05-23 Richard Henderson <rth@twiddle.net>
51900
51901 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51902 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51903 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51904 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51905
51906 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51907 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51908 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51909 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51910 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51911 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51912 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51913 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51914 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51915 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51916 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51917 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51918 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51919 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51920 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51921 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51922 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51923 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51924 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51925 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51926 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51927 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51928 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51929 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51930 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51931 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51932 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51933 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51934 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51935 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51936 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51937 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51938 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51939 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51940 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51941 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51942 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51943 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51944 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51945 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51946 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51947 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51948 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51949 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51950 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51951 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51952 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51953 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51954 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51955 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51956 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51957 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51958 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51959 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51960 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51961 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51962
51963 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51964 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51965 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51966 before exiting on error.
51967 (__libc_vfork): New strong alias.
51968 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51969 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51970
51971 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51972 that was previously under [RESET_PID].
51973 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51974
51975 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51976
519772014-05-23 Joseph Myers <joseph@codesourcery.com>
51978
51979 [BZ #16977]
51980 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51981 value when x - 1 is zero.
51982 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51983 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51984 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51985 0.0L for an argument of 1.0L.
51986 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51987 Likewise.
51988 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51989 value when x - 1 is zero.
51990 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51991 * sysdeps/i386/fpu/libm-test-ulps: Update.
51992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51993
519942014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51995
51996 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51997 alphasort and versionsort.
51998
519992014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52000
52001 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
52002 macro.
52003 [copysignf]: Likewise.
52004
520052014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
52006
52007 * crypt/md5-crypt.c: Fix formatting.
52008
520092014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
52010
52011 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
52012 (b64_from_24bit): New function.
52013
520142014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52015
52016 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
52017 libc_hidden_builtin_def to ifunc.
52018 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52019 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
52020
520212014-05-21 Roland McGrath <roland@hack.frob.com>
52022
52023 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
52024 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
52025
520262014-05-21 Joseph Myers <joseph@codesourcery.com>
52027
52028 * nscd/Depend (linuxthreads): Remove.
52029 (nptl): Add.
52030 * resolv/Depend (linuxthreads): Remove.
52031 * rt/Depend (linuxthreads): Remove.
52032
52033 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
52034 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
52035 $(common-objpfx)elf/.
52036 (link-libc-before-gnulib): Likewise.
52037 (elfobjdir): Remove variable.
52038 * Makefile (install): Use $(elf-objpfx) instead of
52039 $(common-objpfx)elf/.
52040 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
52041 $(elfobjdir)/.
52042 (link-libc-deps): Likewise.
52043 ($(common-objpfx)libc.so): Likewise.
52044 ($(common-objpfx)linkobj/libc.so): Likewise.
52045 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
52046 instead of $(common-objpfx)elf/.
52047 (symbolic-link-list): Likewise.
52048 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
52049 [$(cross-compiling) = no]: Likewise.
52050 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
52051 $(elfobjdir)/.
52052 (static-gnulib-arch): Likewise.
52053 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
52054 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
52055 $(common-objpfx)elf/.
52056
520572014-05-21 Richard Henderson <rth@redhat.com>
52058
52059 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
52060 (SINGLE_THREAD_P): Use the correct width load. Fold
52061 into the ldr offset.
52062
52063 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
52064 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
52065
520662014-05-20 Joseph Myers <joseph@codesourcery.com>
52067
52068 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
52069 (libgcc_s_resume): Use __attribute_used__.
52070 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
52071 Likewise.
52072
520732014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52074
52075 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
52076 optimization when used with float constants.
52077
52078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52079
520802014-05-20 Aurelien Jarno <aurelien@aurel32.net>
52081
52082 [BZ #16915]
52083 * locale/nl_langinfo_l.c: Make direct reference to every
52084 _nl_current_CATEGORY symbol.
52085 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
52086 (tests-static): Add tst-langinfo-static.
52087 (tests-special): Add tst-langinfo-static.out.
52088 ($(objpfx)tst-langinfo.out): Redirect output.
52089 ($(objpfx)tst-langinfo-static.out): New.
52090 * localedata/tst-langinfo.sh: Send output to stdout.
52091 * localedata/tst-langinfo-static.c: New file.
52092
52093 [BZ #16965]
52094 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
52095 when the shift amount is modulo the limb size.
52096
520972014-05-20 Richard Henderson <rth@redhat.com>
52098
52099 [BZ #16967]
52100 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
52101 Change type of sa_flags from unsigned int to int.
52102
52103 [BZ #16966]
52104 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
52105
52106 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
52107
521082014-05-20 Will Newton <will.newton@linaro.org>
52109
52110 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
52111 Test the return value of the system call in the nocancel case.
52112
521132014-05-20 Will Newton <will.newton@linaro.org>
52114 Yvan Roux <yvan.roux@linaro.org>
52115
52116 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
52117 #include of asm/ptrace.h.
52118 (PTRACE_GET_THREAD_AREA): Remove #undef.
52119 (PTRACE_GETHBPREGS): Likewise.
52120 (PTRACE_SETHBPREGS): Likewise.
52121 (struct user_regs_struct): New structure.
52122 (struct user_fpsimd_struct): New structure.
52123 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
52124 #include of asm/ptrace.h and second #include of sys/user.h.
52125 (PTRACE_GET_THREAD_AREA): Remove #undef.
52126 (PTRACE_GETHBPREGS): Likewise.
52127 (PTRACE_SETHBPREGS): Likewise.
52128 (ELF_NGREG): Use new struct user_regs_struct.
52129 (elf_fpregset_t): Use new struct user_fpsimd_struct.
52130
521312014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52132
52133 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
52134 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
52135
521362014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
52137
52138 [BZ #16958]
52139 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
52140 membar to avoid block loads/stores to overlap previous stores.
52141
521422014-05-17 Richard Henderson <rth@redhat.com>
52143
52144 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
52145 Create the __##syscall_name##_nocancel entry point.
52146 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
52147 Remove; let the sysdep-cancel.h code create it.
52148
521492014-05-17 David S. Miller <davem@davemloft.net>
52150
52151 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
52152 Protect with __USE_GNU.
52153 (TIOCSET_TEMPT): Likewise.
52154 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
52155 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
52156 these are already provided in bits/ioctl-types.h
52157
521582014-05-16 Roland McGrath <roland@hack.frob.com>
52159
52160 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
52161 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
52162
52163 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
52164 Use wait4 regardless of [__NR_waitpid].
52165
521662014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
52167
52168 PR libgcc/60166
52169 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52170 (_FP_NANSIGN_Q): Set the quiet bit.
52171
521722014-05-16 Joseph Myers <joseph@codesourcery.com>
52173
52174 * benchtests/Makefile
52175 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
52176 not $(common-objpfx)math/libm.so.
52177 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
52178 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
52179 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
52180 $(common-objpfx)dlfcn/libdl.so.
52181 ($(objpfx)tst-audit8): Depend on $(libm), not
52182 $(common-objpfx)math/libm.so.
52183 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52184 not $(common-objpfx)dlfcn/libdl.so.
52185 * math/Makefile
52186 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52187 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
52188 [$(build-shared) = yes].
52189 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52190 $(common-objpfx)nptl/libpthread.so.
52191 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52192 $(common-objpfx)math/libm.so$(libm.so-version) or
52193 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52194 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52195 $(common-objpfx)dlfcn/libdl.so.
52196 * setjmp/Makefile (link-libm): Remove variable.
52197 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52198 * stdio-common/Makefile (link-libm): Remove variable.
52199 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52200 * stdlib/Makefile (link-libm): Remove variable.
52201 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52202 ($(objpfx)tst-strtod-round): Likewise.
52203 ($(objpfx)tst-tininess): Likewise.
52204 ($(objpfx)tst-strtod-underflow): Likewise.
52205 ($(objpfx)tst-strtod6): Likewise.
52206 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52207 $(libdl), not $(common-objpfx)nptl/libpthread.so and
52208 $(common-objpfx)dlfcn/libdl.so.
52209
522102014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52211
52212 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52213 BSD terminal modes definitions.
52214
522152014-05-16 Roland McGrath <roland@hack.frob.com>
52216
52217 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52218 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52219
52220 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52221 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52222 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52223 Don't do #include_next.
52224 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52225 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52226 Don't do #include_next.
52227 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52228 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52229 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52230 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52231
522322014-05-16 Allan McRae <allan@archlinux.org>
52233
52234 * po/sv.po: Update Swedish translation from translation project.
52235
52236 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52237 in sed expression.
52238
522392014-05-16 Aurelien Jarno <aurelien@aurel32.net>
52240
52241 [BZ #16917]
52242 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52243 errno if the TIOCGPTN ioctl fails with an error different than
52244 EINVAL.
52245 * login/tst-ptsname.c: New file.
52246 * login/Makefile (tests): Add tst-ptsname.
52247
52248 [BZ #16943]
52249 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52250 and prlimit64.
52251
522522014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52253
52254 [BZ #16849]
52255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52256 herrno to return EAI_AGAIN.
52257
522582014-05-14 Roland McGrath <roland@hack.frob.com>
52259
52260 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52261 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52262 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52263 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52264 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52265 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52266 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52267 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52269 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52270 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52271 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52272 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52273 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52274 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52275 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52276 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52277 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52278 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52279 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52280 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52281 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52282 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52283 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52284 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52285 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52286 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52287 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52288 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52289 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52291 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52293 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52295 Moved ...
52296 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52298 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52300 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52302 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52304 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52306 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52308 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52310 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52312 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52314 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52316 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52318 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52320 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52322 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52324 Moved ...
52325 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52327 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52329 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52331 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52333 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52335 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52337 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52339 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52341 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52343 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52345 Moved ...
52346 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52348 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52349
52350 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52351 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52352 (libpthread-sysdep_routines): Add elision-related stuff here instead.
52353 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52354 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52355 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52356 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52357 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52358 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52359 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52360 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52361 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52362 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52363 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52364 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52365 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52366 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52367 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52368 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52369 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52370 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52371 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52372 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52373 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52374 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52375 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52376 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52377 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52378 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52379 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52380 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52381
52382 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52383 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52384
52385 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52386 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52387 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52388 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52389 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52390 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52391 Moved ...
52392 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52393 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52394 Moved ...
52395 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52397 Moved ...
52398 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52399 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52400 Moved ...
52401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52402 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52403 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52404 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52405 Moved ...
52406 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52407 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52408 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52409 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52410 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52411 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52412 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52413 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52414 Moved ...
52415 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52416 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52417 Moved ...
52418 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52419 ... here.
52420 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52421 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52422 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52423 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52424 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52425 Moved ...
52426 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52427 ... here.
52428 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52429 Moved ...
52430 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52431 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52432 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52433 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52434 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52435 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52436 Moved ...
52437 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52438 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52439 Moved ...
52440 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52442 Moved ...
52443 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52444 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52445 Moved ...
52446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52447 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52448 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52449 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52450 Moved ...
52451 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52452 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52453 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52454 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52455 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52456 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52457 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52458 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52459 Moved ...
52460 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52461 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52462 Moved ...
52463 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52464 ... here.
52465 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52466 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52467 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52468 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52469 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52470 Moved ...
52471 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52472 ... here.
52473 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52474 Moved ...
52475 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52476 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52477 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52478 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52479 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52480 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52481 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52482 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52483 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52484 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52485 Moved ...
52486 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52488 Moved ...
52489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52490 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52491 Moved ...
52492 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52493 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52494 Moved ...
52495 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52496 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52497 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52498 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52499 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52500 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52501 Moved ...
52502 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52503 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52504 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52505 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52506 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52507 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52508 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52509 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52510 Moved ...
52511 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52512 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52513 Moved ...
52514 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52515 ... here.
52516 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52517 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52518 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52519 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52520 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52521 Moved ...
52522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52523 ... here.
52524 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52525 Moved ...
52526 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52527 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52528 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52529 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52530 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52531 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52532 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52533 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52534 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52535 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52536 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52537
52538 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52539 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52540
52541 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52542 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52543
52544 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52545 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52546 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52547 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52548 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52549 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52550 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52551 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52552 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52553 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52554 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52555 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52556 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52557 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52558 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52560 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52562 Moved ...
52563 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52565 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52567 Moved ...
52568 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52570 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52571 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52572 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52573 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52574 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52575 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52576 Moved ...
52577 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52578 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52579 Moved ...
52580 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52581 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52582 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52584 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52585 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52586 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52587 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52588 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52589 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52590 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52591 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52592 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52593 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52594 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52595 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52596 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52597
52598 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52599 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52600 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52601 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52602 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52603
52604 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52605 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52606 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52607 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52608 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52609 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52610 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52611 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52612 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52613 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52614
52615 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52616 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52617
52618 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52619 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52620 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52621 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52622 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52623 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52624 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52625 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52626 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52627 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52628 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52629 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52630 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52631 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52633 Update #include.
52634 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52635 Likewise.
52636 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52637 Likewise.
52638 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52639 Likewise.
52640 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52641 Likewise.
52642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52643 Likewise.
52644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52645 Likewise.
52646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52647 Likewise.
52648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52649 Likewise.
52650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52651 Likewise.
52652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52653 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52654 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52655 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52656 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52657 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52658 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52659 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52660 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52661 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52662 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52663 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52664 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52665 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52666 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52667
52668 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52669 that was previously under [RESET_PID].
52670 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52671 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52672 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52673
52674 * sysdeps/i386/nptl/Implies: New file.
52675 * sysdeps/x86_64/nptl/Implies: New file.
52676 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52677 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52678 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52679 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52680
52681 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52682 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52683 (__libc_vfork): New strong alias.
52684 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52685 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52686
52687 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52688 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52689 (__libc_vfork): New strong alias.
52690 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52691 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52692
52693 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52694 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52695 (__libc_vfork): New strong alias.
52696 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52697 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52698 * nptl/pt-vfork.c: New file.
52699 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52700 (libpthread: GLIBC_2.20): New version set (empty).
52701
527022014-05-14 Will Newton <will.newton@linaro.org>
52703
52704 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52705 rather than #if.
52706
527072014-05-14 Joseph Myers <joseph@codesourcery.com>
52708
52709 [BZ #16564]
52710 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52711 arguments with exponent 65 or above.
52712 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52713 arguments 0x1p113L or above.
52714 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52715 to arguments 0x1p107L or above.
52716 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52717 positive arguments with exponent 65 or above.
52718 * math/auto-libm-test-in: Add more tests of log1p.
52719 * math/auto-libm-test-out: Regenerated.
52720
52721 [BZ #16928]
52722 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52723 non-finite arguments is +0.
52724 * math/s_cacosf.c (__cacosf): Likewise.
52725 * math/s_cacosl.c (__cacosl): Likewise.
52726 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52727 * sysdeps/i386/fpu/libm-test-ulps: Update.
52728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52729
52730 [BZ #16927]
52731 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52732 value.
52733 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52734 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52735 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52736 for explicit high bit of mantissa when testing for argument equal
52737 to 1.
52738 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52739 * sysdeps/i386/fpu/libm-test-ulps: Update.
52740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52741
52742 [BZ #16516]
52743 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52744 (__erf): Scale by 16 instead of 8 in potentially underflowing
52745 case. Ensure exception if result actually underflows.
52746 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52747 (__erff): Scale by 16 instead of 8 in potentially underflowing
52748 case. Ensure exception if result actually underflows.
52749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52750 (efx8): Remove variable.
52751 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52752 case. Ensure exception if result actually underflows.
52753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52754 (efx8): Remove variable.
52755 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52756 case. Ensure exception if result actually underflows.
52757 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52758 (efx8): Remove variable.
52759 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52760 case. Ensure exception if result actually underflows.
52761 * math/auto-libm-test-in: Add more tests of erf.
52762 * math/auto-libm-test-out: Regenerated.
52763
527642014-05-14 Andreas Schwab <schwab@suse.de>
52765
52766 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52767 Remove code conditionalized on USE___THREAD.
52768
52769 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52770 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52771 not definedness.
52772
527732014-05-14 Joseph Myers <joseph@codesourcery.com>
52774
52775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52776 Define unconditionally.
52777 (__ASSUME_O_CLOEXEC): Likewise.
52778 (__ASSUME_SOCK_CLOEXEC): Likewise.
52779 (__ASSUME_IN_NONBLOCK): Likewise.
52780 (__ASSUME_PIPE2): Likewise.
52781 (__ASSUME_EVENTFD2): Likewise.
52782 (__ASSUME_SIGNALFD4): Likewise.
52783 (__ASSUME_DUP3): Likewise.
52784 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52785 (__ASSUME_DUP3): Do not define.
52786 (__ASSUME_EVENTFD2): Likewise.
52787 (__ASSUME_IN_NONBLOCK): Likewise.
52788 (__ASSUME_O_CLOEXEC): Likewise.
52789 (__ASSUME_PIPE2): Likewise.
52790 (__ASSUME_SIGNALFD4): Likewise.
52791 (__ASSUME_SOCK_CLOEXEC): Likewise.
52792 (__ASSUME_UTIMES): Undefine.
52793 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52794 (__ASSUME_UTIMES): Do not define.
52795 (__ASSUME_O_CLOEXEC): Likewise.
52796 (__ASSUME_SOCK_CLOEXEC): Likewise.
52797 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52798 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52799 0x020621].
52800 (__ASSUME_PIPE2): Likewise.
52801 (__ASSUME_EVENTFD2): Likewise.
52802 (__ASSUME_SIGNALFD4): Likewise.
52803 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52804 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52805 Do not define.
52806 (__ASSUME_EVENTFD2): Likewise.
52807 (__ASSUME_SIGNALFD4): Likewise.
52808 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52809 (__ASSUME_32BITUIDS): Likewise.
52810 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52811 (__ASSUME_IPC64): Likewise.
52812 (__ASSUME_ST_INO_64_BIT): Likewise.
52813 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52814 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52815 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52816 (__ASSUME_UTIMES): Do not define.
52817 (__ASSUME_PSELECT): Likewise.
52818 (__ASSUME_PPOLL): Likewise.
52819 (__ASSUME_O_CLOEXEC): Likewise.
52820 (__ASSUME_SOCK_CLOEXEC): Likewise.
52821 (__ASSUME_IN_NONBLOCK): Likewise.
52822 (__ASSUME_PIPE2): Likewise.
52823 (__ASSUME_EVENTFD2): Likewise.
52824 (__ASSUME_SIGNALFD4): Likewise.
52825 (__ASSUME_DUP3): Likewise.
52826 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52827 (__ASSUME_UTIMES): Likewise.
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 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52836 (__ASSUME_UTIMES): Likewise.
52837 (__ASSUME_O_CLOEXEC): Likewise.
52838 (__ASSUME_SOCK_CLOEXEC): Likewise.
52839 (__ASSUME_IN_NONBLOCK): Likewise.
52840 (__ASSUME_PIPE2): Likewise.
52841 (__ASSUME_EVENTFD2): Likewise.
52842 (__ASSUME_SIGNALFD4): Likewise.
52843 (__ASSUME_DUP3): Likewise.
52844 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52845 Likewise.
52846 (__ASSUME_UTIMES): Likewise.
52847 (__ASSUME_EVENTFD2): Likewise.
52848 (__ASSUME_SIGNALFD4): Likewise.
52849 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52850 (__ASSUME_O_CLOEXEC): Likewise.
52851 (__ASSUME_SOCK_CLOEXEC): Likewise.
52852 (__ASSUME_IN_NONBLOCK): Likewise.
52853 (__ASSUME_PIPE2): Likewise.
52854 (__ASSUME_EVENTFD2): Likewise.
52855 (__ASSUME_SIGNALFD4): Likewise.
52856 (__ASSUME_DUP3): Likewise.
52857 (__ASSUME_UTIMES): Undefine.
52858
52859 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52860 feclearexcept. Remove symbol versioning code.
52861 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52862 symbol versioning code.
52863 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52864 symbol versioning code.
52865 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52866 feupdateenv. Remove symbol versioning code.
52867 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52868 fegetexceptflag. Remove symbol versioning code.
52869 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52870 fesetexceptflag. Remove symbol versioning code.
52871 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52872 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52873 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52874 (__posix_fadvise64_l32): Remove prototype.
52875 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52876 code.
52877
528782014-05-13 Roland McGrath <roland@hack.frob.com>
52879
52880 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52881 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52882 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52883 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52884
528852014-05-13 Sami Kerola <kerolasa@iki.fi>
52886
52887 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52888 current working directory
52889
528902014-05-13 Roland McGrath <roland@hack.frob.com>
52891
52892 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52893 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52894 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52895 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52896 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52897 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52898 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52899 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52900 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52901 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52902 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52903 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52904 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52905 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52906 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52907 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52908 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52909 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52910 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52911 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52912 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52913 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52914 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52915 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52916 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52917 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52918 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52919 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52920 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52921 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52922 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52923 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52924 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52925 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52926 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52927 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52928 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52929 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52930 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52931 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52932 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52933 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52934
52935 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52936 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52937
52938 * sysdeps/unix/sysv/linux/arm/Makefile
52939 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52940 Add rt-aeabi_unwind_cpp_pr1.
52941 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52942 Add nptl-aeabi_unwind_cpp_pr1.
52943 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52944 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52945 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52946 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52947 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52948 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52949
52950 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52951 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52952 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52953 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52954
52955 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52956 Deconditionalize the code that was previously under [RESET_PID].
52957 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52958
52959 * sysdeps/generic/exit-thread.h: New file.
52960 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52961 * include/unistd.h (__exit_thread): Remove declaration.
52962 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52963 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52964 * csu/libc-start.c: Include <exit-thread.h>.
52965 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52966 * nptl/pthread_create.c: Include <exit-thread.h>.
52967 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52968 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52969 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52970 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52971 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52972 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52973 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52974 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52975 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52976 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52977 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52978 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52979 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52980 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52981 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52982 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52983 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52984
529852014-05-13 Andreas Schwab <schwab@suse.de>
52986
52987 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52988
529892014-05-12 Joseph Myers <joseph@codesourcery.com>
52990
52991 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52992 (__ASSUME_UTIMES): Do not condition on kernel version.
52993 (__ASSUME_PSELECT): Define unconditionally.
52994 (__ASSUME_PPOLL): Likewise.
52995 (__ASSUME_ATFCTS): Likewise.
52996 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52997 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52998 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52999 (__ASSUME_UTIMENSAT): Define unconditionally.
53000 (__ASSUME_PRIVATE_FUTEX): Likewise.
53001 (__ASSUME_FALLOCATE): Likewise.
53002 (__ASSUME_O_CLOEXEC): Likewise.
53003 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
53004 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
53005 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
53006 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
53007 (__ASSUME_IN_NONBLOCK): Likewise.
53008 (__ASSUME_PIPE2): Likewise.
53009 (__ASSUME_EVENTFD2): Likewise.
53010 (__ASSUME_SIGNALFD4): Likewise.
53011 (__ASSUME_DUP3): Likewise.
53012 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53013 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
53014 (__ASSUME_AT_RANDOM): Likewise.
53015 (__ASSUME_PREADV): Likewise.
53016 (__ASSUME_PWRITEV): Likewise.
53017 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
53018 (__ASSUME_F_GETOWN_EX): Define unconditionally.
53019 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
53020 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53021 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
53022 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53023 (__ASSUME_O_CLOEXEC): Define unconditionally.
53024 (__ASSUME_PSELECT): Do not undefine conditionally.
53025 (__ASSUME_PPOLL): Likewise.
53026 (__ASSUME_ATFCTS): Likewise.
53027 (__ASSUME_SET_ROBUST_LIST): Likewise.
53028 (__ASSUME_UTIMENSAT): Likewise.
53029 (__ASSUME_FDATASYNC): Define unconditionally.
53030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53031 (__ASSUME_SIGFRAME_V2): Likewise.
53032 )__ASSUME_EVENTFD2): Likewise.
53033 (__ASSUME_SIGNALFD4): Likewise.
53034 (__ASSUME_PSELECT): Do not undefine conditionally.
53035 (__ASSUME_PPOLL): Likewise.
53036 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53037 (__ASSUME_PSELECT): Define unconditionally.
53038 (__ASSUME_PPOLL): Likewise.
53039 (__ASSUME_O_CLOEXEC): Likewise.
53040 (__ASSUME_SOCK_CLOEXEC): Likewise.
53041 (__ASSUME_IN_NONBLOCK): Likewise.
53042 (__ASSUME_PIPE2): Likewise.
53043 (__ASSUME_EVENTFD2): Likewise.
53044 (__ASSUME_SIGNALFD4): Likewise.
53045 (__ASSUME_DUP3): Likewise.
53046 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53047 (__ASSUME_O_CLOEXEC): Likewise.
53048 (__ASSUME_SOCK_CLOEXEC): Likewise.
53049 (__ASSUME_IN_NONBLOCK): Likewise.
53050 (__ASSUME_PIPE2): Likewise.
53051 (__ASSUME_EVENTFD2): Likewise.
53052 (__ASSUME_SIGNALFD4): Likewise.
53053 (__ASSUME_DUP3): Likewise.
53054 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53055 (__ASSUME_EVENTFD2): Likewise.
53056 (__ASSUME_SIGNALFD4): Likewise.
53057 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53058
530592014-05-12 Andreas Schwab <schwab@suse.de>
53060
53061 [BZ #16932]
53062 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
53063 (_nss_nis_gethostbyname4_r): Return error if item length is larger
53064 than maximum RPC packet size.
53065 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
53066 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
53067 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
53068 (_nss_nis_getservbyport_r): Likewise.
53069
530702014-05-12 Will Newton <will.newton@linaro.org>
53071
53072 * malloc/Makefile (tests): Add tst-mallopt.
53073 * malloc/tst-mallopt.c: New file.
53074
530752014-05-09 Roland McGrath <roland@hack.frob.com>
53076
53077 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
53078 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
53079
530802014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53081
53082 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
53083 (tst-tlsmod6.so): Likewise.
53084
530852014-05-09 Roland McGrath <roland@hack.frob.com>
53086
53087 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
53088
530892014-05-09 Joseph Myers <joseph@codesourcery.com>
53090
53091 [BZ #16064]
53092 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
53093 and <dl-procinfo.h>.
53094 (__fegetenv): Save SSE state in envp->__eip if supported.
53095 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
53096 envp->__eip if supported.
53097 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
53098 and <dl-procinfo.h>.
53099 (__fesetenv): Always set __eip, __cs_selector, __opcode,
53100 __data_offset and __data_selector in environment to 0. Set SSE
53101 state if supported.
53102 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
53103 test-fenv-sse.
53104 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
53105 -mfpmath=sse.
53106 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
53107
531082014-05-09 Will Newton <will.newton@linaro.org>
53109
53110 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
53111 and libc_relro_required for ARM.
53112 * sysdeps/arm/preconfigure: Regenerate.
53113
531142014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
53115 Stefan Liebler <stli@linux.vnet.ibm.com>
53116
53117 * config.make.in (enable-lock-elision): New Makefile variable.
53118 * configure.ac: Likewise.
53119 * configure: Regenerate.
53120 * sysdeps/s390/configure.ac:
53121 Add check for gcc transactions support.
53122 * sysdeps/s390/configure: Regenerate.
53123 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
53124 Build elision files if enabled.
53125 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
53126 Add lock elision support for s390.
53127 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
53128 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
53129 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
53130 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
53131 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
53132 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
53133 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
53134 Likewise.
53135 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
53136 Likewise.
53137 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
53138 Likewise.
53139 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
53140 Likewise.
53141 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
53142 (__lll_timedlock_elision, __lll_lock_elision)
53143 (__lll_unlock_elision, __lll_trylock_elision)
53144 (lll_timedlock_elision, lll_lock_elision)
53145 (lll_unlock_elision, lll_trylock_elision): Add.
53146 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53147 (pthread_mutex_t): Add lock elision support for s390.
53148
531492014-05-14 Wilco <wdijkstr@arm.com>
53150
53151 * sysdeps/arm/fclrexcpt.c: Cleanup.
53152 * sysdeps/arm/fedisblxcpt.c: Cleanup.
53153 * sysdeps/arm/feenablxcpt.c: Cleanup.
53154 * sysdeps/arm/fegetenv.c: Cleanup.
53155 * sysdeps/arm/fegetexcept.c: Cleanup.
53156 * sysdeps/arm/fegetround.c: Cleanup.
53157 * sysdeps/arm/feholdexcpt.c: Cleanup.
53158 * sysdeps/arm/fesetenv.c: Cleanup.
53159 * sysdeps/arm/fesetround.c: Cleanup.
53160 * sysdeps/arm/feupdateenv.c: Cleanup.
53161 * sysdeps/arm/fgetexcptflg.c: Cleanup.
53162 * sysdeps/arm/fraiseexcpt.c: Cleanup.
53163 * sysdeps/arm/fsetexcptflg.c: Cleanup.
53164 * sysdeps/arm/ftestexcept.c: Cleanup.
53165 * sysdeps/arm/get-rounding-mode.h: Cleanup.
53166 * sysdeps/arm/setfpucw.c: Cleanup.
53167
531682014-05-09 Will Newton <will.newton@linaro.org>
53169
53170 * sysdeps/arm/armv7/strcmp.S: New file.
53171 * NEWS: Mention addition of ARMv7 optimized strcmp.
53172
531732014-05-08 Roland McGrath <roland@hack.frob.com>
53174
53175 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
53176 look for %.ac rather than %.in.
53177
53178 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
53179 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
53180 * sysdeps/mach/hurd/configure: Regenerated.
53181 * sysdeps/unix/sysv/linux/configure: Regenerated.
53182
53183 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53184
531852014-05-07 Steve Ellcey <sellcey@mips.com>
53186
53187 [BZ #16922]
53188 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53189 (LONG_SUB): Ditto.
53190 (PTR_SUB): Ditto.
53191
531922014-05-07 Andreas Schwab <schwab@suse.de>
53193
53194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53195 when skipping over non-matching result from nscd.
53196
531972014-05-07 Ondřej Bílka <neleai@seznam.cz>
53198
53199 [BZ #16876]
53200 * nptl/sockperf.c (client): Check socket return value.
53201
53202 [BZ #16877]
53203 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53204 nscd security class.
53205
532062014-05-06 Roland McGrath <roland@hack.frob.com>
53207
53208 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53209 * sysdeps/arm/unwind.h: ... here.
53210
532112014-05-06 Aurelien Jarno <aurelien@aurel32.net>
53212
53213 [BZ #16916]
53214 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53215 Define.
53216
532172014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53218
53219 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53220 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53221 multiarch strncpy for PPC64.
53222 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53223 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53225 multiarch optimizations.
53226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53227 (__libc_ifunc_impl_list): Likewise.
53228 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53229 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53230 multiarch stpncpy for PPC64.
53231 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53232 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53233
532342014-05-06 Andreas Schwab <schwab@suse.de>
53235
53236 [BZ #16912]
53237 * gmon/mcount.c (_MCOUNT_DECL): Use
53238 atomic_compare_and_exchange_bool_acq instead of
53239 catomic_compare_and_exchange_bool_acq.
53240
532412014-05-05 Roland McGrath <roland@hack.frob.com>
53242
53243 * elf/Makefile (others, install-bin): Remove pldd.
53244 (pldd-modules): Variable removed.
53245 ($(objpfx)pldd): Target removed.
53246 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53247 (others, install-bin): Append pldd here.
53248 ($(objpfx)pldd): New target.
53249
53250 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53251 to 0, so the first #if test emitted later doesn't see it undefined.
53252 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53253 * sysdeps/gnu/errlist.c: Regenerated.
53254
532552014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53256
53257 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53258 [libc_hidden_builtin_def]: Define to empty value.
53259 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53260 [libc_hidden_builtin_def]: Likewise.
53261 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53262 [libc_hidden_builtin_def]: Likewise.
53263 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53264 [libc_hidden_builtin_def]: Likewise.
53265 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53266 __redirect_memcpy and define ifunc as default hidden symbol.
53267 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53268 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53269
532702014-05-04 Adam Conrad <adconrad@0c3.net>
53271
53272 * locale/iso-4217.def: Reintroduce XDR currency.
53273
532742014-05-04 Allan McRae <allan@archlinux.org>
53275
53276 * po/eo.po: Update Esperanto translation from translation project.
53277
532782014-05-02 Carlos O'Donell <carlos@redhat.com>
53279
53280 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53281 and FEATURE_INDEX_MAX to 1.
53282 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53283
532842014-05-01 Steve Ellcey <sellcey@mips.com>
53285
53286 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53287 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53288 * iconvdata/big5.c (ONE_DIRECTION): Define.
53289 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53290 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53291 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53292 * iconvdata/cp932.c (ONE_DIRECTION): Define.
53293 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53294 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53295 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53296 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53297 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53298 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53299 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53300 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53301 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53302 * iconvdata/gbk.c (ONE_DIRECTION): Define.
53303 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53304 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53305 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53306 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53307 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53308 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53309 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53310 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53311 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53312 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53313 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53314 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53315 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53316 * iconvdata/iso646.c (ONE_DIRECTION): Define.
53317 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53318 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53319 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53320 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53321 * iconvdata/johab.c (ONE_DIRECTION): Define.
53322 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53323 * iconvdata/sjis.c (ONE_DIRECTION): Define.
53324 * iconvdata/t.61.c (ONE_DIRECTION): Define.
53325 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53326 * iconvdata/tscii.c (ONE_DIRECTION): Define.
53327 * iconvdata/uhc.c (ONE_DIRECTION): Define.
53328 * iconvdata/unicode.c (ONE_DIRECTION): Define.
53329 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53330 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53331 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53332
533332014-05-01 Roland McGrath <roland@hack.frob.com>
53334
53335 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53336 (_IO_JUMPS_OFFSET): Define to 0.
53337
53338 * nptl/sysdeps/pthread/bits/libc-lock.h
53339 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53340 (__libc_lock_define_initialized_recursive): Always define using
53341 initializer. Modern compilers treat uninitialized (implicit zero) and
53342 explicit zero initializers the same (i.e. put the datum in bss).
53343
533442014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53345
53346 * nscd/nscd-client.h: Include <string.h>.
53347
533482014-05-01 David S. Miller <davem@davemloft.net>
53349
53350 [BZ #16885]
53351 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53352 multiple zero bytes exist at the end of a string.
53353 Reported by Aurelien Jarno <aurelien@aurel32.net>
53354
53355 * string/test-strcmp.c (check): Add explicit test for situations where
53356 there are multiple zero bytes after the first.
53357
533582014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53359
53360 [BZ #16890]
53361 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53362 when compiling wprintf.
53363 * stdio-common/tstdiomisc.c (t3): New function.
53364 (main): Call it.
53365
533662014-05-01 Steve Ellcey <sellcey@mips.com>
53367
53368 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53369 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53370 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53371 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53372
533732014-05-01 Steve Ellcey <sellcey@mips.com>
53374
53375 * stdlib/longlong.h: Updated from GCC.
53376
533772014-05-01 Will Newton <will.newton@linaro.org>
53378 Bernard Ogden <bernie.ogden@linaro.org>
53379
53380 * NEWS: Update fixed bug list.
53381
53382 [BZ #15119]
53383 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53384
533852014-04-30 David S. Miller <davem@davemloft.net>
53386
53387 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53388 (libc_feholdexcept_setround_sparc_ctx): New function.
53389 (libc_fesetenv_sparc_ctx): Likewise.
53390 (libc_feupdateenv_sparc_ctx): Likewise.
53391 (libc_feholdsetround_sparc_ctx): Likewise.
53392 (libc_feholdexcept_setround_ctx): Define.
53393 (libc_feholdexcept_setroundf_ctx): Likewise.
53394 (libc_feholdexcept_setroundl_ctx): Likewise.
53395 (libc_fesetenv_ctx): Likewise.
53396 (libc_fesetenvf_ctx): Likewise.
53397 (libc_fesetenvl_ctx): Likewise.
53398 (libc_feupdateenv_ctx): Likewise.
53399 (libc_feupdateenvf_ctx): Likewise.
53400 (libc_feupdateenvl_ctx): Likewise.
53401 (libc_feresetround_ctx): Likewise.
53402 (libc_feresetroundf_ctx): Likewise.
53403 (libc_feresetroundl_ctx): Likewise.
53404 (libc_feholdsetround_ctx): Likewise.
53405 (libc_feholdsetroundf_ctx): Likewise.
53406 (libc_feholdsetroundl_ctx): Likewise.
53407
53408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53409 with __USE_GNU instead of XOPEN cpp guards.
53410
53411 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53412 0.
53413
53414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53415 with XOPEN cpp guards.
53416
534172014-04-30 Julian Brown <julian@codesourcery.com>
53418
53419 [BZ #16888]
53420 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53421 handling.
53422
534232014-04-30 Joseph Myers <joseph@codesourcery.com>
53424
53425 [BZ #9894]
53426 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53427 Change to 2.6.32.
53428 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53429 * sysdeps/unix/sysv/linux/configure: Regenerated.
53430 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53431 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53432 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53433 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53434 * README: Update reference to required Linux kernel version.
53435 * manual/install.texi (Linux): Update reference to required Linux
53436 kernel headers version.
53437 * INSTALL: Regenerated.
53438
53439 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53440 header inclusion.
53441 [POSIX] (limits.h): Likewise.
53442 [POSIX] (math.h): Likewise.
53443 [POSIX] (sys/wait.h): Likewise.
53444 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53445 function.
53446 [POSIX] (stddef.h): Do not allow header inclusion.
53447
534482014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53449
53450 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53451
534522014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53453
53454 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53455 Return immediately after lll_futex_wake.
53456
534572014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53458
53459 [BZ #16791]
53460 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53461 structure.
53462 (datahead_init_pos): Call datahead_init_common early.
53463 (datahead_init_neg): Likewise.
53464
53465 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53466 datahead_init_neg): New functions.
53467 * nscd/aicache.c (addhstaiX): Use them.
53468 * nscd/grpcache.c (cache_addgr): Likewise.
53469 * nscd/hstcache.c (cache_addhst): Likewise.
53470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53471 * nscd/netgroupcache.c (do_notfound): Likewise.
53472 (addgetnetgrentX): Likewise.
53473 (addinnetgrX): Likewise.
53474 * nscd/pwdcache.c (cache_addpw): Likewise.
53475 * nscd/servicescache.c (cache_addserv): Likewise.
53476
534772014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53478 Atsushi Onoe <atsushi@onoe.org>
53479
53480 [BZ #14308]
53481 [BZ #12994]
53482 [BZ #13651]
53483 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53484 one response is valid.
53485 * resolv/res_send.c (send_dg): Check for validity of other
53486 response if the current response is a referral.
53487
534882014-04-29 Steve Ellcey <sellcey@mips.com>
53489
53490 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53491
534922014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53493
53494 [BZ #16823]
53495 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53496 Always divide by positive zero when computing -Inf result.
53497 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53498 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53499
535002014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53501
53502 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53503 FPSCR if value do not change.
53504 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53505 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53506 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53507 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53508 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53509 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53510 function.
53511
535122014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53513
53514 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53515 * sysdeps/unix/sysv/linux/hppa: Move directory from
53516 ports/systeps/unix/sysv/linux/hppa.
53517 * README: Update listing for hppa-*-linux-gnu.
53518
535192014-04-28 Ondřej Bílka <neleai@seznam.cz>
53520
53521 [BZ #16754]
53522 * manual/stdio.texi (Hook functions): Fix types of stream hook
53523 functions.
53524 [BZ #16854]
53525 * socket/sys/socket.h: Fix typo in comment.
53526
535272014-04-28 Wilco <wdijkstr@arm.com>
53528
53529 * sysdeps/arm/fenv_private.h: New file.
53530 * sysdeps/arm/math_private.h: New file.
53531 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53532
535332014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53534
53535 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53536 with __int128_t.
53537 (La_x86_64_retval): Likewise.
53538
535392014-04-24 Ian Bolton <ian.bolton@arm.com>
53540
53541 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53542 fpsr if value didn't change.
53543 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53544 to fpcr if value didn't change.
53545 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53546 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53547 fpsr or fpcr if value didn't change.
53548 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53549 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53550 fpcr if value didn't change.
53551 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53552 to fpsr if value didn't change.
53553
535542014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53555
53556 * nptl/tst-sem3.c: Use test-skeleton.c
53557 (main): Rename to do_test. Use return instead of
53558 exit.
53559 * nptl/tst-sem4.c: Use test-skeleton.c
53560 (main): Rename to do_test.
53561
535622014-04-22 David S. Miller <davem@davemloft.net>
53563
53564 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53565 (struct sigaction): New struct member __glibc_reserved0, change
53566 type of sa_flags to int.
53567
535682014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53569
53570 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53571 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53572
535732014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53574
53575 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53576 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53577
535782014-04-22 Will Newton <will.newton@linaro.org>
53579 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53580
53581 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53582 (__longjmp): Add longjmp and longjmp_target SystemTap
53583 probes.
53584 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53585 (__sigsetjmp): Add setjmp SystemTap probe.
53586
535872014-04-17 Carlos O'Donell <carlos@redhat.com>
53588
53589 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53590 match manual order.
53591
535922014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53593
53594 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53595
53596 * sysdeps/powerpc/fpu/fenv_private.h
53597 (libc_feholdexcept_setroundl_ctx): Define to
53598 libc_feholdexcept_setround_ppc_ctx.
53599 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53600 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53601 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53602 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53603
536042014-04-17 Ian Bolton <ian.bolton@arm.com>
53605
53606 * sysdeps/aarch64/math-tests.h: New file.
53607
536082014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53609
53610 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53611 New.
53612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53613 Check and set bit_AVX2_Usable.
53614 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53615 macro.
53616 (bit_AVX2): Likewise.
53617 (index_AVX2_Usable): Likewise.
53618 (CPUID_AVX2): Likewise.
53619 (HAS_AVX2): Likewise.
53620
536212014-04-17 Will Newton <will.newton@linaro.org>
53622
53623 * manual/setjmp.texi (System V contexts): Add note that
53624 calling setcontext on a context created by a call to a
53625 signal handler is undefined. Update text to note that
53626 setcontext from a signal handler is possible but not
53627 recommended.
53628
53629 [BZ #16629]
53630 * stdlib/tst-setcontext.c: Include signal.h.
53631 (main): Check that the signal stack before and
53632 after swapcontext is the same.
53633
53634 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53635 Re-implement to restore registers in user code and avoid
53636 rt_sigreturn system call.
53637
536382014-04-17 Wilco <wdijkstr@arm.com>
53639
53640 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53641 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53642 * math/test-fenv.c: Skip exception trap tests on targets which only
53643 support non-stop mode.
53644
536452014-04-17 Ian Bolton <ian.bolton@arm.com>
53646 Wilco Dijkstra <wilco.dijkstra@arm.com>
53647
53648 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53649 (libc_feholdsetround_aarch64_ctx)
53650 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53651 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53652 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53653 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53654 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53655 (libc_feresetround_noexl_ctx): Define.
53656
536572014-04-16 Richard Henderson <rth@redhat.com>
53658
53659 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53660
53661 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53662 unwind tables.
53663
53664 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53665 const from the non-libc, non-ldso copy.
53666
53667 * sysdeps/alpha/libm-test-ulps: Regenerate.
53668
536692014-04-16 Ian Bolton <ian.bolton@arm.com>
53670 Wilco Dijkstra <wilco.dijkstra@arm.com>
53671
53672 * sysdeps/aarch64/fpu/math_private.h: New file.
53673
536742014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53675
53676 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53677
536782014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53679
53680 [BZ #16275]
53681 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53682 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53684 Intel MPX bound registers before _dl_profile_fixup.
53685 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53686 registers after _dl_profile_fixup. Save and restore bound
53687 registers bnd0/bnd1 when calling _dl_call_pltexit.
53688 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53689 (LR_BND_OFFSET): Likewise.
53690 (LRV_BND0_OFFSET): Likewise.
53691 (LRV_BND1_OFFSET): Likewise.
53692
536932014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53694
53695 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53696 to...
53697 * sysdeps/mach/hurd/i386/tls.h: ... here.
53698 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53699 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53700 fields.
53701
537022014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53703
53704 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53705
537062014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53707
53708 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53709
537102014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53711
53712 [BZ #14770]
53713 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53714 * sysdeps/s390/configure: Regenerate.
53715
53716 [BZ #16824]
53717 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53718 Set round-to-nearest internally to reduce error accumulation.
53719
537202014-04-16 Alan Modra <amodra@gmail.com>
53721
53722 [BZ #16740]
53723 [BZ #16619]
53724 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53725 * math/libm-test.inc (frexp_test_data): Add tests.
53726 * NEWS: Update fixed bug list.
53727
537282014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53729
53730 * benchtests/Makefile: Depend on libraries in build directory.
53731 (bench-math): Separate out math tests.
53732 (bench-pthread): Separate out pthread tests.
53733 (bench): Include math and pthread tests.
53734
537352014-04-14 Carlos O'Donell <carlos@redhat.com>
53736
53737 [BZ #16831]
53738 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53739 _dl_debug_initialize.
53740
53741 * configure.ac: Remove SELinux header check.
53742 * configure: Regenerate.
53743 * nscd/selinux.c (perms): Array of const char* to permission names.
53744 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53745 default policy. Call string_to_security_class and string_to_av_perm to
53746 translate strings. Enforce default policy and call avs_has_perm with
53747 results of translated strings.
53748
537492014-04-13 David S. Miller <davem@davemloft.net>
53750
53751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53752
537532014-04-12 Allan McRae <allan@archlinux.org>
53754
53755 [BZ #16838]
53756 * manual/string.texi (Collation Functions): Fix qsort argument
53757 order in example.
53758 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53759
537602014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53761
53762 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53763 Make the test a no-op if there are no exceptions defined.
53764
537652014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53766
53767 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53768 enable-hardcoded-path-in-tests
53769
537702014-04-11 Will Newton <will.newton@linaro.org>
53771
53772 * benchtests/Makefile (extra-objs): Add json-lib.o.
53773 (bench-func): Tidy up JSON output.
53774 * benchtests/bench-skeleton.c: Include json-lib.h.
53775 (main): Use JSON library functions to do output of
53776 benchmark results.
53777 * benchtests/bench-timing-type.c (main): Output the
53778 timing type simply, leaving formatting to the user.
53779 * benchtests/json-lib.c: New file.
53780 * benchtests/json-lib.h: Likewise.
53781
537822014-04-11 Torvald Riegel <triegel@redhat.com>
53783
53784 [BZ #15215]
53785 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53786 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53787 memory barriers. Add comments.
53788 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53789 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53790 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53791 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53792 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53793 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53794
537952014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53796
53797 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53798 * sysdeps/s390/s390-64/configure.ac: ... this ...
53799 * sysdeps/s390/configure.ac: ... to here.
53800 * sysdeps/s390/s390-32/configure: Delete file.
53801 * sysdeps/s390/s390-64/configure: Delete file.
53802 * sysdeps/s390/configure: Regenerate.
53803
538042014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53805
53806 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53807
538082014-04-11 Will Newton <will.newton@linaro.org>
53809
53810 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53811 to zero if it is not defined elsewhere. (mtrim): Test
53812 the value of MALLOC_DEBUG with #if rather than #ifdef.
53813
538142014-04-10 Torvald Riegel <triegel@redhat.com>
53815
53816 * benchtests/pthread_once-inputs: New file.
53817 * benchtests/pthread_once-source.c: New file.
53818 * benchtests/README: Update documentation.
53819
538202014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53821 H.J. Lu <hongjiu.lu@intel.com>
53822
53823 [BZ #16275]
53824 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53825 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53826 * sysdeps/x86_64/configure: Regenerated.
53827 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53828 macro.
53829 (REGISTER_SAVE_RAX): Likewise.
53830 (REGISTER_SAVE_RCX): Likewise.
53831 (REGISTER_SAVE_RDX): Likewise.
53832 (REGISTER_SAVE_RSI): Likewise.
53833 (REGISTER_SAVE_RDI): Likewise.
53834 (REGISTER_SAVE_R8): Likewise.
53835 (REGISTER_SAVE_R9): Likewise.
53836 (REGISTER_SAVE_BND0): Likewise.
53837 (REGISTER_SAVE_BND1): Likewise.
53838 (REGISTER_SAVE_BND2): Likewise.
53839 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53840 bound registers when calling _dl_fixup.
53841
538422014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53843
53844 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53845 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53846 of its definition.
53847 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53848 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53849 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53850 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53851 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53852 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53853 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53854
538552014-04-09 Peter Brett <peter@peter-b.co.uk>
53856
53857 [BZ #15514]
53858 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53859 pathconf(_PC_NAME_MAX).
53860
538612014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53862
53863 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53864 Remove macro usage.
53865 (__PTHREAD_SPINS): Move definition to ...
53866 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53867 (__PTHREAD_SPINS): ... here.
53868 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53869 (__PTHREAD_SPIN): Likewise.
53870 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53871 (__PTHREAD_SPIN): Likewise.
53872 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53873 (__PTHREAD_SPIN): Likewise.
53874 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53875 (__PTHREAD_SPIN): Likewise.
53876 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53877 (__PTHREAD_SPIN): Likewise.
53878 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53879 (__PTHREAD_SPIN): Likewise.
53880 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53881 (__PTHREAD_SPIN): Likewise.
53882 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53883 (__PTHREAD_SPIN): Likewise.
53884 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53885 (__PTHREAD_SPIN): Likewise.
53886 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53887 (__PTHREAD_SPIN): Likewise.
53888 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53889 (__PTHREAD_SPIN): Likewise.
53890 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53891 (__PTHREAD_SPIN): Likewise.
53892
53893 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53894 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53895 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53896 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53897 imply folder.
53898 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53899 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53900 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53901 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53902 correct imply path.
53903 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53904 strlen symbol for non multi-arch builds.
53905 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53906 missing hidden_def and weak_alias.
53907
539082014-04-08 Carlos O'Donell <carlos@redhat.com>
53909
53910 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53911
539122014-04-07 Will Newton <will.newton@linaro.org>
53913
53914 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53915 and contents. [!_LIBC] Remove #ifndef and contents.
53916 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53917 * string/memccpy.c (__memccpy): Use ANSI prototype.
53918 * string/memfrob.c (memfrob): Likewise.
53919 * string/strcoll.c (STRCOLL): Likewise.
53920 * string/strlen.c (strlen): Likewise.
53921 * string/strtok.c (STRTOK): Likewise.
53922 * string/strcat.c: Remove unused #include of memcopy.h.
53923 (strcat): Use ANSI prototype.
53924 * string/strchr.c: Remove unused #include of memcopy.h.
53925 (strchr): Use ANSI prototype.
53926 * string/strcmp.c: Remove unused #include of memcopy.h.
53927 (strcmp): Use ANSI prototype.
53928 * string/strcpy.c: Remove unused #include of memcopy.h.
53929 (strcpy): Use ANSI prototype.
53930
539312014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53932
53933 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53934 * config.make.in (config-extra-cppflags): Set it from
53935 libc_extra_cppflags.
53936 * configure.ac (libc_extra_cflags): Make it accumulate over
53937 configure fragments.
53938 (libc_extra_cppflags): New flag.
53939 * configure. Regenerate.
53940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53941 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53942 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53944
53945 [BZ #16815]
53946 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53947 result for FE_DOWNWARD rounding mode.
53948 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53949 Likewise.
53950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53951
539522014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53953
53954 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53955 in function argument name.
53956
539572014-04-03 David Svoboda <svoboda@cert.org>
53958
53959 [BZ #5666]
53960 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53961 explicitly.
53962
539632014-04-03 Roland McGrath <roland@hack.frob.com>
53964
53965 * elf/dl-unmap-segments.h: New file.
53966 * sysdeps/generic/ldsodefs.h
53967 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53968 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53969 * elf/dl-fptr.c: Likewise.
53970 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53971 * sysdeps/aarch64/tlsdesc.c: Likewise.
53972 * sysdeps/arm/tlsdesc.c: Likewise.
53973 * sysdeps/i386/tlsdesc.c: Likewise.
53974 * sysdeps/tile/dl-runtime.c: Likewise.
53975 * sysdeps/x86_64/tlsdesc.c: Likewise.
53976 * elf/dl-load.h: New file.
53977 * elf/dl-load.c: Include it.
53978 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53979 Macros moved to dl-load.h.
53980 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53981 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53982 Use _dl_unmap_segments in place of __munmap.
53983 Break out segment-mapping loop into ...
53984 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53985
539862014-04-03 Will Newton <will.newton@linaro.org>
53987
53988 * elf/dl-lookup.c (do_lookup_x): Remove comment
53989 referring to nested function and move variable
53990 declarations down to before first use.
53991
539922014-04-02 Joseph Myers <joseph@codesourcery.com>
53993
53994 [BZ #16799]
53995 [BZ #16800]
53996 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53997 with 0 numerator.
53998 * math/s_catanf.c (__catanf): Likewise.
53999 * math/s_catanh.c (__catanh): Likewise.
54000 * math/s_catanhf.c (__catanhf): Likewise.
54001 * math/s_catanhl.c (__catanhl): Likewise.
54002 * math/s_catanl.c (__catanl): Likewise.
54003 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
54004 by positive zero when computing -Inf result.
54005 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
54006 (catanh_test): Likewise.
54007 * sysdeps/i386/fpu/libm-test-ulps: Update.
54008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54009
54010 [BZ #16789]
54011 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
54012 instead of using underflowing value in computing result.
54013 * math/s_clog10.c (__clog10): Likewise.
54014 * math/s_clog10f.c (__clog10f): Likewise.
54015 * math/s_clog10l.c (__clog10l): Likewise.
54016 * math/s_clogf.c (__clogf): Likewise.
54017 * math/s_clogl.c (__clogl): Likewise.
54018 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
54019 (clog10_test): Likewise.
54020 * sysdeps/i386/fpu/libm-test-ulps: Update.
54021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54022
540232014-04-02 Alan Modra <amodra@gmail.com>
54024
54025 [BZ #16739]
54026 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
54027 output when value is near a power of two. Use int64_t for lx and
54028 remove casts. Use decimal rather than hex exponent constants.
54029 Don't use long double multiplication when double will suffice.
54030 * math/libm-test.inc (nextafter_test_data): Add tests.
54031 * NEWS: Add 16739 and 16786 to bug list.
54032
54033 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
54034
54035 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
54036
540372014-04-01 Will Newton <will.newton@linaro.org>
54038
54039 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
54040 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
54041
540422014-04-01 Florian Weimer <fweimer@redhat.com>
54043
54044 [BZ #13347]
54045 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
54046 * nptl/tst-setuid2.c: New file.
54047 * nptl/Makefile (xtests): Add tst-setuid2.
54048
540492014-04-01 Alan Modra <amodra@gmail.com>
54050
54051 [BZ #16786]
54052 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
54053
540542014-03-31 Joseph Myers <joseph@codesourcery.com>
54055
54056 [BZ #6803]
54057 [BZ #6804]
54058 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
54059 set errno as appropriate.
54060 * math/w_scalbf.c (__scalbf): Likewise.
54061 * math/w_scalbl.c (__scalbl): Likewise.
54062 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
54063 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
54064 * math/libm-test.inc (scalb_test_data): Add errno expectations.
54065 Add more NaN tests.
54066
54067 [BZ #16349]
54068 * math/w_atan2.c: Include <errno.h>.
54069 (__atan2): Set errno for result underflowing to zero.
54070 * math/w_atan2f.c: Include <errno.h>.
54071 (__atan2f): Set errno for result underflowing to zero.
54072 * math/w_atan2l.c: Include <errno.h>.
54073 (__atan2l): Set errno for result underflowing to zero.
54074 * math/auto-libm-test-in: Don't allow missing errno for some atan2
54075 tests.
54076 * math/auto-libm-test-out: Regenerated.
54077
540782014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54079
54080 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
54081 Encode instruction correctly in little endian.
54082 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
54083 Likewise.
54084 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
54085 Likewise.
54086 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
54087 Likewise.
54088 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
54089 Likewise.
54090
540912014-03-31 Joseph Myers <joseph@codesourcery.com>
54092
54093 [BZ #9894]
54094 * sysdeps/unix/sysv/linux/kernel-features.h
54095 [__sparc__ && !__arch64__ && !__sparc_v9__]
54096 (__ASSUME_SET_ROBUST_LIST): Do not define.
54097 [__sparc__ && !__arch64__ && !__sparc_v9__]
54098 (__ASSUME_FUTEX_LOCK_PI): Likewise.
54099 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
54100 Likewise.
54101 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54102 (__ASSUME_FUTEX_LOCK_PI): Undefine.
54103 (__ASSUME_REQUEUE_PI): Likewise.
54104 (__ASSUME_SET_ROBUST_LIST): Likewise.
54105 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54106 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
54107 Undefine.
54108 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54109 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
54110 Likewise.
54111 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
54112 Likewise.
54113 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
54114 Likewise.
54115 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54116 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
54117 Undefine.
54118 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
54119 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
54120 Likewise.
54121
54122 [BZ #16648]
54123 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54124 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
54125 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
54126
541272014-03-31 Will Newton <will.newton@linaro.org>
54128
54129 * benchtests/Makefile (bench): Add ffs and ffsll to list
54130 of tests.
54131 * benchtests/ffs-inputs: New file.
54132 * benchtests/ffsll-inputs: Likewise.
54133
541342014-03-29 Joseph Myers <joseph@codesourcery.com>
54135
54136 [BZ #16770]
54137 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
54138 too large before casting to int.
54139 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
54140 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
54141 * math/libm-test.inc (scalb_test_data): Add more tests.
54142
541432014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54144
54145 * benchtests/Makefile (DETAILED_OPT): New make option.
54146 (bench-func): Run benchmark program with -d if DETAILED_OPT is
54147 set.
54148 * benchtests/bench-skeleton.c: Include stdbool.h.
54149 (main): Store and print timings per input.
54150 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
54151 member to each argument value.
54152 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
54153 (_print_arg_data): Initialize per-input timing to 0.
54154
54155 * benchtests/Makefile (timing-type): New binary.
54156 (bench-clean): Also remove bench-timing-type.
54157 (bench): New target for timing-type.
54158 (bench-func): Print output in JSON format.
54159 * benchtests/bench-skeleton.c (main): Print output in JSON
54160 format.
54161 * benchtests/bench-timing-type.c: New file.
54162 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
54163 (TIMING_PRINT_STATS): Remove.
54164 * benchtests/scripts/bench.py (_print_arg_data): Store variant
54165 name separately.
54166
54167 * benchtests/bench-modf.c: Remove.
54168 * benchtests/modf-inputs: New inputs file.
54169
541702014-03-28 Joseph Myers <joseph@codesourcery.com>
54171
54172 [BZ #16362]
54173 * math/s_clog10.c (M_PI_LOG10E): New macro.
54174 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
54175 imaginary parts are 0.
54176 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
54177 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
54178 imaginary parts are 0.
54179 * math/s_clog10l.c (M_PI_LOG10El): New macro.
54180 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
54181 imaginary parts are 0.
54182 * math/libm-test.inc (clog10_test_data): Update expected results
54183 for when real and imaginary parts are 0.
54184
541852014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
54186
54187 * elf/dl-load.c: Finish conversion of __builtin_expect into
54188 __glibc_{un}likely.
54189
541902014-03-27 Joseph Myers <joseph@codesourcery.com>
54191
54192 [BZ #16348]
54193 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54194 1+x for argument with exponent below -67.
54195 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54196 Likewise.
54197 * math/auto-libm-test-in: Add more tests of exp.
54198 * math/auto-libm-test-out: Regenerated.
54199
542002014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54201
54202 [BZ #16759]
54203 * inet/getnetgrent_r.c (get_nonempty_val): New function.
54204 (nscd_getnetgrent): Use it.
54205
54206 [BZ #16760]
54207 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54208 of stpcpy.
54209
542102014-03-27 Andi Kleen <ak@linux.intel.com>
54211
54212 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54213 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54214 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54215 (lll_robust_unlock): Remove out of line section. Use cfi
54216 intrinsics.
54217 (LLL_STUB_UNWIND_INFO*): Remove.
54218 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54219 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54220 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54221 (lll_robust_unlock): Remove out of line section. Use cfi
54222 intrinsics.
54223 (LLL_STUB_UNWIND_INFO*): Remove.
54224
542252014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54226
54227 [BZ #16758]
54228 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54229 blank values.
54230
542312014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
54232
54233 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54234
542352014-03-26 Joseph Myers <joseph@codesourcery.com>
54236
54237 [BZ #16198]
54238 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54239 fnstenv.
54240 * math/test-fenv-preserve.c: New file.
54241 * math/Makefile (tests): Add test-fenv-preserve.
54242
542432014-03-26 Will Newton <will.newton@linaro.org>
54244
54245 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54246
542472014-03-25 Roland McGrath <roland@hack.frob.com>
54248
54249 * scripts/versionlist.awk: Partition the version sets and emit all
54250 GLIBC_* (sorted) before all others (sorted).
54251
542522014-03-25 Joseph Myers <joseph@codesourcery.com>
54253
54254 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54255 GLIBC_2.2.5 version.
54256
542572014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54258
54259 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54260 calls.
54261
54262 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54263 previous change.
54264
54265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54266
542672014-03-25 Andreas Schwab <schwab@suse.de>
54268
54269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54270 label to be used after in6ailist is initialized.
54271
542722014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54273
54274 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54275 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54276
542772014-03-25 Joseph Myers <joseph@codesourcery.com>
54278
54279 [BZ #16357]
54280 [BZ #16599]
54281 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54282 min_plus_half.
54283 (fp_formats): Update initializers.
54284 (init_fp_formats): Initialize new field.
54285 (output_for_one_input_case): Allow underflow for results up to
54286 min_plus_half.
54287 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54288 * math/auto-libm-test-in: Don't mark some underflows from asin and
54289 atanh as spurious.
54290 * math/auto-libm-test-out: Regenerated.
54291 * sysdeps/i386/fpu/libm-test-ulps: Update.
54292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54293
542942014-03-25 Andreas Schwab <schwab@suse.de>
54295
54296 * libio/Makefile (tst-ftell-partial-wide-ENV)
54297 (tst-ftell-active-handler-ENV): Define.
54298
542992014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
54300
54301 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54302
543032014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54304
54305 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54306
543072014-03-24 Joseph Myers <joseph@codesourcery.com>
54308
54309 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54310 * sysdeps/x86_64/fpu/multiarch/e_exp.c
54311 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54312
543132014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54314
54315 [BZ #16634]
54316 * elf/dl-load.c (open_verify): Add mode parameter.
54317 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54318 (open_path): Change from boolean 'secure' to complete flag 'mode'
54319 (_dl_map_object): Adjust.
54320 * elf/Makefile (tests): Add tst-dlopen-aout.
54321 * elf/tst-dlopen-aout.c: New test.
54322
543232014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54324
54325 [BZ #16714]
54326 * sysdeps/unix/sysv/linux/s390/bits/stat.h
54327 (struct stat): Rename member pad0 to __glibc_reserved0.
54328
54329 [BZ #16712]
54330 * sysdeps/s390/s390-32/bits/wordsize.h
54331 (__WORDSIZE32_SIZE_ULONG): New define.
54332 * sysdeps/s390/s390-64/bits/wordsize.h
54333 (__WORDSIZE32_SIZE_ULONG): Likewise.
54334 * sysdeps/generic/stdint.h (SIZE_MAX):
54335 Define as UL if __WORDSIZE32_SIZE_ULONG.
54336
54337 [BZ #16713]
54338 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54339 (__glibc_reserved0): New variable.
54340 (sa_flags): Change type to int.
54341
54342 * posix/Makefile (before-compile): Use += before-compile instead
54343 of a :=.
54344
54345 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54346 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54347
543482014-03-20 Andreas Schwab <schwab@suse.de>
54349
54350 [BZ #16743]
54351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54352 non-matching result from nscd.
54353
543542014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54355
54356 * scripts/bench.py: Moved to ...
54357 * benchtests/scripts/bench.py: ... here.
54358 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54359
543602014-03-24 Andreas Schwab <schwab@suse.de>
54361
54362 [BZ #16002]
54363 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54364 alloca_account and account alloca use for struct in6ailist.
54365
543662014-03-24 Joseph Myers <joseph@codesourcery.com>
54367
54368 [BZ #16284]
54369 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54370 rounding mode to recompute results that overflow to infinity or
54371 underflow to zero.
54372 * math/auto-libm-test-in: Don't mark tests as expected to fail for
54373 bug 16284.
54374 * math/auto-libm-test-out: Regenerated.
54375 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54376 (ccosh_test): Likewise.
54377 (csin_test_data): Use plus_oflow.
54378 (csin_test): Use ALL_RM_TEST.
54379 (csinh_test_data): Use plus_oflow.
54380 (csinh_test): Use ALL_RM_TEST.
54381 * sysdeps/i386/fpu/libm-test-ulps: Update.
54382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54383
543842014-03-21 Joseph Myers <joseph@codesourcery.com>
54385
54386 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54387 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54388 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54389
54390 [BZ #16731]
54391 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54392 when x - 1 is zero.
54393 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54394 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54395 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54396 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54397 argument is 1.
54398 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54399 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54400 zero.
54401 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54402 * sysdeps/i386/fpu/libm-test-ulps: Update.
54403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54404
544052014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54406
54407 * scripts/bench.pl: Remove file.
54408 * scripts/bench.py: New benchmark script.
54409 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54410 * benchtests/README: Mention python dependency.
54411 * scripts/pylintrc: New file.
54412 * scripts/pylint: New file.
54413
54414 * bits/mathdef.h: Use #ifdef instead of #if.
54415 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54416 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54417 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54418 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54419 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54420 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54421
544222014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54423 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54424
54425 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54427 and strpbrk-ppc64 objects.
54428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54429 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54430 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54431 multiarch strpbrk for POWER7.
54432 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54433 multiarch strpbrk for PPC64.
54434 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54435 ifunc selector.
54436 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54437 strpbrk for POWER7.
54438
544392014-03-20 Joseph Myers <joseph@codesourcery.com>
54440
54441 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54442 (atan_test): Likewise.
54443 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54444 (atanh_test): Use ALL_RM_TEST.
54445 (atan2_test_data): Likewise.
54446 (cabs_test): Likewise.
54447 (cacosh_test): Likewise.
54448 (carg_test): Likewise.
54449 (casin_test): Likewise.
54450 (casinh_test): Likewise.
54451 (cbrt_test): Likewise.
54452 (csqrt_test): Likewise.
54453 (erf_test): Likewise.
54454 (erfc_test): Likewise.
54455 (pow10_test): Likewise.
54456 (exp2_test): Likewise.
54457 (hypot_test): Likewise.
54458 (j0_test): Likewise.
54459 (j1_test): Likewise.
54460 (lgamma_test): Likewise.
54461 (gamma_test): Likewise.
54462 (sincos_test): Likewise.
54463 (tanh_test): Likewise.
54464 (y0_test): Likewise.
54465 (y1_test): Likewise.
54466 * sysdeps/i386/fpu/libm-test-ulps: Update.
54467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54468
544692014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54470
54471 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54473 and strcspn-ppc64 objects.
54474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54475 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54476 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54477 multiarch strcspn for POWER7.
54478 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54479 multiarch strcspn for PPC64.
54480 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54481 ifunc selector.
54482 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54483 strcspn for POWER7.
54484
544852014-03-20 Joseph Myers <joseph@codesourcery.com>
54486
54487 * math/gen-libm-test.pl (generate_testfile): Expect only function
54488 name as argument to AUTO_TESTS_* and pass results for all rounding
54489 modes to parse_args.
54490 (parse_auto_input): Separate inputs of automatic tests from
54491 outputs before storing in %auto_tests.
54492 * math/libm-test.inc (acos_test_data): Update call to
54493 AUTO_TESTS_f_f.
54494 (acos_test): Use ALL_RM_TEST.
54495 (acos_tonearest_test_data): Remove.
54496 (acos_test_tonearest): Likewise.
54497 (acos_towardzero_test_data): Likewise.
54498 (acos_test_towardzero): Likewise.
54499 (acos_downward_test_data): Likewise.
54500 (acos_test_downward): Likewise.
54501 (acos_upward_test_data): Likewise.
54502 (acos_test_upward): Likewise.
54503 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54504 (asin_test_data): Likewise.
54505 (asin_test): Use ALL_RM_TEST.
54506 (asin_tonearest_test_data): Remove.
54507 (asin_test_tonearest): Likewise.
54508 (asin_towardzero_test_data): Likewise.
54509 (asin_test_towardzero): Likewise.
54510 (asin_downward_test_data): Likewise.
54511 (asin_test_downward): Likewise.
54512 (asin_upward_test_data): Likewise.
54513 (asin_test_upward): Likewise.
54514 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54515 (atan_test_data): Likewise.
54516 (atanh_test_data): Likewise.
54517 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54518 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54519 (carg_test_data): Likewise.
54520 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54521 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54522 (ccosh_test_data): Likewise.
54523 (cexp_test_data): Likewise.
54524 (clog_test_data): Likewise.
54525 (clog10_test_data): Likewise.
54526 (cos_test_data): Update call to AUTO_TESTS_f_f.
54527 (cos_test): Use ALL_RM_TEST.
54528 (cos_tonearest_test_data): Remove.
54529 (cos_test_tonearest): Likewise.
54530 (cos_towardzero_test_data): Likewise.
54531 (cos_test_towardzero): Likewise.
54532 (cos_downward_test_data): Likewise.
54533 (cos_test_downward): Likewise.
54534 (cos_upward_test_data): Likewise.
54535 (cos_test_upward): Likewise.
54536 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54537 (cosh_test): Use ALL_RM_TEST.
54538 (cosh_tonearest_test_data): Remove.
54539 (cosh_test_tonearest): Likewise.
54540 (cosh_towardzero_test_data): Likewise.
54541 (cosh_test_towardzero): Likewise.
54542 (cosh_downward_test_data): Likewise.
54543 (cosh_test_downward): Likewise.
54544 (cosh_upward_test_data): Likewise.
54545 (cosh_test_upward): Likewise.
54546 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54547 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54548 (ctan_test_data): Likewise.
54549 (ctan_test): Use ALL_RM_TEST.
54550 (ctan_tonearest_test_data): Remove.
54551 (ctan_test_tonearest): Likewise.
54552 (ctan_towardzero_test_data): Likewise.
54553 (ctan_test_towardzero): Likewise.
54554 (ctan_downward_test_data): Likewise.
54555 (ctan_test_downward): Likewise.
54556 (ctan_upward_test_data): Likewise.
54557 (ctan_test_upward): Likewise.
54558 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54559 (ctanh_test): Use ALL_RM_TEST.
54560 (ctanh_tonearest_test_data): Remove.
54561 (ctanh_test_tonearest): Likewise.
54562 (ctanh_towardzero_test_data): Likewise.
54563 (ctanh_test_towardzero): Likewise.
54564 (ctanh_downward_test_data): Likewise.
54565 (ctanh_test_downward): Likewise.
54566 (ctanh_upward_test_data): Likewise.
54567 (ctanh_test_upward): Likewise.
54568 (erf_test_data): Update call to AUTO_TESTS_f_f.
54569 (erfc_test_data): Likewise.
54570 (exp_test_data): Likewise.
54571 (exp_test): Use ALL_RM_TEST.
54572 (exp_tonearest_test_data): Remove.
54573 (exp_test_tonearest): Likewise.
54574 (exp_towardzero_test_data): Likewise.
54575 (exp_test_towardzero): Likewise.
54576 (exp_downward_test_data): Likewise.
54577 (exp_test_downward): Likewise.
54578 (exp_upward_test_data): Likewise.
54579 (exp_test_upward): Likewise.
54580 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54581 (exp10_test): Use ALL_RM_TEST.
54582 (exp10_tonearest_test_data): Remove.
54583 (exp10_test_tonearest): Likewise.
54584 (exp10_towardzero_test_data): Likewise.
54585 (exp10_test_towardzero): Likewise.
54586 (exp10_downward_test_data): Likewise.
54587 (exp10_test_downward): Likewise.
54588 (exp10_upward_test_data): Likewise.
54589 (exp10_test_upward): Likewise.
54590 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54591 (expm1_test_data): Likewise.
54592 (expm1_test): Use ALL_RM_TEST.
54593 (expm1_tonearest_test_data): Remove.
54594 (expm1_test_tonearest): Likewise.
54595 (expm1_towardzero_test_data): Likewise.
54596 (expm1_test_towardzero): Likewise.
54597 (expm1_downward_test_data): Likewise.
54598 (expm1_test_downward): Likewise.
54599 (expm1_upward_test_data): Likewise.
54600 (expm1_test_upward): Likewise.
54601 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54602 (fma_test): Use ALL_RM_TEST.
54603 (fma_towardzero_test_data): Remove.
54604 (fma_test_towardzero): Likewise.
54605 (fma_downward_test_data): Likewise.
54606 (fma_test_downward): Likewise.
54607 (fma_upward_test_data): Likewise.
54608 (fma_test_upward): Likewise.
54609 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54610 (j0_test_data): Update call to AUTO_TESTS_f_f.
54611 (j1_test_data): Likewise.
54612 (jn_test_data): Update call to AUTO_TESTS_if_f.
54613 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54614 (log_test_data): Update call to AUTO_TESTS_f_f.
54615 (log10_test_data): Likewise.
54616 (log1p_test_data): Likewise.
54617 (log2_test_data): Likewise.
54618 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54619 (pow_tonearest_test_data): Likewise.
54620 (sin_test_data): Update call to AUTO_TESTS_f_f.
54621 (sin_test): Use ALL_RM_TEST.
54622 (sin_tonearest_test_data): Remove.
54623 (sin_test_tonearest): Likewise.
54624 (sin_towardzero_test_data): Likewise.
54625 (sin_test_towardzero): Likewise.
54626 (sin_downward_test_data): Likewise.
54627 (sin_test_downward): Likewise.
54628 (sin_upward_test_data): Likewise.
54629 (sin_test_upward): Likewise.
54630 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54631 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54632 (sinh_test): Use ALL_RM_TEST.
54633 (sinh_tonearest_test_data): Remove.
54634 (sinh_test_tonearest): Likewise.
54635 (sinh_towardzero_test_data): Likewise.
54636 (sinh_test_towardzero): Likewise.
54637 (sinh_downward_test_data): Likewise.
54638 (sinh_test_downward): Likewise.
54639 (sinh_upward_test_data): Likewise.
54640 (sinh_test_upward): Likewise.
54641 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54642 (sqrt_test): Use ALL_RM_TEST.
54643 (sqrt_tonearest_test_data): Remove.
54644 (sqrt_test_tonearest): Likewise.
54645 (sqrt_towardzero_test_data): Likewise.
54646 (sqrt_test_towardzero): Likewise.
54647 (sqrt_downward_test_data): Likewise.
54648 (sqrt_test_downward): Likewise.
54649 (sqrt_upward_test_data): Likewise.
54650 (sqrt_test_upward): Likewise.
54651 (tan_test_data): Update call to AUTO_TESTS_f_f.
54652 (tan_test): Use ALL_RM_TEST.
54653 (tan_tonearest_test_data): Remove.
54654 (tan_test_tonearest): Likewise.
54655 (tan_towardzero_test_data): Likewise.
54656 (tan_test_towardzero): Likewise.
54657 (tan_downward_test_data): Likewise.
54658 (tan_test_downward): Likewise.
54659 (tan_upward_test_data): Likewise.
54660 (tan_test_upward): Likewise.
54661 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54662 (tgamma_test_data): Likewise.
54663 (y0_test_data): Likewise.
54664 (y1_test_data): Likewise.
54665 (yn_test_data): Update call to AUTO_TESTS_if_f.
54666 (main): Do not call removed functions.
54667
546682014-03-19 Joseph Myers <joseph@codesourcery.com>
54669
54670 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54671 (ldexp_test_data): Remove.
54672 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54673 scalbn_test_data.
54674 (scalb_test): Use ALL_RM_TEST.
54675
546762014-03-19 Andreas Schwab <schwab@suse.de>
54677
54678 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54679
546802014-03-19 Joseph Myers <joseph@codesourcery.com>
54681
54682 [BZ #16649]
54683 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54684 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54685 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54686 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54687 (__ASSUME_PREADV): Undefine.
54688 (__ASSUME_PWRITEV): Likewise.
54689
546902014-03-18 Roland McGrath <roland@hack.frob.com>
54691
54692 * bits/mman-linux.h: Add comment about non-Linux use.
54693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54694 bits/mman-linux.h resting place.
54695
54696 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54697 * bits/mman-linux.h: ... here.
54698
546992014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54700
54701 * conform/conformtest.pl: Add standard definition when calling C
54702 preprocessor on data files.
54703 (checknamespace): Remove unused variable.
54704
547052014-03-18 Joseph Myers <joseph@codesourcery.com>
54706
54707 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54708 minus_oflow, plus_uflow and minus_uflow in expected results.
54709 * math/libm-test.inc (scalbn_test_data): Add more tests of
54710 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54711 minus_uflow.
54712 (scalbn_test): Use ALL_RM_TEST.
54713 (scalbln_test_data): Add more tests of negative arguments. Use
54714 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54715 (scalbln_test): Use ALL_RM_TEST.
54716
547172014-03-18 Roland McGrath <roland@hack.frob.com>
54718
54719 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54720
547212014-03-18 Will Newton <will.newton@linaro.org>
54722
54723 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54724 inaccurate comment.
54725
547262014-03-18 Joseph Myers <joseph@codesourcery.com>
54727
54728 * Makerules [!subdir] (check-abi): Exit with error status if a
54729 test failed.
54730
547312014-03-17 Joseph Myers <joseph@codesourcery.com>
54732
54733 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54734 for rint. Include results for all rounding modes.
54735 (nearbyint_test): Use ALL_RM_TEST.
54736 (rint_test_data): Include all tests used for nearbyint.
54737
547382014-03-17 Will Newton <will.newton@linaro.org>
54739
54740 * nptl/sysdeps/pthread/pthread.h: Revert previous
54741 change.
54742
54743 * sysdeps/generic/ldsodefs.h: Revert previous
54744 change.
54745
54746 * libio/genops.c: Revert previous change.
54747 * libio/libioP.h: Likewise.
54748 * stdio-common/vfprintf.c: Likewise.
54749
54750 * sysdeps/generic/math_private.h: Revert previous
54751 change.
54752
54753 * sysdeps/generic/math_private.h: Check whether
54754 HAVE_RM_CTX is defined with #ifdef rather
54755 than #if.
54756
54757 * argp/argp-fmtstream.h: Check whether
54758 __STRICT_ANSI__ is defined with #ifdef rather
54759 than #if.
54760 * argp/argp.h: Likewise.
54761
54762 * libio/genops.c: Check whether
54763 _IO_JUMPS_OFFSET is defined with #ifdef rather
54764 than #if.
54765 * libio/libioP.h: Likewise.
54766 * stdio-common/vfprintf.c: Likewise.
54767
54768 * sysdeps/generic/ldsodefs.h: Check whether
54769 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54770 than #if.
54771
54772 * nptl/sysdeps/pthread/pthread.h: Check
54773 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54774 its value.
54775
547762014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54777
54778 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54779 setting O_APPEND.
54780 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54781 test case.
54782
54783 [BZ #16680]
54784 * libio/fileops.c (_IO_file_open): Seek to end of file but
54785 don't cache the offset.
54786 (get_file_offset): Remove function.
54787 (do_ftell): Use cached offset when available.
54788 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54789 don't cache the offset.
54790 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54791 case.
54792 (do_one_test): Call it.
54793 (do_ftell_test): Fix up expected old offset for a+ mode.
54794 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54795 available.
54796
54797 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54798 up test status with function return status.
54799 (do_write_test): Likewise.
54800 (do_append_test): Likewise.
54801
54802 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54803 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54804 Remove.
54805
548062014-03-17 Joseph Myers <joseph@codesourcery.com>
54807
54808 * math/gen-libm-test.pl (parse_args): Handle results specified for
54809 each rounding mode separately.
54810 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54811 tests and results from lrint_tonearest_test_data,
54812 lrint_towardzero_test_data, lrint_downward_test_data and
54813 lrint_upward_test_data.
54814 (lrint_test): Use ALL_RM_TEST.
54815 (lrint_tonearest_test_data): Remove.
54816 (lrint_test_tonearest): Likewise.
54817 (lrint_towardzero_test_data): Likewise.
54818 (lrint_test_towardzero): Likewise.
54819 (lrint_downward_test_data): Likewise.
54820 (lrint_test_downward): Likewise.
54821 (lrint_upward_test_data): Likewise.
54822 (lrint_test_upward): Likewise.
54823 (llrint_test_data): Merge in per-rounding-mode tests and results
54824 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54825 llrint_downward_test_data and llrint_upward_test_data.
54826 (llrint_test): Use ALL_RM_TEST.
54827 (llrint_tonearest_test_data): Remove.
54828 (llrint_test_tonearest): Likewise.
54829 (llrint_towardzero_test_data): Likewise.
54830 (llrint_test_towardzero): Likewise.
54831 (llrint_downward_test_data): Likewise.
54832 (llrint_test_downward): Likewise.
54833 (llrint_upward_test_data): Likewise.
54834 (llrint_test_upward): Likewise.
54835 (rint_test_data): Merge in per-rounding-mode tests and results
54836 from rint_tonearest_test_data, rint_towardzero_test_data,
54837 rint_downward_test_data and rint_upward_test_data. Add
54838 per-rounding-mode results for tests not in those arrays.
54839 (rint_test): Use ALL_RM_TEST.
54840 (rint_tonearest_test_data): Remove.
54841 (rint_test_tonearest): Likewise.
54842 (rint_towardzero_test_data): Likewise.
54843 (rint_test_towardzero): Likewise.
54844 (rint_downward_test_data): Likewise.
54845 (rint_test_downward): Likewise.
54846 (rint_upward_test_data): Likewise.
54847 (rint_test_upward): Likewise.
54848 (main): Don't call removed functions.
54849
548502014-03-14 Roland McGrath <roland@hack.frob.com>
54851
54852 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54853 "Compiled on ..." crapola. It is anti-useful.
54854
548552014-03-14 Joseph Myers <joseph@codesourcery.com>
54856
54857 * scripts/evaluate-test.sh: Handle fourth argument to determine
54858 whether test run should stop on failure.
54859 * Makeconfig (stop-on-test-failure): New variable.
54860 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54861 $(stop-on-test-failure).
54862 * Makefile (tests): Give a summary of results from testing and
54863 exit with failure status if they include an ERROR or FAIL.
54864 (xtests): Likewise.
54865 * manual/install.texi (Configuring and compiling): Mention
54866 stop-on-test-failure=y.
54867 * INSTALL: Regenerated.
54868
548692014-03-14 Roland McGrath <roland@hack.frob.com>
54870
54871 * scripts/versionlist.awk: New file.
54872 * Makerules [$(build-shared) = yes]
54873 (postclean-generated): Add Versions.def, not Versions.def.v and
54874 Versions.def.v.i.
54875 ($(common-objpfx)Versions.def.v.i): Target removed.
54876 ($(common-objpfx)Versions.def): New target.
54877 ($(common-objpfx)Versions.all): Depend on that rather that
54878 $(common-objpfx)Versions.def.v.
54879 * Versions.def: File removed.
54880
54881 * Makeconfig (+gccwarn): Add -Wundef.
54882 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54883 a dl-sysdep.h breaking its contract.
54884 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54885 * include/stackinfo.h: New file.
54886 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54887 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54888 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54889 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54890 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54891 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54892 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54893 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54894 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54895 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54896 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54897 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54898 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54899 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54900 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54901
549022014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54903
54904 [BZ #16707]
54905 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54906 implementation.
54907 * math/libm-test.inc (round_test_data): Add more tests.
54908
54909 [BZ #16706]
54910 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54911 implementation.
54912 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54913
54914 [BZ #16701]
54915 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54916 implementation.
54917 * math/libm-test.inc (ceil_test_data): Add more tests.
54918
54919 * math/libm-test.inc (trunc_test_data): Add more tests related to
54920 BZ#16414.
54921
549222014-03-14 Roland McGrath <roland@hack.frob.com>
54923
54924 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54925 with #if rather than #ifdef.
54926 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54927
549282014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54929
54930 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54931 first. Disable AVX-512 GCC support if assembler doesn't support
54932 it.
54933 * sysdeps/x86_64/configure: Regenerated.
54934
549352014-03-13 Carlos O'Donell <carlos@redhat.com>
54936
54937 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54938 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54939 (__old_pthread_attr_setstack): Likewise.
54940 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54941 [!_STACK_GROWS_DOWN]: Likewise.
54942
549432014-03-13 Mike Frysinger <vapier@gentoo.org>
54944
54945 * config.make.in (have-bash2): Delete.
54946 * configure.ac (libc_cv_have_bash2): Delete.
54947 * configure: Regenerate.
54948 * elf/Makefile (common-ldd-rewrite): Rename to ...
54949 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54950 (sh-ldd-rewrite): Delete.
54951 (bash-ldd-rewrite): Delete.
54952 (have-bash2): Delete checks.
54953 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54954 ldd-rewrite.
54955
54956 * config.make.in (have-ksh): Delete.
54957 (KSH): Delete.
54958 * configure.ac (libc_cv_have_ksh): Delete.
54959 * configure: Regenerate.
54960
54961 * elf/Makefile: Delete $(have-ksh) check.
54962 ($(objpfx)sotruss): Change KSH to BASH.
54963 * elf/sotruss.ksh: Rename to ...
54964 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54965 function style to match POSIX. Drop ksh vim mode setting.
54966
54967 * manual/time.texi (Specifying the Time Zone with TZ): Change
54968 Tuesday to Thursday.
54969
54970 * debug/tst-longjmp_chk2.c: Update header comment.
54971 (stackoverflow_handler): Add comment. Call assert on pass value.
54972
549732014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54974
54975 [BZ #16194]
54976 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54977 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54978 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54979 (La_x86_64_vector): Add zmm.
54980 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54981 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54982 ($(objpfx)tst-audit10): New target.
54983 ($(objpfx)tst-audit10.out): Likewise.
54984 (tst-audit10-ENV): New.
54985 (AVX512-CFLAGS): Likewise.
54986 (CFLAGS-tst-audit10.c): Likewise.
54987 (CFLAGS-tst-auditmod10a.c): Likewise.
54988 (CFLAGS-tst-auditmod10b.c): Likewise.
54989 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54990 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54991 * sysdeps/x86_64/configure: Regenerated.
54992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54993 AVX-512 zmm register support.
54994 (_dl_x86_64_save_sse): Likewise.
54995 (_dl_x86_64_restore_sse): Likewise.
54996 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54997 size vector registers.
54998 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54999 (ZMM_SIZE): Likewise.
55000 * sysdeps/x86_64/tst-audit10.c: New file.
55001 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
55002 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
55003
550042014-03-13 Roland McGrath <roland@hack.frob.com>
55005
55006 * configure.ac (HAVE_EHDR_START): New check.
55007 * configure: Regenerated.
55008 * config.h.in (HAVE_EHDR_START): New #undef.
55009 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
55010 assuming the lowest-addressed segment maps the start of the file.
55011
550122014-03-13 Joseph Myers <joseph@codesourcery.com>
55013
55014 * INSTALL: Regenerated.
55015
550162014-03-13 Will Newton <will.newton@linaro.org>
55017
55018 * manual/setjmp.texi (System V contexts): Improve
55019 clarity and grammar of documentation.
55020
550212014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
55022
55023 [BZ #16381]
55024 * elf/Makefile (tests): Add tst-pie2.
55025 (tests-pie): Add tst-pie2.
55026 * elf/tst-pie2.c: New file.
55027 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
55028 for ET_EXEC.
55029 * elf/rtld.c (map_doit): Load executable as lt_executable.
55030 (dl_main): Likewise.
55031
550322014-03-12 Joseph Myers <joseph@codesourcery.com>
55033
55034 [BZ #16642]
55035 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55036 (__ASSUME_PSELECT): Undefine.
55037
550382014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55039
55040 [BZ #16689]
55041 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
55042 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
55043 static build.
55044 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
55045 selector for static builds.
55046
550472014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
55048
55049 [BZ #16695]
55050 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
55051 key in the buffer.
55052
550532014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55054
55055 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
55056 IFUNC selector for static builds.
55057
550582014-03-11 Joseph Myers <joseph@codesourcery.com>
55059
55060 * sysdeps/mips/math_private.h [__mips_hard_float]
55061 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
55062 libc_feresetround_mips_ctx.
55063 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
55064 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
55065 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
55066
55067 [BZ #16677]
55068 * math/s_nextafter.c (__nextafter): Do not return value from
55069 overflowing computation.
55070 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
55071 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
55072 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
55073 Likewise.
55074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
55075 Likewise.
55076 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
55077 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
55078
550792014-03-11 Roland McGrath <roland@hack.frob.com>
55080
55081 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
55082 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
55083 Move sfi_sp use from the load-multiple (that no longer sets sp) to
55084 the new mov targetting sp.
55085
550862014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55087
55088 [BZ #16683]
55089 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
55090 Define it for static builds as well.
55091 (NO_BZERO_IMPL): Likewise.
55092
550932014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
55094
55095 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
55096 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
55097 multiarch strspn for PPC64.
55098 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
55099 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
55100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55101 (__libc_ifunc_impl_list): Likewise.
55102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
55103 multiarch optimizations
55104 * string/strspn.c (strspn): Using macro to redefine symbol name.
55105
551062014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
55107 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55108
55109 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
55110 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
55111 multiarch strncat for PPC64.
55112 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
55113 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
55114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55115 (__libc_ifunc_impl_list): Likewise.
55116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
55117 multiarch optimizations
55118
551192014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55120
55121 [BZ #16639]
55122 * nscd/nscd.service: Make service type forking.
55123
551242014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55125
55126 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
55127 sign in non default rounding modes.
55128 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
55129
551302014-03-08 Joseph Myers <joseph@codesourcery.com>
55131
55132 * math/libm-test.inc (ALL_RM_TEST): New macro.
55133 (ceil_test): Use ALL_RM_TEST.
55134 (cimag_test): Likewise.
55135 (conj_test): Likewise.
55136 (copysign_test): Likewise.
55137 (cproj_test): Likewise.
55138 (creal_test): Likewise.
55139 (fabs_test): Likewise.
55140 (floor_test): Likewise.
55141 (fmax_test): Likewise.
55142 (fmin_test): Likewise.
55143 (fmod_test): Likewise.
55144 (fpclassify_test): Likewise.
55145 (frexp_test): Likewise.
55146 (ilogb_test): Likewise.
55147 (isfinite_test): Likewise.
55148 (finite_test): Likewise.
55149 (isgreater_test): Likewise.
55150 (isgreaterequal_test): Likewise.
55151 (isinf_test): Likewise.
55152 (isless_test): Likewise.
55153 (islessequal_test): Likewise.
55154 (islessgreater_test): Likewise.
55155 (isnan_test): Likewise.
55156 (isnormal_test): Likewise.
55157 (issignaling_test): Likewise.
55158 (isunordered_test): Likewise.
55159 (logb_test): Likewise.
55160 (logb_downward_test_data): Remove.
55161 (logb_test_downward): Likewise.
55162 (lround_test): Use ALL_RM_TEST.
55163 (llround_test): Likewise.
55164 (modf_test): Likewise.
55165 (nexttoward_test): Likewise.
55166 (remainder_test): Likewise.
55167 (drem_test): Likewise.
55168 (remainder_tonearest_test_data): Likewise.
55169 (remainder_test_tonearest): Likewise.
55170 (drem_test_tonearest): Likewise.
55171 (remainder_towardzero_test_data): Likewise.
55172 (remainder_test_towardzero): Likewise.
55173 (drem_test_towardzero): Likewise.
55174 (remainder_downward_test_data): Likewise.
55175 (remainder_test_downward): Likewise.
55176 (drem_test_downward): Likewise.
55177 (remainder_upward_test_data): Likewise.
55178 (remainder_test_upward): Likewise.
55179 (drem_test_upward): Likewise.
55180 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
55181 (round_test): Use ALL_RM_TEST.
55182 (signbit_test): Likewise.
55183 (trunc_test): Likewise.
55184 (significand_test): Likewise.
55185 (main): Don't call removed functions.
55186
551872014-03-07 Joseph Myers <joseph@codesourcery.com>
55188
55189 [BZ #16674]
55190 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55191 || __USE_XOPEN2K8].
55192 (ILL_ILLOPN): Likewise.
55193 (ILL_ILLADR): Likewise.
55194 (ILL_ILLTRP): Likewise.
55195 (ILL_PRVOPC): Likewise.
55196 (ILL_PRVREG): Likewise.
55197 (ILL_COPROC): Likewise.
55198 (ILL_BADSTK): Likewise.
55199 (FPE_INTDIV): Likewise.
55200 (FPE_INTOVF): Likewise.
55201 (FPE_FLTDIV): Likewise.
55202 (FPE_FLTOVF): Likewise.
55203 (FPE_FLTUND): Likewise.
55204 (FPE_FLTRES): Likewise.
55205 (FPE_FLTINV): Likewise.
55206 (FPE_FLTSUB): Likewise.
55207 (SEGV_MAPERR): Likewise.
55208 (SEGV_ACCERR): Likewise.
55209 (BUS_ADRALN): Likewise.
55210 (BUS_ADRERR): Likewise.
55211 (BUS_OBJERR): Likewise.
55212 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55213 (TRAP_TRACE): Likewise.
55214 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55215 __USE_XOPEN2K8].
55216 (CLD_KILLED): Likewise.
55217 (CLD_DUMPED): Likewise.
55218 (CLD_TRAPPED): Likewise.
55219 (CLD_STOPPED): Likewise.
55220 (CLD_CONTINUED): Likewise.
55221 (POLL_IN): Likewise.
55222 (POLL_OUT): Likewise.
55223 (POLL_MSG): Likewise.
55224 (POLL_ERR): Likewise.
55225 (POLL_PRI): Likewise.
55226 (POLL_HUP): Likewise.
55227 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55228 Likewise.
55229 (ILL_ILLOPN): Likewise.
55230 (ILL_ILLADR): Likewise.
55231 (ILL_ILLTRP): Likewise.
55232 (ILL_PRVOPC): Likewise.
55233 (ILL_PRVREG): Likewise.
55234 (ILL_COPROC): Likewise.
55235 (ILL_BADSTK): Likewise.
55236 (FPE_INTDIV): Likewise.
55237 (FPE_INTOVF): Likewise.
55238 (FPE_FLTDIV): Likewise.
55239 (FPE_FLTOVF): Likewise.
55240 (FPE_FLTUND): Likewise.
55241 (FPE_FLTRES): Likewise.
55242 (FPE_FLTINV): Likewise.
55243 (FPE_FLTSUB): Likewise.
55244 (SEGV_MAPERR): Likewise.
55245 (SEGV_ACCERR): Likewise.
55246 (BUS_ADRALN): Likewise.
55247 (BUS_ADRERR): Likewise.
55248 (BUS_OBJERR): Likewise.
55249 (BUS_MCEERR_AR): Likewise.
55250 (BUS_MCEERR_AO): Likewise.
55251 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55252 (TRAP_TRACE): Likewise.
55253 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55254 __USE_XOPEN2K8].
55255 (CLD_KILLED): Likewise.
55256 (CLD_DUMPED): Likewise.
55257 (CLD_TRAPPED): Likewise.
55258 (CLD_STOPPED): Likewise.
55259 (CLD_CONTINUED): Likewise.
55260 (POLL_IN): Likewise.
55261 (POLL_OUT): Likewise.
55262 (POLL_MSG): Likewise.
55263 (POLL_ERR): Likewise.
55264 (POLL_PRI): Likewise.
55265 (POLL_HUP): Likewise.
55266 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55267 (ILL_ILLOPN): Likewise.
55268 (ILL_ILLADR): Likewise.
55269 (ILL_ILLTRP): Likewise.
55270 (ILL_PRVOPC): Likewise.
55271 (ILL_PRVREG): Likewise.
55272 (ILL_COPROC): Likewise.
55273 (ILL_BADSTK): Likewise.
55274 (FPE_INTDIV): Likewise.
55275 (FPE_INTOVF): Likewise.
55276 (FPE_FLTDIV): Likewise.
55277 (FPE_FLTOVF): Likewise.
55278 (FPE_FLTUND): Likewise.
55279 (FPE_FLTRES): Likewise.
55280 (FPE_FLTINV): Likewise.
55281 (FPE_FLTSUB): Likewise.
55282 (SEGV_MAPERR): Likewise.
55283 (SEGV_ACCERR): Likewise.
55284 (BUS_ADRALN): Likewise.
55285 (BUS_ADRERR): Likewise.
55286 (BUS_OBJERR): Likewise.
55287 (BUS_MCEERR_AR): Likewise.
55288 (BUS_MCEERR_AO): Likewise.
55289 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55290 (TRAP_TRACE): Likewise.
55291 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55292 __USE_XOPEN2K8].
55293 (CLD_KILLED): Likewise.
55294 (CLD_DUMPED): Likewise.
55295 (CLD_TRAPPED): Likewise.
55296 (CLD_STOPPED): Likewise.
55297 (CLD_CONTINUED): Likewise.
55298 (POLL_IN): Likewise.
55299 (POLL_OUT): Likewise.
55300 (POLL_MSG): Likewise.
55301 (POLL_ERR): Likewise.
55302 (POLL_PRI): Likewise.
55303 (POLL_HUP): Likewise.
55304 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55305 Likewise.
55306 (ILL_ILLOPN): Likewise.
55307 (ILL_ILLADR): Likewise.
55308 (ILL_ILLTRP): Likewise.
55309 (ILL_PRVOPC): Likewise.
55310 (ILL_PRVREG): Likewise.
55311 (ILL_COPROC): Likewise.
55312 (ILL_BADSTK): Likewise.
55313 (ILL_BADIADDR): Likewise.
55314 (ILL_BREAK): Likewise.
55315 (FPE_INTDIV): Likewise.
55316 (FPE_INTOVF): Likewise.
55317 (FPE_FLTDIV): Likewise.
55318 (FPE_FLTOVF): Likewise.
55319 (FPE_FLTUND): Likewise.
55320 (FPE_FLTRES): Likewise.
55321 (FPE_FLTINV): Likewise.
55322 (FPE_FLTSUB): Likewise.
55323 (FPE_DECOVF): Likewise.
55324 (FPE_DECDIV): Likewise.
55325 (FPE_DECERR): Likewise.
55326 (FPE_INVASC): Likewise.
55327 (FPE_INVDEC): Likewise.
55328 (SEGV_MAPERR): Likewise.
55329 (SEGV_ACCERR): Likewise.
55330 (SEGV_PSTKOVF): Likewise.
55331 (BUS_ADRALN): Likewise.
55332 (BUS_ADRERR): Likewise.
55333 (BUS_OBJERR): Likewise.
55334 (BUS_MCEERR_AR): Likewise.
55335 (BUS_MCEERR_AO): Likewise.
55336 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55337 (TRAP_TRACE): Likewise.
55338 (TRAP_BRANCH): Likewise.
55339 (TRAP_HWBKPT): Likewise.
55340 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55341 __USE_XOPEN2K8].
55342 (CLD_KILLED): Likewise.
55343 (CLD_DUMPED): Likewise.
55344 (CLD_TRAPPED): Likewise.
55345 (CLD_STOPPED): Likewise.
55346 (CLD_CONTINUED): Likewise.
55347 (POLL_IN): Likewise.
55348 (POLL_OUT): Likewise.
55349 (POLL_MSG): Likewise.
55350 (POLL_ERR): Likewise.
55351 (POLL_PRI): Likewise.
55352 (POLL_HUP): Likewise.
55353 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55354 (ILL_ILLOPN): Likewise.
55355 (ILL_ILLADR): Likewise.
55356 (ILL_ILLTRP): Likewise.
55357 (ILL_PRVOPC): Likewise.
55358 (ILL_PRVREG): Likewise.
55359 (ILL_COPROC): Likewise.
55360 (ILL_BADSTK): Likewise.
55361 (FPE_INTDIV): Likewise.
55362 (FPE_INTOVF): Likewise.
55363 (FPE_FLTDIV): Likewise.
55364 (FPE_FLTOVF): Likewise.
55365 (FPE_FLTUND): Likewise.
55366 (FPE_FLTRES): Likewise.
55367 (FPE_FLTINV): Likewise.
55368 (FPE_FLTSUB): Likewise.
55369 (SEGV_MAPERR): Likewise.
55370 (SEGV_ACCERR): Likewise.
55371 (BUS_ADRALN): Likewise.
55372 (BUS_ADRERR): Likewise.
55373 (BUS_OBJERR): Likewise.
55374 (BUS_MCEERR_AR): Likewise.
55375 (BUS_MCEERR_AO): Likewise.
55376 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55377 (TRAP_TRACE): Likewise.
55378 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55379 __USE_XOPEN2K8].
55380 (CLD_KILLED): Likewise.
55381 (CLD_DUMPED): Likewise.
55382 (CLD_TRAPPED): Likewise.
55383 (CLD_STOPPED): Likewise.
55384 (CLD_CONTINUED): Likewise.
55385 (POLL_IN): Likewise.
55386 (POLL_OUT): Likewise.
55387 (POLL_MSG): Likewise.
55388 (POLL_ERR): Likewise.
55389 (POLL_PRI): Likewise.
55390 (POLL_HUP): Likewise.
55391 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55392 (ILL_ILLOPN): Likewise.
55393 (ILL_ILLADR): Likewise.
55394 (ILL_ILLTRP): Likewise.
55395 (ILL_PRVOPC): Likewise.
55396 (ILL_PRVREG): Likewise.
55397 (ILL_COPROC): Likewise.
55398 (ILL_BADSTK): Likewise.
55399 (FPE_INTDIV): Likewise.
55400 (FPE_INTOVF): Likewise.
55401 (FPE_FLTDIV): Likewise.
55402 (FPE_FLTOVF): Likewise.
55403 (FPE_FLTUND): Likewise.
55404 (FPE_FLTRES): Likewise.
55405 (FPE_FLTINV): Likewise.
55406 (FPE_FLTSUB): Likewise.
55407 (SEGV_MAPERR): Likewise.
55408 (SEGV_ACCERR): Likewise.
55409 (BUS_ADRALN): Likewise.
55410 (BUS_ADRERR): Likewise.
55411 (BUS_OBJERR): Likewise.
55412 (BUS_MCEERR_AR): Likewise.
55413 (BUS_MCEERR_AO): Likewise.
55414 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55415 (TRAP_TRACE): Likewise.
55416 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55417 __USE_XOPEN2K8].
55418 (CLD_KILLED): Likewise.
55419 (CLD_DUMPED): Likewise.
55420 (CLD_TRAPPED): Likewise.
55421 (CLD_STOPPED): Likewise.
55422 (CLD_CONTINUED): Likewise.
55423 (POLL_IN): Likewise.
55424 (POLL_OUT): Likewise.
55425 (POLL_MSG): Likewise.
55426 (POLL_ERR): Likewise.
55427 (POLL_PRI): Likewise.
55428 (POLL_HUP): Likewise.
55429 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55430 (ILL_ILLOPN): Likewise.
55431 (ILL_ILLADR): Likewise.
55432 (ILL_ILLTRP): Likewise.
55433 (ILL_PRVOPC): Likewise.
55434 (ILL_PRVREG): Likewise.
55435 (ILL_COPROC): Likewise.
55436 (ILL_BADSTK): Likewise.
55437 (FPE_INTDIV): Likewise.
55438 (FPE_INTOVF): Likewise.
55439 (FPE_FLTDIV): Likewise.
55440 (FPE_FLTOVF): Likewise.
55441 (FPE_FLTUND): Likewise.
55442 (FPE_FLTRES): Likewise.
55443 (FPE_FLTINV): Likewise.
55444 (FPE_FLTSUB): Likewise.
55445 (SEGV_MAPERR): Likewise.
55446 (SEGV_ACCERR): Likewise.
55447 (BUS_ADRALN): Likewise.
55448 (BUS_ADRERR): Likewise.
55449 (BUS_OBJERR): Likewise.
55450 (BUS_MCEERR_AR): Likewise.
55451 (BUS_MCEERR_AO): Likewise.
55452 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55453 (TRAP_TRACE): Likewise.
55454 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55455 __USE_XOPEN2K8].
55456 (CLD_KILLED): Likewise.
55457 (CLD_DUMPED): Likewise.
55458 (CLD_TRAPPED): Likewise.
55459 (CLD_STOPPED): Likewise.
55460 (CLD_CONTINUED): Likewise.
55461 (POLL_IN): Likewise.
55462 (POLL_OUT): Likewise.
55463 (POLL_MSG): Likewise.
55464 (POLL_ERR): Likewise.
55465 (POLL_PRI): Likewise.
55466 (POLL_HUP): Likewise.
55467 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55468 (ILL_ILLOPN): Likewise.
55469 (ILL_ILLADR): Likewise.
55470 (ILL_ILLTRP): Likewise.
55471 (ILL_PRVOPC): Likewise.
55472 (ILL_PRVREG): Likewise.
55473 (ILL_COPROC): Likewise.
55474 (ILL_BADSTK): Likewise.
55475 (ILL_DBLFLT): Likewise.
55476 (ILL_HARDWALL): Likewise.
55477 (FPE_INTDIV): Likewise.
55478 (FPE_INTOVF): Likewise.
55479 (FPE_FLTDIV): Likewise.
55480 (FPE_FLTOVF): Likewise.
55481 (FPE_FLTUND): Likewise.
55482 (FPE_FLTRES): Likewise.
55483 (FPE_FLTINV): Likewise.
55484 (FPE_FLTSUB): Likewise.
55485 (SEGV_MAPERR): Likewise.
55486 (SEGV_ACCERR): Likewise.
55487 (BUS_ADRALN): Likewise.
55488 (BUS_ADRERR): Likewise.
55489 (BUS_OBJERR): Likewise.
55490 (BUS_MCEERR_AR): Likewise.
55491 (BUS_MCEERR_AO): Likewise.
55492 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55493 (TRAP_TRACE): Likewise.
55494 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55495 __USE_XOPEN2K8].
55496 (CLD_KILLED): Likewise.
55497 (CLD_DUMPED): Likewise.
55498 (CLD_TRAPPED): Likewise.
55499 (CLD_STOPPED): Likewise.
55500 (CLD_CONTINUED): Likewise.
55501 (POLL_IN): Likewise.
55502 (POLL_OUT): Likewise.
55503 (POLL_MSG): Likewise.
55504 (POLL_ERR): Likewise.
55505 (POLL_PRI): Likewise.
55506 (POLL_HUP): Likewise.
55507 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55508 (ILL_ILLOPN): Likewise.
55509 (ILL_ILLADR): Likewise.
55510 (ILL_ILLTRP): Likewise.
55511 (ILL_PRVOPC): Likewise.
55512 (ILL_PRVREG): Likewise.
55513 (ILL_COPROC): Likewise.
55514 (ILL_BADSTK): Likewise.
55515 (FPE_INTDIV): Likewise.
55516 (FPE_INTOVF): Likewise.
55517 (FPE_FLTDIV): Likewise.
55518 (FPE_FLTOVF): Likewise.
55519 (FPE_FLTUND): Likewise.
55520 (FPE_FLTRES): Likewise.
55521 (FPE_FLTINV): Likewise.
55522 (FPE_FLTSUB): Likewise.
55523 (SEGV_MAPERR): Likewise.
55524 (SEGV_ACCERR): Likewise.
55525 (BUS_ADRALN): Likewise.
55526 (BUS_ADRERR): Likewise.
55527 (BUS_OBJERR): Likewise.
55528 (BUS_MCEERR_AR): Likewise.
55529 (BUS_MCEERR_AO): Likewise.
55530 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55531 (TRAP_TRACE): Likewise.
55532 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55533 __USE_XOPEN2K8].
55534 (CLD_KILLED): Likewise.
55535 (CLD_DUMPED): Likewise.
55536 (CLD_TRAPPED): Likewise.
55537 (CLD_STOPPED): Likewise.
55538 (CLD_CONTINUED): Likewise.
55539 (POLL_IN): Likewise.
55540 (POLL_OUT): Likewise.
55541 (POLL_MSG): Likewise.
55542 (POLL_ERR): Likewise.
55543 (POLL_PRI): Likewise.
55544 (POLL_HUP): Likewise.
55545 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55546 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55547
55548 [BZ #16670]
55549 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55550 before #include of <time.h>.
55551 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55552 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55553 (test-xfail-UNIX98/sched.h/conform): Likewise.
55554
555552014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55556
55557 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55558 error absence of trapping exception support.
55559 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55560
555612014-03-07 Joseph Myers <joseph@codesourcery.com>
55562
55563 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55564 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55565 * timezone/Makefile (testdata): Move definition above include of
55566 Rules.
55567 (test-zones): New variable.
55568 (tests-special): Add zone files.
55569 (build-testdata): Use $(evaluate-test).
55570
55571 * elf/Makefile (tests-special): Rename tests to end with .out.
55572 ($(objpfx)noload-mem): Likewise.
55573 ($(objpfx)tst-leaks1-mem): Likewise.
55574 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55575 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55576 $(objpfx)test-iconvconfig.out.
55577 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55578 set -e inside subshell and redirect output to file.
55579 * iconvdata/Makefile (generated): Rename tests to end with .out.
55580 Correct type.
55581 (tests-special): Rename tests to end with .out.
55582 ($(objpfx)mtrace-tst-loading): Likewise.
55583 * intl/Makefile (generated): Likewise.
55584 (tests-special): Likewise.
55585 ($(objpfx)mtrace-tst-gettext): Likewise.
55586 * misc/Makefile (generated): Likewise.
55587 (tests-special): Likewise.
55588 ($(objpfx)tst-error1-mem): Likewise.
55589 * nptl/Makefile (tests-special): Likewise.
55590 ($(objpfx)tst-stack3-mem): Likewise.
55591 (generated): Likewise.
55592 * posix/Makefile (generated): Likewise.
55593 (tests-special): Likewise.
55594 (xtests-special): Likewise.
55595 ($(objpfx)tst-fnmatch-mem): Likewise.
55596 ($(objpfx)bug-regex2-mem): Likewise.
55597 ($(objpfx)bug-regex14-mem): Likewise.
55598 ($(objpfx)bug-regex21-mem): Likewise.
55599 ($(objpfx)bug-regex31-mem): Likewise.
55600 ($(objpfx)tst-vfork3-mem): Likewise.
55601 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55602 ($(objpfx)tst-pcre-mem): Likewise.
55603 ($(objpfx)tst-boost-mem): Likewise.
55604 ($(objpfx)bug-ga2-mem): Likewise.
55605 ($(objpfx)bug-glob2-mem): Likewise.
55606 * resolv/Makefile (generate): Likewise.
55607 (tests-special): Likewise.
55608 (xtests-special): Likewise.
55609 (generated): Likewise.
55610 ($(objpfx)mtrace-tst-leaks): Likewise.
55611 ($(objpfx)mtrace-tst-leaks2): Likewise.
55612
55613 * scripts/merge-test-results.sh: New file.
55614 * Makefile (tests-special-notdir): New variable.
55615 (tests): Run merge-test-results.sh.
55616 (xtests): Likewise.
55617 * Rules (tests-special-notdir): New variable.
55618 (xtests-special-notdir): Likewise.
55619 (tests): Run merge-test-results.sh
55620 (xtests): Likewise.
55621
55622 * Makeconfig (test-xfail-name): New variable.
55623 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55624 compute variable name for expected failures.
55625 * conform/Makefile (conformtest-headers-data): New variable.
55626 (conformtest-standards): Likewise.
55627 (conformtest-headers-ISO): Likewise.
55628 (conformtest-headers-ISO99): Likewise.
55629 (conformtest-headers-ISO11): Likewise.
55630 (conformtest-headers-POSIX): Likewise.
55631 (conformtest-headers-XPG3): Likewise.
55632 (conformtest-headers-XPG4): Likewise.
55633 (conformtest-headers-UNIX98): Likewise.
55634 (conformtest-headers-XOPEN2K): Likewise.
55635 (conformtest-headers-POSIX2008): Likewise.
55636 (conformtest-headers-XOPEN2K8): Likewise.
55637 (conformtest-header-list-base): Likewise.
55638 (conformtest-header-list-tests): Likewise.
55639 (conformtest-header-base): Likewise.
55640 (conformtest-header-tests): Likewise.
55641 (tests-special): Add $(conformtest-header-list-tests). If
55642 [$(fast-check) && !$(cross-compiling)], add
55643 $(conformtest-header-tests) instead of
55644 $(objpfx)run-conformtest.out.
55645 (generated): Add $(conformtest-header-list-base). If
55646 [$(fast-check) && !$(cross-compiling)], add
55647 $(conformtest-header-base). Remove previous setting.
55648 ($(conformtest-header-list-tests)): New target.
55649 (test-xfail-run-conformtest): Remove variable.
55650 ($(objpfx)run-conformtest.out): Remove target.
55651 (test-xfail-ISO11/complex.h/conform): New variable.
55652 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55653 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55654 (test-xfail-XPG3/varargs.h/conform): Likewise.
55655 (test-xfail-XPG4/varargs.h/conform): Likewise.
55656 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55657 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55658 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55659 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55660 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55661 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55662 (test-xfail-XPG3/ftw.h/conform): Likewise.
55663 (test-xfail-XPG3/grp.h/conform): Likewise.
55664 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55665 (test-xfail-XPG3/limits.h/conform): Likewise.
55666 (test-xfail-XPG3/pwd.h/conform): Likewise.
55667 (test-xfail-XPG3/search.h/conform): Likewise.
55668 (test-xfail-XPG3/signal.h/conform): Likewise.
55669 (test-xfail-XPG3/stdio.h/conform): Likewise.
55670 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55671 (test-xfail-XPG3/string.h/conform): Likewise.
55672 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55673 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55674 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55675 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55676 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55677 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55678 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55679 (test-xfail-XPG3/termios.h/conform): Likewise.
55680 (test-xfail-XPG3/time.h/conform): Likewise.
55681 (test-xfail-XPG3/unistd.h/conform): Likewise.
55682 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55683 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55684 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55685 (test-xfail-XPG4/netdb.h/conform): Likewise.
55686 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55687 (test-xfail-XPG4/signal.h/conform): Likewise.
55688 (test-xfail-XPG4/stdio.h/conform): Likewise.
55689 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55690 (test-xfail-XPG4/stropts.h/conform): Likewise.
55691 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55692 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55693 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55694 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55695 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55696 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55697 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55698 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55699 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55700 (test-xfail-XPG4/termios.h/conform): Likewise.
55701 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55702 (test-xfail-XPG4/unistd.h/conform): Likewise.
55703 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55704 (test-xfail-POSIX/sched.h/conform): Likewise.
55705 (test-xfail-POSIX/signal.h/conform): Likewise.
55706 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55707 (test-xfail-POSIX/tar.h/conform): Likewise.
55708 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55709 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55710 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55711 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55712 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55713 (test-xfail-UNIX98/sched.h/conform): Likewise.
55714 (test-xfail-UNIX98/signal.h/conform): Likewise.
55715 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55716 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55717 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55718 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55719 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55720 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55721 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55722 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55723 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55724 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55725 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55726 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55727 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55728 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55729 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55730 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55731 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55732 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55733 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55734 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55735 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55736 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55737 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55738 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55739 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55740 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55741 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55742 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55743 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55744 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55745 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55746 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55747 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55748 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55749 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55750 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55751 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55752 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55753 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55754 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55755 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55756 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55757 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55758 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55759 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55760 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55761 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55762 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55763 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55764 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55765 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55766 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55767 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55768 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55769 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55770 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55771 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55772 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55773 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55774 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55775 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55776 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55777 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55778 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55779 (conformtest-cc-flags): Likewise.
55780 ($(conformtest-header-tests): New target.
55781 * conform/check-header-lists.sh: New file.
55782 * conform/run-conformtest.sh: Remove.
55783
55784 * conform/conformtest.pl: Allow ' and \ in values given for
55785 constants.
55786 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55787 inclusion.
55788 [POSIX] (sys/types.h): Likewise.
55789 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55790 inclusion.
55791 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55792 inclusion.
55793 * conform/data/signal.h-data (SIGIO): Remove expectation.
55794 [XPG3] (SIGBUS): Do not expect.
55795 [POSIX || XPG3] (SIGPOLL): Likewise.
55796 [POSIX || XPG3] (SIGPROF): Likewise.
55797 [POSIX || XPG3] (SIGSYS): Likewise.
55798 [XPG3] (SIGTRAP): Likewise.
55799 [POSIX || XPG3] (SIGURG): Likewise.
55800 [POSIX || XPG3] (SIGVTALRM): Likewise.
55801 [POSIX || XPG3] (SIGXCPU): Likewise.
55802 [POSIX || XPG3] (SIGXFSZ): Likewise.
55803 [POSIX] (SA_SIGINFO): Expect.
55804 [XPG3] (siginfo_t): Do not expect type or contents.
55805 [POSIX] (si_pid): Do not expect element.
55806 [POSIX] (si_uid): Likewise.
55807 [POSIX] (si_addr): Likewise.
55808 [POSIX] (si_status): Likewise.
55809 [POSIX] (si_band): Likewise.
55810 [XPG4] (si_value): Likewise.
55811 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55812 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55813 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55814 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55815 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55816 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55817 [POSIX || XPG3] (ILL_COPROC): Likewise.
55818 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55819 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55820 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55821 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55822 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55823 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55824 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55825 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55826 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55827 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55828 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55829 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55830 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55831 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55832 [POSIX || XPG3] (CLD_EXITED): Likewise.
55833 [POSIX || XPG3] (CLD_KILLED): Likewise.
55834 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55835 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55836 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55837 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55838 [POSIX || XPG3] (POLL_IN): Likewise.
55839 [POSIX || XPG3] (POLL_OUT): Likewise.
55840 [POSIX || XPG3] (POLL_MSG): Likewise.
55841 [POSIX || XPG3] (POLL_ERR): Likewise.
55842 [POSIX || XPG3] (POLL_PRI): Likewise.
55843 [POSIX || XPG3] (POLL_HUP): Likewise.
55844 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55845 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55846 (SIG*): Do not allow.
55847 [XPG3] (si_*): Likewise.
55848 [XPG3] (SI_*): Likewise.
55849 [XPG3 || XPG4] (sigev_*): Likewise.
55850 [XPG3 || XPG4] (SIGEV_*): Likewise.
55851 [XPG3 || XPG4] (sival_*): Likewise.
55852 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55853 [POSIX || XPG3] (BUS_*): Likewise.
55854 [POSIX || XPG3] (CLD_*): Likewise.
55855 [POSIX || XPG3] (FPE_*): Likewise.
55856 [POSIX || XPG3] (ILL_*): Likewise.
55857 [POSIX || XPG3] (POLL_*): Likewise.
55858 [POSIX || XPG3] (SEGV_*): Likewise.
55859 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55860 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55861 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55862 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55863 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55864 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55865 Specify type and value.
55866 (TVERSLEN): Likewise.
55867 (REGTYPE): Likewise.
55868 (AREGTYPE): Likewise.
55869 (LNKTYPE): Likewise.
55870 (SYMTYPE): Likewise.
55871 (CHRTYPE): Likewise.
55872 (BLKTYPE): Likewise.
55873 (DIRTYPE): Likewise.
55874 (FIFOTYPE): Likewise.
55875 (CONTTYPE): Likewise.
55876 (TSUID): Likewise.
55877 (TSGID): Likewise.
55878 (TSVTX): Likewise.
55879 (TUREAD): Likewise.
55880 (TUWRITE): Likewise.
55881 (TUEXEC): Likewise.
55882 (TGREAD): Likewise.
55883 (TGWRITE): Likewise.
55884 (TGEXEC): Likewise.
55885 (TOREAD): Likewise.
55886 (TOWRITE): Likewise.
55887 (TOEXEC): Likewise.
55888 [POSIX] (TSVTX): Expect constant.
55889
558902014-03-06 Joseph Myers <joseph@codesourcery.com>
55891
55892 * Makefile (tests): Change dependencies to ....
55893 (tests-special): ... additions to this variable.
55894 (tests): Depend on $(tests-special).
55895 * Makerules (check-abi-list): New variable.
55896 (check-abi): Depend on $(check-abi-list).
55897 [$(subdir) = elf] (tests-special): Add
55898 $(objpfx)check-abi-libc.out.
55899 [$(build-shared) = yes && subdir] (tests-special): Add
55900 $(check-abi-list).
55901 [$(build-shared) = yes && subdir] (tests): Do not depend on
55902 check-abi.
55903 * Rules (tests): Depend on $(tests-special).
55904 (xtests): Depend on $(xtests-special).
55905 * catgets/Makefile (tests): Change dependencies to ....
55906 (tests-special): ... additions to this variable.
55907 * conform/Makefile (tests): Change dependencies to ....
55908 (tests-special): ... additions to this variable.
55909 * elf/Makefile (tests): Change dependencies to ....
55910 (tests-special): ... additions to this variable.
55911 * grp/Makefile (tests): Change dependencies to ....
55912 (tests-special): ... additions to this variable.
55913 * iconv/Makefile (xtests): Change dependencies to ....
55914 (xtests-special): ... additions to this variable.
55915 * iconvdata/Makefile (tests): Change dependencies to ....
55916 (tests-special): ... additions to this variable.
55917 * intl/Makefile (tests): Change dependencies to ....
55918 (tests-special): ... additions to this variable. Also add
55919 $(objpfx)tst-gettext.out.
55920 * io/Makefile (tests): Change dependencies to ....
55921 (tests-special): ... additions to this variable.
55922 * libio/Makefile (tests): Change dependencies to ....
55923 (tests-special): ... additions to this variable.
55924 * malloc/Makefile (tests): Change dependencies to ....
55925 (tests-special): ... additions to this variable.
55926 * misc/Makefile (tests): Change dependencies to ....
55927 (tests-special): ... additions to this variable.
55928 * nptl/Makefile (tests): Change dependencies to ....
55929 (tests-special): ... additions to this variable.
55930 * nptl_db/Makefile (tests): Change dependencies to ....
55931 (tests-special): ... additions to this variable.
55932 * posix/Makefile (tests): Change dependencies to ....
55933 (tests-special): ... additions to this variable.
55934 (xtests): Change dependencies to ....
55935 (xtests-special): ... additions to this variable.
55936 * resolv/Makefile (tests): Change dependencies to ....
55937 (tests-special): ... additions to this variable.
55938 (xtests): Change dependencies to ....
55939 (xtests-special): ... additions to this variable.
55940 * stdio-common/Makefile (tests): Change dependencies to ....
55941 (tests-special): ... additions to this variable.
55942 (do-tst-unbputc): Remove target.
55943 (do-tst-printf): Likewise.
55944 * stdlib/Makefile (tests): Change dependencies to ....
55945 (tests-special): ... additions to this variable.
55946 * string/Makefile (tests): Change dependencies to ....
55947 (tests-special): ... additions to this variable.
55948 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55949 (tests-special): ... additions to this variable.
55950
55951 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55952 whole file.
55953 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55954 whole file.
55955 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55956 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55957
55958 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55959 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55960 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55961 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55962 * conform/data/libgen.h-data [XPG3]: Likewise.
55963 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55964 * conform/data/ndbm.h-data [XPG3]: Likewise.
55965 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55966 * conform/data/netdb.h-data [XPG3]: Likewise.
55967 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55968 * conform/data/poll.h-data [XPG3]: Likewise.
55969 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55970 * conform/data/strings.h-data [XPG3]: Likewise.
55971 * conform/data/stropts.h-data [XPG3]: Likewise.
55972 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55973 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55974 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55975 Likewise.
55976 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55977 * conform/data/sys/time.h-data [XPG3]: Likewise.
55978 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55979 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55980 * conform/data/sys/un.h-data [XPG3]: Likewise.
55981 * conform/data/syslog.h-data [XPG3]: Likewise.
55982 * conform/data/ucontext.h-data [XPG3]: Likewise.
55983 * conform/data/utmpx.h-data [XPG3]: Likewise.
55984 * conform/data/varargs.h-data [UNIX98]: Enable file.
55985
55986 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55987
55988 * math/libm-test.inc (struct test_f_f_data): Move expected results
55989 into structure for each rounding mode.
55990 (struct test_ff_f_data): Likewise.
55991 (struct test_ff_f_data_nexttoward): Likewise.
55992 (struct test_fi_f_data): Likewise.
55993 (struct test_fl_f_data): Likewise.
55994 (struct test_if_f_data): Likewise.
55995 (struct test_fff_f_data): Likewise.
55996 (struct test_c_f_data): Likewise.
55997 (struct test_f_f1_data): Likewise.
55998 (struct test_fF_f1_data): Likewise.
55999 (struct test_ffI_f1_data): Likewise.
56000 (struct test_c_c_data): Likewise.
56001 (struct test_cc_c_data): Likewise.
56002 (struct test_f_i_data): Likewise.
56003 (struct test_ff_i_data): Likewise.
56004 (struct test_f_l_data): Likewise.
56005 (struct test_f_L_data): Likewise.
56006 (struct test_fFF_11_data): Likewise.
56007 (RM_): New macro.
56008 (RM_FE_DOWNWARD): Likewise.
56009 (RM_FE_TONEAREST): Likewise.
56010 (RM_FE_TOWARDZERO): Likewise.
56011 (RM_FE_UPWARD): Likewise.
56012 (RUN_TEST_LOOP_f_f): Update references to expected results.
56013 (RUN_TEST_LOOP_2_f): Likewise.
56014 (RUN_TEST_LOOP_fff_f): Likewise.
56015 (RUN_TEST_LOOP_c_f): Likewise.
56016 (RUN_TEST_LOOP_f_f1): Likewise.
56017 (RUN_TEST_LOOP_fF_f1): Likewise.
56018 (RUN_TEST_LOOP_fI_f1): Likewise.
56019 (RUN_TEST_LOOP_ffI_f1): Likewise.
56020 (RUN_TEST_LOOP_c_c): Likewise.
56021 (RUN_TEST_LOOP_cc_c): Likewise.
56022 (RUN_TEST_LOOP_f_i): Likewise.
56023 (RUN_TEST_LOOP_f_i_tg): Likewise.
56024 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56025 (RUN_TEST_LOOP_f_b): Likewise.
56026 (RUN_TEST_LOOP_f_b_tg): Likewise.
56027 (RUN_TEST_LOOP_f_l): Likewise.
56028 (RUN_TEST_LOOP_f_L): Likewise.
56029 (RUN_TEST_LOOP_fFF_11): Likewise.
56030 * math/gen-libm-test.pl (parse_args): Output four copies of
56031 expected results for each test.
56032
56033 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56034 (__ASSUME_UTIMES): Remove.
56035 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56036 (__ASSUME_UTIMES): Likewise.
56037
56038 * math/gen-auto-libm-tests.c: Update comment on output format.
56039 (output_for_one_input_case): Generate before-rounding and
56040 after-rounding information as conditions on output flags not
56041 floating-point format.
56042 * math/auto-libm-test-out: Regenerated.
56043 * math/gen-libm-test.pl (cond_value): New function.
56044 (or_cond_value): Use cond_value.
56045 (generate_testfile): Handle conditional exceptions.
56046
560472014-03-05 Joseph Myers <joseph@codesourcery.com>
56048
56049 * math/libm-test.inc (max_valid_error): New variable.
56050 (init_max_error): Take new argument specifying whether function
56051 results are exactly determined. Set max_valid_error and bound
56052 other variables for errors based on this argument.
56053 (set_max_error): Do not record results above max_valid_error.
56054 (check_float_internal): Only accept errors of up to 0.5ulps if
56055 also at most max_valid_error.
56056 (START): Take new argument EXACT and pass it to init_max_error.
56057 (acos_test): Update call to START.
56058 (acos_test_tonearest): Likewise.
56059 (acos_test_towardzero): Likewise.
56060 (acos_test_downward): Likewise.
56061 (acos_test_upward): Likewise.
56062 (acosh_test): Likewise.
56063 (asin_test): Likewise.
56064 (asin_test_tonearest): Likewise.
56065 (asin_test_towardzero): Likewise.
56066 (asin_test_downward): Likewise.
56067 (asin_test_upward): Likewise.
56068 (asinh_test): Likewise.
56069 (atan_test): Likewise.
56070 (atanh_test): Likewise.
56071 (atan2_test): Likewise.
56072 (cabs_test): Likewise.
56073 (cacos_test): Likewise.
56074 (cacosh_test): Likewise.
56075 (carg_test): Likewise.
56076 (casin_test): Likewise.
56077 (casinh_test): Likewise.
56078 (catan_test): Likewise.
56079 (catanh_test): Likewise.
56080 (cbrt_test): Likewise.
56081 (ccos_test): Likewise.
56082 (ccosh_test): Likewise.
56083 (ceil_test): Likewise.
56084 (cexp_test): Likewise.
56085 (cimag_test): Likewise.
56086 (clog_test): Likewise.
56087 (clog10_test): Likewise.
56088 (conj_test): Likewise.
56089 (copysign_test): Likewise.
56090 (cos_test): Likewise.
56091 (cos_test_tonearest): Likewise.
56092 (cos_test_towardzero): Likewise.
56093 (cos_test_downward): Likewise.
56094 (cos_test_upward): Likewise.
56095 (cosh_test): Likewise.
56096 (cosh_test_tonearest): Likewise.
56097 (cosh_test_towardzero): Likewise.
56098 (cosh_test_downward): Likewise.
56099 (cosh_test_upward): Likewise.
56100 (cpow_test): Likewise.
56101 (cproj_test): Likewise.
56102 (creal_test): Likewise.
56103 (csin_test): Likewise.
56104 (csinh_test): Likewise.
56105 (csqrt_test): Likewise.
56106 (ctan_test): Likewise.
56107 (ctan_test_tonearest): Likewise.
56108 (ctan_test_towardzero): Likewise.
56109 (ctan_test_downward): Likewise.
56110 (ctan_test_upward): Likewise.
56111 (ctanh_test): Likewise.
56112 (ctanh_test_tonearest): Likewise.
56113 (ctanh_test_towardzero): Likewise.
56114 (ctanh_test_downward): Likewise.
56115 (ctanh_test_upward): Likewise.
56116 (erf_test): Likewise.
56117 (erfc_test): Likewise.
56118 (exp_test): Likewise.
56119 (exp_test_tonearest): Likewise.
56120 (exp_test_towardzero): Likewise.
56121 (exp_test_downward): Likewise.
56122 (exp_test_upward): Likewise.
56123 (exp10_test): Likewise.
56124 (exp10_test_tonearest): Likewise.
56125 (exp10_test_towardzero): Likewise.
56126 (exp10_test_downward): Likewise.
56127 (exp10_test_upward): Likewise.
56128 (pow10_test): Likewise.
56129 (exp2_test): Likewise.
56130 (expm1_test): Likewise.
56131 (expm1_test_tonearest): Likewise.
56132 (expm1_test_towardzero): Likewise.
56133 (expm1_test_downward): Likewise.
56134 (expm1_test_upward): Likewise.
56135 (fabs_test): Likewise.
56136 (fdim_test): Likewise.
56137 (floor_test): Likewise.
56138 (fma_test): Likewise.
56139 (fma_test_towardzero): Likewise.
56140 (fma_test_downward): Likewise.
56141 (fma_test_upward): Likewise.
56142 (fmax_test): Likewise.
56143 (fmin_test): Likewise.
56144 (fmod_test): Likewise.
56145 (fpclassify_test): Likewise.
56146 (frexp_test): Likewise.
56147 (hypot_test): Likewise.
56148 (ilogb_test): Likewise.
56149 (isfinite_test): Likewise.
56150 (finite_test): Likewise.
56151 (isgreater_test): Likewise.
56152 (isgreaterequal_test): Likewise.
56153 (isinf_test): Likewise.
56154 (isless_test): Likewise.
56155 (islessequal_test): Likewise.
56156 (islessgreater_test): Likewise.
56157 (isnan_test): Likewise.
56158 (isnormal_test): Likewise.
56159 (issignaling_test): Likewise.
56160 (isunordered_test): Likewise.
56161 (j0_test): Likewise.
56162 (j1_test): Likewise.
56163 (jn_test): Likewise.
56164 (ldexp_test): Likewise.
56165 (lgamma_test): Likewise.
56166 (gamma_test): Likewise.
56167 (lrint_test): Likewise.
56168 (lrint_test_tonearest): Likewise.
56169 (lrint_test_towardzero): Likewise.
56170 (lrint_test_downward): Likewise.
56171 (lrint_test_upward): Likewise.
56172 (llrint_test): Likewise.
56173 (llrint_test_tonearest): Likewise.
56174 (llrint_test_towardzero): Likewise.
56175 (llrint_test_downward): Likewise.
56176 (llrint_test_upward): Likewise.
56177 (log_test): Likewise.
56178 (log10_test): Likewise.
56179 (log1p_test): Likewise.
56180 (log2_test): Likewise.
56181 (logb_test): Likewise.
56182 (logb_test_downward): Likewise.
56183 (lround_test): Likewise.
56184 (llround_test): Likewise.
56185 (modf_test): Likewise.
56186 (nearbyint_test): Likewise.
56187 (nextafter_test): Likewise.
56188 (nexttoward_test): Likewise.
56189 (pow_test): Likewise.
56190 (pow_test_tonearest): Likewise.
56191 (pow_test_towardzero): Likewise.
56192 (pow_test_downward): Likewise.
56193 (pow_test_upward): Likewise.
56194 (remainder_test): Likewise.
56195 (drem_test): Likewise.
56196 (remainder_test_tonearest): Likewise.
56197 (drem_test_tonearest): Likewise.
56198 (remainder_test_towardzero): Likewise.
56199 (drem_test_towardzero): Likewise.
56200 (remainder_test_downward): Likewise.
56201 (drem_test_downward): Likewise.
56202 (remainder_test_upward): Likewise.
56203 (drem_test_upward): Likewise.
56204 (remquo_test): Likewise.
56205 (rint_test): Likewise.
56206 (rint_test_tonearest): Likewise.
56207 (rint_test_towardzero): Likewise.
56208 (rint_test_downward): Likewise.
56209 (rint_test_upward): Likewise.
56210 (round_test): Likewise.
56211 (scalb_test): Likewise.
56212 (scalbn_test): Likewise.
56213 (scalbln_test): Likewise.
56214 (signbit_test): Likewise.
56215 (sin_test): Likewise.
56216 (sin_test_tonearest): Likewise.
56217 (sin_test_towardzero): Likewise.
56218 (sin_test_downward): Likewise.
56219 (sin_test_upward): Likewise.
56220 (sincos_test): Likewise.
56221 (sinh_test): Likewise.
56222 (sinh_test_tonearest): Likewise.
56223 (sinh_test_towardzero): Likewise.
56224 (sinh_test_downward): Likewise.
56225 (sinh_test_upward): Likewise.
56226 (sqrt_test): Likewise.
56227 (sqrt_test_tonearest): Likewise.
56228 (sqrt_test_towardzero): Likewise.
56229 (sqrt_test_downward): Likewise.
56230 (sqrt_test_upward): Likewise.
56231 (tan_test): Likewise.
56232 (tan_test_tonearest): Likewise.
56233 (tan_test_towardzero): Likewise.
56234 (tan_test_downward): Likewise.
56235 (tan_test_upward): Likewise.
56236 (tanh_test): Likewise.
56237 (tgamma_test): Likewise.
56238 (trunc_test): Likewise.
56239 (y0_test): Likewise.
56240 (y1_test): Likewise.
56241 (yn_test): Likewise.
56242 (significand_test): Likewise.
56243
56244 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56245 individual tests in comment.
56246 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56247 (prev_max_error): New variable.
56248 (prev_real_max_error): Likewise.
56249 (prev_imag_max_error): Likewise.
56250 (compare_ulp_data): Don't refer to test names in comment.
56251 (find_test_ulps): Remove function.
56252 (find_function_ulps): Likewise.
56253 (find_complex_function_ulps): Likewise.
56254 (init_max_error): Take function name as argument. Look up ulps
56255 for that function.
56256 (print_ulps): Remove function.
56257 (print_max_error): Use prev_max_error instead of calling
56258 find_function_ulps.
56259 (print_complex_max_error): Use prev_real_max_error and
56260 prev_imag_max_error instead of calling find_complex_function_ulps.
56261 (check_float_internal): Take max_ulp parameter instead of calling
56262 find_test_ulps. Don't call print_ulps.
56263 (check_float): Update call to check_float_internal.
56264 (check_complex): Update calls to check_float_internal.
56265 (START): Pass argument to init_max_error.
56266 * math/gen-libm-test.pl (%results): Don't include "kind"
56267 information.
56268 (parse_ulps): Don't handle ulps of individual tests.
56269 (print_ulps_file): Likewise.
56270 (output_ulps): Likewise.
56271 * math/README.libm-test: Update.
56272 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56273 individual tests.
56274 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56275 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56276 * sysdeps/arm/libm-test-ulps: Likewise.
56277 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56278 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56279 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56280 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56281 * sysdeps/microblaze/libm-test-ulps: Likewise.
56282 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56283 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56284 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56285 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56286 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56287 * sysdeps/sh/libm-test-ulps: Likewise.
56288 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56289 * sysdeps/tile/libm-test-ulps: Likewise.
56290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56291
562922014-03-04 Joseph Myers <joseph@codesourcery.com>
56293
56294 * math/libm-test.inc (print_complex_max_error): Check separately
56295 whether real and imaginary errors are within allowed range and
56296 pass 0 to print_complex_function_ulps instead of value within
56297 allowed range.
56298
562992014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56300
56301 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56302 formatting.
56303 (get_handles_fopen): Likewise.
56304 (do_write_test): Likewise.
56305
56306 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56307
56308 * libio/fileops.c (do_ftell): Use cached offset when
56309 available.
56310 * libio/iofwide.c (do_ftell_wide): Likewise.
56311 * libio/iofdopen.c (_IO_new_fdopen): Don't use
56312 _IO_file_attach.
56313 * libio/wfileops.c (_IO_fwide): Don't cache offset.
56314
56315 [BZ #16532]
56316 * libio/libioP.h (get_file_offset): New function.
56317 * libio/fileops.c (get_file_offset): Likewise.
56318 (do_ftell): Likewise.
56319 (_IO_new_file_seekoff): Split out ftell logic.
56320 * libio/wfileops.c (do_ftell_wide): Likewise.
56321 (_IO_wfile_seekoff): Split out ftell logic.
56322 * libio/tst-ftell-active-handler.c: New test case.
56323 * libio/Makefile (tests): Add it.
56324
563252014-03-03 Roland McGrath <roland@hack.frob.com>
56326
56327 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56328 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56329
563302014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56331
56332 [BZ #16639]
56333 * nscd/connections.c (nscd_init): Call do_exit.
56334 (start_threads): Call do_exit and notify_parent.
56335 (begin_drop_privileges): Call do_exit.
56336 (finish_drop_privileges): Likewise.
56337 * nscd/selinux.c (preserve_capabilities): Likewise.
56338 (install_real_capabilities): Likewise.
56339 (nscd_selinux_enabled): Likewise.
56340 (avc_create_thread): Likewise.
56341 (avc_alloc_lock): Likewise.
56342 (nscd_avc_init): Likewise.
56343 * nscd/nscd.c (parent_fd): New static variable.
56344 (main): Create a pipe between parent and child processes.
56345 Skip closing parent_fd.
56346 (monitor_child): New function.
56347 (do_exit): Likewise.
56348 (notify_parent): Likewise.
56349 * nscd/nscd.h (notify_parent): Likewise.
56350 (do_exit): Likewise.
56351
563522014-03-03 Carlos O'Donell <carlos@redhat.com>
56353
56354 * malloc/malloc.c (__libc_calloc): Revert last change.
56355
563562014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56357
56358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56359
563602014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56361
56362 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56364 implementation.
56365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56366 (__libc_ifunc_impl_list): Likewise.
56367 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56368 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56369 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56370 * string/strrchr.c: Define STRRCHR.
56371
563722014-02-28 Ondřej Bílka <neleai@seznam.cz>
56373
56374 * benchtest/bench-strtok.c (simple_strtok): Delete.
56375 (strtok_string): Use as benchmark.
56376 * string/strtok (STRTOK): New macro.
56377
563782014-02-28 Carlos O'Donell <carlos@redhat.com>
56379
56380 * manual/threads.texi: Add header and standard comments to all
56381 functions.
56382
56383 * elf/dl-lookup.c (check_match): New function.
56384 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56385 (do_lookup_x): Remove nested function check_match. Use non-nested
56386 function check_match.
56387
563882014-02-28 Roland McGrath <roland@hack.frob.com>
56389
56390 * csu/Makefile (generated, before-compile): Use += rather than =.
56391 * catgets/Makefile (generated, generated-dirs): Likewise.
56392 * debug/Makefile (generated): Likewise.
56393 * dlfcn/Makefile (generated): Likewise.
56394 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56395 * iconvdata/Makefile (before-compile, generated): Likewise.
56396 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56397 * libio/Makefile (generated): Likewise.
56398 * malloc/Makefile (generated): Likewise.
56399 * manual/Makefile (generated, generated-dirs): Likewise.
56400 * misc/Makefile (generated): Likewise.
56401 * posix/Makefile (generated): Likewise.
56402 * resolv/Makefile (generated): Likewise.
56403 * sunrpc/Makefile (generated, generated-dirs): Likewise.
56404 * timezone/Makefile (generated, generated-dirs): Likewise.
56405
56406 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56407
564082014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56409
56410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56411 power8 implementation.
56412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56413 file: POWER8 llround ifunc implementation.
56414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56415 (__lllround): Add POWER8 implementation.
56416 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56417 POWER8 llround implementation.
56418
56419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56420 power8 implementation.
56421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56422 file: POWER8 llrint ifunc implementation.
56423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56424 Add POWER8 implementation.
56425 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56426 POWER8 llrint implementation.
56427
56428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56429 power8 implementation.
56430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56431 file: POWER8 finite ifunc implementation.
56432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56433 Add POWER8 implementation.
56434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56435 Likewise.
56436 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56437 POWER8 finite implementation.
56438 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56439
56440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56441 power8 implementation.
56442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56443 file: POWER8 isinf ifunc implementation.
56444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56445 POWER8 implementation.
56446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56447 Likewise.
56448 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56449 isinf implementation.
56450 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56451
56452 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56453 (INIT_ARCH): Add hwcap2 initialization.
56454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56455 power8 implementation.
56456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56457 file: POWER8 isnan ifunc implementation.
56458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56459 POWER8 implementation.
56460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56461 Likewise.
56462 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56463 isnan implementation.
56464 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56465
564662014-02-27 Joey Ye <joey.ye@arm.com>
56467
56468 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56469 (_FP_NANFRAC_Q): Set to zero.
56470
564712014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56472
56473 [BZ #16623]
56474 * math/auto-libm-test-in: New test inputs.
56475 * math/auto-libm-test-out: Regenerate.
56476 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56477 and DA.
56478 (__cos): Likewise.
56479 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56480
564812014-02-27 Joseph Myers <joseph@codesourcery.com>
56482
56483 * scripts/evaluate-test.sh: Take new argument indicating whether
56484 failure is expected.
56485 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56486 indicating whether failure is expected.
56487 * conform/Makefile (test-xfail-run-conformtest): New variable.
56488 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56489 level.
56490 * posix/Makefile (test-xfail-annexc): New variable.
56491 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56492
564932014-02-26 Joseph Myers <joseph@codesourcery.com>
56494
56495 * argp/Makefile: Include Makeconfig immediately after defining
56496 subdir.
56497 * assert/Makefile: Likewise.
56498 * benchtests/Makefile: Likewise.
56499 * catgets/Makefile: Likewise.
56500 * conform/Makefile: Likewise.
56501 * crypt/Makefile: Likewise.
56502 * csu/Makefile: Likewise.
56503 (all): Remove target.
56504 * ctype/Makefile: Include Makeconfig immediately after defining
56505 subdir.
56506 * debug/Makefile: Likewise.
56507 * dirent/Makefile: Likewise.
56508 * dlfcn/Makefile: Likewise.
56509 * gmon/Makefile: Likewise.
56510 * gnulib/Makefile: Likewise.
56511 * grp/Makefile: Likewise.
56512 * gshadow/Makefile: Likewise.
56513 * hesiod/Makefile: Likewise.
56514 * hurd/Makefile: Likewise.
56515 (all): Remove target.
56516 * iconvdata/Makefile: Include Makeconfig immediately after
56517 defining subdir.
56518 * inet/Makefile: Likewise.
56519 * intl/Makefile: Likewise.
56520 * io/Makefile: Likewise.
56521 * libio/Makefile: Likewise.
56522 (all): Remove target.
56523 * locale/Makefile: Include Makeconfig immediately after defining
56524 subdir.
56525 * login/Makefile: Likewise.
56526 * mach/Makefile: Likewise.
56527 (all): Remove target.
56528 * malloc/Makefile: Include Makeconfig immediately after defining
56529 subdir.
56530 (all): Remove target.
56531 * manual/Makefile: Include Makeconfig immediately after defining
56532 subdir.
56533 * math/Makefile: Likewise.
56534 * misc/Makefile: Likewise.
56535 * nis/Makefile: Likewise.
56536 * nss/Makefile: Likewise.
56537 * po/Makefile: Likewise.
56538 (all): Remove target.
56539 * posix/Makefile: Include Makeconfig immediately after defining
56540 subdir.
56541 * pwd/Makefile: Likewise.
56542 * resolv/Makefile: Likewise.
56543 * resource/Makefile: Likewise.
56544 * rt/Makefile: Likewise.
56545 * setjmp/Makefile: Likewise.
56546 * shadow/Makefile: Likewise.
56547 * signal/Makefile: Likewise.
56548 * socket/Makefile: Likewise.
56549 * soft-fp/Makefile: Likewise.
56550 * stdio-common/Makefile: Likewise.
56551 * stdlib/Makefile: Likewise.
56552 * streams/Makefile: Likewise.
56553 * string/Makefile: Likewise.
56554 * sunrpc/Makefile: Likewise.
56555 (all): Remove target.
56556 * sysvipc/Makefile: Include Makeconfig immediately after defining
56557 subdir.
56558 * termios/Makefile: Likewise.
56559 * time/Makefile: Likewise.
56560 * timezone/Makefile: Likewise.
56561 (all): Remove target.
56562 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56563 subdir.
56564 * wctype/Makefile: Likewise.
56565
565662014-02-26 Steve Ellcey <sellcey@mips.com>
56567
56568 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56569 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56570 (libc_feholdexcept_setround_mips): Ditto.
56571 (libc_feholdsetround): New.
56572 (libc_feholdsetroundf): New.
56573 (libc_feholdsetroundl): New.
56574 (libc_feupdateenv_test_mips): New.
56575 (libc_feupdateenv_test): New.
56576 (libc_feupdateenv_testf): New.
56577 (libc_feupdateenv_testl): New.
56578 (libc_feresetround): New.
56579 (libc_feresetroundf): New.
56580 (libc_feresetroundl): New.
56581 (libc_fetestexcept_mips): New.
56582 (libc_fetestexcept): New.
56583 (libc_fetestexceptf): New.
56584 (libc_fetestexceptl): New.
56585 (HAVE_RM_CTX): New.
56586 (libc_feholdexcept_setround_mips_ctx): New.
56587 (libc_feholdexcept_setround_ctx): New.
56588 (libc_feholdexcept_setroundf_ctx): New.
56589 (libc_feholdexcept_setroundl_ctx): New.
56590 (libc_fesetenv_mips_ctx): New.
56591 (libc_fesetenv_ctx): New.
56592 (libc_fesetenv_ctxf): New.
56593 (libc_fesetenv_ctxl): New.
56594 (libc_feupdateenv_mips_ctx): New.
56595 (libc_feupdateenv_ctx): New.
56596 (libc_feupdateenvf_ctx): New.
56597 (libc_feupdateenvl_ctx): New.
56598 (libc_feholdsetround_mips_ctx): New.
56599 (libc_feholdsetround_ctx): New.
56600 (libc_feholdsetroundf_ctx): New.
56601 (libc_feholdsetroundl_ctx): New.
56602 (libc_feresetround_mips_ctx): New.
56603 (libc_feresetround_ctx): New.
56604 (libc_feresetroundf_ctx): New.
56605 (libc_feresetroundl_ctx): New.
56606
566072014-02-26 Carlos O'Donell <carlos@redhat.com>
56608
56609 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56610
56611 * manual/ipc.texi: New file.
56612 * manual/Makefile (chapters): Add ipc.
56613 * manual/job.texi: Add "Inter-Process Communication" to next.
56614 * manual/process.texi: Add "Inter-Process Communication" to prev.
56615
566162014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56617
56618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56619
566202014-02-26 Ondřej Bílka <neleai@seznam.cz>
56621
56622 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56623
56624 * manual/arith.texi: Fix spaces after sentences.
56625 * manual/charset.texi: Likewise.
56626 * manual/errno.texi: Likewise.
56627 * manual/install.texi: Likewise.
56628 * manual/llio.texi: Likewise.
56629 * manual/locale.texi: Likewise.
56630 * manual/maint.texi: Likewise.
56631 * manual/math.texi: Likewise.
56632 * manual/memory.texi: Likewise.
56633 * manual/message.texi: Likewise.
56634 * manual/probes.texi: Likewise.
56635 * manual/resource.texi: Likewise.
56636 * manual/signal.texi: Likewise.
56637 * manual/socket.texi: Likewise.
56638 * manual/stdio.texi: Likewise.
56639 * manual/string.texi: Likewise.
56640 * manual/time.texi: Likewise.
56641 * manual/users.texi: Likewise.
56642
566432014-02-25 Carlos O'Donell <carlos@redhat.com>
56644
56645 [BZ #16632]
56646 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56647 _DEFAULT_SOURCE is defined.
56648
566492014-02-25 Ulrich Drepper <drepper@gmail.com>
56650 Carlos O'Donell <carlos@redhat.com>
56651
56652 [BZ #16613]
56653 * elf/dl-tls.c (_dl_count_modids): New function.
56654 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56655 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56656 audit library and increment generation counter.
56657 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56658 * elf/tst-audit9.c: New file.
56659 * elf/tst-auditmod9a.c: New file.
56660 * elf/tst-auditmod9b.c: New file.
56661 * elf/Makefile: Add rules to build and run tst-audit9.
56662
566632014-02-25 Florian Weimer <fweimer@redhat.com>
56664
56665 [BZ #15347]
56666 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56667
566682014-02-25 Will Newton <will.newton@linaro.org>
56669
56670 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56671 (__longjmp): Restore sp and lr before restoring callee
56672 saved registers. Add longjmp and longjmp_target
56673 SystemTap probe point.
56674 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56675 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56676 Define to zero to match jmpbuf layout.
56677 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56678 (__sigsetjmp): Save sp and lr before saving callee
56679 saved registers. Add setjmp SystemTap probe point.
56680
566812014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56682
56683 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56684
566852014-02-24 Andreas Schwab <schwab@suse.de>
56686
56687 [BZ #15804]
56688 * elf/pldd.c (wait_for_ptrace_stop): New function.
56689 (main): Call it after attaching.
56690
566912014-02-22 Roland McGrath <roland@hack.frob.com>
56692
56693 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56694 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56695 Versions files is now verboten.
56696 * hurd/Versions (libc: GLIBC_2.0):
56697 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56698 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56699 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56700 * mach/Versions: Likewise.
56701
56702 * csu/Versions: Remove unused %include.
56703 * resolv/Versions: Likewise.
56704
567052014-02-21 Joseph Myers <joseph@codesourcery.com>
56706
56707 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56708 ($(objpfx)check-local-headers.out): Likewise.
56709 ($(objpfx)begin-end-check.out): Likewise.
56710 * Makerules (check-abi-%.out): Likewise.
56711 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56712 ($(objpfx)test2.cat): Likewise.
56713 ($(objpfx)de/libc.cat): Likewise.
56714 ($(objpfx)test-gencat.out): Likewise.
56715 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56716 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56717 ($(objpfx)noload-mem): Likewise.
56718 ($(objpfx)tst-pathopt.out): Likewise.
56719 ($(objpfx)tst-rtld-load-self.out): Likewise.
56720 ($(objpfx)tst-array1-cmp.out): Likewise.
56721 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56722 ($(objpfx)tst-array2-cmp.out): Likewise.
56723 ($(objpfx)tst-array3-cmp.out): Likewise.
56724 ($(objpfx)tst-array4-cmp.out): Likewise.
56725 ($(objpfx)tst-array5-cmp.out): Likewise.
56726 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56727 ($(objpfx)check-textrel.out): Likewise.
56728 ($(objpfx)check-execstack.out): Likewise.
56729 ($(objpfx)check-localplt.out): Likewise.
56730 ($(objpfx)order2-cmp.out): Likewise.
56731 ($(objpfx)tst-leaks1-mem): Likewise.
56732 ($(objpfx)tst-leaks1-static-mem): Likewise.
56733 ($(objpfx)tst-initorder-cmp.out): Likewise.
56734 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56735 ($(objpfx)tst-unused-dep.out): Likewise.
56736 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56737 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56738 * iconv/Makefile (test-iconvconfig): Likewise.
56739 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56740 ($(objpfx)iconv-test.out): Likewise.
56741 ($(objpfx)tst-tables.out): Likewise.
56742 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56743 ($(objpfx)tst-gettext.out): Likewise.
56744 ($(objpfx)tst-translit.out): Likewise.
56745 ($(objpfx)tst-gettext2.out): Likewise.
56746 ($(objpfx)tst-gettext4.out): Likewise.
56747 ($(objpfx)tst-gettext6.out): Likewise.
56748 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56749 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56750 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56751 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56752 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56753 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56754 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56755 ($(objpfx)wordexp-tst.out): Likewise.
56756 ($(objpfx)annexc.out): Likewise.
56757 ($(objpfx)tst-fnmatch-mem): Likewise.
56758 ($(objpfx)bug-regex2-mem): Likewise.
56759 ($(objpfx)bug-regex14-mem): Likewise.
56760 ($(objpfx)bug-regex21-mem): Likewise.
56761 ($(objpfx)bug-regex31-mem): Likewise.
56762 ($(objpfx)tst-vfork3-mem): Likewise.
56763 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56764 ($(objpfx)tst-pcre-mem): Likewise.
56765 ($(objpfx)tst-boost-mem): Likewise.
56766 ($(objpfx)tst-getconf.out): Likewise.
56767 ($(objpfx)bug-ga2-mem): Likewise.
56768 ($(objpfx)bug-glob2-mem): Likewise.
56769 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56770 ($(objpfx)mtrace-tst-leaks2): Likewise.
56771 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56772 ($(objpfx)tst-printf.out): Likewise.
56773 ($(objpfx)tst-setvbuf1.out): Likewise.
56774 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56775 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56776 ($(objpfx)tst-fmtmsg.out): Likewise.
56777 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56778 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56779
56780 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56781 * bits/sigaction.h [__USE_MISC]: Likewise.
56782 * bits/waitstatus.h: Update #endif comments.
56783 * ctype/ctype.h: Likewise.
56784 * dirent/dirent.h: Likewise.
56785 [__USE_MISC]: Remove redundant conditionals.
56786 * grp/grp.h: Update #endif comments.
56787 [__USE_GNU]: Remove redundant conditionals.
56788 [__USE_MISC]: Likewise.
56789 * inet/netinet/in.h [__USE_GNU]: Likewise.
56790 * io/sys/stat.h [__USE_MISC]: Likewise.
56791 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56792 * libio/bits/stdio.h: Update #endif comments.
56793 [__USE_MISC]: Remove redundant conditionals.
56794 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56795 * libio/stdio.h: Update #endif comments.
56796 [__USE_MISC]: Remove redundant conditionals.
56797 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56798 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56799 * math/math.h: Update #else and #endif comments.
56800 [__USE_MISC]: Remove redundant conditionals.
56801 * misc/sys/uio.h: Update #endif comments.
56802 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56803 * posix/glob.h [__USE_MISC]: Likewise.
56804 * posix/sys/types.h: Update #endif comments.
56805 [__USE_MISC]: Remove redundant conditionals.
56806 * posix/sys/wait.h: Update #endif comments.
56807 [__USE_MISC]: Remove redundant conditionals.
56808 * posix/unistd.h: Update #endif comments.
56809 [__USE_MISC]: Remove redundant conditionals.
56810 * pwd/pwd.h [__USE_GNU]: Likewise.
56811 [__USE_MISC]: Likewise.
56812 * resolv/netdb.h [__USE_GNU]: Likewise.
56813 * signal/signal.h: Update #endif comments.
56814 [__USE_MISC]: Remove redundant conditionals.
56815 * stdlib/stdlib.h: Update #else and #endif comments.
56816 [__USE_MISC]: Remove redundant conditionals.
56817 [__USE_GNU]: Likewise.
56818 * string/bits/string2.h [__USE_MISC]: Likewise.
56819 * string/string.h: Update #endif comments.
56820 [__USE_MISC]: Remove redundant conditionals.
56821 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56822 Likewise.
56823 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56824 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56825 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56826 Likewise.
56827 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56828 Likewise.
56829 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56830 comments.
56831 [__USE_MISC]: Remove redundant conditionals.
56832 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56833 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56834 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56835 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56836 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56837 Likewise.
56838 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56839 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56840 Likewise.
56841 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56842 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56843 Likewise.
56844 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56845 Likewise.
56846 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56847 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56848 Likewise.
56849 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56850 Likewise.
56851 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56852 * sysdeps/x86/bits/string.h: Update #endif comments.
56853 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56854 conditionals.
56855 * time/sys/time.h: Update #endif comments.
56856 * time/time.h: Likewise.
56857 [__USE_MISC]: Remove redundant conditionals.
56858
568592014-02-21 Yury Gribov <y.gribov@samsung.com>
56860
56861 [BZ #16600]
56862 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56863
568642014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56865
56866 * Versions.def (librt): Add GLIBC_2.17.
56867
568682014-02-21 Adam Conrad <adconrad@0c3.net>
56869
56870 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56871 synonym for _SYS_AUXV_H to allow direct inclusion.
56872 * sysdeps/sparc/bits/hwcap.h: Likewise.
56873 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56874 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56875 * sysdeps/sparc/sysdep.h: Likewise.
56876
568772014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56878
56879 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56880
568812014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56882
56883 * benchtests/bench-strrchr.c: Print length instead of position.
56884
568852014-02-20 Joseph Myers <joseph@codesourcery.com>
56886
56887 [BZ #16611]
56888 * sysdeps/unix/sysv/linux/kernel-features.h
56889 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56890 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56891 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56892 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56893 Likewise.
56894 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56895 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56896 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56897 (__ASSUME_SENDMMSG): Define instead of using previous
56898 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56899 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56900 (__ASSUME_SENDMMSG_SYSCALL): Define.
56901 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56902 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56903 Likewise.
56904 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56905 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56906 Likewise.
56907 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56908 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56909 Likewise.
56910 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56911 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56912 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56913 [__ASSUME_SENDMMSG]: Change conditionals to
56914 [__ASSUME_SENDMMSG_SOCKETCALL].
56915 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56916 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56917 Define.
56918 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56919 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56920 Likewise.
56921 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56922 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56923 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56924 [!__ASSUME_SENDMMSG]: Change conditional to
56925 [!__ASSUME_SENDMMSG_SOCKETCALL].
56926 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56927 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56928 Define.
56929
56930 [BZ #16610]
56931 * sysdeps/unix/sysv/linux/kernel-features.h
56932 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56933 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56934 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56935 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56936 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56937 [__i386__ || __sparc__]
56938 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56939 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56940 (__ASSUME_RECVMMSG): Define instead of using previous
56941 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56942 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56943 (__ASSUME_RECVMMSG_SYSCALL): Define.
56944 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56945 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56946 Likewise.
56947 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56948 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56949 Likewise.
56950 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56951 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56952 Likewise.
56953 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56954 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56955 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56956 [__ASSUME_RECVMMSG]: Change condition to
56957 [__ASSUME_RECVMMSG_SOCKETCALL].
56958 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56959 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56960 Define.
56961 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56962 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56963 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56964 Likewise.
56965 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56966 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56967 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56968 [!__ASSUME_RECVMMSG]: Change condition to
56969 [!__ASSUME_RECVMMSG_SOCKETCALL].
56970 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56971 (__ASSUME_RECVMMSG_SYSCALL): Define.
56972
56973 [BZ #16609]
56974 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56975 __powerpc__ || __s390__ || __sh__ || __sparc__]
56976 (__ASSUME_SOCKETCALL): Define.
56977 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56978 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56979 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56980 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56981 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56982 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56983 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56984 (__ASSUME_ACCEPT4): Define instead of using previous
56985 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56986 __powerpc__ || __sparc__ || __s390__)] condition.
56987 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56988 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56989 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56990 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56991 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56992 [!__ASSUME_ACCEPT4]: Change condition to
56993 [!__ASSUME_ACCEPT4_SOCKETCALL].
56994 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56995 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56996 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56997 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56998 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56999 __ASSUME_ACCEPT4_SYSCALL.
57000 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
57001 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
57002 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
57003 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
57004 __ASSUME_ACCEPT4_SYSCALL.
57005 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
57006 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
57007 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
57008 [__ASSUME_ACCEPT4]: Change condition to
57009 [__ASSUME_ACCEPT4_SOCKETCALL].
57010 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
57011 (__ASSUME_SOCKETCALL): Define.
57012 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
57013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
57014 (__ASSUME_SOCKETCALL): Define.
57015 (__ASSUME_ACCEPT4): Remove.
57016 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
57017 Define.
57018 * sysdeps/unix/sysv/linux/mips/kernel-features.h
57019 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
57020 Likewise.
57021 * sysdeps/unix/sysv/linux/tile/kernel-features.h
57022 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
57023
57024 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
57025 macro.
57026 (HWCAP_ARM_LPAE): Likewise.
57027 (HWCAP_ARM_EVTSTRM): Likewise.
57028 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
57029 Add vpfd32, lpae and evtstrm.
57030 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
57031 Increase to 22.
57032
570332014-02-19 Joseph Myers <joseph@codesourcery.com>
57034
57035 * math/auto-libm-test-in: Add tests of clog10.
57036 * math/auto-libm-test-out: Regenerated.
57037 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
57038 * sysdeps/i386/fpu/libm-test-ulps: Update.
57039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57040
570412014-02-18 Andreas Schwab <schwab@suse.de>
57042
57043 [BZ #16574]
57044 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
57045 Store non-zero if the second buffer was newly allocated.
57046 (send_dg): Likewise.
57047 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
57048 to send_vc and send_dg.
57049 (res_nsend): Pass NULL for ansp2_malloced.
57050 * resolv/res_query.c (__libc_res_nquery): Add parameter
57051 answerp2_malloced and pass it down to __libc_res_nsend.
57052 (res_nquery): Pass additional NULL to __libc_res_nquery.
57053 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
57054 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
57055 second answer buffer if answerp2_malloced was set.
57056 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
57057 (__libc_res_nquerydomain): Add parameter
57058 answerp2_malloced and pass it down to __libc_res_nquery.
57059 (res_nquerydomain): Pass additional NULL to
57060 __libc_res_nquerydomain.
57061 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
57062 additional NULL to __libc_res_nsend and __libc_res_nquery.
57063 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
57064 additional NULL to __libc_res_nsearch.
57065 (_nss_dns_gethostbyname4_r): Revert last change. Use new
57066 parameter of __libc_res_nsearch to check for separately allocated
57067 second buffer.
57068 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
57069 __libc_res_nquery.
57070 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
57071 additional NULL to __libc_res_nquery.
57072 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
57073 __libc_res_nsearch.
57074 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
57075 * include/resolv.h: Update prototypes of __libc_res_nquery,
57076 __libc_res_nsearch, __libc_res_nsend.
57077
570782014-02-18 Joseph Myers <joseph@codesourcery.com>
57079
57080 * math/auto-libm-test-in: Add tests of fma.
57081 * math/auto-libm-test-out: Regenerated.
57082 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
57083 (fma_towardzero_test_data): Likewise.
57084 (fma_downward_test_data): Likewise.
57085 (fma_upward_test_data): Likewise.
57086 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
57087 mpc_mode.
57088 (rounding_modes): Add values for new field.
57089 (func_calc_method): Add value mpfr_fff_f.
57090 (func_calc_desc): Add mpfr_fff_f union field.
57091 (test_function): Add field exact_args.
57092 (FUNC): Add macro argument EXACT_ARGS.
57093 (FUNC_mpfr_f_f): Update call to FUNC.
57094 (FUNC_mpfr_f_f): Likewise.
57095 (FUNC_mpfr_ff_f): Likewise.
57096 (FUNC_mpfr_if_f): Likewise.
57097 (FUNC_mpc_c_f): Likewise.
57098 (FUNC_mpc_c_c): Likewise.
57099 (test_functions): Add fma. Update calls to FUNC.
57100 (handle_input_arg): Add argument exact_args.
57101 (add_test): Update call to handle_input_arg.
57102 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
57103 (output_for_one_input_case): Update call to calc_generic_results.
57104 Recalculate exact zero results in each rounding mode.
57105
57106 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
57107 non-negative before setting low bit.
57108 * math/auto-libm-test-in: Mark one asin test possibly having
57109 spurious underflow.
57110 * math/auto-libm-test-out: Regenerated.
57111 * sysdeps/i386/fpu/libm-test-ulps: Update.
57112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57113
571142014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
57115
57116 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
57117 * sysdeps/unix/sysv/linux/microblaze: Move directory from
57118 ports/sysdeps/unix/sysv/linux/microblaze.
57119 * README: Add missing listing for microblaze*-*-linux-gnu.
57120
571212014-02-16 Ondřej Bílka <neleai@seznam.cz>
57122
57123 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
57124 duplicate code
57125
571262014-02-16 Mike Frysinger <vapier@gentoo.org>
57127
57128 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
57129 * sysdeps/unix/sysv/linux/ia64: Move directory from
57130 ports/sysdeps/unix/sysv/linux/ia64.
57131 * README: Update listing for ia64-*-linux-gnu.
57132
571332014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
57134 Joseph Myers <joseph@codesourcery.com>
57135
57136 * Makeconfig (test-name): New variable.
57137 (evaluate-test): Likewise.
57138 * Makerules (do-test-clean): Remove .test-result files.
57139 (common-mostlyclean): Likewise.
57140 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
57141 * scripts/evaluate-test.sh: New file.
57142
571432014-02-14 Joseph Myers <joseph@codesourcery.com>
57144
57145 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
57146 separate $(objpfx)tst-fopenloc-cmp.out and
57147 $(objpfx)tst-fopenloc-mem.out targets.
57148 (tests): Update dependencies.
57149 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
57150 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
57151 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
57152 (tst-rxspencer-no-utf8-ARGS): New variable.
57153 (tst-rxspencer-no-utf8-ENV): Likewise.
57154 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
57155 instead of $(objpfx)tst-rxspencer-mem.
57156 ($(objpfx)tst-rxspencer-mem): Change target to
57157 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
57158 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
57159 * posix/tst-rxspencer-no-utf8.c: New file.
57160
57161 * elf/Makefile ($(objpfx)order.out): Remove rule.
57162 [$(run-built-tests) = yes] (tests): Depend on
57163 $(objpfx)order-cmp.out.
57164 ($(objpfx)order-cmp.out): New rule.
57165 [$(run-built-tests) = yes] (tests): Depend on
57166 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
57167 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
57168 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
57169 $(objpfx)tst-array5-static-cmp.out.
57170 ($(objpfx)tst-array1.out): Remove rule.
57171 ($(objpfx)tst-array1-cmp.out): New rule.
57172 ($(objpfx)tst-array1-static.out): Remove rule.
57173 ($(objpfx)tst-array1-static-cmp.out): New rule.
57174 ($(objpfx)tst-array2.out): Remove rule.
57175 ($(objpfx)tst-array2-cmp.out): New rule.
57176 ($(objpfx)tst-array3.out): Remove rule.
57177 ($(objpfx)tst-array3-cmp.out): New rule.
57178 ($(objpfx)tst-array4.out): Remove rule.
57179 ($(objpfx)tst-array4-cmp.out): New rule.
57180 ($(objpfx)tst-array5.out): Remove rule.
57181 ($(objpfx)tst-array5-cmp.out): New rule.
57182 ($(objpfx)tst-array5-static.out): Remove rule.
57183 ($(objpfx)tst-array5-static-cmp.out): New rule.
57184 [$(run-built-tests) = yes] (tests): Depend on
57185 $(objpfx)order2-cmp.out.
57186 ($(objpfx)order2.out): Remove rule.
57187 ($(objpfx)order2-cmp.out): New rule.
57188 ($(objpfx)tst-initorder.out): Remove rule.
57189 [$(run-built-tests) = yes] (tests): Depend on
57190 $(objpfx)tst-initorder-cmp.out.
57191 ($(objpfx)tst-initorder-cmp.out): New rule.
57192 ($(objpfx)tst-initorder2.out): Remove rule.
57193 [$(run-built-tests) = yes] (tests): Depend on
57194 $(objpfx)tst-initorder2-cmp.out.
57195 ($(objpfx)tst-initorder2-cmp.out): New rule.
57196 [$(run-built-tests) = yes] (tests): Depend on
57197 $(objpfx)tst-unused-dep-cmp.out.
57198 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57199 ($(objpfx)tst-unused-dep-cmp.out): New rule.
57200 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57201 on $(objpfx)tst-setvbuf1-cmp.out.
57202 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57203 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57204 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57205 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57206 ($(objpfx)tst-svc.out): Remove rule.
57207 ($(objpfx)tst-svc-cmp.out): New rule.
57208
572092014-02-13 Joseph Myers <joseph@codesourcery.com>
57210
57211 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57212 * ctype/ctype.h [__USE_MISC]: Likewise.
57213 * dirent/dirent.h [__USE_MISC]: Likewise.
57214 * grp/grp.h [__USE_MISC]: Likewise.
57215 * io/fcntl.h [__USE_MISC]: Likewise.
57216 * io/sys/stat.h [__USE_MISC]: Likewise.
57217 * libio/stdio.h [__USE_MISC]: Likewise.
57218 * posix/unistd.h [__USE_MISC]: Likewise.
57219 * pwd/pwd.h [__USE_MISC]: Likewise.
57220 * stdlib.h [__USE_MISC]: Likewise.
57221 * string/bits/string2.h [__USE_MISC]: Likewise.
57222 * string/string.h [__USE_MISC]: Likewise.
57223 * time/time.h [__USE_MISC]: Likewise.
57224
572252014-02-13 Andreas Schwab <schwab@suse.de>
57226
57227 [BZ #16574]
57228 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57229 second answer buffer if it was separately allocated.
57230
572312014-02-12 Joseph Myers <joseph@codesourcery.com>
57232
57233 * sysdeps/mips/math-tests.h: Include <features.h>.
57234 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57235 (ROUNDING_TESTS_long_double): Do not define.
57236 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57237 (EXCEPTION_TESTS_long_double): Likewise.
57238 * sysdeps/mips/mips64/libm-test-ulps: Update.
57239
57240 * include/features.h (__USE_BSD): Remove macro definitions.
57241 (__USE_SVID): Likewise.
57242 (_BSD_SOURCE): Likewise.
57243 (_SVID_SOURCE): Likewise.
57244 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57245 from definition of _DEFAULT_SOURCE.
57246 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57247 [_DEFAULT_SOURCE].
57248 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57249 * bits/mman.h [__USE_BSD]: Likewise.
57250 * bits/termios.h [__USE_BSD]: Likewise.
57251 * bits/waitstatus.h [__USE_BSD]: Likewise.
57252 * ctype/ctype.h [__USE_SVID]: Likewise.
57253 * dirent/dirent.h [__USE_BSD]: Likewise.
57254 * grp/grp.h [__USE_SVID]: Likewise.
57255 [__USE_BSD]: Likewise.
57256 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57257 * io/fcntl.h [__USE_BSD]: Likewise.
57258 * io/ftw.h [__USE_BSD]: Likewise.
57259 * io/sys/stat.h [__USE_BSD]: Likewise.
57260 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57261 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57262 * libio/stdio.h [__USE_SVID]: Likewise.
57263 [__USE_BSD]: Likewise.
57264 * math/math.h [__USE_SVID]: Likewise.
57265 [__USE_BSD]: Likewise.
57266 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57267 * misc/bits/syslog.h [__USE_BSD]: Likewise.
57268 * misc/search.h [__USE_SVID]: Likewise.
57269 * misc/sys/mman.h [__USE_BSD]: Likewise.
57270 * misc/sys/syslog.h [__USE_BSD]: Likewise.
57271 * misc/sys/uio.h [__USE_BSD]: Likewise.
57272 * posix/bits/unistd.h [__USE_BSD]: Likewise.
57273 * posix/glob.h [__USE_BSD]: Likewise.
57274 * posix/regex.h [__USE_BSD]: Likewise.
57275 * posix/sys/types.h [__USE_BSD]: Likewise.
57276 [__USE_SVID]: Likewise.
57277 * posix/sys/utsname.h [__USE_SVID]: Likewise.
57278 * posix/sys/wait.h [__USE_BSD]: Likewise.
57279 [__USE_SVID]: Likewise.
57280 * posix/unistd.h [__USE_BSD]: Likewise.
57281 [__USE_SVID]: Likewise.
57282 * pwd/pwd.h [__USE_SVID]: Likewise.
57283 * resolv/netdb.h [__USE_BSD]: Likewise.
57284 * setjmp/setjmp.h [__USE_BSD]: Likewise.
57285 * signal/signal.h [__USE_BSD]: Likewise.
57286 [__USE_SVID]: Likewise.
57287 * socket/sys/socket.h [__USE_BSD]: Likewise.
57288 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57289 * stdlib/stdlib.h [__USE_BSD]: Likewise.
57290 [__USE_SVID]: Likewise.
57291 * string/bits/string2.h [__USE_BSD]: Likewise.
57292 [__USE_SVID]: Likewise.
57293 * string/bits/string3.h [__USE_BSD]: Likewise.
57294 * string/endian.h [__USE_BSD]: Likewise.
57295 * string/string.h [__USE_SVID]: Likewise.
57296 [__USE_BSD]: Likewise.
57297 * string/strings.h [__USE_BSD]: Likewise.
57298 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57299 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57300 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57301 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57302 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57303 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57304 Likewise.
57305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57306 Likewise.
57307 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57308 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57309 Likewise.
57310 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57311 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57312 Likewise.
57313 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57314 Likewise.
57315 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57316 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57317 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57318 Likewise.
57319 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57320 Likewise.
57321 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57322 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57323 * termios/termios.h [__USE_BSD]: Likewise.
57324 * time/sys/time.h [__USE_BSD]: Likewise.
57325 * time/time.h [__USE_BSD]: Likewise.
57326 [__USE_SVID]: Likewise.
57327
57328 * Makefile (subdir_targets): Remove subdir_lint.out.
57329
57330 * stdio-common/Makefile (do-tst-unbputc): Remove target.
57331 (do-tst-printf): Likewise.
57332 (tests): Depend directly on $(objpfx)tst-unbputc.out and
57333 $(objpfx)tst-printf.out.
57334
57335 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57336
57337 * Makerules (check-abi-%): Change target to
57338 $(objpfx)check-abi-%.out.
57339 (check-abi target): Update dependencies.
57340 (check-abi-pattern variable): Redirect output of diff to $@.
57341 (check-abi variable): Likewise.
57342 * elf/Makefile (check-abi): Update dependencies.
57343
57344 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57345 unused.
57346 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57347 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57348 subnormal range.
57349 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57350 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57351 value has largest subnormal exponent.
57352 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57353 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57354 * sysdeps/aarch64/soft-fp/sfp-machine.h
57355 (_FP_TININESS_AFTER_ROUNDING): New macro.
57356 * sysdeps/alpha/soft-fp/sfp-machine.h
57357 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57358 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57359 Likewise.
57360 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57361 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57362 * sysdeps/mips/soft-fp/sfp-machine.h
57363 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57364 * sysdeps/powerpc/soft-fp/sfp-machine.h
57365 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57366 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57367 Likewise.
57368 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57369 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57371 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57372 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57373 Likewise.
57374
573752014-02-12 Dylan Alex Simon <dylan@dylex.net>
57376
57377 [BZ #16545]
57378 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57379 model 1.
57380
573812014-02-12 Richard Henderson <rth@redhat.com>
57382
57383 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57384 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57385 * sysdeps/unix/sysv/linux/alpha: Move directory from
57386 ports/sysdeps/unix/sysv/linux/alpha.
57387 * README: Update listing for alpha-*-linux-gnu.
57388
573892014-02-11 Joseph Myers <joseph@codesourcery.com>
57390
57391 * include/features.h: Update comment documenting feature test
57392 macros.
57393 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
57394 _DEFAULT_SOURCE.
57395 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57396 (_SVID_SOURCE): Likewise.
57397 (_DEFAULT_SOURCE): Update description of default features.
57398 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57399 with _GNU_SOURCE.
57400 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57401 (S_ISVTX): Likewise.
57402 * manual/math.texi (Mathematical Constants): Likewise.
57403 * manual/signal.texi (Interrupted Primitives): Likewise.
57404 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57405 * math/test-matherr.c (_SVID_SOURCE): Do not define.
57406 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57407 Don't refer to _SVID_SOURCE in warning text.
57408
57409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57410
57411 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57412 already defined.
57413 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57414 * sysdeps/mips/dl-lookup.c: Remove.
57415 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57416
574172014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
57418
57419 [BZ #16447]
57420 * math/auto-libm-test-in: Add testcase for expl.
57421 * math/auto-libm-test-out: Regenerate.
57422 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57423 calculation of unsafe.
57424 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57425
574262014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
57427
57428 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57429 * sysdeps/unix/sysv/linux/aarch64: Move directory from
57430 ports/sysdeps/unix/sysv/linux/aarch64.
57431 * README: Update listing for aarch64*-*-linux-gnu.
57432
574332014-02-11 Will Newton <will.newton@linaro.org>
57434
57435 * manual/probes.texi (Mathematical Function Probes): Use
57436 "triggered" instead of "hit".
57437
57438 * manual/probes.texi (Internal Probes): Add documentation
57439 of setjmp, longjmp and longjmp_target probes.
57440
57441 * include/stap-probe.h: Add comment about probe argument
57442 format.
57443
57444 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57445 definition. (tr_where, tr_freehook, tr_mallochook,
57446 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57447
574482014-02-11 David S. Miller <davem@davemloft.net>
57449
57450 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57451 processing int_tests.
57452
574532014-02-10 Joseph Myers <joseph@codesourcery.com>
57454
57455 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57456 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57457 * sysdeps/unix/sysv/linux/mips: Move directory from
57458 ports/sysdeps/unix/sysv/linux/mips.
57459 * README: Update listing for mips-*-linux-gnu and
57460 mips64-*-linux-gnu.
57461
574622014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57463
57464 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57465 * sysdeps/unix/sysv/linux/m68k: Move directory from
57466 ports/sysdeps/unix/sysv/linux/m68k.
57467 * README: Update listing for m68k-*-linux-gnu.
57468
574692014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57470
57471 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57472 * sysdeps/unix/sysv/linux/generic: Move directory from
57473 ports/sysdeps/unix/sysv/linux/generic.
57474 * sysdeps/unix/sysv/linux/tile: Move directory from
57475 ports/sysdeps/unix/sysv/linux/tile.
57476 * README: Update listing for tile*-*-linux-gnu.
57477
574782014-02-10 Ondřej Bílka <neleai@seznam.cz>
57479
57480 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57481 __builtin_expect.
57482 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57483 * catgets/open_catalog.c (__open_catalog): Likewise.
57484 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57485 * debug/confstr_chk.c: Likewise.
57486 * debug/fread_chk.c (__fread_chk): Likewise.
57487 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57488 * debug/getgroups_chk.c: Likewise.
57489 * debug/mbsnrtowcs_chk.c: Likewise.
57490 * debug/mbsrtowcs_chk.c: Likewise.
57491 * debug/mbstowcs_chk.c: Likewise.
57492 * debug/memcpy_chk.c: Likewise.
57493 * debug/memmove_chk.c: Likewise.
57494 * debug/mempcpy_chk.c: Likewise.
57495 * debug/memset_chk.c: Likewise.
57496 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57497 * debug/strcat_chk.c (__strcat_chk): Likewise.
57498 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57499 * debug/strncat_chk.c (__strncat_chk): Likewise.
57500 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57501 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57502 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57503 * debug/wcpncpy_chk.c: Likewise.
57504 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57505 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57506 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57507 * debug/wcsncpy_chk.c: Likewise.
57508 * debug/wcsnrtombs_chk.c: Likewise.
57509 * debug/wcsrtombs_chk.c: Likewise.
57510 * debug/wcstombs_chk.c: Likewise.
57511 * debug/wmemcpy_chk.c: Likewise.
57512 * debug/wmemmove_chk.c: Likewise.
57513 * debug/wmempcpy_chk.c: Likewise.
57514 * debug/wmemset_chk.c: Likewise.
57515 * dirent/scandirat.c (SCANDIRAT): Likewise.
57516 * dlfcn/dladdr1.c (dladdr1): Likewise.
57517 * dlfcn/dladdr.c (dladdr): Likewise.
57518 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57519 * dlfcn/dlerror.c (__dlerror): Likewise.
57520 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57521 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57522 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57523 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57524 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57525 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57526 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57527 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57528 Likewise.
57529 * elf/dl-conflict.c: Likewise.
57530 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57531 * elf/dl-dst.h: Likewise.
57532 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57533 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57534 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57535 * elf/dl-init.c (call_init, _dl_init): Likewise.
57536 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57537 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57538 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57539 Likewise.
57540 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57541 Likewise.
57542 * elf/dl-minimal.c (__libc_memalign): Likewise.
57543 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57544 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57545 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57546 * elf/dl-sym.c (do_sym): Likewise.
57547 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57548 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57549 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57550 * elf/dl-writev.h (_dl_writev): Likewise.
57551 * elf/ldconfig.c (search_dir): Likewise.
57552 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57553 (dl_main): Likewise.
57554 * elf/setup-vdso.h (setup_vdso): Likewise.
57555 * grp/compat-initgroups.c (compat_call): Likewise.
57556 * grp/fgetgrent.c (fgetgrent): Likewise.
57557 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57558 * grp/putgrent.c (putgrent): Likewise.
57559 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57560 Likewise.
57561 * hurd/hurdinit.c: Likewise.
57562 * iconvdata/8bit-gap.c (struct): Likewise.
57563 * iconvdata/ansi_x3.110.c : Likewise.
57564 * iconvdata/big5.c : Likewise.
57565 * iconvdata/big5hkscs.c : Likewise.
57566 * iconvdata/cp1255.c: Likewise.
57567 * iconvdata/cp1258.c : Likewise.
57568 * iconvdata/cp932.c : Likewise.
57569 * iconvdata/euc-cn.c: Likewise.
57570 * iconvdata/euc-jisx0213.c : Likewise.
57571 * iconvdata/euc-jp.c: Likewise.
57572 * iconvdata/euc-jp-ms.c : Likewise.
57573 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57574 * iconvdata/gb18030.c : Likewise.
57575 * iconvdata/gbbig5.c (const): Likewise.
57576 * iconvdata/gbgbk.c: Likewise.
57577 * iconvdata/gbk.c : Likewise.
57578 * iconvdata/ibm1364.c : Likewise.
57579 * iconvdata/ibm930.c : Likewise.
57580 * iconvdata/ibm932.c: Likewise.
57581 * iconvdata/ibm933.c : Likewise.
57582 * iconvdata/ibm935.c : Likewise.
57583 * iconvdata/ibm937.c : Likewise.
57584 * iconvdata/ibm939.c : Likewise.
57585 * iconvdata/ibm943.c: Likewise.
57586 * iconvdata/iso_11548-1.c: Likewise.
57587 * iconvdata/iso-2022-cn.c : Likewise.
57588 * iconvdata/iso-2022-cn-ext.c : Likewise.
57589 * iconvdata/iso-2022-jp-3.c: Likewise.
57590 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57591 * iconvdata/iso-2022-kr.c : Likewise.
57592 * iconvdata/iso646.c (gconv_end): Likewise.
57593 * iconvdata/iso_6937-2.c : Likewise.
57594 * iconvdata/iso_6937.c : Likewise.
57595 * iconvdata/iso8859-1.c: Likewise.
57596 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57597 * iconvdata/shift_jisx0213.c : Likewise.
57598 * iconvdata/sjis.c : Likewise.
57599 * iconvdata/t.61.c : Likewise.
57600 * iconvdata/tcvn5712-1.c : Likewise.
57601 * iconvdata/tscii.c: Likewise.
57602 * iconvdata/uhc.c : Likewise.
57603 * iconvdata/unicode.c (gconv_end): Likewise.
57604 * iconvdata/utf-16.c (gconv_end): Likewise.
57605 * iconvdata/utf-32.c (gconv_end): Likewise.
57606 * iconvdata/utf-7.c (base64): Likewise.
57607 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57608 * iconv/gconv_close.c (__gconv_close): Likewise.
57609 * iconv/gconv_open.c (__gconv_open): Likewise.
57610 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57611 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57612 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57613 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57614 (ucs4le_internal_loop_single): Likewise.
57615 * iconv/iconv.c (iconv): Likewise.
57616 * iconv/iconv_close.c: Likewise.
57617 * iconv/loop.c (SINGLE): Likewise.
57618 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57619 * include/atomic.h: Likewise.
57620 * inet/inet6_option.c (option_alloc): Likewise.
57621 * intl/bindtextdom.c (set_binding_values): Likewise.
57622 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57623 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57624 * intl/localealias.c (read_alias_file): Likewise.
57625 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57626 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57627 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57628 * libio/fmemopen.c (fmemopen): Likewise.
57629 * libio/iofgets.c (_IO_fgets): Likewise.
57630 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57631 * libio/iofgetws.c (fgetws): Likewise.
57632 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57633 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57634 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57635 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57636 * locale/findlocale.c (_nl_find_locale): Likewise.
57637 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57638 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57639 Likewise.
57640 * locale/setlocale.c (setlocale): Likewise.
57641 * login/programs/pt_chown.c (main): Likewise.
57642 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57643 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57644 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57645 (mmap, mmap64, mremap, munmap): Likewise.
57646 * math/e_exp2l.c: Likewise.
57647 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57648 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57649 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57650 * math/s_catan.c (__catan): Likewise.
57651 * math/s_catanf.c (__catanf): Likewise.
57652 * math/s_catanh.c (__catanh): Likewise.
57653 * math/s_catanhf.c (__catanhf): Likewise.
57654 * math/s_catanhl.c (__catanhl): Likewise.
57655 * math/s_catanl.c (__catanl): Likewise.
57656 * math/s_ccosh.c (__ccosh): Likewise.
57657 * math/s_ccoshf.c (__ccoshf): Likewise.
57658 * math/s_ccoshl.c (__ccoshl): Likewise.
57659 * math/s_cexp.c (__cexp): Likewise.
57660 * math/s_cexpf.c (__cexpf): Likewise.
57661 * math/s_cexpl.c (__cexpl): Likewise.
57662 * math/s_clog10.c (__clog10): Likewise.
57663 * math/s_clog10f.c (__clog10f): Likewise.
57664 * math/s_clog10l.c (__clog10l): Likewise.
57665 * math/s_clog.c (__clog): Likewise.
57666 * math/s_clogf.c (__clogf): Likewise.
57667 * math/s_clogl.c (__clogl): Likewise.
57668 * math/s_csin.c (__csin): Likewise.
57669 * math/s_csinf.c (__csinf): Likewise.
57670 * math/s_csinh.c (__csinh): Likewise.
57671 * math/s_csinhf.c (__csinhf): Likewise.
57672 * math/s_csinhl.c (__csinhl): Likewise.
57673 * math/s_csinl.c (__csinl): Likewise.
57674 * math/s_csqrt.c (__csqrt): Likewise.
57675 * math/s_csqrtf.c (__csqrtf): Likewise.
57676 * math/s_csqrtl.c (__csqrtl): Likewise.
57677 * math/s_ctan.c (__ctan): Likewise.
57678 * math/s_ctanf.c (__ctanf): Likewise.
57679 * math/s_ctanh.c (__ctanh): Likewise.
57680 * math/s_ctanhf.c (__ctanhf): Likewise.
57681 * math/s_ctanhl.c (__ctanhl): Likewise.
57682 * math/s_ctanl.c (__ctanl): Likewise.
57683 * math/w_pow.c: Likewise.
57684 * math/w_powf.c: Likewise.
57685 * math/w_powl.c: Likewise.
57686 * math/w_scalb.c (sysv_scalb): Likewise.
57687 * math/w_scalbf.c (sysv_scalbf): Likewise.
57688 * math/w_scalbl.c (sysv_scalbl): Likewise.
57689 * misc/error.c (error_tail): Likewise.
57690 * misc/pselect.c (__pselect): Likewise.
57691 * nis/nis_callback.c (__nis_create_callback): Likewise.
57692 * nis/nis_call.c (__nisfind_server): Likewise.
57693 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57694 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57695 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57696 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57697 * nis/nis_lookup.c (nis_lookup): Likewise.
57698 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57699 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57700 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57701 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57702 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57703 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57704 * nis/nss_compat/compat-initgroups.c (add_group)
57705 (internal_getgrent_r): Likewise.
57706 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57707 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57708 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57709 (internal_getspnam_r): Likewise.
57710 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57711 (_nss_nis_getaliasbyname_r): Likewise.
57712 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57713 (_nss_nis_getntohost_r): Likewise.
57714 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57715 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57716 (_nss_nis_getgrgid_r): Likewise.
57717 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57718 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57719 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57720 (_nss_nis_gethostbyname4_r): Likewise.
57721 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57722 (initgroups_netid): Likewise.
57723 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57724 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57725 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57726 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57727 (_nss_nis_getprotobynumber_r): Likewise.
57728 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57729 (_nss_nis_getsecretkey): Likewise.
57730 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57731 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57732 (_nss_nis_getpwuid_r): Likewise.
57733 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57734 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57735 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57736 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57737 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57738 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57739 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57740 Likewise.
57741 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57742 (_nss_nisplus_getntohost_r): Likewise.
57743 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57744 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57745 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57746 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57747 Likewise.
57748 * nis/nss_nisplus/nisplus-initgroups.c
57749 (_nss_nisplus_initgroups_dyn): Likewise.
57750 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57751 (_nss_nisplus_getnetbyaddr_r): Likewise.
57752 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57753 (_nss_nisplus_getprotobynumber_r): Likewise.
57754 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57755 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57756 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57757 Likewise.
57758 * nis/nss_nisplus/nisplus-service.c
57759 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57760 (_nss_nisplus_getservbyport_r): Likewise.
57761 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57762 (_nss_nisplus_getspnam_r): Likewise.
57763 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57764 Likewise.
57765 * nscd/aicache.c (addhstaiX): Likewise.
57766 * nscd/cache.c (cache_search, prune_cache): Likewise.
57767 * nscd/connections.c (register_traced_file, send_ro_fd)
57768 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57769 (main_loop_epoll): Likewise.
57770 * nscd/grpcache.c (addgrbyX): Likewise.
57771 * nscd/hstcache.c (addhstbyX): Likewise.
57772 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57773 * nscd/mem.c (gc, mempool_alloc): Likewise.
57774 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57775 (addinnetgrX): Likewise.
57776 * nscd/nscd-client.h (__nscd_acquire_maplock)
57777 (__nscd_drop_map_ref): Likewise.
57778 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57779 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57780 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57781 Likewise.
57782 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57784 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57785 (__nscd_get_map_ref): Likewise.
57786 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57787 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57788 Likewise.
57789 * nscd/pwdcache.c (addpwbyX): Likewise.
57790 * nscd/selinux.c (preserve_capabilities): Likewise.
57791 * nscd/servicescache.c (addservbyX): Likewise.
57792 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57793 * posix/fnmatch.c (fnmatch): Likewise.
57794 * posix/getopt.c (_getopt_internal_r): Likewise.
57795 * posix/glob.c (glob, glob_in_dir): Likewise.
57796 * posix/wordexp.c (exec_comm_child): Likewise.
57797 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57798 (getanswer_r, gaih_getanswer_slice): Likewise.
57799 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57800 * resolv/res_init.c: Likewise.
57801 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57802 * resolv/res_query.c (__libc_res_nquery): Likewise.
57803 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57804 Likewise.
57805 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57806 * stdio-common/perror.c (perror): Likewise.
57807 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57808 * stdio-common/tmpnam.c (tmpnam): Likewise.
57809 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57810 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57811 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57812 Likewise.
57813 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57814 * stdlib/putenv.c (putenv): Likewise.
57815 * stdlib/setenv.c (__add_to_environ): Likewise.
57816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57817 * stdlib/strtol_l.c (INTERNAL): Likewise.
57818 * string/memmem.c (memmem): Likewise.
57819 * string/strerror.c (strerror): Likewise.
57820 * string/strnlen.c (__strnlen): Likewise.
57821 * string/test-memmem.c (simple_memmem): Likewise.
57822 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57823 * sunrpc/pm_getport.c (__get_socket): Likewise.
57824 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57825 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57826 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57827 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57828 Likewise.
57829 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57830 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57831 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57832 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57833 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57834 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57835 Likewise.
57836 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57837 Likewise.
57838 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57839 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57840 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57841 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57842 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57844 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57845 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57846 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57847 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57848 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57849 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57850 Likewise.
57851 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57852 Likewise.
57853 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57854 Likewise.
57855 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57856 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57857 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57858 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57859 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57860 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57861 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57863 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57864 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57865 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57868 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57870 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57871 Likewise.
57872 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57873 Likewise.
57874 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57875 Likewise.
57876 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57877 Likewise.
57878 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57880 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57881 Likewise.
57882 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57883 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57884 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57885 * sysdeps/posix/sleep.c: Likewise.
57886 * sysdeps/posix/tempname.c: Likewise.
57887 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57888 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57889 Likewise.
57890 * sysdeps/powerpc/powerpc32/dl-machine.h
57891 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57892 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57894 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57895 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57896 Likewise.
57897 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57898 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57899 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57900 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57901 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57902 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57903 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57904 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57905 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57906 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57908 (elf_machine_lazy_rel): Likewise.
57909 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57911 (elf_machine_lazy_rel): Likewise.
57912 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57913 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57914 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57915 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57916 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57917 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57918 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57920 Likewise.
57921 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57922 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57923 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57924 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57925 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57926 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57927 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57928 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57929 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57930 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57931 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57932 Likewise.
57933 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57934 (__posix_fallocate64_l64): Likewise.
57935 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57936 (posix_fallocate): Likewise.
57937 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57938 Likewise.
57939 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57940 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57941 (getifaddrs_internal): Likewise.
57942 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57943 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57944 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57945 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57946 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57947 (__posix_fallocate64_l64): Likewise.
57948 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57949 Likewise.
57950 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57951 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57952 (__get_clockfreq): Likewise.
57953 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57954 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57955 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57958 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57959 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57960 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57961 Likewise.
57962 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57963 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57964 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57965 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57966 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57967 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57968 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57969 Likewise.
57970 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57971 (posix_fallocate): Likewise.
57972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57973 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57974 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57975 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57976 (elf_machine_rela, elf_machine_rela_relative)
57977 (elf_machine_lazy_rel): Likewise.
57978 * time/asctime.c (asctime_internal): Likewise.
57979 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57980 * time/tzset.c (__tzset_parse_tz): Likewise.
57981 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57982 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57983 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57984 * wcsmbs/wcsmbsload.h: Likewise.
57985
57986 [BZ #15894]
57987 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57988
57989 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57990 (arena_get2): Remove THREAD_STATS conditionals.
57991 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57992 (__malloc_stats, int): Likewise.
57993
579942014-02-08 Mike Frysinger <vapier@gentoo.org>
57995
57996 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57997 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57998
57999 * manual/setjmp.texi: Fix typos/grammar errors.
58000
58001 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
58002 Only return early when n is <= 0. Delete unused return statement.
58003
58004 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
58005 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
58006 * debug/tst-longjmp_chk3.c: New file.
58007
58008 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
58009 (test_main): Replace code with set_fortify_handler call.
58010 * debug/test-strcpy_chk.c: Likewise.
58011 * debug/tst-chk1.c: Likewise.
58012 * debug/tst-longjmp_chk.c: Likewise.
58013 * test-skeleton.c: Include fcntl.h & paths.h
58014 (set_fortify_handler): Define.
58015
58016 * debug/tst-longjmp_chk.c: Add header comment and include
58017 ../test-skeleton.c.
58018 (do_test): Mark static.
58019 (TEST_FUNCTION): Define.
58020
58021 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
58022 (IP_PMTUDISC_INTERFACE): Likewise.
58023 (IP_MULTICAST_IF): Likewise.
58024 (IP_MULTICAST_TTL): Likewise.
58025 (IP_MULTICAST_LOOP): Likewise.
58026 (IP_ADD_MEMBERSHIP): Likewise.
58027 (IP_DROP_MEMBERSHIP): Likewise.
58028 (IP_UNBLOCK_SOURCE): Likewise.
58029 (IP_BLOCK_SOURCE): Likewise.
58030 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
58031 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
58032 (IP_MSFILTER): Likewise.
58033 (MCAST_JOIN_GROUP): Likewise.
58034 (MCAST_BLOCK_SOURCE): Likewise.
58035 (MCAST_UNBLOCK_SOURCE): Likewise.
58036 (MCAST_LEAVE_GROUP): Likewise.
58037 (MCAST_JOIN_SOURCE_GROUP): Likewise.
58038 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
58039 (MCAST_MSFILTER): Likewise.
58040 (IP_MULTICAST_ALL): Likewise.
58041 (IP_UNICAST_IF): Likewise.
58042
58043 * timezone/Makefile: Delete $(have-ksh) check.
58044 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
58045 * timezone/tzselect.ksh: Add +x mode bits.
58046
58047 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
58048 (ANON_INODE_FS_MAGIC): Likewise.
58049 (BDEVFS_MAGIC): Likewise.
58050 (BINFMTFS_MAGIC): Likewise.
58051 (BTRFS_TEST_MAGIC): Likewise.
58052 (CRAMFS_MAGIC_WEND): Likewise.
58053 (DEBUGFS_MAGIC): Likewise.
58054 (ECRYPTFS_SUPER_MAGIC): Likewise.
58055 (EXT3_SUPER_MAGIC): Likewise.
58056 (EXT4_SUPER_MAGIC): Likewise.
58057 (FUTEXFS_SUPER_MAGIC): Likewise.
58058 (HOSTFS_SUPER_MAGIC): Likewise.
58059 (HUGETLBFS_MAGIC): Likewise.
58060 (MINIX3_SUPER_MAGIC): Likewise.
58061 (MTD_INODE_FS_MAGIC): Likewise.
58062 (NILFS_SUPER_MAGIC): Likewise.
58063 (OPENPROM_SUPER_MAGIC): Likewise.
58064 (PIPEFS_MAGIC): Likewise.
58065 (PSTOREFS_MAGIC): Likewise.
58066 (QNX6_SUPER_MAGIC): Likewise.
58067 (RAMFS_MAGIC): Likewise.
58068 (REISERFS_SUPER_MAGIC_STRING): Likewise.
58069 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
58070 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
58071 (SECURITYFS_MAGIC): Likewise.
58072 (SELINUX_MAGIC): Likewise.
58073 (SMACK_MAGIC): Likewise.
58074 (SOCKFS_MAGIC): Likewise.
58075 (SQUASHFS_MAGIC): Likewise.
58076 (STACK_END_MAGIC): Likewise.
58077 (TMPFS_MAGIC): Likewise.
58078 (USBDEVICE_SUPER_MAGIC): Likewise.
58079 (V9FS_MAGIC): Likewise.
58080 (XENFS_SUPER_MAGIC): Likewise.
58081 (CRAMFS_MAGIC): Fix typo in comment.
58082 (EXT2_SUPER_MAGIC): Update comment.
58083 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
58084
580852014-02-08 Joseph Myers <joseph@codesourcery.com>
58086
58087 * sysdeps/arm: Move directory from ports/sysdeps/arm.
58088 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
58089 * sysdeps/unix/sysv/linux/arm: Move directory from
58090 ports/sysdeps/unix/sysv/linux/arm.
58091 * README: Update listing for arm-*-linux-gnueabi.
58092
58093 * README: Remove mention of am33.
58094
580952014-02-07 Roland McGrath <roland@hack.frob.com>
58096
58097 * bits/sigset.h (__sigemptyset): Use a statement expression rather
58098 than the comma operator, to avoid "rhs of comma has no effect"
58099 compiler warnings.
58100 (__sigfillset, __sigandset, __sigorset): Likewise.
58101 * include/signal.h (__sigemptyset): Likewise.
58102 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
58103
581042014-02-07 Allan McRae <allan@archlinux.org>
58105
58106 * version.h (RELEASE): Set to "development".
58107 (VERSION): Set to "2.19.90"
58108 * NEWS: Add 2.20 section.
58109
581102014-02-06 Carlos O'Donell <carlos@redhat.com>
58111
58112 [BZ #16529]
58113 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
58114
581152014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
58116
58117 * manual/contrib.texi: Update entry for Carlos O'Donell,
58118 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
58119
581202014-02-05 Carlos O'Donell <carlos@rehdat.com>
58121
58122 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
58123
58124 * sysdeps/unix/sysv/linux/kernel-features.h
58125 [__LINUX_KERNEL_VERSION >= 0x020621]
58126 (__ASSUME_PROC_PID_TASK_COMM): Define.
58127
581282014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58129
58130 [BZ #16398]
58131 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
58132 conversion when destination buffer does not have enough space.
58133 * libio/tst-ftell-partial-wide.c: New test case.
58134 * libio/Makefile (tests): Add tst-ftell-partial-wide.
58135
58136 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
58137 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
58138 Leonard and Allan McRae.
58139
581402014-02-04 David S. Miller <davem@davemloft.net>
58141
58142 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
58143 32-bit.
58144
581452014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58146
58147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
58148 New file
58149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
58150 New file
58151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
58152 New file.
58153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
58154 New file.
58155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
58156 New file.
58157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
58158 New file.
58159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
58160 New file.
58161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
58162 New file.
58163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
58164 New file.
58165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
58166 New file.
58167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
58168 New file.
58169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
58170 New file.
58171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
58172 New file.
58173
581742014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58175
58176 * nptl/shlib-versions: Change powerpc*le start to 2.17.
58177 * shlib-versions: Likewise.
58178
581792014-02-04 Roland McGrath <roland@hack.frob.com>
58180 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58181
58182 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
58183 (abilist-pattern): New variable, set to %-le.abilist.
58184
58185 * Makerules (abilist-pattern): New variable.
58186 (vpath): Use $(abilist-pattern) in place of %.abilist.
58187 (check-abi-% pattern rule): Likewise.
58188 (check-abi, update-abi): Likewise.
58189
581902014-02-04 Eric Wong <normalperson@yhbt.net>
58191
58192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58193
581942014-02-03 Carlos O'Donell <carlos@redhat.com>
58195
58196 * manual/startup.texi: Add next, previous, and top entries for
58197 the `Program Arguments' and `Environment Variables' nodes.
58198
581992014-02-03 Alexandre Oliva <aoliva@redhat.com>
58200
58201 * manual/macros.texi: Add comments before MTASC-safety macros.
58202
58203 * manual/users.texi: Document MTASC-safety properties.
58204
58205 * manual/threads.texi (pthread_key_create, pthread_key_delete)
58206 (pthread_getspecific, pthread_setspecific): Format with
58207 @deftypefun, and add @safety note.
58208 * manual/signal.texi: Move comments that analyze the above
58209 functions to their home place.
58210
582112014-02-03 Allan McRae <allan@archlinux.org>
58212
58213 * po/sl.po: Update Slovenian translation from translation project.
58214
582152014-02-02 Alexandre Oliva <aoliva@redhat.com>
58216
58217 * manual/time.texi (timegm): Add missing blank after @c.
58218 Reported by Joseph Myers <joseph@codesourcery.com>.
58219
582202014-02-01 Alexandre Oliva <aoliva@redhat.com>
58221
58222 * manual/check-safety.sh: New.
58223 * manual/Makefile ($(objpfx)stamp-summary): Run it.
58224
58225 * manual/terminal.texi: Document MTASC-safety properties.
58226
58227 * manual/filesys.texi: Document MTASC-safety properties.
58228
58229 * manual/errno.texi: Document MTASC-safety properties.
58230
58231 * manual/intro.texi: Document safety identifiers and
58232 conditionals.
58233
58234 * manual/string.texi (wcstok): Fix prototype.
58235 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58236
58237 * manual/time.texi: Document MTASC-safety properties.
58238
58239 * manual/string.texi: Document MTASC-safety properties.
58240
58241 * manual/threads.texi: Document MTASC-safety properties.
58242
58243 * manual/stdio.texi: Document MTASC-safety properties.
58244
58245 * manual/syslog.texi: Document MTASC-safety properties.
58246
58247 * manual/sysinfo.texi: Document MTASC-safety properties.
58248
58249 * manual/startup.texi: Document MTASC-safety properties.
58250
58251 * manual/socket.texi: Document MTASC-safety properties.
58252
58253 * manual/signal.texi: Document MTASC-safety properties.
58254
582552014-01-31 Alexandre Oliva <aoliva@redhat.com>
58256
58257 * manual/setjmp.texi: Document MTASC-safety properties.
58258
58259 * manual/search.texi: Document MTASC-safety properties.
58260
58261 * manual/resource.texi: Document MTASC-safety properties.
58262
58263 * manual/process.texi: Document MTASC-safety properties.
58264
58265 * manual/platform.texi: Document MTASC-safety properties.
58266
58267 * manual/pipe.texi: Document MTASC-safety properties.
58268
58269 * manual/pattern.texi: Document MTASC-safety properties.
58270
58271 * manual/message.texi: Document MTASC-safety properties.
58272
58273 [BZ #12751]
58274 * manual/memory.texi: Document MTASC-safety properties.
58275
58276 * manual/math.texi: Document MTASC-safety properties.
58277
58278 * manual/locale.texi: Document MTASC-safety properties.
58279
58280 * manual/llio.texi: Document MTASC-safety properties.
58281
58282 * manual/libdl.texi: New.
58283
58284 * manual/lang.texi: Document MTASC-safety properties.
58285
58286 * manual/job.texi: Document MTASC-safety properties.
58287
58288 * manual/getopt.texi: Document MTASC-safety properties.
58289
58290 * manual/ctype.texi: Document MTASC-safety properties.
58291
582922014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
58293
58294 [BZ #16046]
58295 * csu/libc-tls.c (static_map): Remove variable.
58296 (__libc_setup_tls): Use main executable's link map for TLS data.
58297 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58298 casing for LM_ID_BASE and GL(dl_nns).
58299 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58300 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
58301 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58302 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58303 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58304 member.
58305 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58306 l_phnum members.
58307
583082014-01-30 Alexandre Oliva <aoliva@redhat.com>
58309
58310 * manual/debug.texi: Document MTASC-safety properties.
58311
583122014-01-29 H.J. Lu <hongjiu.lu@intel.com>
58313
58314 [BZ #16510]
58315 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58316 of __x86_64__ when disabling x87 inline functions.
58317
583182014-01-29 Alexandre Oliva <aoliva@redhat.com>
58319
58320 * manual/charset.texi: Document MTASC-safety properties.
58321
58322 * manual/crypt.texi: Document MTASC-safety properties.
58323
58324 * manual/conf.texi: Document MTASC-safety properties.
58325
58326 * manual/arith.texi: Document MTASC-safety properties.
58327
58328 * manual/argp.texi: Document MTASC-safety properties.
58329
58330 * manual/macros.texi: Introduce macros to document multi
58331 thread, asynchronous signal and asynchronous cancellation
58332 safety properties.
58333 * manual/intro.texi: Introduce the properties themselves.
58334
583352014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58336
58337 * sysdeps/sh/sh4/Makefile: New file.
58338
583392014-01-27 Andreas Schwab <schwab@linux-m68k.org>
58340
58341 * math/gen-libm-test.pl ($srcdir): New variable.
58342 ($auto_input): Use it.
58343
583442014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58345
58346 [BZ #16506]
58347 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58348 access beyond array bounds when parsing netgroups file.
58349
58350 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58351 the old buffer before realloc.
58352
583532014-01-27 Allan McRae <allan@archlinux.org>
58354
58355 * po/fr.po: Update French translation from translation project.
58356
583572014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58358
58359 * sysdeps/sh/libm-test-ulps: Regenerate.
58360
583612014-01-24 David S. Miller <davem@davemloft.net>
58362
58363 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58364
583652014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58366
58367 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58368 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58369
583702013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58371
58372 [BZ #16474]
58373 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58374 string pointers after reallocation.
58375
583762014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58377
58378 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58379 __SH4A__ instead of __SH_FPU_ANY__.
58380
583812014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58382
58383 * sysdeps/sh/fpu_control.h: New file.
58384 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58385 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58386 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58387 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58388 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58389 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58390 * sysdeps/sh/sys/ucontext.h: Remove.
58391 * sysdeps/sh/sys: Remove directory.
58392
583932014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58394
58395 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58396 s390/sys/ucontext.h.
58397 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58398 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58399
584002014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58401
58402 [BZ #15605]
58403 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58404
584052014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58406
58407 [BZ #16431]
58408 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58409 Adjust the vDSO correctly for internal calls.
58410 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58411
584122014-01-20 Allan McRae <allan@archlinux.org>
58413
58414 * po/ca.po: Update Catalan translation from translation project.
58415
584162014-01-16 Mike Frysinger <vapier@gentoo.org>
58417
58418 * sysdeps/s390/sotruss-lib.c: New file.
58419
584202014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58421
58422 [BZ #16430]
58423 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58424 (__GI___gettimeofday): Alias for a different internal symbol to avoid
58425 local calls issues by not having a PLT stub required for IFUNC calls.
58426 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58427
584282014-01-16 Joseph Myers <joseph@codesourcery.com>
58429
58430 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58431 * math/test-fpucw-static.c: Likewise.
58432
584332013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58434
58435 [BZ #16453]
58436 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58437
584382014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58439
58440 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58441 implementation for powerpc.
58442
584432014-01-15 Ondřej Bílka <neleai@seznam.cz>
58444
58445 [BZ #14782]
58446 * sysdeps/posix/system.c (__libc_system): Do not enable
58447 asynchronous cancellation.
58448
584492014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58450
58451 [BZ #16427]
58452 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58453 handling only for numbers special also in the IEEE case.
58454
584552014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58456
58457 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58458
584592014-01-11 Allan McRae <allan@archlinux.org>
58460
58461 * po/bg.po: Update Bulgarian translation from translation project.
58462
58463 * po/de.po: Update German translation from translation project.
58464
584652014-01-10 Roland McGrath <roland@hack.frob.com>
58466
58467 * sysdeps/generic/gcc-compat.h: New file.
58468
584692014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58470
58471 * benchtests/asin-inputs: Correct slow inputs.
58472 * benchtests/acos-inputs: Likewise.
58473
584742014-01-10 Allan McRae <allan@archlinux.org>
58475
58476 * po:sv.po: Update Swedish translation from translation project.
58477
58478 * po/vi.po: Update Vietnamese translation from translation project.
58479
58480 * po/eo.po: Update Esperanto translation from translation project.
58481
58482 * po/cs.po: Update Czech translation from translation project.
58483
58484 * po/nl.po: Update Dutch translation from translation project.
58485
58486 * po/pl.po: Update Polish translation from translation project.
58487
58488 * po/ru.po: Update Russian translation from translation project.
58489
58490 * po/uk.po: Update Ukrainian translation from translation project.
58491
584922014-01-08 Brooks Moses <bmoses@google.com>
58493
58494 * elf/dl-load.c: Fix comment typo.
58495
584962014-01-08 Carlos O'Donell <carlos@redhat.com>
58497
58498 * po/header.pot: Rename to...
58499 * po/pot.header: ... this.
58500 * po/Makefile: Use pot.header.
58501
585022014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58503 Maxim Kuvyrkov <maxim@kugelworks.com>
58504
58505 [BZ #16394]
58506 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58507 SRC and DEST against LEN.
58508
585092014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58510
58511 [BZ #16414]
58512 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58513 implementation.
58514 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58515
585162014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58517
58518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58519
585202014-01-08 Joseph Myers <joseph@codesourcery.com>
58521
58522 [BZ #16408]
58523 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58524 for large positive arguments.
58525
585262014-01-07 Joseph Myers <joseph@codesourcery.com>
58527
58528 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58529
58530 * math/auto-libm-test-in: Mark various tests with
58531 xfail-rounding:ldbl-128ibm.
58532 * math/auto-libm-test-out: Regenerated.
58533
58534 [BZ #16407]
58535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58536 Increase overflow threshold.
58537
585382014-01-07 Ondřej Bílka <neleai@seznam.cz>
58539
58540 [BZ #14286]
58541 * stdio-common/vfprintf.c: Check for integer overflow.
58542
585432014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58544
58545 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58546 the first argument and return value of __tls_get_addr_internal.
58547
585482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58549
58550 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58551 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58552
585532014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58554
58555 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58556 * sysdeps/s390/rtld-global-offsets.sym: New file.
58557 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58558 GLIBC_2.19 symbol.
58559 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58560 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58561 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58562 ... this.
58563 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58564 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58565 ... this.
58566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58567 Regenerate.
58568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58569 Regenerate.
58570 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58571 halfs of GPRs for high_gprs contexts.
58572 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58573 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58574 field.
58575 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58576 uc_flags field.
58577 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58578 64 bit versions:
58579 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58580 for high GPRs (uc_high_gprs) and for future extensions
58581 (__reserved).
58582 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58583 for future extensions (__reserved).
58584 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58585 64 bit versions:
58586 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58587 SC_HIGHGPRS offset definition.
58588 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58589 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58590
58591 * Versions.def: Add GLIBC_2.19 for libpthread.
58592 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58593 siglongjmp for libpthread with GLIBC_2.19 symver.
58594 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58595 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58596 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58597 * sysdeps/s390/__longjmp.c: New file.
58598 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58599 * sysdeps/s390/longjmp.c: New file.
58600 * sysdeps/s390/setjmp.S: New file.
58601 * sysdeps/s390/sigjmp.S: New file.
58602 * sysdeps/s390/v1-longjmp.c: New file.
58603 * sysdeps/s390/v1-setjmp.h: New file.
58604 * sysdeps/s390/v1-sigjmp.c: New file.
58605 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58606 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58607 GLIBC_2.19 version.
58608 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58609 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58610 versioned symbols for ____longjmp_chk.
58611 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58612 Likewise.
58613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58614 Regenerate.
58615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58616 Regenerate.
58617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58618 Regenerate.
58619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58620 Regenerate.
58621 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58622 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58623 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58624 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58625 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58626 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58627 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58628 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58629 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58630 * sysdeps/s390/rtld-__longjmp.c: New file.
58631 * sysdeps/s390/rtld-setjmp.S: New file.
58632
586332014-01-06 Joseph Myers <joseph@codesourcery.com>
58634
58635 [BZ #16400]
58636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58637 Return -__logl (x) for small positive arguments without evaluating
58638 a polynomial.
58639
586402014-01-06 Mike Frysinger <vapier@gentoo.org>
58641
58642 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58643 Rename to ...
58644 (__ptrace_peeksiginfo_args): ... this.
58645 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58648
586492014-01-06 Allan McRae <allan@archlinux.org>
58650
58651 * inet/netinet/in.h: Fix typo in comment.
58652
586532014-01-05 Andreas Jaeger <aj@suse.de>
58654
58655 * sysdeps/i386/fpu/libm-test-ulps: Update.
58656
586572014-01-05 Allan McRae <allan@archlinux.org>
58658
58659 * po/libc.pot: Regenerated.
58660
58661 * malloc/memusagestat.c: Fix gettext call formatting.
58662
586632014-01-04 Sami Kerola <kerolasa@iki.fi>
58664
58665 * nscd/nscd.c: Improve usage() output.
58666
586672014-01-04 Mike Frysinger <vapier@gentoo.org>
58668
58669 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58670 * sysdeps/unix/sysv/linux/configure: Regenerated.
58671 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58672 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58673
586742014-01-03 Joseph Myers <joseph@codesourcery.com>
58675
58676 [BZ #16390]
58677 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58678 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58679
586802014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58681
58682 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58683 extra tokens at end of #undef directive.
58684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58685 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58686 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58687
586882014-01-03 Joseph Myers <joseph@codesourcery.com>
58689
58690 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58691
58692 * math/auto-libm-test-in: Mark various tests with
58693 xfail-rounding:ldbl-128ibm.
58694 * math/auto-libm-test-out: Regenerated.
58695
586962014-01-02 Joseph Myers <joseph@codesourcery.com>
58697
58698 [BZ #16386]
58699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58700 numbers with subnormal high part when calculating exponent.
58701
58702 [BZ #16385]
58703 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58704 fabs.
58705
58706 [BZ #16384]
58707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58708 M_LN2l.
58709 (__ieee754_acoshl): Use __log1pl not __log1p.
58710
587112013-01-02 Ondřej Bílka <neleai@seznam.cz>
58712
58713 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58714 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58715 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58716 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58717 (reused_arena, arena_get2): Convert to GNU style.
58718 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58719 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58720 (memalign_check, __malloc_set_state): Likewise.
58721 * malloc/mallocbug.c (main): Likewise.
58722 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58723 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58724 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58725 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58726 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58727 (__posix_memalign, malloc_info): Likewise.
58728 * malloc/malloc.h: Likewise.
58729 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58730 (mallochook, memalignhook, reallochook, mabort): Likewise.
58731 * malloc/mcheck.h: Likewise.
58732 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58733 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58734 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58735 * malloc/morecore.c (__default_morecore): Likewise.
58736 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58737 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58738 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58739 (print_and_abort): Likewise.
58740 * malloc/obstack.h: Likewise.
58741 * malloc/set-freeres.c (__libc_freeres): Likewise.
58742 * malloc/tst-mallocstate.c (main): Likewise.
58743 * malloc/tst-mtrace.c (main): Likewise.
58744 * malloc/tst-realloc.c (do_test): Likewise.
58745
587462013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58747
58748 [BZ #16366]
58749 * nscd/netgroupcache.c (do_notfound): New function.
58750 (addgetnetgrentX): Use it.
58751
58752 [BZ # 16365]
58753 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58754 NSS_STATUS_NOTFOUND.
58755
587562014-01-01 Joseph Myers <joseph@codesourcery.com>
58757
58758 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58760
587612014-01-01 Allan McRae <allan@archlinux.org>
58762
58763 * scripts/update-copyrights: Update configure input file suffix.
58764
58765 * NEWS: Update copyright year.
58766 * catgets/gencat.c: Likewise.
58767 * csu/version.c: Likewise.
58768 * debug/catchsegv.sh: Likewise.
58769 * debug/pcprofiledump.c: Likewise.
58770 * debug/xtrace.sh: Likewise.
58771 * elf/ldconfig.c: Likewise.
58772 * elf/ldd.bash.in: Likewise.
58773 * elf/pldd.c: Likewise.
58774 * elf/sotruss.ksh: Likewise.
58775 * elf/sprof.c: Likewise.
58776 * iconv/iconv_prog.c: Likewise.
58777 * iconv/iconvconfig.c: Likewise.
58778 * locale/programs/locale.c: Likewise.
58779 * locale/programs/localedef.c: Likewise.
58780 * login/programs/pt_chown.c: Likewise.
58781 * malloc/memusage.sh: Likewise.
58782 * malloc/memusagestat.c: Likewise.
58783 * malloc/mtrace.pl: Likewise.
58784 * manual/libc.texinfo: Likewise.
58785 * nscd/nscd.c: Likewise.
58786 * nss/getent.c: Likewise.
58787 * nss/makedb.c: Likewise.
58788 * posix/getconf.c: Likewise.
58789 * scripts/test-installation.pl: Likewise.
58790
58791 * All files with FSF copyright notices: Update copyright dates
58792 using scripts/update-copyrights.
58793 * intl/plural.c: Regenerated.
58794 * locale/programs/charmap-kw.h: Likewise.
58795 * locale/programs/locfile-kw.h: Likewise.
58796
587972013-12-31 Mike Frysinger <vapier@gentoo.org>
58798
58799 * sysdeps/unix/sysv/linux/configure: Regenerated.
58800 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58801 the linux/fanotify.h header.
58802 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58803 HAVE_LINUX_FANOTIFY_H is defined.
58804
588052013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58806
58807 * benchtests/cos-inputs: New inputs.
58808 * benchtests/sin-inputs: Likewise.
58809
58810 * benchtests/atan-inputs: New inputs. Fix name of multiple
58811 precision fallback inputs.
58812
58813 * benchtests/atanh-inputs: New inputs.
58814 * benchtests/tanh-inputs: Likewise.
58815
58816 * benchtests/acosh-inputs: New inputs.
58817 * benchtests/asinh-inputs: Likewise.
58818
58819 * benchtests/cosh-inputs: New inputs.
58820 * benchtests/sinh-inputs: Likewise.
58821
58822 * benchtests/acos-inputs: Add more inputs.
58823 * benchtests/asin-inputs: Likewise.
58824
588252013-12-30 Ville Skytta <ville.skytta@iki.fi>
58826
58827 [BZ #16375]
58828 * manual/arith.texi: Fix spelling.
58829 * manual/charset.texi: Likewise.
58830 * manual/errno.texi: Likewise.
58831 * manual/filesys.texi: Likewise.
58832 * manual/lang.texi: Likewise.
58833 * manual/llio.texi: Likewise.
58834 * manual/locale.texi: Likewise.
58835 * manual/message.texi: Likewise.
58836 * manual/resource.texi: Likewise.
58837 * manual/search.texi: Likewise.
58838 * manual/setjmp.texi: Likewise.
58839 * manual/stdio.texi: Likewise.
58840 * manual/string.texi: Likewise.
58841 * manual/sysinfo.texi: Likewise.
58842 * manual/time.texi: Likewise.
58843
588442013-12-27 Carlos O'Donell <carlos@redhat.com>
58845
58846 * po/sl.po: New file.
58847
588482013-12-27 Mike Frysinger <vapier@gentoo.org>
58849
58850 * .gitignore: Add core/.gdbinit/.gdb_history.
58851
588522013-12-27 Allan McRae <allan@archlinux.org>
58853
58854 [BZ #16369]
58855 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58856 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58857
588582013-12-24 Brooks Moses <bmoses@google.com>
58859
58860 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58861 all compilers that claim C++98 compliance, not just GCC.
58862 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58863 Likewise.
58864
588652013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58866
58867 * NEWS: Restore accidentally deleted bug-fix entries.
58868
588692013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58870 Ondřej Bílka <neleai@seznam.cz>
58871
58872 [BZ #15073]
58873 * malloc/malloc.c (_int_free): Perform sanity check only if we
58874 have_lock.
58875
588762013-12-23 Ondřej Bílka <neleai@seznam.cz>
58877
58878 [BZ #12986]
58879 * manual/stdio.texi (String Input Conversions): Clarify that character
58880 classes are not supported.
58881
588822013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58883
58884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58885
588862013-12-22 Joseph Myers <joseph@codesourcery.com>
58887
58888 [BZ #16337]
58889 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58890 Calculate results for small negative arguments directly rather
58891 than using reflection formula with special underflow handling.
58892
58893 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58894 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58895 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58896 (fchflags): Likewise.
58897 (revoke): Likewise.
58898 (setlogin): Likewise.
58899 (sigaltstack): Likewise.
58900 (wait4): Likewise.
58901 (sigblock): Remove.
58902 (sigsetmask): Likewise.
58903 (wait3): Likewise.
58904 (waitpid): Likewise.
58905 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58906 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58907 file.
58908 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58909 * sysdeps/unix/bsd/Makefile: ... here.
58910 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58911 * sysdeps/unix/bsd/Versions: ... here.
58912 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58913 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58914 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58915 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58916 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58917 * sysdeps/unix/bsd/sigblock.c: ... here.
58918 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58919 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58920 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58921 * sysdeps/unix/bsd/sigvec.c: ... here.
58922 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58923 * sysdeps/unix/bsd/tcdrain.c: ... here.
58924 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58925 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58926 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58927 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58928 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58929 * sysdeps/unix/bsd/wait.c: ... here.
58930 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58931 * sysdeps/unix/bsd/wait3.c: ... here.
58932 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58933 * sysdeps/unix/bsd/waitpid.c: ... here.
58934
589352013-12-21 Joseph Myers <joseph@codesourcery.com>
58936
58937 [BZ #16356]
58938 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58939 round-to-nearest for [!USE_AS_EXPM1L].
58940 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58941 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58942 more tests of exp and exp10. Expect some exp10 tests to miss
58943 exceptions or fail in directed rounding modes.
58944 * math/auto-libm-test-out: Regenerated.
58945 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58946 (exp10_test_tonearest): New function.
58947 (exp10_towardzero_test_data): New array.
58948 (exp10_test_towardzero): New function.
58949 (exp10_downward_test_data): New array.
58950 (exp10_test_downward): New function.
58951 (exp10_upward_test_data): New array.
58952 (exp10_test_upward): New function.
58953 (main): Call the new functions.
58954 * sysdeps/i386/fpu/libm-test-ulps: Update.
58955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58956
589572013-12-20 Joseph Myers <joseph@codesourcery.com>
58958
58959 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58960 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58961 * math/auto-libm-test-out: Regenerated.
58962 * math/libm-test.inc (acosh_test_data): Add more tests.
58963 (atanh_test_data): Likewise.
58964 (ceil_test_data): Likewise.
58965 (copysign_test_data): Likewise.
58966 * sysdeps/i386/fpu/libm-test-ulps: Update.
58967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58968
58969 * timezone/checktab.awk: Update from tzcode 2013i.
58970 * timezone/private.h: Likewise.
58971 * timezone/scheck.c: Likewise.
58972 * timezone/tzfile.h: Likewise.
58973 * timezone/tzselect.ksh: Likewise.
58974 * timezone/zdump.c: Likewise.
58975 * timezone/zic.c: Likewise.
58976
58977 * math/auto-libm-test-in: Add tests of cpow.
58978 * math/auto-libm-test-out: Regenerated.
58979 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58980 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58981 mpc_cc_c.
58982 (func_calc_desc): Add mpc_cc_c union field.
58983 (test_functions): Add cpow.
58984 (special_fill_2pi): New function.
58985 (special_real_inputs): Add 2pi.
58986 (calc_generic_results): Handle mpc_cc_c.
58987 * sysdeps/i386/fpu/libm-test-ulps: Update.
58988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58989
58990 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58991 csqrt, ctan and ctanh.
58992 * math/auto-libm-test-out: Regenerated.
58993 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58994 (TEST_COND_x86): Likewise.
58995 (ccos_test_data): Use AUTO_TESTS_c_c.
58996 (ccosh_test_data): Likewise.
58997 (cexp_test_data): Likewise.
58998 (clog_test_data): Likewise.
58999 (csqrt_test_data): Likewise.
59000 (ctan_test_data): Likewise.
59001 (ctan_tonearest_test_data): Likewise.
59002 (ctan_towardzero_test_data): Likewise.
59003 (ctan_downward_test_data): Likewise.
59004 (ctan_upward_test_data): Likewise.
59005 (ctanh_test_data): Likewise.
59006 (ctanh_tonearest_test_data): Likewise.
59007 (ctanh_towardzero_test_data): Likewise.
59008 (ctanh_downward_test_data): Likewise.
59009 (ctanh_upward_test_data): Likewise.
59010 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59011 mpc_c_c.
59012 (func_calc_desc): Add mpc_c_c union field.
59013 (FUNC_mpc_c_c): New macro.
59014 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
59015 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
59016 ctanh.
59017 (special_fill_min_subnorm_p120): New function.
59018 (special_real_inputs): Add min_subnorm_p120.
59019 (calc_generic_results): Handle mpc_c_c.
59020 * sysdeps/i386/fpu/libm-test-ulps: Update.
59021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59022
590232013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59024
59025 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
59026 (do_sin_slow): New functions.
59027 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
59028 (cslow2, csloww1, csloww2): Use the new functions.
59029
59030 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
59031 Use M to change sign of result instead of X. Assume X is
59032 positive.
59033 (csloww1): Likewise.
59034 (__sin): Adjust.
59035 (__cos): Adjust.
59036
59037 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
59038 arguments A and DA.
59039 (__sin): Adjust.
59040 (__cos): Likewise.
59041
59042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
59043 (__cos): Likewise.
59044 (sloww1): Don't adjust sign of DX.
59045 (csloww1): Likewise.
59046 (sloww2): Use X directly and don't adjust sign of DX.
59047 (csloww2): Likewise.
59048
590492013-12-19 Joseph Myers <joseph@codesourcery.com>
59050
59051 * math/auto-libm-test-in: Add tests of cabs and carg.
59052 * math/auto-libm-test-out: Regenerated.
59053 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
59054 (carg_test_data): Likewise.
59055 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59056 mpc_c_f.
59057 (func_calc_desc): Add mpc_c_f union field.
59058 (test_functions): Add cabs and carg.
59059 (calc_generic_results): Handle mpc_c_f.
59060
59061 * sysdeps/powerpc/powerpc32/libgcc-compat.S
59062 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
59063 as a macro and a compat symbol.
59064 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
59065 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
59066 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
59067 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
59068 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
59069 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
59070 not use .hidden.
59071 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
59072 Likewise.
59073 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
59074 Likewise.
59075 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
59076 Likewise.
59077 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
59078 Likewise.
59079 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
59080 Likewise.
59081 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
59082 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
59083 from GLIBC_2.3.2.
59084
590852013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59086
59087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59088
590892013-12-19 Joseph Myers <joseph@codesourcery.com>
59090
59091 * manual/texinfo.tex: Update to version 2013-11-26.10 with
59092 trailing whitespace removed.
59093 * scripts/config.guess: Update to version 2013-11-29.
59094 * scripts/config.sub: Update to version 2013-10-01.
59095
59096 * math/auto-libm-test-in: Add tests of sincos.
59097 * math/auto-libm-test-out: Regenerated.
59098 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
59099 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59100 mpfr_f_11.
59101 (func_calc_desc): Add mpfr_f_11 union field.
59102 (test_functions): Add sincos.
59103 (calc_generic_results): Handle mpfr_f_11.
59104 * sysdeps/i386/fpu/libm-test-ulps: Update.
59105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59106
591072013-12-19 Andreas Schwab <schwab@suse.de>
59108
59109 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
59110 CALL_MCOUNT.
59111 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59112 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
59113 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
59114
591152013-12-19 Joseph Myers <joseph@codesourcery.com>
59116
59117 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
59118 * sysdeps/i386/fpu/libm-test-ulps: Update.
59119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59120
59121 [BZ #16293]
59122 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
59123 round-to-nearest mode when using frndint.
59124 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
59125 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59126 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
59127 Likewise.
59128 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
59129 sinh test to fail.
59130 * math/auto-libm-test-out: Regenerated.
59131 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
59132 (TEST_COND_x86): Likewise.
59133 (expm1_tonearest_test_data): New array.
59134 (expm1_test_tonearest): New function.
59135 (expm1_towardzero_test_data): New array.
59136 (expm1_test_towardzero): New function.
59137 (expm1_downward_test_data): New array.
59138 (expm1_test_downward): New function.
59139 (expm1_upward_test_data): New array.
59140 (expm1_test_upward): New function.
59141 (main): Run the new test functions.
59142 * sysdeps/i386/fpu/libm-test-ulps: Update.
59143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59144
59145 * include/features.h: Update comment documenting feature test
59146 macros. Mention _DEFAULT_SOURCE in comment.
59147 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
59148 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
59149 _BSD_SOURCE and _SVID_SOURCE.
59150 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
59151 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
59152 !_SVID_SOURCE]: Likewise.
59153 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59154 (__USE_POSIX_IMPLICITLY): Define.
59155 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59156 (_POSIX_SOURCE): Undefine and redefine.
59157 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59158 (_POSIX_C_SOURCE): Likewise.
59159 * manual/creature.texi (_DEFAULT_SOURCE): Document.
59160 (Feature Test Macros): Update documentation of default features.
59161
591622013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
59163
59164 * benchtests/Makefile: Add bench-strtok.
59165 * benchtests/bench-strtok.c: New file: strtok benchtest.
59166
591672013-12-19 Allan McRae <allan@archlinux.org>
59168
59169 * manual/install.texi: Suppress menu for plain text output.
59170 * INSTALL: Regenerated.
59171
591722013-12-18 Brooks Moses <bmoses@google.com>
59173
59174 [BZ #15846]
59175 * misc/getauxval.c: Include errno.h.
59176 (__getauxval): Set errno to ENOENT if the requested type is not
59177 found.
59178 * misc/sys/auxv.h (getauxval): Document that it may set errno;
59179 don't declare with __attribute_const__.
59180 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
59181 * manual/startup.texi: Document that getauxval sets errno.
59182
591832013-12-18 Joseph Myers <joseph@codesourcery.com>
59184
59185 * math/auto-libm-test-in: Add tests of jn and yn.
59186 * math/auto-libm-test-out: Regenerated.
59187 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59188 (yn_test_data): Likewise.
59189 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59190 mpfr_if_f.
59191 (func_calc_desc): Add mpfr_if_f union field.
59192 (FUNC_mpfr_if_f): New macro.
59193 (test_functions): Add jn and yn.
59194 (calc_generic_results): Assert type of second input for
59195 mpfr_ff_f. Handle mpfr_if_f.
59196 (output_for_one_input_case): Disable all checking for arguments
59197 fitting floating-point types in case of an integer argument.
59198 * sysdeps/i386/fpu/libm-test-ulps: Update.
59199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59200
59201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59202 Don't expect fegetround reference in libm.so.
59203
592042013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59205
59206 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59207 $(config-cflags-nofma).
59208
592092013-12-18 Joseph Myers <joseph@codesourcery.com>
59210
59211 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59212 * math/auto-libm-test-out: Regenerated.
59213
59214 [BZ #16338]
59215 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59216 to determine exponent and adjust argument to have exponent of -1.
59217 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59218 log2.
59219 * math/auto-libm-test-out: Regenerated.
59220 * sysdeps/i386/fpu/libm-test-ulps: Update.
59221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59222
592232013-12-18 Ondřej Bílka <neleai@seznam.cz>
59224
59225 * manual/probes.texi: Remove cases when per-thread arenas are
59226 disabled.
59227
592282013-12-18 Andreas Schwab <schwab@suse.de>
59229
59230 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59231 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59232 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59233 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59234 * sysdeps/i386/i686/multiarch/Makefile: Update.
59235 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59236
592372013-12-17 Joseph Myers <joseph@codesourcery.com>
59238
59239 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59240 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59241
592422013-12-17 Paul Eggert <eggert@cs.ucla.edu>
59243
59244 [BZ #15968]
59245 Support TZ transition times < 00:00:00.
59246 This is needed for version-3 tz-format files; it supports time
59247 stamps past 2037 for America/Godthab (the only entry in the tz
59248 database for which this change is relevant).
59249 * manual/time.texi (TZ Variable): Document transition times
59250 from -167:59:59 through -00:00:01.
59251 * time/tzset.c (tz_rule): Time of day is now signed.
59252 (__tzset_parse_tz): Parse negative time of day.
59253
59254 Document TZ transition times >= 25:00:00.
59255 * manual/time.texi (TZ Variable): Document transition times from
59256 25:00:00 through 167:59:59. These are already supported, and this
59257 support will help with version-3 tz-format files.
59258
59259 * manual/time.texi (TZ Variable): Modernize North America example
59260 to reflect current (i.e., 2007-and-later) daylight saving rules.
59261
59262 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59263
592642013-12-17 Joseph Myers <joseph@codesourcery.com>
59265
59266 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59267 * sysdeps/unix/bsd/bits/stat.h: Likewise.
59268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59270 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59271 * sysdeps/unix/bsd/bsdstat.h: Likewise.
59272 * sysdeps/unix/bsd/clock.c: Likewise.
59273 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59274 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59275 * sysdeps/unix/bsd/init-posix.c: Likewise.
59276 * sysdeps/unix/bsd/poll.c: Likewise.
59277 * sysdeps/unix/bsd/ptsname.c: Likewise.
59278 * sysdeps/unix/bsd/seekdir.c: Likewise.
59279 * sysdeps/unix/bsd/setegid.c: Likewise.
59280 * sysdeps/unix/bsd/seteuid.c: Likewise.
59281 * sysdeps/unix/bsd/setgid.c: Likewise.
59282 * sysdeps/unix/bsd/setrgid.c: Likewise.
59283 * sysdeps/unix/bsd/setruid.c: Likewise.
59284 * sysdeps/unix/bsd/setsid.c: Likewise.
59285 * sysdeps/unix/bsd/setuid.c: Likewise.
59286 * sysdeps/unix/bsd/sigaction.c: Likewise.
59287 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59288 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59289 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59290 * sysdeps/unix/bsd/telldir.c: Likewise.
59291 * sysdeps/unix/bsd/times.c: Likewise.
59292 * sysdeps/unix/bsd/usleep.c: Likewise.
59293
59294 * misc/Makefile (install-lib): Remove libbsd-compat.a.
59295 ($(objpfx)libbsd-compat.a): Remove rule.
59296
59297 * include/features.h (__FAVOR_BSD): Do not define.
59298 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59299 features conflicting with POSIX.
59300 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59301 (_BSD_SOURCE): Remove description of not being a subset of other
59302 feature test macros.
59303 * manual/job.texi (getpgrp): Do not document BSD version.
59304 (getpgid): Do not document by reference to BSD getpgrp.
59305 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59306 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59307 * signal/signal.h [__FAVOR_BSD]: Likewise.
59308 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59309 instead of making contents conditional on [__FAVOR_BSD].
59310 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59311
593122013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59313
59314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59315
593162013-12-17 Joseph Myers <joseph@codesourcery.com>
59317
59318 [BZ #16314]
59319 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59320 values below 2**-450, not 2**-500.
59321 * math/auto-libm-test-in: Don't allow spurious underflow from
59322 hypot.
59323 * math/auto-libm-test-out: Regenerated.
59324
59325 [BZ #16316]
59326 [BZ #16330]
59327 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59328 values of ha and hb and sort them after adjusting subnormal
59329 arguments.
59330 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59331 Likewise.
59332 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59333 values of ea and eb and sort them after adjusting subnormal
59334 arguments.
59335 * math/auto-libm-test-in: Do not expect some hypot tests of
59336 subnormals to fail. Add more hypot tests.
59337 * math/auto-libm-test-out: Regenerated.
59338
593392013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59340
59341 [BZ #13304]
59342 * sysdeps/sh/s_fma.c: New file.
59343 * sysdeps/sh/s_fmaf.c: New file.
59344 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
59345 version.
59346 * sysdeps/sh/Implies: Add sh/soft-fp.
59347
593482013-12-16 Roland McGrath <roland@hack.frob.com>
59349
59350 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
59351 level of indirection to members `objname', `errstring', `malloced'.
59352 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59353 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
59354 it as the __longjmp argument (just pass 1 instead).
59355 (_dl_catch_error): Initialize C with argument pointers and address of
59356 volatile local ERRCODE rather than copying values out of C at return.
59357
593582013-12-16 Joseph Myers <joseph@codesourcery.com>
59359
59360 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59361 * math/auto-libm-test-out: Regenerated.
59362 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59363 (hypot_test_data): Likewise.
59364 (pow_test_data): Likewise.
59365 (pow_tonearest_test_data): Likewise.
59366 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59367 mpfr_ff_f.
59368 (func_calc_desc): Add mpfr_ff_f union field.
59369 (FUNC_mpfr_ff_f): New macro.
59370 (test_functions): Add atan2, hypot and pow.
59371 (special_fill_min): New function.
59372 (special_fill_minus_min): Likewise.
59373 (special_fill_min_subnorm): Likewise.
59374 (special_fill_minus_min_subnorm): Likewise.
59375 (special_real_inputs): Add min, -min, min_subnorm and
59376 -min_subnorm.
59377 (calc_generic_results): Handle mpfr_ff_f.
59378 * sysdeps/i386/fpu/libm-test-ulps: Update.
59379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59380
593812013-12-16 Will Newton <will.newton@linaro.org>
59382
59383 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59384 (Aligned Memory Blocks): Add documentation for aligned_alloc
59385 and suggest it as an alternative to posix_memalign.
59386 (Hooks for Malloc): Document __memalign_hook is also called
59387 for aligned_alloc. (Summary of Malloc): Add summary for
59388 aligned alloc. Document __memalign_hook is also called
59389 for aligned_alloc.
59390
593912013-12-16 Will Newton <will.newton@linaro.org>
59392
59393 * manual/memory.texi (Malloc Examples): Clarify default
59394 alignment documentation. Suggest posix_memalign rather
59395 than memalign or valloc.
59396 (Aligned Memory Blocks): Remove suggestion to use memalign
59397 or valloc. Remove obsolete comment about BSD.
59398 Document memalign errno values and mark the function obsolete.
59399 Document posix_memalign returned error codes. Mark valloc
59400 as obsolete. (Hooks for Malloc): __memalign_hook is also
59401 called for posix_memalign and valloc.
59402 (Summary of Malloc): Add posix_memalign to function summary.
59403 __memalign_hook is also called for posix_memalign and valloc.
59404
594052013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59406
59407 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59408 TAYLOR_SIN.
59409 (__sin): Adjust.
59410 (__cos): Likewise.
59411 (sloww): Use mynumber union. Expand ternary operator into
59412 if-else statements.
59413 (cslow): use mynumber union.
59414
594152013-12-16 Allan McRae <allan@archlinux.org>
59416
59417 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59418 * configure: Regenerated.
59419
59420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59421
59422 [BZ #14120]
59423 * configure.ac: Added --enable-maintainer-mode. Check for
59424 autoconf when enabled.
59425 * configure: Regenerated.
59426
59427 * nscd/nscd.service: New file.
59428 * nscd/nscd.tmpfiles: New file.
59429
594302013-12-14 Ondřej Bílka <neleai@seznam.cz>
59431
59432 [BZ #12100]
59433 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59434 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59435 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59436 (strstr): Add __strstr_sse2_unaligned ifunc.
59437 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59438 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59439 (strcasestr): Remove __strcasestr_sse42 ifunc.
59440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59443
594442013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59445
59446 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59447 * sysdeps/sh/bits/fenv.h: ... here.
59448 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59449
594502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59451
59452 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59453
59454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59455 hypotf multiarch implementations.
59456 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59457 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59458 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59459 multiarch hypot for PPC64.
59460 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59461 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59463 multiarch hypotf for PPC64.
59464
59465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59466 modff multiarch implementations.
59467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59470 multiarch modf for PPC64.
59471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59474 multiarch modff for PPC64.
59475
59476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59477 and logl multiarch implementations.
59478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59481 multiarch logb for PPC64.
59482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59485 multiarch logb for PPC64.
59486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59489 multiarch logb for PPC64.
59490
59491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59492 isinff multiarch implementation.
59493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59494 file.
59495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59497 multiarch isinf for PPC64.
59498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59499 file.
59500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59501 multiarch isinff for PPC64.
59502
59503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59504 finitef multiarch implementation.
59505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59506 file.
59507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59509 multiarch finite for PPC64.
59510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59511 file.
59512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59513 multiarch finitef for PPC64.
59514
59515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59516 lrint multiarch implementation.
59517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59518 file.
59519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59521 multiarch llrint for PPC64.
59522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59523 multiarch lrint for PPC64.
59524
59525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59526 copysignf multiarch implementation.
59527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59528 file.
59529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59530 file.
59531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59532 multiarch copysign for PPC64.
59533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59534 multiarch copysignf for PPC64.
59535
59536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59537 multiarch implementation.
59538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59539 file.
59540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59541 file.
59542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59543 file.
59544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59545 file.
59546 multiarch llround for PPC64.
59547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59548 multiarch trunc for PPC64.
59549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59550 multiarch truncf for PPC64.
59551
59552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59553 multiarch implementation.
59554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59555 file.
59556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59557 file.
59558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59559 file.
59560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59561 file.
59562 multiarch llround for PPC64.
59563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59564 multiarch round for PPC64.
59565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59566 multiarch roundf for PPC64.
59567
59568 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59569 multiarch implementation.
59570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59571 file.
59572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59573 file.
59574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59575 file.
59576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59577 file.
59578 multiarch llround for PPC64.
59579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59580 multiarch floor for PPC64.
59581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59582 multiarch floorf for PPC64.
59583
59584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59585 multiarch implementation.
59586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59587 file.
59588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59589 file.
59590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59591 file.
59592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59593 file.
59594 multiarch llround for PPC64.
59595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59596 multiarch ceil for PPC64.
59597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59598 multiarch ceilf for PPC64.
59599
59600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59601 multiarch implementation.
59602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59603 file.
59604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59605 file.
59606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59607 file.
59608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59609 multiarch llround for PPC64.
59610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59611 multiarch lround for PPC64.
59612
59613 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59614 multiarch implementation.
59615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59618 file.
59619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59622 multiarch isnan for PPC64.
59623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59624 multiarch isnanf for PPC64.
59625
59626 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59627 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59628 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59629 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59630 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59632
59633 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59634 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59636 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59637
59638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59639 multiarch implementations.
59640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59641 (__libc_ifunc_impl_list): Likewise.
59642 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59643 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59644 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59645 multiarch stpcpy for PPC64.
59646
59647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59648 multiarch implementations.
59649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59650 (__libc_ifunc_impl_list): Likewise.
59651 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59652 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59653 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59654 multiarch strcpy for PPC64.
59655
59656 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59657 redefine function name.
59658 (_wordcopy_fwd_dest_aligned): Likewise.
59659 (_wordcopy_bwd_aligned): Likewise.
59660 (_wordcopy_bwd_dest_aligned): Likewise.
59661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59662 multiarch implementations.
59663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59664 (__libc_ifunc_impl_list): Likewise.
59665 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59666 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59667 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59668 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59669 multiarch wcscpy for PPC64.
59670
59671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59672 multiarch implementations.
59673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59674 (__libc_ifunc_impl_list): Likewise.
59675 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59676 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59677 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59678 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59679 multiarch wcscpy for PPC64.
59680
59681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59682 multiarch implementations.
59683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59684 (__libc_ifunc_impl_list): Likewise.
59685 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59686 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59687 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59688 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59689 multiarch wcsrchr for PPC64.
59690
59691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59692 multiarch implementations.
59693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59694 (__libc_ifunc_impl_list): Likewise.
59695 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59696 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59697 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59698 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59699 multiarch wcschr for PPC64.
59700
59701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59702 multiarch implementations.
59703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59704 (__libc_ifunc_impl_list): Likewise.
59705 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59706 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59707 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59708 multiarch strchrnul for PPC64.
59709
59710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59711 implementations.
59712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59713 (__libc_ifunc_impl_list): Likewise.
59714 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59715 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59716 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59717 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59718 strchr for PPC64.
59719
59720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59721 implementations.
59722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59723 (__libc_ifunc_impl_list): Likewise.
59724 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59725 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59726 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59727 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59728 strncmp for PPC64.
59729
59730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59731 multiarch implementations.
59732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59733 (__libc_ifunc_impl_list): Likewise.
59734 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59735 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59736 strncasecmp for PPC64.
59737 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59738 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59739 multiarch strncasecmp_l for PPC64.
59740
59741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59742 multiarch implementations.
59743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59744 (__libc_ifunc_impl_list): Likewise.
59745 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59747 multiarch strcasecmp for PPC64.
59748 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59749 file.
59750 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59751 multiarch strcasecmp_l for PPC64.
59752
59753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59754 implementations.
59755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59756 (__libc_ifunc_impl_list): Likewise.
59757 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59758 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59759 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59760 strnlen for PPC64.
59761
59762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59763 implementations.
59764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59765 (__libc_ifunc_impl_list): Likewise.
59766 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59767 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59768 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59769 strlen for PPC64.
59770
59771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59772 implementations.
59773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59774 (__libc_ifunc_impl_list): Likewise.
59775 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59776 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59777 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59778 rawmemrchr for PPC64.
59779
59780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59781 implementation.
59782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59783 (__libc_ifunc_impl_list): Likewise.
59784 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59785 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59786 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59787 memrchr for PPC64.
59788
59789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59790 implementation.
59791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59792 (__libc_ifunc_impl_list): Likewise.
59793 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59794 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59795 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59796 memchr for PPC64.
59797
59798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59799 implementation.
59800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59801 (__libc_ifunc_impl_list): Likewise.
59802 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59803 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59804 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59805 mempcpy for PPC64.
59806
59807 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59808 avoid cretion of __bzero symbol.
59809 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59810 Likewise.
59811 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59812 Likewise.
59813 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59814 Likewise.
59815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59816 multiarch implementations.
59817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59818 (__libc_ifunc_impl_list): Likewise.
59819 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59820 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59821 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59822 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59823 bzero for PPC32.
59824 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59825 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59826 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59827 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59828 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59829 memset for PPC64.
59830 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59831
59832 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59834 implementations.
59835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59836 (__libc_ifunc_impl_list): Likewise.
59837 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59838 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59839 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59840 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59841 memcmp for PPC64.
59842
59843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59844 multiarch for POWER/PPC64.
59845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59846 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59847 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59848 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59849 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59850 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59851 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59852 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59853 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59854 memcpy for PPC64.
59855
59856 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59857 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59858 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59859 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59860 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59861 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59862 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59863 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59864 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59865 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59866 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59867 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59868 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59869 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59870 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59878
598792013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59880
59881 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59882
598832013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59884
59885 * benchtests/Makefile (bench): Add exp2 and log2.
59886 (LDLIBS-bench-exp2): Add -lm.
59887 (LDLIBS-bench-log2): Likewise.
59888 * benchtests/exp2-inputs: New inputs file.
59889 * benchtests/log2-inputs: New inputs file.
59890 * benchtests/log-inputs: Add new inputs.
59891 * benchtests/tan-inputs: Likewise.
59892
598932013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59894
59895 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59896 definition...
59897 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59898 (csloww2): ... from here.
59899
59900 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59901 instead of structures.
59902 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59903 (POLYNOMIAL): Likewise.
59904 (TAYLOR_SLOW): Likewise.
59905 (__sin): Likewise.
59906 (__cos): Likewise.
59907 (slow1): Likewise.
59908 (slow2): Likewise.
59909 (sloww): Likewise.
59910 (sloww1); Likewise.
59911 (sloww2): Likewise.
59912 (bsloww1): Likewise.
59913 (bsloww2): Likewise.
59914 (cslow2): Likewise.
59915 (csloww): Likewise.
59916 (csloww1): Likewise.
59917 (csloww2): Likewise.
59918
599192013-12-10 Ondřej Bílka <neleai@seznam.cz>
59920
59921 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59922 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59923 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59924 * malloc/hooks.c (realloc_check): Likewise.
59925
59926 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59927 * malloc/arena.c: Remove PER_THREAD conditional.
59928 [!PER_THREAD]: Remove code.
59929 (ptmalloc_unlock_all2): Likewise.
59930 (ptmalloc_init): Likewise.
59931 (_int_new_arena): Likewise.
59932 (arena_get2): Likewise.
59933 * malloc/hooks.c (__malloc_get_state): Likewise.
59934 (__malloc_set_state): Likewise.
59935 * malloc/malloc.c: Likewise.
59936 (struct malloc_state): Likewise.
59937 (struct malloc_par): Likewise.
59938 (__libc_realloc): Likewise.
59939 (__libc_mallopt): Likewise.
59940
599412013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59942
59943 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59944
599452013-12-09 Ondřej Bílka <neleai@seznam.cz>
59946
59947 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59948 macro to a function. Check for zero perturb_byte.
59949 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59950
59951 * malloc/malloc.c: (force_reg): Remove.
59952 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59953 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59954 force_reg by atomic_forced_read.
59955 * malloc/arena.c (ptmalloc_init): Likewise.
59956 * malloc/hooks.c (top_check): Likewise.
59957
599582013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59959
59960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59961
599622013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59963
59964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59965
599662013-12-08 Joseph Myers <joseph@codesourcery.com>
59967
59968 * math/auto-libm-test-in: Add tests of lgamma.
59969 * math/auto-libm-test-out: Regenerated.
59970 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59971 (M_LOG_2_SQRT_PIl): Likewise.
59972 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59973 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59974 mpfr_f_f1.
59975 (func_calc_desc): Add mpfr_f_f1 union field.
59976 (ARGS1): New macro.
59977 (ARGS2): Likewise.
59978 (ARGS3): Likewise.
59979 (ARGS4): Likewise.
59980 (RET1): Likewise.
59981 (RET2): Likewise.
59982 (CALC): Likewise.
59983 (FUNC): Likewise.
59984 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59985 (test_functions): Add lgamma.
59986 (calc_generic_results): Handle mpfr_f_f1.
59987 * sysdeps/i386/fpu/libm-test-ulps: Update.
59988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59989
599902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59991
59992 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59993 __mpn_add_n for PowerPC64/POWER7.
59994 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59995 __mpn_sub_n for PowerPC64/POWER7.
59996
59997 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59998 __mpn_addmul_1 for PowerPC64.
59999 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
60000 __mpn_submul_1 for PowerPC64.
60001 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
60002 for PowerPC64.
60003 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
60004 for PowerPC64.
60005
600062013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
60007
60008 [BZ #15089]
60009 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
60010
600112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60012
60013 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
60014
60015 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
60016 add multiarch folders.
60017 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
60018 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
60019 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
60020 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
60021 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
60022 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
60023 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
60024 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
60025 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
60026 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
60027 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
60028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
60029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
60030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
60031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
60032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
60033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
60034
60035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60036 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
60037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
60038 New file.
60039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
60040 New file.
60041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
60042 multiarch __ieee754_hypot for PowerPC32.
60043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
60044 New file.
60045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
60046 New file.
60047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
60048 multiarch __ieee754_hypotf for PowerPC32.
60049
60050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
60051 long_double_symbol only if __logbl is defined.
60052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
60053 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
60054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
60055 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
60056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
60057 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
60058 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
60059 path for implementation.
60060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
60061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
60062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
60063 logb, and logbl multiarch implementations for PowerPC32.
60064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
60065 file.
60066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
60067 file.
60068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
60069 multiarch logb for PowerPC32.
60070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
60071 file.
60072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
60073 file.
60074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
60075 multiarch logbf for PowerPC32.
60076 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
60077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
60078 file.
60079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
60080 multiarch logbl implementation for PowerPC32.
60081
60082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
60083 and modff multiarch implementations.
60084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
60085 New file.
60086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
60087 New file.
60088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
60089 multiarch modf for PowerPC32.
60090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
60091 New file.
60092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
60093 New file.
60094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
60095 multiarch modff for PowerPC32.
60096
60097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
60098 and lrintf multiarch implementations.
60099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
60100 New file.
60101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
60102 New file.
60103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
60104 multiarch lrint for PowerPC32.
60105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
60106 file: multiarch lrintf for PowerPC32.
60107
60108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
60109 and lroundf multiarch implementations.
60110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
60111 New file.
60112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
60113 New file.
60114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
60115 New file.
60116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
60117 multiarch lround for PowerPC32.
60118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
60119 file: multiarch lroundf for PowerPC32.
60120
60121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60122 copysign and copysignf multiarch implementations.
60123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
60124 New file.
60125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
60126 New file.
60127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
60128 file: multiarch copysign for PowerPC32.
60129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
60130 file: multiarch copysignf for PowerPC32.
60131
60132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
60133 and truncf multiarch implementations.
60134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
60135 New file.
60136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
60137 file.
60138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
60139 multiarch trunc for PowerPC32.
60140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
60141 New file.
60142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
60143 New file.
60144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
60145 multiarch truncf for PowerPC32.
60146
60147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
60148 and roundf multiarch implementations.
60149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
60150 New file.
60151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
60152 file.
60153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
60154 multiarch round for PowerPC32.
60155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
60156 New file.
60157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
60158 New file.
60159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
60160 multiarch roundf for PowerPC32.
60161
60162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
60163 and floorf multiarch implementations.
60164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
60165 New file.
60166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
60167 file.
60168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
60169 multiarch floor for PowerPC32.
60170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
60171 New file.
60172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
60173 New file.
60174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
60175 multiarch floorf for PowerPC32.
60176
60177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
60178 and ceilf multiarch implementations.
60179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
60180 New file.
60181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
60182 file.
60183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60184 multiarch ceil for PowerPC32.
60185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60186 New file.
60187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60188 file.
60189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60190 multiarch ceilf for PowerPC32.
60191
60192 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60193 is defined.
60194 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60195 FINITEF is defined.
60196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60197 and finitef multiarch implementations.
60198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60199 New file.
60200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60201 file.
60202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60203 multiarch finite for PowerPC32.
60204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60205 New file.
60206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60207 file: multiarch finitef for PowerPC32.
60208
60209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60210 and isinff multiarch implementations.
60211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60212 file.
60213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60214 file.
60215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60216 multiarch isinf for PowerPC32.
60217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60218 New file.
60219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60220 multiarch isinff for PowerPC32.
60221
60222 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60223 alias when __isnan is defined.
60224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60225 and isnanf multiarch implementations.
60226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60227 file.
60228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60229 file.
60230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60231 file.
60232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60233 file.
60234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60235 multiarch isnan for PowerPC32.
60236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60237 New file.
60238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60239 New file.
60240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60241 multiarch isnanf for PowerPC32.
60242
60243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60244 and sqrtf multiarch implementations.
60245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60246 file.
60247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60248 file.
60249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60250 multiarch sqrt for PowerPC32.
60251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60252 file.
60253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60254 file.
60255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60256 multiarch sqrtf for PowerPC32.
60257
60258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60259 and llroundf multiarch implementations.
60260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60261 New file.
60262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60263 New file.
60264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60265 New file.
60266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60267 file: multiarch llround for PowerPC32.
60268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60269 file: multiarch llroundf for PowerPC32.
60270
60271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60272 multiarch PowerPC32 fpu implementations.
60273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60274 New file.
60275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60276 New file.
60277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60278 multiarch llrint for PowerPC32.
60279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60280 New file.
60281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60282 New file.
60283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60284 file.
60285
60286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60287
60288 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60289 file.
60290 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60291 file.
60292 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60293 file.
60294 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60295 multiarch wordcopy for PPC32.
60296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60297 wordcopy objects.
60298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60299 (__libc_ifunc_impl_list): Likewise.
60300 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60301 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60302 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60303 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60304 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60305 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60306
60307 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60309 file.
60310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60311 file.
60312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60313 file.
60314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60315 multiarch wcscpy for PPC32.
60316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60317 multiarch objects.
60318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60319 (__libc_ifunc_impl_list): Likewise.
60320 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60321 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60322 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60323 sysdeps/powerpc/power6/wcscpy.c.
60324
60325 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60327 file.
60328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60329 file.
60330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60331 file.
60332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60333 multiarch wcsrchr for PPC32.
60334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60335 multiarch objects.
60336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60337 (__libc_ifunc_impl_list): Likewise.
60338 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60339 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60340 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60341 sysdeps/powerpc/power6/wcsrchr.c.
60342
60343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60344 file.
60345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60346 file.
60347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60349 multiarch wcschr for PPc32.
60350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60351 multiarch objects.
60352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60353 (__libc_ifunc_impl_list): Likewise.
60354 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60355 * sysdeps/powerpc/power6/wcschr.c: ... to here.
60356 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60357 sysdeps/powerpc/power6/wcschr.c.
60358
60359 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60360 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60361 file.
60362 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60363 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60364 file: multiarch strchr for PPC32.
60365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60366 multiarch objects.
60367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60368 (__libc_ifunc_impl_list): Likewise.
60369
60370 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60371 name.
60372 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60373 file.
60374 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60375 file.
60376 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60377 multiarch strchrnul for PPC32.
60378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60379 multiarch objects.
60380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60381 (__libc_ifunc_impl_list): Likewise.
60382
60383 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60384 file.
60385 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60386 multiarch strncasecmp for PPC32.
60387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60388 file.
60389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60390 multiarch strncasecmp_l for PPC32.
60391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60392 strncasecmp multiarch objects.
60393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60394 (__libc_ifunc_impl_list): Likewise.
60395
60396 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60397 file.
60398 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60399 multiarch strncasecmp for PPC32.
60400 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60401 New file.
60402 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60403 multiarch strcasecmp_l for PPC32.
60404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60405 multiarch objects.
60406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60407 (__libc_ifunc_impl_list): Likewise.
60408
60409 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60410 file.
60411 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60412 file.
60413 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60414 multiarch strncmp for PPC32.
60415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60416 multiarch objects.
60417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60418 (__libc_ifunc_impl_list): Likewise.
60419
60420 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60421 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60422 file.
60423 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60424 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60426 multiarch objects.
60427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60428 (__libc_ifunc_impl_list): Likewise.
60429
60430 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60431 file.
60432 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60433 file.
60434 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60436 multiarch objects.
60437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60438 (__libc_ifunc_impl_list): Likewise.
60439
60440 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60441 file.
60442 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60443 file.
60444 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60445 multiarch rawmemchr for PPC32.
60446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60447 multiarch objects.
60448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60449 (__libc_ifunc_impl_list): Likewise.
60450
60451 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60452 file.
60453 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60454 file.
60455 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60456 file: memrchr multiarch for PPC32.
60457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60458 multiarch objects.
60459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60460 (__libc_ifunc_impl_list): Likewise.
60461
60462 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60463 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60464 file.
60465 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60466 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60467 multiarch memchr for PPC32.
60468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60469 multiarch objects.
60470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60471 (__libc_ifunc_impl_list): Likewise.
60472
60473 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60474 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60475 file.
60476 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60477 file.
60478 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60479 file: multiarch mempcpy for PPC32.
60480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60481 multiarch objects.
60482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60483 (__libc_ifunc_impl_list): Likewise.
60484
60485 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60486 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60487 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60488 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60489 multiarch bzero for PPC32.
60490 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60491 file.
60492 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60493 file.
60494 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60495 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60496 file: multiarch memset for PPC32.
60497 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60499 memset multiarch objects.
60500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60501 (__libc_ifunc_impl_list): Likewise.
60502
60503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60504 file.
60505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60506 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60507 memcmp for PPC32.
60508 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60510 multiarch objects.
60511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60512 (__libc_ifunc_impl_list): Likewise.
60513
60514 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60515 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60517 file.
60518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60519 file.
60520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60521 file.
60522 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60523 multiarch memcpy for PPC32.
60524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60525 multiarch objects.
60526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60527 (__libc_ifunc_impl_list): Likewise.
60528
60529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60530 support multiarch for POWER/PPC32.
60531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60532 Likewise.
60533 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60535 Implies file to make multiarch folder appers before the fpu and
60536 default folder for power4 configuration.
60537
605382013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60539
60540 * scripts/bench.pl: Append volatile keyword to type.
60541
605422013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60543
60544 * sysdeps/sh/sotruss-lib.c: New file.
60545 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60546
605472013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60548
60549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60550
605512013-12-05 Joseph Myers <joseph@codesourcery.com>
60552
60553 [BZ #6810]
60554 * math/w_tgamma.c: Include <errno.h>.
60555 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60556 * math/w_tgammaf.c: Include <errno.h>.
60557 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60558 * math/w_tgammal.c: Include <errno.h>.
60559 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60560 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60561 underflow. Add more tgamma tests.
60562 * math/auto-libm-test-out: Regenerated.
60563 * sysdeps/i386/fpu/libm-test-ulps: Update.
60564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60565
60566 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60567 sin, sinh, tan, tanh, tgamma, y0 and y1.
60568 * math/auto-libm-test-out: Regenerated.
60569 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60570 (TEST_COND_x86): Likewise.
60571 (M_E2l): Remove macro.
60572 (M_E3l): Likewise.
60573 (M_2_SQRT_PIl): Likewise.
60574 (M_SQRT_PIl): Likewise.
60575 (M_1_DIV_El): Likewise.
60576 (log_test_data): Use AUTO_TESTS_f_f.
60577 (log10_test_data): Likewise.
60578 (log1p_test_data): Likewise.
60579 (log2_test_data): Likewise.
60580 (sin_test_data): Likewise.
60581 (sin_tonearest_test_data): Likewise.
60582 (sin_towardzero_test_data): Likewise.
60583 (sin_downward_test_data): Likewise.
60584 (sin_upward_test_data): Likewise.
60585 (sinh_test_data): Likewise.
60586 (sinh_tonearest_test_data): Likewise.
60587 (sinh_towardzero_test_data): Likewise.
60588 (sinh_downward_test_data): Likewise.
60589 (sinh_upward_test_data): Likewise.
60590 (tan_test_data): Likewise.
60591 (tan_tonearest_test_data): Likewise.
60592 (tan_towardzero_test_data): Likewise.
60593 (tan_downward_test_data): Likewise.
60594 (tan_upward_test_data): Likewise.
60595 (tanh_test_data): Likewise.
60596 (tgamma_test_data): Likewise.
60597 (y0_test_data): Likewise.
60598 (y1_test_data): Likewise.
60599 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60600 (special_real_inputs): Add pi/4.
60601 * sysdeps/i386/fpu/libm-test-ulps: Update.
60602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60603
606042013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60605
60606 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60607 "longjmp_target" static probes.
60608 (__longjmp): Rename to __longjmp_symbol.
60609 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60610 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60611 on which longjmp to generate.
60612 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60613 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60614 probe.
60615 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60616 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60617 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60618 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60619 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60620 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60622 __longjmp_symbol based on which __longjmp to generate.
60623 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60624 probe.
60625 (setjmp): Rename to setjmp_symbol.
60626 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60627 (_setjmp): Rename to _setjmp_symbol.
60628 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60629 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60630 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60631 which setjmp to generate.
60632 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60633 "longjmp_target" static probes.
60634
606352013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60636
60637 * benchtests/README: Add note about output arguments.
60638 * benchtests/bench-sincos.c: Remove file.
60639 * benchtests/sincos-inputs: New file.
60640 * scripts/bench.pl: Identify output arguments and define
60641 static variables for them.
60642
60643 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60644
60645 [BZ #15941]
60646 * Makefile (INSTALL): Add install-plain.texi as the primary
60647 dependency.
60648 * manual/install-plain.texi: New file.
60649 * manual/install.texi: Include node directive only for
60650 non-plaintext output.
60651
606522013-12-04 Joseph Myers <joseph@codesourcery.com>
60653
60654 * stdlib/longlong.h: Update from GCC.
60655
60656 [BZ #6807]
60657 [BZ #15901]
60658 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60659 * math/w_j0f.c (y0f): Likewise.
60660 * math/w_j0l.c (__y0l): Likewise.
60661 * math/w_j1.c (y1): Likewise.
60662 * math/w_j1f.c (y1f): Likewise.
60663 * math/w_j1l.c (__y1l): Likewise.
60664 * math/w_jn.c (yn): Likewise.
60665 * math/w_jnf.c (ynf): Likewise.
60666 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60667 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60668 value for Bessel function domain errors outside _SVID_ mode.
60669 Adjust sign of return value for yn (negative integer, 0).
60670 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60671 by zero in return for negative x and set sign appropriately for
60672 negative n.
60673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60674 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60675 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60676 expectations in error cases.
60677 (y1_test_data): Likewise.
60678 (yn_test_data): Likewise.
60679 * sysdeps/i386/fpu/libm-test-ulps: Update.
60680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60681
606822013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60683
60684 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60685 "64" to "64-v1". Add "64-v2".
60686 (abi-64-options): Rename to ...
60687 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60688 (abi-64-condition): Rename to ...
60689 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60690 (abi-64-ld-soname): Rename to ...
60691 (abi-64-v1-ld-soname): ... this.
60692 (abi-64-v2-options): Define.
60693 (abi-64-v2-condition): Likewise.
60694 (abi-64-v2-ld-soname): Likewise.
60695 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60696 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60700
607012013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60702 Alan Modra <amodra@gmail.com>
60703
60704 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60705 New versions for use with the ELFv2 ABI.
60706 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60707 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60708 declaration.
60709 (struct La_ppc64v2_retval): Likewise.
60710 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60711 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60712 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60713 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60714 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60715 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60716 Do not save or restore CR.
60717 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60718 (_dl_profile_resolve): Do no save or restore CR. Support extended
60719 return values for ELFv2 ABI. Fix location of FPR return registers.
60720 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60721 updated values for _CALL_ELF == 2.
60722 (La_regs, La_retval, int_retval): Likewise.
60723
607242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60725
60726 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60727 (FRAME_MIN_SIZE_PARM): Likewise.
60728 (FRAME_BACKCHAIN): Likewise.
60729 (FRAME_CR_SAVE): Likewise.
60730 (FRAME_LR_SAVE): Likewise.
60731 (FRAME_TOC_SAVE): Likewise.
60732 (FRAME_PARM_SAVE): Likewise.
60733 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60734 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60735 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60736 (call_mcount_parm_offset): New macro.
60737 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60738 (PROF): Use symbolic stack frame offsets.
60739 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60740 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60741 Redefine in terms of FRAME_MIN_SIZE.
60742 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60743 (_dl_profile_resolve): Likewise. Update comment.
60744 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60745 symbols stack frame offsets.
60746 (__sigsetjmp): Likewise.
60747 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60748 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60749 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60750 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60751
60752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60753 (FRAME_BACKCHAIN): Remove.
60754 (FRAME_CR_SAVE): Likewise.
60755 (FRAME_LR_SAVE): Likewise.
60756 (FRAME_COMPILER_DW): Likewise.
60757 (FRAME_LINKER_DW): Likewise.
60758 (FRAME_TOC_SAVE): Likewise.
60759 (FRAME_PARM_SAVE): Likewise.
60760 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60761 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60762 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60764 (CHECK_SP): Use symbolic stack frame offsets.
60765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60766 zone" instead of caller's parameter save area for temp storage.
60767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60768 Likewise. Also, use symbolic stack frame offsets.
60769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60770 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60771 our own stack frame instead of the caller's.
60772 (__socket): Use symbolic stack frame offsets.
60773
607742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60775 Alan Modra <amodra@gmail.com>
60776
60777 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60778 Define.
60779 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60780 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60781 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60782 New function.
60783 (elf_machine_fixup_plt): Call it.
60784 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60785 reloc arguments.
60786 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60787 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60788 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60789 r2 before calling target.
60790
607912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60792 Alan Modra <amodra@gmail.com>
60793
60794 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60795 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60796 versions of macros to support ELFv2 ABI.
60797 (LOCALENTRY): New macro.
60798 (ENTRY, EALIGN): Use it.
60799 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60800 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60801 fall through into ENTRY entry point.
60802 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60803 Only define if _CALL_ELF != 2.
60804
60805 (elf_machine_matches_host): Verify ABI version matches.
60806 (RTLD_START): Use LOCALENTRY.
60807 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60808 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60809 (PLT_ENTRY_WORDS): New macro.
60810 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60811 (elf_machine_runtime_setup): Support ELFv2 ABI.
60812 (elf_machine_fixup_plt): Likewise.
60813 (elf_machine_plt_conflict): Likewise.
60814 (resolve_ifunc): Likewise.
60815 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60816 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60817 Likewise.
60818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60819 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60821 (makecontext): Support ELFv2 ABI.
60822 * elf/elf.h (EF_PPC64_ABI): Define.
60823
608242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60825
60826 * sysdeps/powerpc/powerpc64/sysdep.h
60827 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60828 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60829 (ENTRY) [ASSEMBLER]: ... but instead here ...
60830 (EALIGN) [ASSEMBLER]: ... and here.
60831 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60832 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60833 (ENTRY_2) [!ASSEMBLER]: Use it.
60834 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60835 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60836 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60837 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60838 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60840 Use PPC64_LOAD_FUNCPTR.
60841
60842 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60843
608442013-12-04 Alan Modra <amodra@gmail.com>
60845
60846 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60847 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60848 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60849 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60850
60851 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60852 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60853 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60854 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60855 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60856 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60857
608582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60859
60860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60861 (__makecontext): Fix incorrect CFI when backtracing out of
60862 context created via makecontext.
60863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60864 (__setcontext): Fix incorrect CFI during switch to new context.
60865 (__novec_setcontext): Likewise.
60866
608672013-12-04 Ondřej Bílka <neleai@seznam.cz>
60868
60869 [BZ #4772]
60870 * time/strptime_l.c (__strptime_internal): Allow modifiers
60871 in strptime.
60872 * time/tst-strptime.c (day_tests): Add testcase.
60873
608742013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60875
60876 * scripts/bench.pl: Skip over blank lines.
60877
608782013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60879
60880 [BZ #926]
60881 * manual/time.texi (Calendar Time): Clarify what timezone functions
60882 use.
60883
608842013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60885
60886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60887
608882013-12-04 Ondřej Bílka <neleai@seznam.cz>
60889
60890 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60891 implementation.
60892 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60893 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60894 * debug/memset_chk.c (__memset_chk): Likewise.
60895 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60896 * debug/strncpy_chk.c: Likewise.
60897
608982013-12-03 Joseph Myers <joseph@codesourcery.com>
60899
60900 [BZ #15268]
60901 [BZ #15425]
60902 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60903 (__ieee754_exp): For possibly underflowing results, check size of
60904 result and force underflow exception if required.
60905 * math/auto-libm-test-in: Add more tests of exp.
60906 * math/auto-libm-test-out: Regenerated.
60907 * sysdeps/i386/fpu/libm-test-ulps: Update.
60908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60909
60910 [BZ #16283]
60911 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60912 * math/w_exp2f.c (__exp2f): Likewise.
60913 * math/w_exp2l.c (__exp2l): Likewise.
60914 * math/auto-libm-test-in: Do not allow missing errno on exp2
60915 underflow.
60916 * math/auto-libm-test-out: Regenerated.
60917
609182013-12-03 Ondřej Bílka <neleai@seznam.cz>
60919
60920 [BZ #16274]
60921 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60922 handle filename validation.
60923 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60924 (do_open): Delete.
60925
609262013-12-03 Joseph Myers <joseph@codesourcery.com>
60927
60928 [BZ #6786]
60929 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60930 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60931 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60932 <float.h>.
60933 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60934 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60935 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60937 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60938 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60939 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60940 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60941 Add more erfc tests.
60942 * math/auto-libm-test-out: Regenerated.
60943 * sysdeps/i386/fpu/libm-test-ulps: Update.
60944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60945
60946 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60947 exp2, expm1, j0 and j1.
60948 * math/auto-libm-test-out: Regenerated.
60949 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60950 (erfc_test_data): Likewise.
60951 (exp_test_data): Likewise.
60952 (exp_tonearest_test_data): Likewise.
60953 (exp_towardzero_test_data): Likewise.
60954 (exp_downward_test_data): Likewise.
60955 (exp_upward_test_data): Likewise.
60956 (exp10_test_data): Likewise.
60957 (exp2_test_data): Likewise.
60958 (expm1_test_data): Likewise.
60959 (j0_test_data): Likewise.
60960 (j1_test_data): Likewise.
60961 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60962 (input_flag_type): Add flag_xfail_rounding.
60963 (input_flags): Add xfail-rounding.
60964 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60965 (output_for_one_input_case): Handle flag_xfail_rounding.
60966 * sysdeps/i386/fpu/libm-test-ulps: Update.
60967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60968
609692013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60970
60971 [BZ #16289]
60972 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60973 division by 0.
60974
609752013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60976
60977 [BZ #16195]
60978 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60979 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60980 (STAP_PROBE0): New macro.
60981 (STAP_PROBE1): Likewise.
60982 (STAP_PROBE2): Likewise.
60983 (STAP_PROBE3): Likewise.
60984 (STAP_PROBE4): Likewise.
60985
609862013-12-02 Ondřej Bílka <neleai@seznam.cz>
60987
60988 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60989
609902013-12-02 Steve Ellcey <sellcey@mips.com>
60991
60992 * benchtests/Makefile (bench): Add sqrt.
60993 (LDLIBS-bench-sqrt): New.
60994 * benchtests/sqrt-input: New.
60995
609962013-12-02 Pavel Simerda <psimerda@redhat.com>
60997
60998 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60999 (GAIH_EAI): Likewise.
61000 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
61001 (gaih_inet): Likewise.
61002 (getaddrinfo): Don't use GAIH_EAI.
61003
61004 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
61005 (struct gaih): Remove definition.
61006
610072013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61008
61009 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
61010 Use HERRNOP directly.
61011
610122013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61013
61014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61015
610162013-11-30 Joseph Myers <joseph@codesourcery.com>
61017
61018 * math/gen-auto-libm-tests.c (test_functions): Add more
61019 single-argument functions.
61020 (special_fill_pi_2): New function.
61021 (special_fill_minus_pi_2): Likewise.
61022 (special_fill_pi_6): Likewise.
61023 (special_fill_minus_pi_6): Likewise.
61024 (special_fill_pi_3): Likewise.
61025 (special_fill_2pi_3): Likewise.
61026 (special_fill_e): Likewise.
61027 (special_fill_1_e): Likewise.
61028 (special_fill_e_minus_1): Likewise.
61029 (special_real_inputs): Add more special inputs.
61030 (output_for_one_input_case): Do not require ERANGE on underflow to
61031 zero if round-to-nearest result does not underflow to zero, unless
61032 exact results required.
61033 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
61034 atan, atanh, cbrt, cos and cosh.
61035 * math/auto-libm-test-out: Regenerated.
61036 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
61037 (acos_tonearest_test_data): Likewise.
61038 (acos_towardzero_test_data): Likewise.
61039 (acos_downward_test_data): Likewise.
61040 (acos_upward_test_data): Likewise.
61041 (acosh_test_data): Likewise.
61042 (asin_test_data): Likewise.
61043 (asin_tonearest_test_data): Likewise.
61044 (asin_towardzero_test_data): Likewise.
61045 (asin_upward_test_data): Likewise.
61046 (asinh_test_data): Likewise.
61047 (atan_test_data): Likewise.
61048 (atanh_test_data): Likewise.
61049 (cbrt_test_data): Likewise.
61050 (cos_test_data): Likewise.
61051 (cos_tonearest_test_data): Likewise.
61052 (cos_towardzero_test_data): Likewise.
61053 (cos_downward_test_data): Likewise.
61054 (cos_upward_test_data): Likewise.
61055 (cosh_test_data): Likewise.
61056 (cosh_tonearest_test_data): Likewise.
61057 (cosh_towardzero_test_data): Likewise.
61058 (cosh_downward_test_data): Likewise.
61059 (cosh_upward_test_data): Likewise.
61060 * sysdeps/i386/fpu/libm-test-ulps: Update.
61061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61062
610632013-11-29 Joseph Myers <joseph@codesourcery.com>
61064
61065 [BZ #6787]
61066 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
61067 * math/w_exp10f.c (__exp10f): Likewise.
61068 * math/w_exp10l.c (__exp10l): Likewise.
61069 * math/libm-test.inc (exp10_test_data): Add more tests and expect
61070 errno settings in existing tests.
61071
61072 [BZ #14032]
61073 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
61074 precision control set to double precision.
61075 * sysdeps/i386/fpu/w_sqrt.c: New file.
61076 * math/auto-libm-test-in: Add more tests.
61077 * math/auto-libm-test-out: Update.
61078
61079 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
61080 (sqrt_test_tonearest): New function.
61081 (sqrt_towardzero_test_data): New variable.
61082 (sqrt_test_towardzero): New function.
61083 (sqrt_downward_test_data): New variable.
61084 (sqrt_test_downward): New function.
61085 (sqrt_upward_test_data): New variable.
61086 (sqrt_test_upward): New function.
61087 (main): Call the new functions.
61088
61089 * math/gen-auto-libm-tests.c: New file.
61090 * math/auto-libm-test-in: Likewise.
61091 * math/auto-libm-test-out: New generated file.
61092 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
61093 variables.
61094 (%beautify): Add generated representations of zero.
61095 (top level): Set $auto_input and call parse_auto_input.
61096 (beautify): Remove trailing "f" from hex float constants.
61097 (parse_args): Handle XFAIL_TEST.
61098 (convert_condition): New function.
61099 (or_value): Likewise.
61100 (or_cond_value): Likewise.
61101 (generate_testfile): Handle AUTO_TESTS_* lines.
61102 (parse_auto_input): New function.
61103 * math/libm-test.inc (XFAIL_TEST): New macro.
61104 (ERRNO_UNCHANGED): Update value.
61105 (ERRNO_EDOM): Likewise.
61106 (ERRNO_ERANGE): Likewise.
61107 (IGNORE_RESULT): Likewise.
61108 (TEST_COND_flt_32): New macro.
61109 (TEST_COND_dbl_64): Likewise.
61110 (TEST_COND_ldbl_96_intel): Likewise.
61111 (TEST_COND_ldbl_96_m68k): Likewise.
61112 (TEST_COND_ldbl_128): Likewise.
61113 (TEST_COND_ldbl_128ibm): Likewise.
61114 (TEST_COND_long32): Likewise.
61115 (TEST_COND_long64): Likewise.
61116 (TEST_COND_before_rounding): Likewise.
61117 (TEST_COND_after_rounding): Likewise.
61118 (enable_test): Handle XFAIL_TEST flag.
61119 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
61120 with finite results.
61121 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
61122 auto-libm-test-out.
61123
611242013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61125 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61126
61127 [BZ #16214]
61128 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
61129 __tls_get_addr_internal instead of __tls_get_offset in order to
61130 avoid GOT pointer dependency. Make rtld export
61131 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
61132 __tls_get_addr since we are a __tls_get_offset platform.
61133 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
61134 GOT pointer being set up before.
61135 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
61136
611372013-11-28 Joseph Myers <joseph@codesourcery.com>
61138
61139 * manual/math.texi (Errors in Math Functions): Document accuracy
61140 goals.
61141
61142 [BZ #15004]
61143 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
61144 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
61145 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61146 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61147 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61148 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61149 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61150 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61151 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61152 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61153 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61156 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61157 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61158 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61159
61160 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
61161 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
61162 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
61163 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
61164 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
61165 Likewise.
61166 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
61167 Likewise.
61168 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
61169 Likewise.
61170 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
61171 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
61172 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
61173 atomic-feupdateenv and flt-rounds.
61174 * sysdeps/powerpc/nofpu/Versions (libc): Add
61175 __atomic_feholdexcept, __atomic_feclearexcept,
61176 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
61177 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
61178 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
61179 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
61180 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
61181 here.
61182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
61183 Update.
61184
61185 * manual/arith.texi (FP Exceptions): Document that exceptions may
61186 not be raised when matherr is used.
61187 (Math Error Reporting): Document overflow in directed rounding
61188 modes. Document that errno may not be set when finite values are
61189 returned on overflow. Document intent to set errno on underflow
61190 only for underflow to zero.
61191
61192 [BZ #16271]
61193 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61194 round-to-nearest then adjust result for other rounding modes.
61195 * include/fenv.h (fegetround): Use libm_hidden_proto.
61196 * math/fegetround.c (fegetround): Use libm_hidden_def.
61197 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61198 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61199 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61200 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61201 Likewise.
61202 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61203 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61204 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61205 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61206
612072013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61208
61209 [BZ #16077]
61210 * nss/Versions (libnss_files): Add
61211 _nss_files_gethostbyname3_r.
61212 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61213 New function.
61214 (HOST_DB_LOOKUP): Remove macro.
61215 (_nss_files_gethostbyname_r): Implement function without the
61216 HOST_DB_LOOKUP macro.
61217 (_nss_files_gethostbyname2_r): Likewise.
61218
612192013-11-28 Ondřej Bílka <neleai@seznam.cz>
61220
61221 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61222
612232013-11-26 Uros Bizjak <ubizjak@gmail.com>
61224
61225 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61226 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61227 warning.
61228
612292013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61230
61231 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61232 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61233 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61234 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61235 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61236 __fe_nomask_env_priv and attribute_hidden.
61237 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61238 (libc_feupdateenv_test_ppc): Likewise.
61239 (libc_feresetround_ppc): Likewise.
61240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61241 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61242 compat_symbol macro.
61243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61244 (__fe_nomask_env): Likewise.
61245 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61246
612472013-11-26 Ondřej Bílka <neleai@seznam.cz>
61248
61249 * string/Makefile: Remove ifunc tests.
61250 * string/test-string.h: Define TEST_IFUNC.
61251 * string/test-bcopy-ifunc.c: Remove.
61252 * string/test-bzero-ifunc.c: Likewise.
61253 * string/test-memccpy-ifunc.c: Likewise.
61254 * string/test-memchr-ifunc.c: Likewise.
61255 * string/test-memcmp-ifunc.c: Likewise.
61256 * string/test-memcpy-ifunc.c: Likewise.
61257 * string/test-memmem-ifunc.c: Likewise.
61258 * string/test-memmove-ifunc.c: Likewise.
61259 * string/test-mempcpy-ifunc.c: Likewise.
61260 * string/test-memrchr-ifunc.c: Likewise.
61261 * string/test-memset-ifunc.c: Likewise.
61262 * string/test-rawmemchr-ifunc.c: Likewise.
61263 * string/test-stpcpy-ifunc.c: Likewise.
61264 * string/test-stpncpy-ifunc.c: Likewise.
61265 * string/test-strcasecmp-ifunc.c: Likewise.
61266 * string/test-strcasestr-ifunc.c: Likewise.
61267 * string/test-strcat-ifunc.c: Likewise.
61268 * string/test-strchr-ifunc.c: Likewise.
61269 * string/test-strchrnul-ifunc.c: Likewise.
61270 * string/test-strcmp-ifunc.c: Likewise.
61271 * string/test-strcpy-ifunc.c: Likewise.
61272 * string/test-strcspn-ifunc.c: Likewise.
61273 * string/test-strlen-ifunc.c: Likewise.
61274 * string/test-strncasecmp-ifunc.c: Likewise.
61275 * string/test-strncat-ifunc.c: Likewise.
61276 * string/test-strncmp-ifunc.c: Likewise.
61277 * string/test-strncpy-ifunc.c: Likewise.
61278 * string/test-strnlen-ifunc.c: Likewise.
61279 * string/test-strpbrk-ifunc.c: Likewise.
61280 * string/test-strrchr-ifunc.c: Likewise.
61281 * string/test-strspn-ifunc.c: Likewise.
61282 * string/test-strstr-ifunc.c: Likewise.
61283
612842013-11-26 Ondřej Bílka <neleai@seznam.cz>
61285
61286 * benchtests/Makefile: Remove ifunc tests.
61287 * benchtests/bench-string.h: Define TEST_IFUNC.
61288 * benchtests/bench-bcopy-ifunc.c: Remove.
61289 * benchtests/bench-bzero-ifunc.c: Likewise.
61290 * benchtests/bench-memccpy-ifunc.c: Likewise.
61291 * benchtests/bench-memchr-ifunc.c: Likewise.
61292 * benchtests/bench-memcmp-ifunc.c: Likewise.
61293 * benchtests/bench-memcpy-ifunc.c: Likewise.
61294 * benchtests/bench-memmem-ifunc.c: Likewise.
61295 * benchtests/bench-memmove-ifunc.c: Likewise.
61296 * benchtests/bench-mempcpy-ifunc.c: Likewise.
61297 * benchtests/bench-memrchr-ifunc.c: Likewise.
61298 * benchtests/bench-memset-ifunc.c: Likewise.
61299 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61300 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61301 * benchtests/bench-stpcpy-ifunc.c: Likewise.
61302 * benchtests/bench-stpncpy-ifunc.c: Likewise.
61303 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61304 * benchtests/bench-strcasestr-ifunc.c: Likewise.
61305 * benchtests/bench-strcat-ifunc.c: Likewise.
61306 * benchtests/bench-strchr-ifunc.c: Likewise.
61307 * benchtests/bench-strchrnul-ifunc.c: Likewise.
61308 * benchtests/bench-strcmp-ifunc.c: Likewise.
61309 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61310 * benchtests/bench-strcpy-ifunc.c: Likewise.
61311 * benchtests/bench-strcspn-ifunc.c: Likewise.
61312 * benchtests/bench-strlen-ifunc.c: Likewise.
61313 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61314 * benchtests/bench-strncat-ifunc.c: Likewise.
61315 * benchtests/bench-strncmp-ifunc.c: Likewise.
61316 * benchtests/bench-strncpy-ifunc.c: Likewise.
61317 * benchtests/bench-strnlen-ifunc.c: Likewise.
61318 * benchtests/bench-strpbrk-ifunc.c: Likewise.
61319 * benchtests/bench-strrchr-ifunc.c: Likewise.
61320 * benchtests/bench-strsep-ifunc.c: Likewise.
61321 * benchtests/bench-strspn-ifunc.c: Likewise.
61322 * benchtests/bench-strstr-ifunc.c: Likewise.
61323
613242013-11-26 Ondřej Bílka <neleai@seznam.cz>
61325
61326 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61327
613282013-11-26 Ondřej Bílka <neleai@seznam.cz>
61329
61330 * resolv/netdb.h: Use __glibc_reserved instead __unused.
61331 * rt/aio.h: Likewise.
61332 * sysdeps/gnu/bits/utmp.h: Likewise.
61333 * sysdeps/gnu/bits/utmpx.h: Likewise.
61334 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61335 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61336 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61337 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61338 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61339 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61340 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61341 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61342 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61343 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61344 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61345 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61346 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61348 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61349 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61350 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61351 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61352 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61353 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61354 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61355 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61356 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61357 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61358 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61360 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61361 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61362 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61363 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61364 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61365 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61366 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61367 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61368 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61369 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61370 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61371 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61372 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61373 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61374 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61375 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61376
613772013-11-25 Carlos O'Donell <carlos@redhat.com>
61378
61379 [BZ #16245]
61380 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61381 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61382
613832013-11-25 Joseph Myers <joseph@codesourcery.com>
61384
61385 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61386 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61387 Likewise.
61388
613892013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61390
61391 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61392 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61393 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61394 (__fesetround): Remove define.
61395 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61396 rounding and exceptions handling.
61397 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61398 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61399 (__fe_nomask_env): Likewise.
61400 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61401 __fegetround instead of fegetround.
61402 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61403 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61404
614052013-11-21 Roland McGrath <roland@hack.frob.com>
61406
61407 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61408 it's there.
61409
61410 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61411
614122013-11-21 Meador Inge <meadori@codesourcery.com>
61413
61414 [BZ #11157]
61415 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61416 (encrypt_r): Likewise.
61417 * malloc/obstack.h (obstack_free): Likewise.
61418 * posix/unistd.h (encrypt): Likewise.
61419
614202013-11-21 Guy Martin <gmsoft@tuxicoman.be>
61421
61422 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61423 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61424 DL_CALL_DT_FINI() that call the functions directly.
61425 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61426 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61427 * elf/dl-fini.c: Likewise.
61428
614292013-11-20 Ondřej Bílka <neleai@seznam.cz>
61430
61431 * malloc/hooks.c (memalign_check): Add alignment rounding.
61432 * malloc/malloc.c (_mid_memalign): New function.
61433 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61434 Implement by calling _mid_memalign.
61435 * manual/probes.texi (Memory Allocation Probes): Remove
61436 memory_valloc_retry and memory_pvalloc_retry.
61437
614382013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61439
61440 * locale/programs/locarchive.c (open_archive): Add const
61441 qualifier to ARCHIVEFNAME and copy default fname to
61442 DEFAULT_FNAME.
61443
61444 [BZ #15601]
61445 * libio/tst-widetext.input: Rename Oriya to Odia.
61446 * locale/iso-639.def: Likewise.
61447
61448 * manual/probes.texi (Mathematical Function Probes): Add
61449 documentation for sin, cos, asin and acos probes.
61450 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61451 (__sin32): Add slowasin probe.
61452 (__cos32): Add slowacos probe.
61453 (__mpsin): Add slowsin probe.
61454 (__mpcos): Add slowcos probe.
61455
614562013-11-19 Joseph Myers <joseph@codesourcery.com>
61457
61458 [BZ #15483]
61459 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61460 thread-local __sim_exceptions_thread and global
61461 __sim_exceptions_global.
61462 (__sim_disabled_exceptions): Change to thread-local
61463 __sim_disabled_exceptions_thread and global
61464 __sim_disabled_exceptions_global.
61465 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61466 and global __sim_round_mode_global.
61467 (__simulate_exceptions): Use thread-local floating-point state and
61468 set global state from it as needed.
61469 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61470 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61471 __sim_round_mode_thread.
61472 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61473 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61474 and global __sim_exceptions_global.
61475 (__sim_disabled_exceptions): Change to thread-local
61476 __sim_disabled_exceptions_thread and global
61477 __sim_disabled_exceptions_global.
61478 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61479 and global __sim_round_mode_global.
61480 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61481 (SIM_SET_GLOBAL): Likewise.
61482 * sysdeps/powerpc/soft-fp/sfp-machine.h
61483 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61484 __sim_round_mode_thread.
61485 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61486 __sim_disabled_exceptions_thread.
61487 (__sim_exceptions): Change to __sim_exceptions_thread.
61488 (__sim_disabled_exceptions): Change to
61489 __sim_disabled_exceptions_thread.
61490 (__sim_round_mode): Change to __sim_round_mode_thread.
61491 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61492 thread-local floating-point state and set global state from it as
61493 needed.
61494 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61495 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61496 (__sim_disabled_exceptions): Remove extern declaration.
61497 (feenableexcept): Use thread-local floating-point state and set
61498 global state from it as needed.
61499 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61500 extern declaration.
61501 (__sim_disabled_exceptions): Likewise.
61502 (__sim_round_mode): Likewise.
61503 (__fegetenv): Use thread-local floating-point state.
61504 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61505 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61506 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61507 floating-point state and set global state from it as needed.
61508 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61509 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61510 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61511 Likewise.
61512 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61513 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61514 Likewise.
61515 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61516 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61517 Use __sim_round_mode_thread.
61518 * math/test-fenv-tls.c: New file.
61519 * math/Makefile (tests): Add test-fenv-tls.
61520 ($(objpfx)test-fenv-tls): Depend on
61521 $(common-objpfx)nptl/libpthread.so.
61522
615232013-11-19 Andreas Schwab <schwab@suse.de>
61524
61525 * locale/programs/locale.c (show_info): Decode wordarray elements.
61526 * locale/categories.def (LC_MONETARY): Add element for
61527 _NL_MONETARY_CRNCYSTR.
61528 * locale/C-monetary.c (conversion_rate): New variable.
61529 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61530 element.
61531
615322013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61533
61534 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61535 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61536
615372013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61538
61539 * elf/Makefile (tst-auxv): New test.
61540 * elf/tst-auxv.c: New
61541 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61542
615432013-11-18 Joseph Myers <joseph@codesourcery.com>
61544
61545 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61546 (hidden_proto): Caller changed.
61547 (hidden_tls_proto): New macro.
61548 (libc_hidden_tls_proto): Likewise.
61549 (rtld_hidden_tls_proto): Likewise.
61550 (libm_hidden_tls_proto): Likewise.
61551 (libresolv_hidden_tls_proto): Likewise.
61552 (librt_hidden_tls_proto): Likewise.
61553 (libdl_hidden_tls_proto): Likewise.
61554 (libnss_files_hidden_tls_proto): Likewise.
61555 (libnsl_hidden_tls_proto): Likewise.
61556 (libnss_nisplus_hidden_tls_proto): Likewise.
61557 (libutil_hidden_tls_proto): Likewise.
61558
615592013-11-18 Ondřej Bílka <neleai@seznam.cz>
61560
61561 [BZ #10253]
61562 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61563 (decompose_rpath): Defer expansion to fillin_rpath.
61564 (_dl_init_paths): Pass linkmap to fillin_rpath.
61565
615662013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61567
61568 * benchtests/Makefile: Add strsep.
61569 * benchtests/bench-strsep.c: New file: strsep benchtest.
61570 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61571
615722013-11-18 Andreas Schwab <schwab@suse.de>
61573
61574 * locale/programs/locale.c (show_info) [case byte]: Check for
61575 '\377' instead of '\177'.
61576 * locale/C-monetary.c (not_available): Always use "\377".
61577 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61578 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61579 detect unavailable sign_posn locale elements.
61580 * locale/localeconv.c (__localeconv): For grouping and
61581 mon_grouping handle "\177" and "\377" like no grouping.
61582 (INT_ELEM): New macro. Use it to set all numeric members.
61583 * locale/programs/ld-monetary.c (monetary_read)
61584 <tok_mon_grouping>: Normalize single -1 to the empty string.
61585 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61586 Likewise.
61587
615882013-11-07 Ondřej Bílka <neleai@seznam.cz>
61589
61590 [BZ #16055]
61591 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61592 when we match (nil).
61593 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61594
615952013-11-16 Joseph Myers <joseph@codesourcery.com>
61596
61597 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61598 (NO_TEST_INLINE): Update value.
61599 (ERRNO_UNCHANGED): Likewise.
61600 (ERRNO_EDOM): Likewise.
61601 (ERRNO_ERANGE): Likewise.
61602 (IGNORE_RESULT): Likewise.
61603 (check_float_internal): Check signs of NaN results if
61604 TEST_NAN_SIGN used.
61605 (check_complex): Pass TEST_NAN_SIGN flag through to second
61606 check_float_internal call.
61607 (copysign_test_data): Add tests with quiet NaNs as second
61608 argument. Use TEST_NAN_SIGN.
61609 (fabs_test_data): Add test of negative quiet NaN argument. Use
61610 TEST_NAN_SIGN.
61611 (signbit_test_data): Add tests of quiet NaN argument.
61612 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61613
61614 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61615 $ignore_result.
61616 (parse_args): Handle function results specified as IGNORE.
61617 * math/libm-test.inc (IGNORE_RESULT): New macro.
61618 (check_float_internal): Do not check numerical result if flag
61619 IGNORE_RESULT set.
61620 (check_complex): Pass through IGNORE_RESULT to second
61621 check_float_internal call.
61622 (check_int): Do not check numerical result if flag IGNORE_RESULT
61623 set.
61624 (check_long): Likewise.
61625 (check_bool): Likewise.
61626 (check_longlong): Likewise.
61627 (lrint_test_data): Add tests of infinite and NaN arguments.
61628 (lrint_tonearest_test_data): Likewise.
61629 (lrint_towardzero_test_data): Likewise.
61630 (lrint_downward_test_data): Likewise.
61631 (lrint_upward_test_data): Likewise.
61632 (llrint_test_data): Likewise.
61633 (llrint_tonearest_test_data): Likewise.
61634 (llrint_towardzero_test_data): Likewise.
61635 (llrint_downward_test_data): Likewise.
61636 (llrint_upward_test_data): Likewise.
61637 (lround_test_data): Likewise.
61638 (llround_test_data): Likewise.
61639
61640 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61641 (ERRNO_UNCHANGED): Update value.
61642 (ERRNO_EDOM): Likewise.
61643 (ERRNO_ERANGE): Likewise.
61644 (NO_TEST_INLINE_FLOAT): New macro.
61645 (NO_TEST_INLINE_DOUBLE): Likewise.
61646 (enable_test): New function.
61647 (RUN_TEST_f_f): Check enable_test before running test.
61648 (RUN_TEST_2_f): Likewise.
61649 (RUN_TEST_fff_f): Likewise.
61650 (RUN_TEST_c_f): Likewise.
61651 (RUN_TEST_f_f1): Likewise.
61652 (RUN_TEST_fF_f1): Likewise.
61653 (RUN_TEST_fI_f1): Likewise.
61654 (RUN_TEST_ffI_f1): Likewise.
61655 (RUN_TEST_c_c): Likewise.
61656 (RUN_TEST_cc_c): Likewise.
61657 (RUN_TEST_f_i): Likewise.
61658 (RUN_TEST_f_i_tg): Likewise.
61659 (RUN_TEST_ff_i_tg): Likewise.
61660 (RUN_TEST_f_b): Likewise.
61661 (RUN_TEST_f_b_tg): Likewise.
61662 (RUN_TEST_f_l): Likewise.
61663 (RUN_TEST_f_L): Likewise.
61664 (RUN_TEST_fFF_11): Likewise.
61665 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61666 conditionals.
61667 (cosh_test_data): Likewise.
61668 (exp_test_data): Likewise.
61669 (expm1_test_data): Likewise.
61670 (hypot_test_data): Likewise.
61671 (pow_test_data): Likewise.
61672 (sinh_test_data): Likewise.
61673 (tanh_test_data): Likewise.
61674 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61675 flags argument.
61676
61677 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61678 tests with quiet NaN input and output.
61679 (acosh_test_data): Likewise.
61680 (asin_test_data): Likewise.
61681 (asinh_test_data): Likewise.
61682 (atan_test_data): Likewise.
61683 (atanh_test_data): Likewise.
61684 (atan2_test_data): Likewise.
61685 (cbrt_test_data): Likewise.
61686 (cos_test_data): Likewise.
61687 (cosh_test_data): Likewise.
61688 (erf_test_data): Likewise.
61689 (erfc_test_data): Likewise.
61690 (exp_test_data): Likewise.
61691 (exp10_test_data): Likewise.
61692 (exp2_test_data): Likewise.
61693 (expm1_test_data): Likewise.
61694 (hypot_test_data): Likewise.
61695 (j0_test_data): Likewise.
61696 (j1_test_data): Likewise.
61697 (jn_test_data): Likewise.
61698 (lgamma_test_data): Likewise.
61699 (log_test_data): Likewise.
61700 (log10_test_data): Likewise.
61701 (log1p_test_data): Likewise.
61702 (log2_test_data): Likewise.
61703 (pow_test_data): Likewise.
61704 (scalb_test_data): Likewise.
61705 (sin_test_data): Likewise.
61706 (sincos_test_data): Likewise.
61707 (sinh_test_data): Likewise.
61708 (tan_test_data): Likewise.
61709 (tanh_test_data): Likewise.
61710 (tgamma_test_data): Likewise.
61711 (y0_test_data): Likewise.
61712 (y1_test_data): Likewise.
61713 (yn_test_data): Likewise.
61714
61715 [BZ #16167]
61716 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61717 argument being NaN and avoid computations with second argument in
61718 that case.
61719 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61720 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61721 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61722
617232013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61724
61725 * locale/iso-639.def: Add Chitwani Tharu (the).
61726
617272013-11-14 Andreas Schwab <schwab@suse.de>
61728
61729 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61730 word instead of empty string.
61731
617322013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61733
61734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61735 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61737 (__fe_nomask_env): Likewise.
61738
617392013-11-13 Steve Ellcey <sellcey@mips.com>
61740
61741 * benchtests/bench-timing.h: Include time.h.
61742
617432013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61744
61745 [BZ #15997]
61746 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61747 to 3.4.0 for x32.
61748 * sysdeps/unix/sysv/linux/configure: Regenerated.
61749
617502013-11-13 Joseph Myers <joseph@codesourcery.com>
61751
61752 [BZ #16151]
61753 * stdlib/strtod_l.c (round_and_return): Do not consider
61754 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61755 exponent one less than half the least subnormal exponent.
61756 * stdlib/test-strtod-round-data: Add more tests.
61757 * stdlib/tst-strtod-round.c (tests): Regenerated.
61758
617592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61760
61761 [BZ #14143]
61762 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61763 (__fe_mask_env): Likewise.
61764 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61765 libm_hidden_proto and add function prototype.
61766 (__fe_mask_env): Add function prototype.
61767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61768 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61770 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61772 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61773
617742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61775
61776 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61777 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61778
617792013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61780
61781 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61782 of htab_find_slot().
61783
617842013-11-11 David S. Miller <davem@davemloft.net>
61785
61786 [BZ #16150]
61787 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61788 symbol in the non-vis3 case in static builds.
61789 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61790 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61791 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61792 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61793
617942013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61795
61796 [BZ #387]
61797 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61798 it is empty.
61799
618002013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61801
61802 * benchtests/Makefile: Add bench-strtod.
61803 * benchtests/bench-strtod.c: New file: strtod benchtest
61804
618052013-11-11 Andreas Schwab <schwab@suse.de>
61806
61807 [BZ #16153]
61808 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61809 terminating NUL in key length.
61810
618112013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61812
61813 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61814 Add artificial ODP entry for vDSO symbol for PPC64.
61815 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61816 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61817
618182013-11-07 Ondřej Bílka <neleai@seznam.cz>
61819
61820 [BZ #15374]
61821 * nss/getent.c (services_keys): Recognize services starting with digit.
61822
618232013-11-06 David S. Miller <davem@davemloft.net>
61824
61825 [BZ #15985]
61826 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61827 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61828
618292013-11-06 Will Newton <will.newton@linaro.org>
61830
61831 * manual/memory.texi (Malloc Examples): Remove register
61832 keyword from examples.
61833
618342013-11-04 Chris Leonard <cjl@sugarlabs.org>
61835
61836 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61837
618382013-11-04 Joseph Myers <joseph@codesourcery.com>
61839
61840 [BZ #6981]
61841 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61842 depending on [__GCC_IEC_559 > 0].
61843 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61844 depending on [__GCC_IEC_559_COMPLEX > 0].
61845
618462013-11-03 Chris Leonard <cjl@sugarlabs.org>
61847
61848 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61849 to iso-639.def.
61850
618512013-11-03 Ondřej Bílka <neleai@seznam.cz>
61852
61853 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61854
618552013-11-01 Ondřej Bílka <neleai@seznam.cz>
61856
61857 [BZ #16112]
61858 * malloc/malloc (malloc_info): Do not handle first bin as
61859 special case.
61860
618612013-11-01 Chris Leonard <cjl@sugarlabs.org>
61862
61863 * locale/iso-639.def: Add Central Nahuatl (nhn).
61864
618652013-11-01 Bruno Haible <bruno@clisp.org>
61866
61867 [BZ #7003]
61868 * manual/math.texi (BSD Random): Specify range upper bound as
61869 in POSIX.
61870
618712013-10-31 Chris Leonard <cjl@sugarlabs.org>
61872
61873 * locale/iso-639.def: Add Meadow Mari (mhr).
61874
618752013-10-31 Ondřej Bílka <neleai@seznam.cz>
61876
61877 [BZ #14752], [BZ #15763]
61878 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61879 Validate name.
61880 * rt/tst_shm.c: Add test for escaping directory.
61881
618822013-10-31 Andreas Schwab <schwab@suse.de>
61883
61884 [BZ #15917]
61885 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61886 followed by 'x' as part of digit sequence.
61887 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61888
618892013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61890
61891 [BZ #16037]
61892 * configure.ac: allow GNU Make 4.0 and greater.
61893 * configure: Regenerated.
61894
618952013-10-30 Will Newton <will.newton@linaro.org>
61896
61897 [BZ #16038]
61898 * malloc/hooks.c (memalign_check): Limit alignment to the
61899 maximum representable power of two.
61900 * malloc/malloc.c (__libc_memalign): Likewise.
61901 * malloc/tst-memalign.c (do_test): Add test for very
61902 large alignment values.
61903 * malloc/tst-posix_memalign.c (do_test): Likewise.
61904
619052013-10-30 Ondřej Bílka <neleai@seznam.cz>
61906
61907 [BZ #11087]
61908 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61909 (munmap_chunk): Likewise.
61910 (mremap_chunk): Likewise.
61911
619122013-10-30 Ondřej Bílka <neleai@seznam.cz>
61913
61914 [BZ #15799]
61915 * stdlib/div.c (div): Remove obsolete code.
61916 * stdlib/ldiv.c (ldiv): Likewise.
61917 * stdlib/lldiv.c (lldiv): Likewise.
61918
619192013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61920
61921 [BZ #16071]
61922 * nss/nss_files/files-XXX.c (get_contents_ret): New
61923 enumerator.
61924 (get_contents): New function.
61925 (internal_getent): Use it. Expand size of LINEBUFLEN.
61926
619272013-10-30 Mike Frysinger <vapier@gentoo.org>
61928
61929 * configure.in: Moved to ...
61930 * configure.ac: ... here. Change reference to configure.in
61931 to configure.ac.
61932 * sysdeps/arm/preconfigure.ac: ... here.
61933 configure.in to configure.ac.
61934 * sysdeps/gnu/configure.in: Moved to ...
61935 * sysdeps/gnu/configure.ac: ... here.
61936 * sysdeps/i386/configure.in: Moved to ...
61937 * sysdeps/i386/configure.ac: ... here.
61938 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61939 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61940 * sysdeps/mach/configure.in: Moved to ...
61941 * sysdeps/mach/configure.ac: ... here.
61942 * sysdeps/mach/hurd/configure.in: Moved to ...
61943 * sysdeps/mach/hurd/configure.ac: ... here.
61944 * sysdeps/powerpc/configure.in: Moved to ...
61945 * sysdeps/powerpc/configure.ac: ... here.
61946 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61947 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61948 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61949 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61950 * sysdeps/s390/s390-32/configure.in: Moved to ...
61951 * sysdeps/s390/s390-32/configure.ac: ... here.
61952 * sysdeps/s390/s390-64/configure.in: Moved to ...
61953 * sysdeps/s390/s390-64/configure.ac: ... here.
61954 * sysdeps/sh/configure.in: Moved to ...
61955 * sysdeps/sh/configure.ac: ... here.
61956 * sysdeps/sparc/configure.in: Moved to ...
61957 * sysdeps/sparc/configure.ac: ... here.
61958 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61959 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61960 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61961 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61962 * sysdeps/x86_64/configure.in: Moved to ...
61963 * sysdeps/x86_64/configure.ac: ... here.
61964 * sysdeps/x86_64/preconfigure.in: Moved to ...
61965 * sysdeps/x86_64/preconfigure.ac: ... here.
61966 * aclocal.m4: Change reference to configure.in to configure.ac.
61967 * config.h.in: Likewise.
61968 * manual/install.texi: Likewise.
61969 * manual/maint.texi: Likewise.
61970 * Makefile: Likewise.
61971 * malloc/Makefile: Likewise.
61972 * nscd/Makefile: Likewise.
61973 * Makeconfig: Change reference to configure.in and
61974 preconfigure.in to configure.ac and preconfigure.ac
61975 respectively.
61976 * INSTALL: Regenerated.
61977 * configure: Likewise.
61978 * sysdeps/gnu/configure: Likewise.
61979 * sysdeps/i386/configure: Likewise.
61980 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61981 * sysdeps/mach/configure: Likewise.
61982 * sysdeps/mach/hurd/configure: Likewise.
61983 * sysdeps/powerpc/configure: Likewise.
61984 * sysdeps/powerpc/powerpc32/configure: Likewise.
61985 * sysdeps/powerpc/powerpc64/configure: Likewise.
61986 * sysdeps/s390/s390-32/configure: Likewise.
61987 * sysdeps/s390/s390-64/configure: Likewise.
61988 * sysdeps/sh/configure: Likewise.
61989 * sysdeps/sparc/configure: Likewise.
61990 * sysdeps/unix/sysv/linux/configure: Likewise.
61991 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61992 * sysdeps/x86_64/configure: Likewise.
61993 * sysdeps/x86_64/preconfigure: Likewise.
61994
619952013-10-29 Andreas Schwab <schwab@suse.de>
61996
61997 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61998
619992013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62000
62001 * benchtests/pow-inputs: Add new inputs.
62002
62003 * benchtests/exp-inputs: Add new inputs.
62004
62005 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
62006 conditional check for return value.
62007 (__cos32): Likewise.
62008
620092013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62010
62011 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
62012 to provide a boost for large inputs with word alignment.
62013 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
62014 implementation based on optimized PPC64 strcpy.
62015 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
62016 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
62017 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
62018 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
62019
620202013-10-25 Ondřej Bílka <neleai@seznam.cz>
62021
62022 [BZ #2801]
62023 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
62024
620252013-10-25 Ondřej Bílka <neleai@seznam.cz>
62026
62027 [BZ #14876]
62028 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
62029 * time/tst-strptime.c (day_tests): Add testcase.
62030
620312013-10-25 Ondřej Bílka <neleai@seznam.cz>
62032
62033 [BZ #14029]
62034 * manual/pattern.texi: Acknowledge that fnmatch can fail.
62035
620362013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
62037
62038 [BZ #16074]
62039 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
62040 MAP_FAILED on error.
62041
620422013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
62043
62044 [BZ #16072]
62045 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
62046 heap for large requests.
62047
620482013-10-25 Aurelien Jarno <aurelien@aurel32.net>
62049
62050 [BZ #9954]
62051 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
62052 result if the result has no associated interface.
62053 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
62054 interface for all 127.X.Y.Z addresses.
62055
620562013-10-24 Chris Leonard <cjl@sugarlabs.org>
62057
62058 * locale/iso-639.def: Add Ligurian (lij)
62059
620602013-10-21 Ondřej Bílka <neleai@seznam.cz>
62061
62062 [BZ #15825]
62063 * sunrpc/rpc_main.c: Document rpcgen -5.
62064
620652013-10-19 Michael Stahl <mstahl@redhat.com>
62066
62067 * elf/rtld.c (do_preload): Print the reason why preloading failed.
62068
620692013-10-19 Ondřej Bílka <neleai@seznam.cz>
62070
62071 [BZ #10278]
62072 * posix/glob.c: Match only directories when trailing slash is present.
62073 * posix/tst-gnuglob.c (my_opendir): Do not open files.
62074 (main): Add testcase.
62075
620762013-10-19 Ondřej Bílka <neleai@seznam.cz>
62077
62078 [BZ #15670]
62079 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
62080
620812013-10-18 Carlos O'Donell <carlos@redhat.com>
92c3af3c 62082
edf66db1
SP
62083 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
62084 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
62085 AUTH_DES and cindex for FIPS 140-2.
62086 (DES Encryption): Add cindex FIPS 46-3.
92c3af3c 62087
edf66db1
SP
62088 * locale/locarchive.h (struct locarhandle): Add fname.
62089 * locale/programs/localedef.c (main): Pass ARGV[remaining]
62090 if an optional argument was specified to --list-archive,
62091 otherwise NULL.
62092 * locale/programs/locarchive.c (show_archive_content): Take new
62093 argument fname and pass it via ah.fname to open_archive.
62094 * locale/programs/localedef.h: Update decl.
62095 (open_archive): If AH->fname is non-null, open that file
62096 rather than the default file name, and don't ignore ENOENT.
62097 (create_archive): Set AH.fname to NULL.
62098 (delete_locales_from_archive): Likewise.
62099 (add_locales_to_archive): Likewise.
62100 * locale/programs/locfile.c (write_all_categories): Likewise.
92c3af3c 62101
edf66db1
SP
621022013-10-18 Joseph Myers <joseph@codesourcery.com>
62103 Aldy Hernandez <aldyh@redhat.com>
62104
62105 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
62106 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
62107 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
62108 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
62109 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
62110 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
62111 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
62112 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
62113 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
62114 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
62115 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
62116 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
62117 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
62118 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
62119 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
62120 Likewise.
62121 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
62122 Likewise.
62123 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
62124 Likewise.
62125 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
62126 Likewise.
62127 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
62128 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
62129 Likewise.
62130 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
62131 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
62132 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
62133 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
62134 Likewise.
62135 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
62136 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
62137 * sysdeps/powerpc/preconfigure: Likewise.
62138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
62139 Likewise.
62140 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
62141 Replace contents of file by #include of <fenv_libc.h>.
62142 * sysdeps/powerpc/soft-fp/sfp-machine.h
62143 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
62144 and <sys/prctl.h>.
62145 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
62146 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
62147 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
62148 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
62149 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
62150 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
62151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
62152 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
62153 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
62154 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
62155 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
62156 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
62157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
62158 Allow copysignl PLT reference to be missing.
62159
621602013-10-18 Richard Sandiford <richard@codesourcery.com>
62161 Joseph Myers <joseph@codesourcery.com>
62162
62163 [BZ #15948]
62164 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
62165 single character.
62166 (add_to_tablewc): Assert sequence of wide characters is nonempty.
62167
621682013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
62169
62170 * elf/tst-tls-dlinfo.c: Don't include tls.h.
62171 * elf/tst-tls1.c: Likewise.
62172 * elf/tst-tls10.h: Likewise.
62173 * elf/tst-tls14.c: Likewise.
62174 * elf/tst-tls2.c: Likewise.
62175 * elf/tst-tls3.c: Likewise.
62176 * elf/tst-tls4.c: Likewise.
62177 * elf/tst-tls5.c: Likewise.
62178 * elf/tst-tls6.c: Likewise.
62179 * elf/tst-tls7.c: Likewise.
62180 * elf/tst-tls8.c: Likewise.
62181 * elf/tst-tls9.c: Likewise.
62182 * elf/tst-tlsmod1.c: Likewise.
62183 * elf/tst-tlsmod13.c: Likewise.
62184 * elf/tst-tlsmod13a.c: Likewise.
62185 * elf/tst-tlsmod14a.c: Likewise.
62186 * elf/tst-tlsmod16a.c: Likewise.
62187 * elf/tst-tlsmod16b.c: Likewise.
62188 * elf/tst-tlsmod2.c: Likewise.
62189 * elf/tst-tlsmod3.c: Likewise.
62190 * elf/tst-tlsmod4.c: Likewise.
62191 * elf/tst-tlsmod5.c: Likewise.
62192 * elf/tst-tlsmod6.c: Likewise.
62193
621942013-10-18 Ondřej Bílka <neleai@seznam.cz>
62195
62196 [BZ #12486]
62197 * malloc/malloc.c: remove checks for statistics.
62198
621992013-10-17 Ondřej Bílka <neleai@seznam.cz>
62200
62201 [BZ #15277]
62202 * inet/inet_net.c (inet_network): Detect additional invalid strings.
62203 * inet/tst-network.c: Add testcase.
62204
622052013-10-17 Andreas Schwab <schwab@suse.de>
62206
62207 [BZ #15218]
62208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62209 to determine canonical name.
62210
622112013-10-17 Ondřej Bílka <neleai@seznam.cz>
62212
62213 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62214 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62215 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62216 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62218 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62219 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62220 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62221 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62222 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62223 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62224 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62225 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62226 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62227 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62228 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62231 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62232 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62233 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62234 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62235 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62236 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62237 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62238 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62239 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62240 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62241 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62242 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62243 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62245 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62246 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62247 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62248 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62249 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62250 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62251 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62252 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62253 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62254 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62255 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62256 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62257 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62258 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62259 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62260 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62261 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62262 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62263 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62264 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62265 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62266 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62267 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62268 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62270 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62271
622722013-10-17 Joseph Myers <joseph@codesourcery.com>
62273
62274 [BZ #16041]
62275 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62276 make result into a quiet NaN.
62277
622782013-10-16 Joseph Myers <joseph@codesourcery.com>
62279
62280 * soft-fp/adddf3.c: Fix horizontal whitespace.
62281 * soft-fp/addsf3.c: Likewise.
62282 * soft-fp/addtf3.c: Likewise.
62283 * soft-fp/divdf3.c: Likewise.
62284 * soft-fp/divsf3.c: Likewise.
62285 * soft-fp/divtf3.c: Likewise.
62286 * soft-fp/double.h: Likewise.
62287 * soft-fp/eqdf2.c: Likewise.
62288 * soft-fp/eqsf2.c: Likewise.
62289 * soft-fp/eqtf2.c: Likewise.
62290 * soft-fp/extenddftf2.c: Likewise.
62291 * soft-fp/extended.h: Likewise.
62292 * soft-fp/extendsfdf2.c: Likewise.
62293 * soft-fp/extendsftf2.c: Likewise.
62294 * soft-fp/extendxftf2.c: Likewise.
62295 * soft-fp/fixdfdi.c: Likewise.
62296 * soft-fp/fixdfsi.c: Likewise.
62297 * soft-fp/fixdfti.c: Likewise.
62298 * soft-fp/fixsfdi.c: Likewise.
62299 * soft-fp/fixsfsi.c: Likewise.
62300 * soft-fp/fixsfti.c: Likewise.
62301 * soft-fp/fixtfdi.c: Likewise.
62302 * soft-fp/fixtfsi.c: Likewise.
62303 * soft-fp/fixtfti.c: Likewise.
62304 * soft-fp/fixunsdfdi.c: Likewise.
62305 * soft-fp/fixunsdfsi.c: Likewise.
62306 * soft-fp/fixunsdfti.c: Likewise.
62307 * soft-fp/fixunssfdi.c: Likewise.
62308 * soft-fp/fixunssfsi.c: Likewise.
62309 * soft-fp/fixunssfti.c: Likewise.
62310 * soft-fp/fixunstfdi.c: Likewise.
62311 * soft-fp/fixunstfsi.c: Likewise.
62312 * soft-fp/fixunstfti.c: Likewise.
62313 * soft-fp/floatdidf.c: Likewise.
62314 * soft-fp/floatdisf.c: Likewise.
62315 * soft-fp/floatditf.c: Likewise.
62316 * soft-fp/floatsidf.c: Likewise.
62317 * soft-fp/floatsisf.c: Likewise.
62318 * soft-fp/floatsitf.c: Likewise.
62319 * soft-fp/floattidf.c: Likewise.
62320 * soft-fp/floattisf.c: Likewise.
62321 * soft-fp/floattitf.c: Likewise.
62322 * soft-fp/floatundidf.c: Likewise.
62323 * soft-fp/floatundisf.c: Likewise.
62324 * soft-fp/floatunditf.c: Likewise.
62325 * soft-fp/floatunsidf.c: Likewise.
62326 * soft-fp/floatunsisf.c: Likewise.
62327 * soft-fp/floatunsitf.c: Likewise.
62328 * soft-fp/floatuntidf.c: Likewise.
62329 * soft-fp/floatuntisf.c: Likewise.
62330 * soft-fp/floatuntitf.c: Likewise.
62331 * soft-fp/fmadf4.c: Likewise.
62332 * soft-fp/fmasf4.c: Likewise.
62333 * soft-fp/fmatf4.c: Likewise.
62334 * soft-fp/gedf2.c: Likewise.
62335 * soft-fp/gesf2.c: Likewise.
62336 * soft-fp/getf2.c: Likewise.
62337 * soft-fp/ledf2.c: Likewise.
62338 * soft-fp/lesf2.c: Likewise.
62339 * soft-fp/letf2.c: Likewise.
62340 * soft-fp/muldf3.c: Likewise.
62341 * soft-fp/mulsf3.c: Likewise.
62342 * soft-fp/multf3.c: Likewise.
62343 * soft-fp/negdf2.c: Likewise.
62344 * soft-fp/negsf2.c: Likewise.
62345 * soft-fp/negtf2.c: Likewise.
62346 * soft-fp/op-1.h: Likewise.
62347 * soft-fp/op-2.h: Likewise.
62348 * soft-fp/op-4.h: Likewise.
62349 * soft-fp/op-8.h: Likewise.
62350 * soft-fp/op-common.h: Likewise.
62351 * soft-fp/quad.h: Likewise.
62352 * soft-fp/single.h: Likewise.
62353 * soft-fp/soft-fp.h: Likewise.
62354 * soft-fp/sqrtdf2.c: Likewise.
62355 * soft-fp/sqrtsf2.c: Likewise.
62356 * soft-fp/sqrttf2.c: Likewise.
62357 * soft-fp/subdf3.c: Likewise.
62358 * soft-fp/subsf3.c: Likewise.
62359 * soft-fp/subtf3.c: Likewise.
62360 * soft-fp/truncdfsf2.c: Likewise.
62361 * soft-fp/trunctfdf2.c: Likewise.
62362 * soft-fp/trunctfsf2.c: Likewise.
62363 * soft-fp/trunctfxf2.c: Likewise.
62364 * soft-fp/unorddf2.c: Likewise.
62365 * soft-fp/unordsf2.c: Likewise.
62366 * soft-fp/unordtf2.c: Likewise.
62367
623682013-10-15 Joseph Myers <joseph@codesourcery.com>
62369
62370 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62371 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62372
623732013-10-15 Ondřej Bílka <neleai@seznam.cz>
62374
62375 * elf/dl-libc.c: Clear initfini list after freeing.
62376
623772013-10-14 Joseph Myers <joseph@codesourcery.com>
62378
62379 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62380 * soft-fp/addsf3.c: Likewise.
62381 * soft-fp/addtf3.c: Likewise.
62382 * soft-fp/divdf3.c: Likewise.
62383 * soft-fp/divsf3.c: Likewise.
62384 * soft-fp/divtf3.c: Likewise.
62385 * soft-fp/double.h: Likewise.
62386 * soft-fp/eqdf2.c: Likewise.
62387 * soft-fp/eqsf2.c: Likewise.
62388 * soft-fp/eqtf2.c: Likewise.
62389 * soft-fp/extenddftf2.c: Likewise.
62390 * soft-fp/extended.h: Likewise.
62391 * soft-fp/extendsfdf2.c: Likewise.
62392 * soft-fp/extendsftf2.c: Likewise.
62393 * soft-fp/extendxftf2.c: Likewise.
62394 * soft-fp/fixdfdi.c: Likewise.
62395 * soft-fp/fixdfsi.c: Likewise.
62396 * soft-fp/fixdfti.c: Likewise.
62397 * soft-fp/fixsfdi.c: Likewise.
62398 * soft-fp/fixsfsi.c: Likewise.
62399 * soft-fp/fixsfti.c: Likewise.
62400 * soft-fp/fixtfdi.c: Likewise.
62401 * soft-fp/fixtfsi.c: Likewise.
62402 * soft-fp/fixtfti.c: Likewise.
62403 * soft-fp/fixunsdfdi.c: Likewise.
62404 * soft-fp/fixunsdfsi.c: Likewise.
62405 * soft-fp/fixunsdfti.c: Likewise.
62406 * soft-fp/fixunssfdi.c: Likewise.
62407 * soft-fp/fixunssfsi.c: Likewise.
62408 * soft-fp/fixunssfti.c: Likewise.
62409 * soft-fp/fixunstfdi.c: Likewise.
62410 * soft-fp/fixunstfsi.c: Likewise.
62411 * soft-fp/fixunstfti.c: Likewise.
62412 * soft-fp/floatdidf.c: Likewise.
62413 * soft-fp/floatdisf.c: Likewise.
62414 * soft-fp/floatditf.c: Likewise.
62415 * soft-fp/floatsidf.c: Likewise.
62416 * soft-fp/floatsisf.c: Likewise.
62417 * soft-fp/floatsitf.c: Likewise.
62418 * soft-fp/floattidf.c: Likewise.
62419 * soft-fp/floattisf.c: Likewise.
62420 * soft-fp/floattitf.c: Likewise.
62421 * soft-fp/floatundidf.c: Likewise.
62422 * soft-fp/floatundisf.c: Likewise.
62423 * soft-fp/floatunsidf.c: Likewise.
62424 * soft-fp/floatunsisf.c: Likewise.
62425 * soft-fp/floatuntidf.c: Likewise.
62426 * soft-fp/floatuntisf.c: Likewise.
62427 * soft-fp/floatuntitf.c: Likewise.
62428 * soft-fp/fmadf4.c: Likewise.
62429 * soft-fp/fmasf4.c: Likewise.
62430 * soft-fp/fmatf4.c: Likewise.
62431 * soft-fp/gedf2.c: Likewise.
62432 * soft-fp/gesf2.c: Likewise.
62433 * soft-fp/getf2.c: Likewise.
62434 * soft-fp/ledf2.c: Likewise.
62435 * soft-fp/lesf2.c: Likewise.
62436 * soft-fp/letf2.c: Likewise.
62437 * soft-fp/muldf3.c: Likewise.
62438 * soft-fp/mulsf3.c: Likewise.
62439 * soft-fp/multf3.c: Likewise.
62440 * soft-fp/negdf2.c: Likewise.
62441 * soft-fp/negsf2.c: Likewise.
62442 * soft-fp/negtf2.c: Likewise.
62443 * soft-fp/op-1.h: Likewise.
62444 * soft-fp/op-2.h: Likewise.
62445 * soft-fp/op-4.h: Likewise.
62446 * soft-fp/op-8.h: Likewise.
62447 * soft-fp/op-common.h: Likewise.
62448 * soft-fp/quad.h: Likewise.
62449 * soft-fp/single.h: Likewise.
62450 * soft-fp/soft-fp.h: Likewise.
62451 * soft-fp/sqrtdf2.c: Likewise.
62452 * soft-fp/sqrtsf2.c: Likewise.
62453 * soft-fp/sqrttf2.c: Likewise.
62454 * soft-fp/subdf3.c: Likewise.
62455 * soft-fp/subsf3.c: Likewise.
62456 * soft-fp/subtf3.c: Likewise.
62457 * soft-fp/truncdfsf2.c: Likewise.
62458 * soft-fp/trunctfdf2.c: Likewise.
62459 * soft-fp/trunctfsf2.c: Likewise.
62460 * soft-fp/trunctfxf2.c: Likewise.
62461 * soft-fp/unorddf2.c: Likewise.
62462 * soft-fp/unordsf2.c: Likewise.
62463 * soft-fp/unordtf2.c: Likewise.
62464
624652013-10-14 Ondřej Bílka <neleai@seznam.cz>
62466
62467 [BZ #15672]
62468 * misc/error.c (error_tail): Fix possible buffer overflow.
62469
624702013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62471
62472 [BZ #13028]
62473 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62474 address.
62475
624762013-10-14 P. J. McDermott <pj@pehjota.net>
62477
62478 [BZ #832]
62479 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62480 testing pipefail option.
62481
624822013-10-12 Joseph Myers <joseph@codesourcery.com>
62483
62484 * soft-fp/double.h: Indent preprocessor directives inside #if.
62485 * soft-fp/extended.h: Likewise.
62486 * soft-fp/op-2.h: Likewise.
62487 * soft-fp/op-4.h: Likewise.
62488 * soft-fp/op-common.h: Likewise.
62489 * soft-fp/quad.h: Likewise.
62490 * soft-fp/single.h: Likewise.
62491 * soft-fp/soft-fp.h: Likewise.
62492
624932013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62494
62495 * iconv/iconv_prog.c: Fix typos.
62496 * stdio-common/psiginfo-data.h: Likewise.
62497
624982013-10-12 Reuben Thomas <rrt@sc3d.org>
62499
62500 [BZ #15764]
62501 * locale/setlocale.c: Fix typo.
62502
625032013-10-12 Joseph Myers <joseph@codesourcery.com>
62504
62505 [BZ #16036]
62506 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62507 signaling NaN arguments.
62508 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62509 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62510
62511 [BZ #14910]
62512 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62513 unordered operands.
62514 * soft-fp/gesf2.c (__gesf2): Likewise.
62515 * soft-fp/getf2.c (__getf2): Likewise.
62516 * soft-fp/ledf2.c (__ledf2): Likewise.
62517 * soft-fp/lesf2.c (__lesf2): Likewise.
62518 * soft-fp/letf2.c (__letf2): Likewise.
62519
62520 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62521 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62522 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62523 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62524 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62525 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62526 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62527 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62528 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62529 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62530 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62531 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62532 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62533 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62534 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62535 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62536 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62537 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62538 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62539 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62540 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62541 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62542 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62543 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62544 * soft-fp/floattidf.c (__floattidf): Likewise.
62545 * soft-fp/floattisf.c (__floattisf): Likewise.
62546 * soft-fp/floattitf.c (__floattitf): Likewise.
62547 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62548 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62549 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62550 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62551 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62552 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62553 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62554 * soft-fp/gesf2.c (__gesf2): Likewise.
62555 * soft-fp/getf2.c (__getf2): Likewise.
62556 * soft-fp/ledf2.c (__ledf2): Likewise.
62557 * soft-fp/lesf2.c (__lesf2): Likewise.
62558 * soft-fp/letf2.c (__letf2): Likewise.
62559
62560 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62561 Undefine and redefine.
62562 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62563 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62564 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62565 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62566 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62567 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62568 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62569 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62570 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62571 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62572 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62573 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62574 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62575 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62576 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62577
62578 [BZ #16032]
62579 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62580 without decrementing exponent if mantissa >= that for the
62581 denominator, not >.
62582 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62583 denominator, not >. Decrement exponent in < case instead of
62584 incrementing in >= case.
62585 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62586 without decrementing exponent if mantissa >= that for the
62587 denominator, not >.
62588
62589 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62590 computing saturated result for unsigned overflow.
62591
625922013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62593 Jeff Law <law@redhat.com>
62594
62595 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62596 (atan2Mp): Add systemtap probe marker.
62597 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62598 (__ieee754_log): Add systemtap probe marker.
62599 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62600 (atanMp): Add systemtap probe marker.
62601 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62602 (tanMp): Add systemtap probe marker.
62603 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62604 (__slowexp): Add systemtap probe marker.
62605 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62606 (__slowpow): Add systemtap probe marker.
62607 * manual/probes.texi: Document probes.
62608
626092013-10-11 Eric Biggers <ebiggers3@gmail.com>
62610
62611 [BZ #15362]
62612 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62613 written.
62614 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62615 written.
62616 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62617 written to buffer but not flushed.
62618 * libio/iofwrite_u.c: Likewise.
62619 * libio/iopadn.c: Return bytes returned even if EOF was
62620 encountered.
62621 * libio/iowpadn.c: Likewise.
62622 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62623 if _IO_padn does not write the whole buffer.
62624 [!COMPILE_WPRINTF] (PAD): Likewise.
62625
626262013-10-10 David S. Miller <davem@davemloft.net>
62627
62628 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62629 directory block.
62630
626312013-10-10 Joseph Myers <joseph@codesourcery.com>
62632
62633 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62634 instead of FSF address.
62635 * soft-fp/fixdfti.c: Likewise.
62636 * soft-fp/fixsfti.c: Likewise.
62637 * soft-fp/fixtfti.c: Likewise.
62638 * soft-fp/fixunsdfti.c: Likewise.
62639 * soft-fp/fixunssfti.c: Likewise.
62640 * soft-fp/fixunstfti.c: Likewise.
62641 * soft-fp/floattidf.c: Likewise.
62642 * soft-fp/floattisf.c: Likewise.
62643 * soft-fp/floattitf.c: Likewise.
62644 * soft-fp/floatuntidf.c: Likewise.
62645 * soft-fp/floatuntisf.c: Likewise.
62646 * soft-fp/floatuntitf.c: Likewise.
62647 * soft-fp/trunctfxf2.c: Likewise.
62648
62649 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62650 * soft-fp/fixdfti.c: Likewise.
62651 * soft-fp/fixsfti.c: Likewise.
62652 * soft-fp/fixtfti.c: Likewise.
62653 * soft-fp/fixunsdfti.c: Likewise.
62654 * soft-fp/fixunssfti.c: Likewise.
62655 * soft-fp/fixunstfti.c: Likewise.
62656 * soft-fp/floattidf.c: Likewise.
62657 * soft-fp/floattisf.c: Likewise.
62658 * soft-fp/floattitf.c: Likewise.
62659 * soft-fp/floatuntidf.c: Likewise.
62660 * soft-fp/floatuntisf.c: Likewise.
62661 * soft-fp/floatuntitf.c: Likewise.
62662 * soft-fp/trunctfxf2.c: Likewise.
62663
626642013-10-10 David S. Miller <davem@davemloft.net>
62665
62666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62667
626682013-10-10 Joseph Myers <joseph@codsourcery.com>
62669
62670 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62671 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62672 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62673 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62674 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62675 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62676 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62677
62678 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62679 for NaNs before doing comparisons on argument.
62680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62681 Likewise.
62682
626832013-10-10 Will Newton <will.newton@linaro.org>
62684
62685 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62686 passed to _int_memalign does not overflow.
62687
626882013-10-10 Torvald Riegel <triegel@redhat.com>
62689
62690 * scripts/bench.pl: Add include-sources directive.
62691 * benchtests/README: Update documentation.
62692
626932013-10-10 Joseph Myers <joseph@codesourcery.com>
62694
62695 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62696 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62697 instead of FP_INIT_ROUNDMODE.
62698 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62699 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62700
62701 [BZ #16034]
62702 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62703 copy class of input value.
62704 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62705 not handle exceptions.
62706 * soft-fp/negsf2.c (__negsf2): Likewise.
62707 * soft-fp/negtf2.c (__negtf2): Likewise.
62708 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62709
627102013-10-09 Joseph Myers <joseph@codesourcery.com>
62711
62712 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62713 semicolon. From Linux kernel.
62714
627152013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62716
62717 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62718
627192013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62720
62721 [BZ #156]
62722 * manual/socket.texi: Added statement about buffer
62723 for gethostbyname2_r.
62724
627252013-10-08 Ondřej Bílka <neleai@seznam.cz>
62726
62727 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62728 Use .p2align directive instead, throughout.
62729 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62730 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62731 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62733 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62734 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62735 * sysdeps/x86_64/strchr.S: Likewise.
62736 * sysdeps/x86_64/strrchr.S: Likewise.
62737
627382013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62739
62740 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62741
62742 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62743
62744 * sysdeps/generic/math_private.h (__mpsin1): Remove
62745 declaration.
62746 (__mpcos1): Likewise.
62747 (__mpsin): New argument __range_reduce.
62748 (__mpcos): Likewise.
62749 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62750 (slow): Use __mpsin and __mpcos.
62751 (slow1): Likewise.
62752 (slow2): Likewise.
62753 (sloww): Likewise.
62754 (sloww1): Likewise.
62755 (sloww2): Likewise.
62756 (bsloww): Likewise.
62757 (bsloww1): Likewise.
62758 (bsloww2): Likewise.
62759 (cslow2): Likewise.
62760 (csloww): Likewise.
62761 (csloww1): Likewise.
62762 (csloww2): Likewise.
62763 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62764 range_reduce. Merge in __mpsin1.
62765 (__mpcos): Likewise.
62766 (__mpsin1): Remove.
62767 (__mpcos1): Likewise.
62768
627692013-10-07 Joseph Myers <joseph@codesourcery.com>
62770
62771 * locale/loadlocale.c (_nl_intern_locale_data): Use
62772 LOCFILE_ALIGNED_P.
62773 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62774 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62775 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62776 obstack data is appropriately aligned.
62777 (obstack_int32_grow_fast): Likewise.
62778 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62779 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62780 (add_locale_uint32_array): Likewise.
62781
627822013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62783
62784 * benchtests/Makefile: Remove ARGLIST and RET variables.
62785 ($(objpfx)bench-%.c): Pass only function name to the script.
62786 * benchtests/README: Update documentation.
62787 * benchtests/acos-inputs: Add new directives.
62788 * benchtests/acosh-inputs: Likewise.
62789 * benchtests/asin-inputs: Likewise.
62790 * benchtests/asinh-inputs: Likewise.
62791 * benchtests/atan-inputs: Likewise.
62792 * benchtests/atanh-inputs: Likewise.
62793 * benchtests/cos-inputs: Likewise.
62794 * benchtests/cosh-inputs: Likewise.
62795 * benchtests/exp-inputs: Likewise.
62796 * benchtests/log-inputs: Likewise.
62797 * benchtests/pow-inputs: Likewise.
62798 * benchtests/rint-inputs: Likewise.
62799 * benchtests/sin-inputs: Likewise.
62800 * benchtests/sinh-inputs: Likewise.
62801 * benchtests/tan-inputs: Likewise.
62802 * benchtests/tanh-inputs: Likewise.
62803 * scripts/bench.pl: Add support for new directives.
62804
628052013-10-07 Alan Modra <amodra@gmail.com>
62806
62807 * README: Fix careless merge.
62808
628092013-10-05 Alan Modra <amodra@gmail.com>
62810
62811 * NEWS: Mention powerpc64le support and bugs fixed.
62812 * README: Both big-endian and little-endian powerpc64 supported.
62813
628142013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62815
62816 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62817 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62818 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62819 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62820
628212013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62822
62823 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62824 match prototype.
62825
628262013-10-04 Joseph Myers <joseph@codesourcery.com>
62827
62828 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62829 Move -mhard-float appending from
62830 ports/sysdeps/powerpc/powerpc32/Makefile.
62831 [$(with-fp) = yes] (ASFLAGS): Likewise.
62832 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62833 * sysdeps/powerpc/nofpu: Move directory from
62834 ports/sysdeps/powerpc/nofpu.
62835 * sysdeps/powerpc/soft-fp: Move directory from
62836 ports/sysdeps/powerpc/soft-fp.
62837 * sysdeps/powerpc/powerpc32/405: Move directory from
62838 ports/sysdeps/powerpc/powerpc32/405.
62839 * sysdeps/powerpc/powerpc32/440: Move directory from
62840 ports/sysdeps/powerpc/powerpc32/440.
62841 * sysdeps/powerpc/powerpc32/464: Move directory from
62842 ports/sysdeps/powerpc/powerpc32/464.
62843 * sysdeps/powerpc/powerpc32/476: Move directory from
62844 ports/sysdeps/powerpc/powerpc32/476.
62845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62846 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62848 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62850 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62852 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62854 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62855 * README: Update for powerpc-*-linux-gnu software floating point
62856 support in libc.
62857
62858 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62859 case to powerpc/powerpc32*.
62860 * sysdeps/unix/sysv/linux/configure: Regenerated.
62861
62862 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62863 (_FPU_MASK_OM): Define as 0x04.
62864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62866 0x00c10080.
62867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62868 0x0000003c.
62869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62870
62871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62872 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62873 getcontext_e500.
62874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62875 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62876 setcontext_e500.
62877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62878 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62879 and setcontext_e500.
62880
628812013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62882
62883 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62884
628852013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62886
62887 * manual/threads.texi (Default Thread Attributes): Fix typo.
62888
628892013-10-04 Will Newton <will.newton@linaro.org>
62890
62891 * malloc/Makefile: Add tst-memalign.
62892 * malloc/tst-memalign.c: New file.
62893
62894 * malloc/tst-posix_memalign.c: Add comments.
62895 (do_test): Add comments and call free on all potentially
62896 allocated pointers. Add space after cast.
62897
62898 * malloc/tst-pvalloc.c: Add comments.
62899 (do_test): Add comments and call free on all potentially
62900 allocated pointers. Remove duplicate check for NULL pointer.
62901 Add space after cast.
62902
62903 * malloc/tst-valloc.c: Add comments.
62904 (do_test): Add comments and call free on all potentially
62905 allocated pointers. Remove duplicate check for NULL pointer.
62906 Add space after cast.
62907
629082013-10-04 Alan Modra <amodra@gmail.com>
62909
62910 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62911 Use stdint types in rather than __attribute__((mode())).
62912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62913
629142013-10-04 Alan Modra <amodra@gmail.com>
62915
62916 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62917 Correct handling of unaligned relocs for little-endian.
62918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62919
629202013-10-04 Alan Modra <amodra@gmail.com>
62921
62922 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62923 * configure: Regenerate.
62924 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62925 * shlib-versions: Likewise.
62926
629272013-10-04 Alan Modra <amodra@gmail.com>
62928
62929 * string/tester.c (test_memrchr): Increment reported test cycle.
62930
629312013-10-04 Alan Modra <amodra@gmail.com>
62932
62933 * string/test-memcpy.c (do_one_test): When reporting errors, print
62934 string address and don't overrun end of string.
62935
629362013-10-04 Alan Modra <amodra@gmail.com>
62937
62938 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62939 insrdi. Make better use of reg selection to speed exit slightly.
62940 Schedule entry path a little better. Remove useless "are we done"
62941 checks on entry to main loop. Handle wrapping around zero address.
62942 Correct main loop count. Handle single left-over word from main
62943 loop inline rather than by using loop_small. Remove extra word
62944 case in loop_small caused by wrong loop count. Add little-endian
62945 support.
62946 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62947 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62948 cache hint.
62949 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62950 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62951 support. Avoid rlwimi.
62952 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62953
629542013-10-04 Alan Modra <amodra@gmail.com>
62955
62956 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62957 insrdi. Formatting.
62958 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62959 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62960 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62961 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62962 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62963 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62964
629652013-10-04 Alan Modra <amodra@gmail.com>
62966
62967 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62968 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62969 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62970 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62971 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62972 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62973 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62974 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62975 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62976 use of regs. Use power7 mtocrf. Tidy function tails.
62977
629782013-10-04 Alan Modra <amodra@gmail.com>
62979
62980 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62981 Formatting. Consistently use rXXX register defines or rN defines.
62982 Use early exit labels that avoid restoring unused non-volatile regs.
62983 Make cr field use more consistent with rWORDn compares. Rename
62984 regs used as shift registers for unaligned loop, using rN defines
62985 for short lifetime/multiple use regs.
62986 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62987 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62988 addi 1,1,64 to pop stack frame. Simplify return value code.
62989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62990
629912013-10-04 Alan Modra <amodra@gmail.com>
62992
62993 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62994 support. Correct typos, formatting. Optimize tail. Use insrdi
62995 rather than rlwimi.
62996 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62997 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62998 little-endian support. Correct typos.
62999 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
63000 rather than rlwimi.
63001 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
63002 in loop and entry code to keep "and." results.
63003 (strchr): Add little-endian support. Comment. Move cntlzd
63004 earlier in tail.
63005 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
63006
630072013-10-04 Alan Modra <amodra@gmail.com>
63008
63009 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
63010 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
63011 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
63012 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
63013
630142013-10-04 Alan Modra <amodra@gmail.com>
63015
63016 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
63017 (rTMP): Define as r11.
63018 (strcmp): Add little-endian support. Optimise tail.
63019 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
63020 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63021 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63022 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63023 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63024 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63026
630272013-10-04 Alan Modra <amodra@gmail.com>
63028
63029 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
63030 little-endian support. Remove unnecessary "are we done" tests.
63031 Handle "s" wrapping around zero and extremely large "size".
63032 Correct main loop count. Handle single left-over word from main
63033 loop inline rather than by using small_loop. Correct comments.
63034 Delete "zero" tail, use "end_max" instead.
63035 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
63036
630372013-10-04 Alan Modra <amodra@gmail.com>
63038
63039 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
63040 support. Don't branch over align.
63041 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
63042 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
63043 support. Rearrange tmp reg use to suit. Comment.
63044 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
63045
630462013-10-04 Alan Modra <amodra@gmail.com>
63047
63048 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
63049
630502013-10-04 Alan Modra <amodra@gmail.com>
63051
63052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
63053 conditional form of branch and link when obtaining pc.
63054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
63055
630562013-10-04 Alan Modra <amodra@gmail.com>
63057
63058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
63059 HIWORD/LOWORD.
63060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
63061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
63062
630632013-10-04 Alan Modra <amodra@gmail.com>
63064
63065 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
63066 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
63067 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
63068 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
63069 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
63070 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63071 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
63072 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63073 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
63074 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
63075
630762013-10-04 Anton Blanchard <anton@au1.ibm.com>
63077 Alistair Popple <alistair@ozlabs.au.ibm.com>
63078 Alan Modra <amodra@gmail.com>
63079
63080 [BZ #15723]
63081 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
63082 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
63083 _dl_hwcap access for little-endian.
63084 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
63085 destroy vmx regs when saving unaligned.
63086 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
63087 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
63088 destroy vmx regs when saving unaligned.
63089
630902013-10-04 Alan Modra <amodra@gmail.com>
63091
63092 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
63093 Don't use a union to pack hi/low value.
63094
630952013-10-04 Anton Blanchard <anton@au1.ibm.com>
63096
63097 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
63098 for little-endian.
63099 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63100 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
63101 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63102 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63103 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63104
631052013-10-04 Alan Modra <amodra@gmail.com>
63106
63107 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
63108 constants to usual value for .cst8 section, and remove redundant
63109 high address load.
63110 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
63111 constant for 0x1p52. Load little-endian words of double from
63112 correct stack offsets.
63113
631142013-10-04 Alan Modra <amodra@gmail.com>
63115
63116 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
63117 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
63118 words of double from correct stack offsets.
63119 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
63120 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
63121 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63122 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63123 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63124 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63125 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63126 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
63127 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
63128 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63129 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63130 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63131 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63132 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63133 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63134 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
63135 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
63136
631372013-10-04 Alan Modra <amodra@gmail.com>
63138
63139 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
63140 64-bit int/double union.
63141 (_FPU_SETCW): Likewise.
63142 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
63143 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
63144
631452013-10-04 Alan Modra <amodra@gmail.com>
63146
63147 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
63148 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
63149
631502013-10-04 Alan Modra <amodra@gmail.com>
63151
63152 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
63153 use vector int constants.
63154 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
63155
631562013-10-04 Anton Blanchard <anton@au1.ibm.com>
63157
63158 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
63159 array with long long.
63160 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
63161 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
63162 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
63163 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
63164 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
63165 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
63166 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
63167 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
63168 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
63169 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
63170 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
63171 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
63172 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
63173
631742013-10-04 Anton Blanchard <anton@au1.ibm.com>
63175
63176 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
63177 (__signbit): Likewise. Correct for little-endian.
63178 (__signbitl): Call __signbit.
63179 (lrint): Correct for little-endian.
63180 (lrintf): Call lrint.
63181
631822013-10-04 Alan Modra <amodra@gmail.com>
63183
63184 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63185 union 32-bit int array member with 64-bit int array.
63186 (t515, tm256): Double rather than long double.
63187 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63188
631892013-10-04 Alan Modra <amodra@gmail.com>
63190
63191 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63192 Delete.
63193 (IEEE854_LONG_DOUBLE_BIAS): Delete.
63194 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63195 version of math_ldbl.h.
63196
631972013-10-04 Alan Modra <amodra@gmail.com>
63198
63199 [BZ #15734], [BZ #15735]
63200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63201 all uses of ieee875 long double macros and unions. Simplify test
63202 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
63203 ldbl_extract_mantissa value for ix,iy exponents. Properly
63204 normalize after ldbl_extract_mantissa, and don't add hidden bit
63205 already handled. Don't treat low word of ieee854 mantissa like
63206 low word of IBM long double and mask off bit when testing for
63207 zero.
63208 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63209 all uses of ieee875 long double macros and unions. Simplify tests
63210 for 0.0L and inf. Correct double adjustment of k. Delete dead code
63211 adjusting ha,hb. Simplify code setting kld. Delete two600 and
63212 two1022, instead use their values. Recognise that tests for large
63213 "a" and small "b" are mutually exclusive. Rename vars. Comment.
63214 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63215 Rewrite all uses of ieee875 long double macros and unions. Simplify
63216 test for 0.0L and nan. Correct negation.
63217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63218 ieee875 long double macros and unions. Correct output for large
63219 magnitude x. Correct absolute value calculation.
63220 (__erfcl): Likewise.
63221 * math/libm-test.inc: Add tests for errors discovered in IBM long
63222 double versions of fmodl, remainderl, erfl and erfcl.
63223
632242013-10-04 Alan Modra <amodra@gmail.com>
63225
63226 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63227 all uses of ieee854 long double macros and unions. Simplify tests
63228 for long doubles that are fully specified by the high double.
63229 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63230 Likewise.
63231 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63232 Remove dead code too.
63233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63234 (__ieee754_ynl): Likewise.
63235 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63236 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63238 Remove dead code too.
63239 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63240 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63241 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63242 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63243 Simplify.
63244 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63245 Simplify.
63246 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63247 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63248 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63249 Comment on variable precision.
63250 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63251 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63252 Likewise.
63253 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63255 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63256 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63257 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63258
632592013-10-04 Alan Modra <amodra@gmail.com>
63260
63261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63262 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63263 all uses of ieee854 long double macros and unions.
63264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63266 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63267 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63268 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63269 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63270 Likewise.
63271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63272 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63273 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63274 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63275 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63276 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63277 Simplify sign and nan test too.
63278 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63279 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63280 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63281 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63282 Likewise.
63283 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63284 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63285 Likewise.
63286 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63287 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63288 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63289 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63290 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63291 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63292
632932013-10-04 Alan Modra <amodra@gmail.com>
63294
63295 * stdio-common/printf_size.c (__printf_size): Don't use
63296 union ieee854_long_double in fpnum union.
63297 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
63298 signbit macro to retrieve sign from long double.
63299 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63300 retrieve sign from long double.
63301 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63302 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63303 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63304 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63305 * math/test-misc.c (main): Don't use union ieee854_long_double.
63306
633072013-10-04 Alan Modra <amodra@gmail.com>
63308
63309 [BZ #15680]
63310 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63311 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63312 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63313 calculation. Remove unnecessary test for denormal exponent.
63314 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63315 Correct handling of denormals. Avoid undefined shift behaviour.
63316 Correct normalisation of low mantissa when low double is denormal.
63317 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63318 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
63319 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63320 Correct normalisation of low mantissa. Test for overflow of high
63321 mantissa and normalise.
63322 (ldbl_nearbyint): Use more readable constant for two52.
63323 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63324 (__mpn_construct_long_double): Fix test for overflow of high
63325 mantissa and correct normalisation. Avoid undefined shift.
63326
633272013-10-04 Alan Modra <amodra@gmail.com>
63328
63329 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63330 (union ibm_extended_long_double): Define as an array of ieee754_double.
63331 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63332 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63333 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63334 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63336 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63337 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63338 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63339 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63340 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63341 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63342
633432013-10-03 Joseph Myers <joseph@codesourcery.com>
63344
63345 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63346 page size instead of calling getpagesize.
63347
63348 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63349 (LOCFILE_ALIGN_MASK): Likewise.
63350 (LOCFILE_ALIGN_UP): Likewise.
63351 (LOCFILE_ALIGNED_P): Likewise.
63352 * locale/programs/ld-collate.c (collate_output): Use the new
63353 macros instead of __alignof__ (int32_t).
63354 * locale/weight.h (findidx): Likewise.
63355
633562013-10-03 Ondřej Bílka <neleai@seznam.cz>
63357
63358 [BZ #431]
63359 * manual/string.texi: Fix strncat and wcsncat.
63360
633612013-10-03 Brooks Moses <bmoses@google.com>
63362
63363 [BZ #15915]
63364 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63365 * Makerules: ...here, and adjust associated comments.
63366
633672013-10-02 Will Newton <will.newton@linaro.org>
63368
63369 * malloc/Makefile: Add tst-pvalloc.
63370 * malloc/tst-pvalloc.c: New file.
63371
633722013-10-02 Will Newton <will.newton@linaro.org>
63373
63374 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63375 improve test coverage.
63376
633772013-10-02 Will Newton <will.newton@linaro.org>
63378
63379 * malloc/Makefile: Add tst-posix_memalign.
63380 * malloc/tst-posix_memalign.c: New file.
63381
633822013-10-01 Eric Blake <eblake@redhat.com>
63383
63384 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63385 Use __THROWNL rather than __THROW on static functions.
63386
633872013-09-30 Petr Machata <pmachata@redhat.com>
63388
63389 * elf/elf.h (R_AARCH64_ABS16): New macro.
63390 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63391 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63392 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63393 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63394 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63395 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63396 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63397 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63398 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63399 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63400 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63401 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63402 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63403 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63404 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63405 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63406 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63407 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63408 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63409 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63410 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63411 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63412 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63413 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63414 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63415 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63416 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63417 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63418 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63419 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63420 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63421 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63422 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63423 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63424 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63425 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63426 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63427 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63428 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63429 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63430 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63431 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63432 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63433 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63434 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63435 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63436 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63437 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63438 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63439 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63440 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63441 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63442 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63443 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63444 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63445 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63446 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63447 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63448 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63449 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63450 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63451 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63452 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63453 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63454 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63455 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63456 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63457 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63458 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63459 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63460 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63461 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63462 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63463 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63464 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63465 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63466 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63467 (R_AARCH64_TLSDESC_LDR): Likewise.
63468 (R_AARCH64_TLSDESC_ADD): Likewise.
63469 (R_AARCH64_TLSDESC_CALL): Likewise.
63470
634712013-09-30 Andreas Schwab <schwab@suse.de>
63472
63473 [BZ #15048]
63474 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63475 the nss database lookup.
63476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63478
634792013-09-28 Mike Frysinger <vapier@gentoo.org>
63480
63481 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63482
634832013-09-28 P. J. McDermott <pj@pehjota.net>
63484
63485 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63486 ${Bash-specific parameter/pattern/string} parameter expansion.
63487 * sysdeps/unix/make-syscalls.sh: Likewise.
63488
634892013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63490
63491 * sysdeps/sh/stackguard-macros.h: New file.
63492
634932013-09-26 Ondřej Bílka <neleai@seznam.cz>
63494
63495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63497 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63498 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63500 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63501
635022013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63503
63504 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63505 Fix thread ID register.
63506
635072013-09-25 Joseph Myers <joseph@codesourcery.com>
63508
63509 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63510 [POSIX || UNIX98]: Require rather than permitting all symbols from
63511 <time.h>.
63512 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63513 element of struct sched_param.
63514 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63515 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63516 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63517 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63518 constant.
92c3af3c 63519
edf66db1
SP
635202013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63521
63522 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63523 argument calculation.
63524
635252013-09-24 Joseph Myers <joseph@codesourcery.com>
63526
63527 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63528 Expect macro.
63529 [POSIX] (pthread_attr_t): Do not require type.
63530 [POSIX] (pthread_cond_t): Likewise.
63531 [POSIX] (pthread_condattr_t): Likewise.
63532 [POSIX] (pthread_key_t): Likewise.
63533 [POSIX] (pthread_mutex_t): Likewise.
63534 [POSIX] (pthread_mutexattr_t): Likewise.
63535 [POSIX] (pthread_once_t): Likewise.
63536 [POSIX] (pthread_t): Likewise.
63537 [POSIX-based standards] (pthread_atfork): Expect function.
63538
635392013-09-24 Joseph Myers <joseph@codesourcery.com>
63540 Richard Sandiford <richard@codesourcery.com>
63541
63542 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63543 (swap_endianness_p): New extern variable.
63544 (set_big_endian): New inline function.
63545 (maybe_swap_uint32): Likewise.
63546 (maybe_swap_uint32_array): Likewise.
63547 (maybe_swap_uint32_obstack): Likewise.
63548 * locale/programs/locfile.c: Include <stdbool.h>.
63549 (swap_endianness_p): New variable.
63550 (add_locale_uint32): Call maybe_swap_uint32.
63551 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63552 (write_locale_data): Call maybe_swap_uint32_array.
63553 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63554 maybe_swap_uint32.
63555 (obstack_int32_grow_fast): Likewise.
63556 (output_weightwc): Call maybe_swap_uint32_obstack.
63557 (collate_output): Likewise.
63558 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63559 (OPT_LITTLE_ENDIAN): Likewise.
63560 (options): Add --little-endian and --big-endian options.
63561 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63562 * locale/programs/locarchive.c: Include "locfile.h".
63563 (GET): New macro.
63564 (SET): Likewise.
63565 (INC): Likewise.
63566 (create_archive): Use the new macros to access fields of
63567 structures directly mapped from or written to locale archives.
63568 (oldlocrecentcmp): Likewise.
63569 (enlarge_archive): Likewise.
63570 (insert_name): Likewise.
63571 (add_alias): Likewise.
63572 (add_locale): Likewise.
63573 (delete_locales_from_archive): Likewise.
63574 (show_archive_content): Likewise.
63575 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63576 locale data.
63577
635782013-09-24 Roland McGrath <roland@hack.frob.com>
63579
63580 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63581 http://www.gnu.org/doc/freemanuals.texi.
63582 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63583
635842013-09-24 Will Newton <will.newton@linaro.org>
63585
63586 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63587 macro.
92c3af3c 63588
edf66db1
SP
635892013-09-23 Joseph Myers <joseph@codesourcery.com>
63590
63591 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63592 unsigned char.
63593
635942013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63595
63596 * manual/threads.texi (POSIX Threads): Fix a typo.
63597
635982013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63599
63600 [BZ #14547]
63601 * string/tst-strcoll-overflow.c: New test case.
63602 * string/Makefile (xtests): Add tst-strcoll-overflow.
63603 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63604 cache if string sizes may cause integer overflow.
63605
63606 [BZ #14547]
63607 * string/strcoll_l.c (coll_seq): New members rule, idx,
63608 save_idx and back_us.
63609 (get_next_seq_nocache): New function.
63610 (do_compare_nocache): New function.
63611 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63612 when malloc fails.
63613
636142013-09-23 Carlos O'Donell <carlos@redhat.com>
63615
63616 [BZ #15754]
63617 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63618 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63619 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63620
63621 [BZ #15754]
63622 * elf/Makefile (tests): Add tst-ptrguard1.
63623 (tests-static): Add tst-ptrguard1-static.
63624 (tst-ptrguard1-ARGS): Define.
63625 (tst-ptrguard1-static-ARGS): Define.
63626 * elf/tst-ptrguard1.c: New file.
63627 * elf/tst-ptrguard1-static.c: New file.
63628 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63629 * sysdeps/i386/stackguard-macros.h: Likewise.
63630 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63631 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63632 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63633 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63634 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63635 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63636
636372013-09-23 Hector Marco <hecmargi@upv.es>
63638 Ismael Ripoll <iripoll@disca.upv.es>
63639 Carlos O'Donell <carlos@redhat.com>
63640
63641 [BZ #15754]
63642 * sysdeps/generic/stackguard-macros.h: Define
63643 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63644 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63645 Define __pointer_chk_guard_local.
63646 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63647 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63648
636492013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63650
63651 [BZ #15859]
63652 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63653
636542013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63655
63656 * include/string.h (__ffs): Declare as hidden.
63657 * string/ffs.c (__ffs): Define as hidden.
63658 * sysdeps/i386/ffs.c (__ffs): Likewise.
63659 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63660 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63661 * sysdeps/s390/ffs.c (__ffs): Likewise.
63662 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63663
636642013-09-20 Alexandre Oliva <aoliva@redhat.com>
63665
63666 * NEWS: Mention malloc probes.
63667
63668 * malloc/arena.c (new_heap): New memory_heap_new probe.
63669 (grow_heap): New memory_heap_more probe.
63670 (shrink_heap): New memory_heap_less probe.
63671 (heap_trim): New memory_heap_free probe.
63672 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63673 (systrim): New memory_sbrk_less probe.
63674 * manual/probes.texi: Document them.
63675
63676 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63677 * manual/probes.texi: Document it.
63678
63679 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63680 (__libc_realloc): Add memory_realloc_retry probe.
63681 (__libc_memalign): Add memory_memalign_retry probe.
63682 (__libc_valloc): Add memory_valloc_retry probe.
63683 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63684 (__libc_calloc): Add memory_calloc_retry probe.
63685 * manual/probes.texi: Document them.
63686
63687 * malloc/arena.c (get_free_list): Add probe
63688 memory_arena_reuse_free_list.
63689 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63690 and memory_arena_reuse.
63691 (arena_get2) [!PER_THREAD]: Likewise.
63692 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63693 memory_arena_reuse_realloc.
63694 * manual/probes.texi: Document them.
63695
63696 * malloc/malloc.c (__libc_free): Add
63697 memory_mallopt_free_dyn_thresholds probe.
63698 (__libc_mallopt): Add multiple memory_mallopt probes.
63699 * manual/probes.texi: Document them.
63700
63701 * malloc/malloc.c: Include stap-probe.h.
63702 (__libc_mallopt): Add memory_mallopt probe.
63703 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63704 * manual/probes.texi: New.
63705 * manual/Makefile (chapters): Add probes.
63706 * manual/threads.texi: Set next node.
63707
637082013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63709
63710 [BZ #15963, #13985]
63711 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63712 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63713 Add `Chinese' to `nan' entry name.
63714
637152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63716
63717 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63718 (POLYNOMIAL): Likewise.
63719 (TAYLOR_SINCOS): Likewise.
63720 (TAYLOR_SLOW): Likewise.
63721 (__sin): Use TAYLOR_SINCOS.
63722 (__cos): Likewise.
63723 (slow): Use TAYLOR_SLOW.
63724 (sloww): Likewise.
63725 (bsloww): Likewise.
63726 (csloww): Likewise.
63727
637282013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63729
63730 * stdlib/strtod_l.c: Fix buffer overrun.
63731
637322013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63733
63734 * benchtests/Makefile (bench): Add sincos.
63735 * benchtests/bench-sincos.c: New file.
63736
63737 * math/libm-test.inc (cos_test_data): New test inputs.
63738 (sin_test_data): Likewise.
63739
63740 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63741 macro.
63742 (__sin): Use it.
63743 (__cos): Likewise.
63744 (slow1): Likewise.
63745 (slow2): Likewise.
63746 (sloww1): Likewise.
63747 (sloww2): Likewise.
63748 (bsloww1): Likewise.
63749 (bsloww2): Likewise.
63750 (cslow2): Likewise.
63751 (csloww1): Likewise.
63752 (csloww2): Likewise.
63753
63754 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63755 function.
63756 (__sin): Use it.
63757 (__cos): Likewise.
63758
63759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63760 gotos.
63761 (__cos): Likewise.
63762
637632013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63764
63765 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63766 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63767 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63768 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63769 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63770 * elf/cache.c (print_entry): Handle the new cache flags.
63771
637722013-09-18 Joseph Myers <joseph@codesourcery.com>
63773 Aldy Hernandez <aldyh@redhat.com>
63774
63775 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63776 Change condition to [_SOFT_FLOAT].
63777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63778 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63789 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63792 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63793 declaration.
92c3af3c 63794
edf66db1 637952013-09-18 Joseph Myers <joseph@codesourcery.com>
92c3af3c 63796
edf66db1
SP
63797 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63798 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63799 (__longjmp): Use LOAD_GP to load saved GPRs.
63800 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63801 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63802 (__sigsetjmp): Use SAVE_GP to save GPRs.
92c3af3c 63803
edf66db1
SP
63804 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63805 Do not append -msoft-float.
63806 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
92c3af3c 63807
edf66db1 638082013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 63809
edf66db1 63810 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
92c3af3c 63811
edf66db1 638122013-09-17 Joseph Myers <joseph@codesourcery.com>
92c3af3c 63813
edf66db1
SP
63814 [BZ #15966]
63815 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63816 (_FPU_GETCW): Use initial "__" on variable and field names but not
63817 on macro parameter name.
63818 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63819 parentheses around reference to macro parameter.
92c3af3c 63820
edf66db1 638212013-09-13 Richard Sandiford <richard@codesourcery.com>
92c3af3c 63822
edf66db1
SP
63823 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63824 prototype.
63825 (ctype_startup): Use uint32_t in cast and sizeof for
63826 ctype->charnames.
92c3af3c 63827
edf66db1 638282013-09-11 Jia Liu <proljc@gmail.com>
92c3af3c 63829
edf66db1
SP
63830 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63831 __daddr_t_defined.
63832 [__FreeBSD__]: Likewise.
92c3af3c 63833
edf66db1 638342013-09-11 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 63835
edf66db1
SP
63836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63837 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63838 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63839 (strchr): Remove __strchr_sse42 ifunc selection.
63840 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63841 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
92c3af3c 63842
edf66db1 638432013-09-11 Will Newton <will.newton@linaro.org>
92c3af3c 63844
edf66db1
SP
63845 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63846 parameter to RES. Remove hardcoded 1000 value.
63847 * benchtests/bench-skeleton.c (main): Pass RES parameter
63848 to TIMING_INIT and multiply result by 1000.
92c3af3c 63849
edf66db1 638502013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 63851
edf66db1 63852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 63853
edf66db1 638542013-09-11 Andreas Schwab <schwab@suse.de>
92c3af3c 63855
edf66db1
SP
63856 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63857 if not defined.
63858 (O_TMPFILE) [__USE_GNU]: Define.
63859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63860 Define.
92c3af3c 63861
edf66db1
SP
638622013-09-11 Will Newton <will.newton@linaro.org>
63863
63864 [BZ #15857]
63865 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63866 does not overflow.
63867
638682013-09-11 Will Newton <will.newton@linaro.org>
63869
63870 [BZ #15856]
63871 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63872 does not overflow.
63873
638742013-09-11 Will Newton <will.newton@linaro.org>
63875
63876 [BZ #15855]
63877 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63878 does not overflow.
63879
638802013-09-10 Ondřej Bílka <neleai@seznam.cz>
63881
63882 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63883 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63884 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63885 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63886 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63887
638882013-09-10 Allan McRae <allan@archlinux.org>
63889
63890 [BZ #15748]
63891 * manual/arith.texi (Parsing of Floats): Clarify
63892 cross-reference.
63893
63894 [BZ #15849]
63895 * manual/install.texi (Running make install): Mention
63896 --enable-pt-chown.
63897 * INSTALL: Regenerated.
63898
638992013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63900
63901 * csu/init-first.c (_init): Remove the !SHARED condition around
63902 FPU control word initialization.
63903 * elf/dl-support.c (_dl_fpu_control): New variable.
63904 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63905 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63906 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63907 * math/test-fpucw-static.c: New file.
63908 * math/test-fpucw-ieee.c: New file.
63909 * math/test-fpucw-ieee-static.c: New file.
63910 * math/Makefile (tests): Add `test-fpucw-ieee' and
63911 `$(tests-static)'.
63912 (tests-static): New variable.
63913 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63914 dependency to...
63915 [($(build-shared),yes)]
63916 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63917 ... this.
63918 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63919 New dependency.
63920
639212013-09-09 Allan McRae <allan@archlinux.org>
63922
63923 [BZ #15939]
63924 * manual/string.texi (Collation Functions): Fix typo in
63925 strcoll example.
63926 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63927
63928 [BZ #15893]
63929 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63930
63931 [BZ #15892]
63932 * libio/memstream.c (open_memstream): Fix memory leak.
63933 * libio/wmemstream.c (open_wmemstream): Likewise.
92c3af3c 63934
edf66db1
SP
63935 [BZ #15895]
63936 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63937
639382013-09-09 Will Newton <will.newton@linaro.org>
63939
63940 * malloc/Makefile: Add tst-realloc to tests.
63941 * malloc/tst-realloc.c: New file.
63942
639432013-09-09 Allan McRae <allan@archlinux.org>
63944
63945 [BZ #15844]
63946 * COPYING: Update from GNU website to fix FSF address.
63947 * COPYING.LIB: Likewise.
63948
639492013-09-06 David S. Miller <davem@davemloft.net>
63950
63951 * po/zh_TW.po: Update Chinese (traditional) translation from
63952 translation project.
63953
639542013-09-06 Richard Sandiford <richard@codesourcery.com>
63955 Joseph Myers <joseph@codesourcery.com>
63956
63957 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63958 "localeinfo.h".
63959 (obstack_chunk_alloc): New macro.
63960 (obstack_chunk_free): Likewise.
63961 (record_offset): New function.
63962 (init_locale_data): Likewise.
63963 (align_locale_data): Likewise.
63964 (add_locale_empty): Likewise.
63965 (add_locale_raw_data): Likewise.
63966 (add_locale_raw_obstack): Likewise.
63967 (add_locale_string): Likewise.
63968 (add_locale_wstring): Likewise.
63969 (add_locale_uint32): Likewise.
63970 (add_locale_uint32_array): Likewise.
63971 (add_locale_char): Likewise.
63972 (start_locale_structure): Likewise.
63973 (end_locale_structure): Likewise.
63974 (start_locale_prelude): Likewise.
63975 (end_locale_prelude): Likewise.
63976 (write_locale_data): Take locale_file structure rather than an
63977 iovec.
63978 * locale/programs/locfile.h: Include "obstack.h".
63979 (struct locale_file): Change to store locale file contents instead
63980 of header.
63981 (init_locale_data): New prototype.
63982 (align_locale_data): Likewise.
63983 (add_locale_empty): Likewise.
63984 (add_locale_raw_data): Likewise.
63985 (add_locale_raw_obstack): Likewise.
63986 (add_locale_string): Likewise.
63987 (add_locale_wstring): Likewise.
63988 (add_locale_uint32): Likewise.
63989 (add_locale_uint32_array): Likewise.
63990 (add_locale_char): Likewise.
63991 (start_locale_structure): Likewise.
63992 (end_locale_structure): Likewise.
63993 (start_locale_prelude): Likewise.
63994 (end_locale_prelude): Likewise.
63995 (write_locale_data): Update prototype.
63996 * locale/programs/3level.h (struct TABLE): Remove result field.
63997 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63998 Use new locale_file interface.
63999 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
64000 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
64001 * locale/programs/ld-address.c (address_output): Use new
64002 locale_file interface.
64003 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
64004 NO_ADD_LOCALE.
64005 (collate_finish): Don't call collseq_table_finalize.
64006 (collate_output): Use new locale_file interface.
64007 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
64008 in file.
64009 (NO_FINALIZE): Change to NO_ADD_LOCALE.
64010 (TABLE): Move defines earlier in file.
64011 (ELEMENT): Likewise.
64012 (DEFAULT): Likewise.
64013 (wctrans_table_add): Move macro and inline function earlier in
64014 file.
64015 (struct wctype_table): Move type earlier in file.
64016 (add_locale_wctype_table): New static prototype.
64017 (struct locale_ctype_t): Use logical types instead of struct iovec
64018 pointers for members.
64019 (ctype_output): Use new locale_file interface.
64020 (wctype_table_finalize): Change to add_locale_wctype_table. Use
64021 new locale_file interface.
64022 (allocate_arrays): Update for use of new locale_file interface.
64023 * locale/programs/ld-identification.c (identification_output): Use
64024 new locale_file interface.
64025 * locale/programs/ld-measurement.c (measurement_output): Likewise.
64026 * locale/programs/ld-messages.c (messages_output): Likewise.
64027 * locale/programs/ld-monetary.c (monetary_output): Likewise.
64028 * locale/programs/ld-name.c (name_output): Likewise.
64029 * locale/programs/ld-numeric.c (numeric_output): Likewise.
64030 * locale/programs/ld-paper.c (paper_output): Likewise.
64031 * locale/programs/ld-telephone.c (telephone_output): Likewise.
64032 * locale/programs/ld-time.c (time_output): Likewise.
64033
640342013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64035
64036 * benchtests/Makefile: Add memrchr benchmark.
64037 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
64038 benchmark as memrchr.
64039 * benchtests/bench-memrchr-ifunc.c: New file.
64040 * benchtests/bench-memrchr.c: New file.
64041
640422013-09-06 Will Newton <will.newton@linaro.org>
64043
64044 * benchtests/Makefile (string-bench): Add memcpy.
64045
640462013-09-05 Carlos O'Donell <carlos@redhat.com>
64047 Cong Wang <amwang@redhat.com>
64048
64049 [BZ #15850]
64050 * sysdeps/unix/sysv/linux/bits/in.h
64051 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
64052 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
64053 before __USE_KERNEL_IPV6_DEFS uses.
64054 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
64055 IPPROTO_BEETPH.
64056 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
64057 sockaddr_in6, or ipv6_mreq.
64058
640592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64060
64061 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
64062 memory access for final bytes in some large inputs.
64063 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
64064
640652013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64066
64067 * string/test-memrchr.c: New file.
64068 * string/test-memrchr-ifunc.c: New file.
64069 * string/Makefile: Add new memrchr testcase.
64070
640712013-09-05 Mike Frysinger <vapier@gentoo.org>
64072
64073 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
64074 fanotify_init returns EPERM.
64075
640762013-09-04 Joseph Myers <joseph@codesourcery.com>
64077
64078 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
64079 errors.
64080 (top level): Treat second token from macro or constant entries for
64081 allowed headers as allowed.
64082 * include/complex.h: Condition internal declarations on
64083 [!_ISOMAC].
64084 * include/fenv.h: Condition include of <stdbool.h> and internal
64085 declarations on [!_ISOMAC].
64086
640872013-09-04 Chris Leonard <cjl@sugarlabs,.org>
64088
64089 [BZ #15923]
64090 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
64091
640922013-09-04 Joseph Myers <joseph@codesourcery.com>
64093
64094 * configure.in (--enable-versioning): Remove configure option.
64095 (libc_cv_asm_symver_directive): Remove configure test.
64096 (libc_cv_ld_version_script_option): Likewise.
64097 (VERSIONING): Remove variable and AC_SUBST.
64098 (DO_VERSIONING): Remove AC_DEFINE.
64099 * configure: Regenerated.
64100 * config.h.in (DO_VERSIONING): Remove macro.
64101 * Makerules [$(versioning) = yes]: Change conditionals to
64102 [$(build-shared) = yes].
64103 * config.make.in (versioning): Remove variable.
64104 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
64105 [$(build-shared) = yes].
64106 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
64107 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
64108 * elf/Makefile [$(versioning) = yes]: Change conditionals to
64109 [$(build-shared) = yes].
64110 * extra-lib.mk [$(versioning) = yes]: Likewise.
64111 * hurd/Makefile [$(versioning) = yes]: Likewise.
64112 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
64113 [SHARED].
64114 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
64115 [SHARED].
64116 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64117 [SHARED && !NO_HIDDEN].
64118 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
64119 [SHARED].
64120 [SHARED && DO_VERSIONING]: Likewise..
64121 * libio/Makefile [$(versioning) = yes]: Change conditionals to
64122 [$(build-shared) = yes].
64123 * manual/install.texi (--disable-versioning): Remove
64124 documentation.
64125 * INSTALL: Regenerated.
64126 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
64127 to [SHARED].
64128 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
64129 [$(build-shared) = yes].
64130 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
64131 * sysdeps/i386/i686/multiarch/strstr-c.c
64132 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64133 [SHARED && !NO_HIDDEN].
64134 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
64135 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
64136 * sysdeps/powerpc/powerpc32/dl-machine.c
64137 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
64138 * sysdeps/powerpc/powerpc32/sysdep.h
64139 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
64140 to [SHARED && PIC && !NO_HIDDEN].
64141 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
64142 conditional to [SHARED].
64143
641442013-09-04 Will Newton <will.newton@linaro.org>
64145
64146 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
64147 * benchtests/bench-string.h: Include bench-timing.h instead
64148 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
64149 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
64150 call to HP_TIMING_DIFF_INIT.
64151 * benchtests/bench-memccpy.c: Use bench-timing.h macros
64152 instead of hp-timing.h macros.
64153 * benchtests/bench-memchr.c: Likewise.
64154 * benchtests/bench-memcmp.c: Likewise.
64155 * benchtests/bench-memcpy.c: Likewise.
64156 * benchtests/bench-memmem.c: Likewise.
64157 * benchtests/bench-memmove.c: Likewise.
64158 * benchtests/bench-memset.c: Likewise.
64159 * benchtests/bench-rawmemchr.c: Likewise.
64160 * benchtests/bench-strcasecmp.c: Likewise.
64161 * benchtests/bench-strcasestr.c: Likewise.
64162 * benchtests/bench-strcat.c: Likewise.
64163 * benchtests/bench-strchr.c: Likewise.
64164 * benchtests/bench-strcmp.c: Likewise.
64165 * benchtests/bench-strcpy.c: Likewise.
64166 * benchtests/bench-strcpy_chk.c: Likewise.
64167 * benchtests/bench-strlen.c: Likewise.
64168 * benchtests/bench-strncasecmp.c: Likewise.
64169 * benchtests/bench-strncat.c: Likewise.
64170 * benchtests/bench-strncmp.c: Likewise.
64171 * benchtests/bench-strncpy.c: Likewise.
64172 * benchtests/bench-strnlen.c: Likewise.
64173 * benchtests/bench-strpbrk.c: Likewise.
64174 * benchtests/bench-strrchr.c: Likewise.
64175 * benchtests/bench-strspn.c: Likewise.
64176 * benchtests/bench-strstr.c: Likewise.
64177
641782013-09-04 Will Newton <will.newton@linaro.org>
64179
64180 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
64181
641822013-09-03 Joseph Myers <joseph@codesourcery.com>
64183
64184 [BZ #15427]
64185 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64186 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64187 * math/libm-test.inc (lgamma_test_data): Add more tests.
64188 * sysdeps/i386/fpu/libm-test-ulps: Update.
64189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64190
641912013-09-03 Ondřej Bílka <neleai@seznam.cz>
64192
64193 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64195 Add ifunc.
64196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64197 Add strcmp-sse2-unaligned
64198 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64199
642002013-09-02 Mike Frysinger <vapier@gentoo.org>
64201
64202 * Versions.def (libc): Add GLIBC_2.19.
64203
642042013-09-02 Mike Frysinger <vapier@gentoo.org>
64205
64206 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64207 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64208
642092013-09-02 Joseph Myers <joseph@codesourcery.com>
64210
64211 [BZ #14155]
64212 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64213 intermediate calculations in recurrence.
64214 (__ieee754_ynf): Likewise.
64215 * math/libm-test.inc (jn_test_data): Do not allow spurious
64216 underflow exception. Add more tests.
64217 (yn_test_data): Add more tests.
64218 * sysdeps/i386/fpu/libm-test-ulps: Update.
64219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64220
642212013-09-02 Ondřej Bílka <neleai@seznam.cz>
64222
64223 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64224
642252013-08-30 Ondřej Bílka <neleai@seznam.cz>
64226
64227 * csu/init-first.c: Fix then/than typos.
64228 * locale/programs/ld-collate.c: Likewise.
64229 * locale/programs/linereader.h: Likewise.
64230 * manual/charset.texi: Likewise.
64231 * manual/filesys.texi: Likewise.
64232 * manual/stdio.texi: Likewise.
64233 * manual/string.texi: Likewise.
64234 * stdlib/fmtmsg.c: Likewise.
64235 * sysdeps/i386/stpncpy.S: Likewise.
64236 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64237 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64238 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64239 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
92c3af3c 64240
edf66db1 642412013-08-30 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 64242
edf66db1
SP
64243 * elf/dl-open.c: Fix typos.
64244 * iconvdata/gbbig5.c: Likewise.
64245 * iconvdata/iso-2022-jp.c: Likewise.
64246 * iconv/gconv_int.h: Likewise.
64247 * iconv/loop.c: Likewise.
64248 * nis/rpcsvc/nis.h: Likewise.
64249 * resolv/ns_name.c: Likewise.
64250 * stdio-common/vfscanf.c: Likewise.
64251 * streams/stropts.h: Likewise.
64252 * sunrpc/rpc_thread.c: Likewise.
64253 * sysdeps/i386/strpbrk.S: Likewise.
64254 * sysdeps/ieee754/k_standard.c: Likewise.
64255 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64256 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64257 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64258 * sysdeps/mach/hurd/profil.c: Likewise.
64259 * sysdeps/s390/dl-procinfo.h: Likewise.
64260 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64261 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64262 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64263 * sysdeps/x86_64/dl-trampoline.S: Likewise.
64264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
92c3af3c 64265
edf66db1 642662013-08-30 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 64267
edf66db1
SP
64268 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
92c3af3c 64270
edf66db1 642712013-08-29 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 64272
edf66db1
SP
64273 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64274 aix specific files.
64275 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64276 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64277 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64278 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64279 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64280 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64281 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64282 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
92c3af3c 64283
edf66db1
SP
642842013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64285 Roland McGrath <roland@hack.frob.com>
92c3af3c 64286
edf66db1
SP
64287 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64288 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
92c3af3c 64289
edf66db1 642902013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 64291
edf66db1
SP
64292 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64293 __executable_start symbol instead of _start.
92c3af3c 64294
edf66db1 642952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 64296
edf66db1
SP
64297 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64298 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64299 Move macros to...
64300 * sysdeps/gnu/ldsodefs.h: ... this new file.
92c3af3c 64301
edf66db1
SP
64302 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64303 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64304 instead of ELFOSABI_LINUX.
92c3af3c 64305
edf66db1
SP
64306 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64307 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64308 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64309 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64310 Likewise.
64311 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64312 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64313 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64314 Likewise.
64315 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64316 (ibm_extended_long_double): Add ieee_nan member.
64317 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64318 (do_test): New function.
64319
64320 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64321 TEST_TRUNC.
64322 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64323 functions, renamed from truncdfsf_test, trunctfsf_test,
64324 trunctfdf_test.
64325 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64326 functions.
64327 (do_test): Run all these.
92c3af3c 64328
edf66db1 643292013-08-29 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 64330
edf66db1
SP
64331 * argp/argp-help.c: Fix typos.
64332 * argp/argp-parse.c: Likewise.
64333 * debug/backtracesyms.c: Likewise.
64334 * elf/elf.h: Likewise.
64335 * malloc/malloc.c: Likewise.
64336 * nis/nis_print.c: Likewise.
64337 * resolv/res_comp.c: Likewise.
64338 * stdlib/stdlib.h: Likewise.
64339 * sunrpc/clnt_tcp.c: Likewise.
64340 * sunrpc/clnt_udp.c: Likewise.
64341 * sunrpc/clnt_unix.c: Likewise.
64342 * sysdeps/unix/bsd/ptsname.c: Likewise.
64343 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64344 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64346 Likewise.
64347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64348 Likewise.
64349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64350 Likewise.
64351 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
92c3af3c 64352
edf66db1 643532013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 64354
edf66db1
SP
64355 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92c3af3c 64357
edf66db1 643582013-08-27 Mike Frysinger <vapier@gentoo.org>
92c3af3c 64359
edf66db1
SP
64360 [BZ #15897]
64361 * dlfcn/Makefile (tests): Add bug-dl-leaf.
64362 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64363 ($(objpfx)bug-dl-leaf): New rule.
64364 ($(objpfx)bug-dl-leaf.so): Likewise.
64365 ($(objpfx)bug-dl-leaf.out): Likewise.
64366 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64367 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64368 * dlfcn/bug-dl-leaf.c: New test.
64369 * dlfcn/bug-dl-leaf-lib.c: Likewise.
64370 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64371 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64372 (dlclose): Likewise.
64373 (dlmopen): Likewise.
92c3af3c 64374
edf66db1 643752013-08-27 Roland McGrath <roland@hack.frob.com>
92c3af3c 64376
edf66db1
SP
64377 * include/netdb.h [!_ISOMAC]:
64378 Don't include <tls.h>.
64379 (h_errno, __libc_h_errno): Move declaration and macros out of
64380 [_LIBC_REENTRANT].
92c3af3c 64381
edf66db1
SP
64382 * include/resolv.h [_RESOLV_H_]:
64383 Don't include <tls.h>.
64384 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64385 * resolv/res_libc.c: Don't include <tls.h>.
64386 (_res): Use __attribute__ ((nocommon)) in place of
64387 __attribute__ ((section (".bss"))).
92c3af3c 64388
edf66db1
SP
64389 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64390 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
92c3af3c 64391
edf66db1 64392 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
92c3af3c 64393
edf66db1
SP
64394 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64395 only under [SIOCGIFCONF && SIOCGIFNETMASK].
92c3af3c 64396
edf66db1 64397 * resolv/res_mkquery.c: Include <sys/time.h>.
92c3af3c 64398
edf66db1
SP
64399 * inet/ifreq.c: Moved to ...
64400 * sysdeps/unix/ifreq.c: ... here.
64401 * inet/ifreq.c: New file, true stub version.
92c3af3c 64402
edf66db1
SP
64403 * socket/sa_len.c: New file.
64404 * socket/Makefile (aux): Add it.
64405 * sysdeps/unix/sysv/linux/Makefile
64406 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64407 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64408 and #include <socket/sa_len.c>.
64409 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64410 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
92c3af3c 64411
edf66db1
SP
64412 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64413 * bits/socket.h: ... here.
92c3af3c 64414
edf66db1
SP
64415 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64416 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64417 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
92c3af3c 64418
edf66db1 644192013-08-27 Andreas Schwab <schwab@suse.de>
92c3af3c 64420
edf66db1
SP
64421 [BZ #15736]
64422 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64423 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64424 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64425 * string/test-strcasecmp.c (test_main): Run tests in several
64426 locales.
64427 * string/test-strncasecmp.c (test_main): Likewise.
92c3af3c 64428
edf66db1
SP
64429 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64430 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64431 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64433 (__strncasecmp_ssse3) [PIC]: Likewise.
92c3af3c 64434
edf66db1 644352013-08-26 Roland McGrath <roland@hack.frob.com>
92c3af3c 64436
edf66db1 64437 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
92c3af3c 64438
edf66db1
SP
64439 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64440 instead of explicitly declaring xdecrypt.
64441 * nis/nss_nis/nis-publickey.c: Likewise.
92c3af3c 64442
edf66db1 644432013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 64444
edf66db1
SP
64445 [BZ #15890]
64446 * nscd/aicache.c: Include res_hconf.h.
64447 (addhstaiX): Initialize res_hconf.
92c3af3c 64448
edf66db1 644492013-08-26 Andreas Schwab <schwab@suse.de>
92c3af3c 64450
edf66db1
SP
64451 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64452 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
92c3af3c 64453
edf66db1 644542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 64455
edf66db1 64456 * nscd/aicache.c (addhstaiX): Fix indentation.
92c3af3c 64457
edf66db1 644582013-08-25 Mike Frysinger <vapier@gentoo.org>
92c3af3c 64459
edf66db1
SP
64460 * configure.ac: Quote $build_pt_chown test.
64461 * configure: Regenerated.
92c3af3c 64462
edf66db1 644632013-08-23 Joseph Myers <joseph@codesourcery.com>
92c3af3c 64464
edf66db1
SP
64465 [BZ #15532]
64466 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64467 * math/s_cexpf.c (__cexpf): Likewise.
64468 * math/s_cexpl.c (__cexpl): Likewise.
64469 * math/libm-test.inc (cexp_test_data): Correct expected return
64470 value for NaN + i0. Add another test.
92c3af3c 64471
edf66db1 644722013-08-22 David S. Miller <davem@davemloft.net>
92c3af3c 64473
edf66db1
SP
64474 * po/ca.po: Update Catalan translation from translation project.
64475 * po/uk.po: Add Ukrainian translations from translation project.
92c3af3c 64476
edf66db1 644772013-08-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 64478
edf66db1
SP
64479 [BZ #15797]
64480 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64481 is infinite, not alongside NaN test.
64482 * math/s_fdimf.c (__fdimf): Likewise.
64483 * math/s_fdiml.c (__fdiml): Likewise.
64484 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64485 errno is unchanged.
92c3af3c 64486
edf66db1 644872013-08-21 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 64488
edf66db1
SP
64489 * argp/argp-help.c: Fix typos.
64490 * crypt/speeds.c: Likewise.
64491 * csu/check_fds.c: Likewise.
64492 * elf/dl-load.c: Likewise.
64493 * elf/dl-open.c: Likewise.
64494 * elf/reldep3.c: Likewise.
64495 * elf/reldep.c: Likewise.
64496 * elf/sprof.c: Likewise.
64497 * iconv/iconv_charmap.c: Likewise.
64498 * iconv/skeleton.c: Likewise.
64499 * iconv/strtab.c: Likewise.
64500 * io/lockf64.c: Likewise.
64501 * libio/libioP.h: Likewise.
64502 * resolv/gai_notify.c: Likewise.
64503 * resolv/ns_name.c: Likewise.
64504 * resolv/ns_samedomain.c: Likewise.
64505 * resolv/res_send.c: Likewise.
64506 * stdlib/random.c: Likewise.
64507 * sunrpc/rpc/xdr.h: Likewise.
64508 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64509 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64510 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64511 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64512 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64513 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64515 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64516 * sysdeps/mach/hurd/check_fds.c: Likewise.
64517 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64518 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64519 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64520 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64521 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64522 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64523 * sysdeps/pthread/aio_notify.c: Likewise.
64524 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64525 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64526 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64527 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64528 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64529
645302013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64531
64532 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64533 version if bit_Slow_SSE4_2 is set.
64534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64535 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64536
645372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64538
64539 [BZ #15867]
64540 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64541 trampoline stack frame information.
64542 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64543 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64544 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64545 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64546 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64547 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64548 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64549 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64550 sa_flags value.
64551 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64552 interrupting a syscall and set with option SA_SIGINFO.
64553
645542013-08-20 Joseph Myers <joseph@codesourcery.com>
64555
64556 [BZ #15531]
64557 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64558 argument is infinite.
64559 * math/s_cprojf.c (__cprojf): Likewise.
64560 * math/s_cprojl.c (__cprojl): Likewise.
64561 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64562 * math/libm-test.inc (cproj_test_data): Add more tests.
92c3af3c 64563
edf66db1 64564 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
92c3af3c 64565
edf66db1
SP
64566 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64567 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64568 size. Use __ffs to determine corresponding shift.
92c3af3c 64569
edf66db1
SP
645702013-08-20 Joseph Myers <joseph@codesourcery.com>
64571 Roland McGrath <roland@hack.frob.com>
92c3af3c 64572
edf66db1
SP
64573 * Makefile (INSTALL): Remove trailing blank lines from output of
64574 makeinfo.
92c3af3c 64575
edf66db1 645762013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 64577
edf66db1
SP
64578 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64579 Align 32 bit compat elf_greg to 8 bytes.
92c3af3c 64580
edf66db1 645812013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
92c3af3c 64582
edf66db1 64583 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
92c3af3c 64584
edf66db1 645852013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 64586
edf66db1
SP
64587 * string/strcoll_l.c (coll_seq): New structure.
64588 (get_next_seq_cached): New function.
64589 (get_next_seq): New function.
64590 (do_compare): New function.
64591 (STRCOLL): Use GNU style definition. Simplify implementation
64592 by using get_next_seq, get_next_seq_cached and do_compare.
92c3af3c 64593
edf66db1 645942013-08-16 Florian Weimer <fweimer@redhat.com>
92c3af3c 64595
edf66db1
SP
64596 [BZ #14699]
64597 CVE-2013-4237
64598 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64599 member.
64600 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64601 member.
64602 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64603 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64604 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64605 conditional.
64606 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64607 GETDENTS_64BIT_ALIGNED.
64608 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64609 * manual/filesys.texi (Reading/Closing Directory): Document
64610 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64611 strongly.
64612 * manual/conf.texi (Limits for Files): Add portability note to
64613 NAME_MAX, PATH_MAX.
64614 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
92c3af3c 64615
edf66db1 646162013-08-13 Andreas Schwab <schwab@suse.de>
92c3af3c 64617
edf66db1
SP
64618 [BZ #15749]
64619 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64620 of fabs.
64621 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64622 LDBL_MAX_EXP >= 16384]: Add tests for it.
92c3af3c 64623
edf66db1 646242013-08-12 David S. Miller <davem@davemloft.net>
92c3af3c 64625
edf66db1
SP
64626 * version.h (RELEASE): Set to "development".
64627 (VERSION): Set to "2.18.90".
64628 * NEWS: Add 2.19 section.
92c3af3c 64629
edf66db1 646302013-08-03 David S. Miller <davem@davemloft.net>
92c3af3c 64631
edf66db1 64632 * po/ko.po: Update Korean translation from translation project.
92c3af3c 64633
edf66db1 646342013-08-01 David S. Miller <davem@davemloft.net>
92c3af3c 64635
edf66db1
SP
64636 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64637 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64638 Bilka.
92c3af3c 64639
edf66db1 646402013-07-30 David S. Miller <davem@davemloft.net>
92c3af3c 64641
edf66db1 64642 * po/fr.po: Update French translation from translation project.
92c3af3c 64643
edf66db1 646442013-07-28 David S. Miller <davem@davemloft.net>
92c3af3c 64645
edf66db1 64646 * po/cs.po: Update Czech translation from translation project.
92c3af3c 64647
edf66db1 64648 * po/sv.po: Update Swedish translation from translation project.
92c3af3c 64649
edf66db1 646502013-07-27 David S. Miller <davem@davemloft.net>
92c3af3c 64651
edf66db1 64652 * po/eo.po: Update Esperanto translation from translation project.
92c3af3c 64653
edf66db1 64654 * po/vi.po: Update Vietnamese translation from translation project.
92c3af3c 64655
edf66db1 64656 * po/de.po: Update German translation from translation project.
92c3af3c 64657
edf66db1 646582013-07-26 David S. Miller <davem@davemloft.net>
92c3af3c 64659
edf66db1 64660 * po/bg.po: Update Bulgarian translation from translation project.
92c3af3c 64661
edf66db1
SP
64662 * po/nl.po: Update Dutch translation from translation project.
64663 * po/pl.po: Update Polish translation from translation project.
64664 * po/ru.po: Update Russian translation from translation project.
92c3af3c 64665
edf66db1 646662013-07-24 David S. Miller <davem@davemloft.net>
92c3af3c 64667
edf66db1 64668 * po/libc.pot: Update.
92c3af3c 64669
edf66db1 646702013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 64671
edf66db1
SP
64672 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64673 variable page size.
64674 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64675 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64676 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
92c3af3c 64677
edf66db1 646782013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 64679
edf66db1 64680 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
92c3af3c 64681
edf66db1
SP
646822013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64683 Andreas Schwab <schwab@suse.de>
64684 Roland McGrath <roland@hack.frob.com>
64685 Joseph Myers <joseph@codesourcery.com>
64686 Carlos O'Donell <carlos@redhat.com>
92c3af3c 64687
edf66db1
SP
64688 [BZ #15755]
64689 * config.h.in: Define HAVE_PT_CHOWN.
64690 * config.make.in (build-pt-chown): New variable.
64691 * configure.in (--enable-pt_chown): New configure option.
64692 * configure: Regenerate.
64693 * login/Makefile: Include Makeconfig. Build pt_chown only if
64694 build-pt-chown is enabled.
64695 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64696 pt_chown to fix pty ownership.
64697 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64698 CLOSE_ALL_FDS.
64699 * manual/install.texi (Configuring and compiling): Mention
64700 --enable-pt_chown. Add @findex for grantpt.
64701 * INSTALL: Regenerate.
92c3af3c 64702
edf66db1 647032013-07-20 David S. Miller <davem@davemloft.net>
92c3af3c 64704
edf66db1
SP
64705 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64706 difference between 32-bit and 64-bit.
92c3af3c 64707
edf66db1 647082013-07-15 Carlos O'Donell <carlos@redhat.com>
92c3af3c 64709
edf66db1
SP
64710 [BZ #15711]
64711 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64712 Avoid system header dependency with -ffreestanding.
64713 ($(objpfx)bits/syscall%d): Likewise.
92c3af3c 64714
edf66db1 647152013-07-13 David S. Miller <davem@davemloft.net>
92c3af3c 64716
edf66db1
SP
64717 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64718 underflows from atanl/atan2l due to bug 15319.
64719 (casinh_test_data): Likewise.
92c3af3c 64720
edf66db1 647212013-07-07 David S. Miller <davem@davemloft.net>
92c3af3c 64722
edf66db1 64723 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
92c3af3c 64724
edf66db1 647252013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
92c3af3c 64726
edf66db1
SP
64727 * sysdeps/i386/fpu/libm-test-ulps: Update.
64728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 64729
edf66db1 647302013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 64731
edf66db1
SP
64732 * configure.in (--enable-lock-elision): Fix message text.
64733 * INSTALL: Regenerate.
64734 * configure: Regenerate.
92c3af3c 64735
edf66db1 647362013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 64737
edf66db1 64738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 64739
edf66db1 647402013-07-03 Andreas Jaeger <aj@suse.de>
92c3af3c 64741
edf66db1
SP
64742 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64743 define.
64744 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64745 (ptrace_peeksiginfo_args): Add.
64746 (__ptrace_peeksiginfo_flags): Add.
64747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64749 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92c3af3c 64750
edf66db1
SP
647512013-07-03 Allan McRae <allan@archlinux.org>
64752
64753 * sysdeps/i386/fpu/libm-test-ulps: Update.
64754
647552013-07-02 David S. Miller <davem@davemloft.net>
64756
64757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64758
647592013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64760
64761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64762
647632013-07-02 Joseph Myers <joseph@codesourcery.com>
64764
64765 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64767
647682013-07-02 Andi Kleen <ak@linux.intel.com>
64769
64770 * config.h.in (ENABLE_LOCK_ELISION): Add.
64771 * configure.in (--enable-lock-elision): Add option.
64772 * manual/install.texi: Document --enable lock elision.
64773 * configure: Regenerate
64774 * INSTALL: Regenerate.
64775
647762013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64777
64778 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64779 SSE4.2 strcasecmp for libc.a.
64780 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64781
647822013-07-02 Joseph Myers <joseph@codesourcery.com>
64783
64784 [BZ #13304]
64785 * soft-fp/op-common.h (_FP_FMA): New macro.
64786 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64787 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64788 (_FP_MUL_MEAT_1_imm): ... here.
64789 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64790 (_FP_MUL_MEAT_1_wide): ... here.
64791 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64792 (_FP_MUL_MEAT_1_hard): ... here.
64793 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64794 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64795 (_FP_MUL_MEAT_2_wide): ... here.
64796 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64797 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64798 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64799 (_FP_MUL_MEAT_2_gmp): ... here.
64800 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64801 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64802 (_FP_MUL_MEAT_4_wide): ... here.
64803 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64804 (_FP_MUL_MEAT_4_gmp): ... here.
64805 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64806 (_FP_WFRACBITS_DW_S): Likewise.
64807 (_FP_WFRACXBITS_DW_S): Likewise.
64808 (_FP_HIGHBIT_DW_S): Likewise.
64809 (FP_FMA_S): Likewise.
64810 (_FP_FRAC_HIGH_DW_S): Likewise.
64811 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64812 (_FP_WFRACBITS_DW_D): Likewise.
64813 (_FP_WFRACXBITS_DW_D): Likewise.
64814 (_FP_HIGHBIT_DW_D): Likewise.
64815 (FP_FMA_D): Likewise.
64816 (_FP_FRAC_HIGH_DW_D): Likewise.
64817 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64818 (_FP_WFRACBITS_DW_E): Likewise.
64819 (_FP_WFRACXBITS_DW_E): Likewise.
64820 (_FP_HIGHBIT_DW_E): Likewise.
64821 (FP_FMA_E): Likewise.
64822 (_FP_FRAC_HIGH_DW_E): Likewise.
64823 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64824 (_FP_WFRACBITS_DW_Q): Likewise.
64825 (_FP_WFRACXBITS_DW_Q): Likewise.
64826 (_FP_HIGHBIT_DW_Q): Likewise.
64827 (FP_FMA_Q): Likewise.
64828 (_FP_FRAC_HIGH_DW_Q): Likewise.
64829 * soft-fp/fmasf4.c: New file.
64830 * soft-fp/fmadf4.c: Likewise.
64831 * soft-fp/fmatf4.c: Likewise.
64832
648332013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64834
64835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64836 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64837 Silvermont.
64838 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64839 macro.
64840 (index_Slow_SSE4_2): Likewise.
64841 (index_Prefer_PMINUB_for_stringop): Likewise.
64842 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64843 bit_Slow_SSE4_2 is set.
64844 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64845 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92c3af3c 64846
edf66db1
SP
648472013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64848
64849 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64850 rtld_global._dl_hwcap2.
64851 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64852 POWER8.
64853 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64854 POWER8 feature descriptions defined in _dl_hwcap2.
64855 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64856 string handling for POWER8 feature bits.
64857 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64858 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64859 _dl_powerpc_cap_flags.
64860 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64861 * sysdeps/powerpc/rtld-global-offsets.sym
64862 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64863 _dl_hwcap2 in the rtld_global_ro structure.
64864
648652013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64866
64867 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64868 hardware capabilities in support of AT_HWCAP2.
64869 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64870 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64871 GLRO(dl_hwcap2).
64872 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64873 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64874 explicitly the unknown a_type display mechanism is used.
64875 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64876 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64877 struct member.
64878 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64879 to macro prototype for AT_HWCAP2 support.
64880 * sysdeps/i386/dl-procinfo.h: Likewise.
64881 * sysdeps/s390/dl-procinfo.h: Likewise.
64882 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64883 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64884 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64885 return -1 for unknown a_type display fallback.
64886 * sysdeps/sparc/dl-procinfo.h: Likewise.
64887 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64888 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64889
648902013-06-28 Joseph Myers <joseph@codesourcery.com>
64891
64892 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64893 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64894
648952013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64896
64897 [BZ #12492]
64898 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64899 mprotect making __stack_prot writable.
64900
649012013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64902 Joseph Myers <joseph@codesourcery.com>
64903
64904 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64905 as being properly aligned.
64906
649072013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64908
64909 * dlfcn/modstatic5.c: New file.
64910 * dlfcn/tststatic5.c: New file.
64911 * dlfcn/Makefile (tests): Add tststatic5.
64912 (tests-static): Likewise.
64913 (modules-names): Add modstatic5.
64914 (tststatic5-ENV): New variable.
64915 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64916
64917 [BZ #15022]
64918 * elf/dl-support.c (_dl_main_map): New variable.
64919 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64920 (_dl_nns, _dl_load_adds): Set to 1.
64921 (_dl_initial_searchlist): Refer to _dl_main_map.
64922 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64923 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64924 call to _dl_get_origin.
64925 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64926 around call_map.
64927 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64928 * dlfcn/modstatic3.c: New file.
64929 * dlfcn/tststatic3.c: New file.
64930 * dlfcn/tststatic4.c: New file.
64931 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64932 (tests-static): Likewise.
64933 (modules-names): Add modstatic3.
64934 (tststatic3-ENV, tststatic4-ENV): New variables.
64935 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64936 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64937
649382013-06-26 Joseph Myers <joseph@codesourcery.com>
64939
64940 * configure.in (CC): Require GCC version 4.4 or later.
64941 * configure: Regenerated.
64942 * manual/install.texi (Tools for Compilation): Update GCC version
64943 requirement.
64944 * INSTALL: Regenerated.
92c3af3c 64945
edf66db1 649462013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92c3af3c 64947
edf66db1
SP
64948 [BZ #15674]
64949 * string/test-memcmp.c (check2): New.
64950 (main): Call check2.
92c3af3c 64951
edf66db1 64952 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
92c3af3c 64953
edf66db1 649542013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
92c3af3c 64955
edf66db1
SP
64956 [BZ #15022]
64957 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64958 over to...
64959 (dl_open_worker) [!SHARED]: ... here.
92c3af3c 64960
edf66db1 649612013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
92c3af3c 64962
edf66db1 64963 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
92c3af3c 64964
edf66db1 649652013-06-25 Richard Henderson <rth@redhat.com>
92c3af3c 64966
edf66db1 64967 * locale/programs/locarchive.c: Include <libc-internal.h>
92c3af3c 64968
edf66db1 649692013-06-25 Joseph Myers <joseph@codesourcery.com>
92c3af3c 64970
edf66db1
SP
64971 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64972 trailing whitespace removed.
92c3af3c 64973
edf66db1 649742013-06-24 Mike Frysinger <vapier@gentoo.org>
92c3af3c 64975
edf66db1
SP
64976 [BZ #10283]
64977 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64978 * locale/programs/locarchive.c: Include libc-mmap.h.
64979 (prepare_address_space): Take two new outputs (the mmap base and len).
64980 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64981 values.
64982 (create_archive): Declare new mmap base and len values for
64983 prepare_address_space, and store the result in ah.
64984 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64985 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64986 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64987 Declare new mmap base and len values for
64988 prepare_address_space, and store the result in new_ah.
64989 (open_archive): Declare new mmap base and len values for
64990 prepare_address_space, and store the result in ah.
64991 (close_archive): If ah->mmap_base is not NULL, use that and
64992 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64993 * sysdeps/generic/libc-mmap.h: New file.
64994
649952013-06-24 Mike Frysinger <vapier@gentoo.org>
64996
64997 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64998 (ALIGN_UP): Likewise.
64999 (PTR_ALIGN_DOWN): Likewise.
65000 (PTR_ALIGN_UP): Likewise.
65001
650022013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65003
65004 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
65005 entry mapped to PPC_PLATFORM_POWER8.
65006 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
65007 POWER8.
65008 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
65009 (_dl_string_platform): Add case for exporting platform position for
65010 POWER8.
65011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
65012 search path to sysdeps/powerpc/powerpc32/power8 directory.
65013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
65014 search path to sysdeps/powerpc/powerpc64/power8 directory.
65015 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
65016 power7 directories.
65017 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
65018 power7 directories.
65019
650202013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
65021
65022 * INSTALL: Regenerate.
65023
65024 * nscd/connections.c (nscd_init): Fix comment.
65025
650262013-06-22 Joseph Myers <joseph@codesourcery.com>
65027
65028 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
65029
65030 [BZ #15667]
65031 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
65032 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
65033
650342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
65035
65036 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
65037 DL_DST_REQ_STATIC.
65038 (DL_DST_REQ_STATIC): Remove macro.
65039
650402013-06-21 Joseph Myers <joseph@codesourcery.com>
65041
65042 [BZ #7006]
65043 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
65044 with a shift of 0 bits.
65045
650462013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
65047
65048 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
65049 $(tststatic-ENV).
65050
650512013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
65052
65053 [BZ #15655]
65054 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
65055
650562013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65057
65058 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
65059 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
65060 accepts -fno-tree-loop-distribute-patterns.
65061 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
65062 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
65063 recursive call.
65064 * string/memset.c (memset): Likewise.
65065 * string/test-memmove.c (simple_memmove): Disable loop transformation
65066 to library calls.
65067 * string/test-memset.c (simple_memset): Likewise.
65068 * benchtests/bench-memmove.c (simple_memmove): Likewise.
65069 * benchtests/bench-memset.c (simple_memset): Likewise.
65070 * configure: Regenerated.
92c3af3c 65071
edf66db1 650722013-06-20 Joseph Myers <joseph@codesourcery.com>
92c3af3c 65073
edf66db1
SP
65074 * math/test-misc.c (main): Ignore fesetround failure when failures
65075 of subsequent rounding tests would be ignored.
92c3af3c 65076
edf66db1
SP
65077 [BZ #15654]
65078 * math/fedisblxcpt.c (fedisableexcept): Return 0.
65079 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
65080 * math/fegetenv.c (__fegetenv): Return 0.
65081 * math/fegetexcept.c (fegetexcept): Return 0.
65082 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
65083 FE_TONEAREST.
65084 * math/feholdexcpt.c (feholdexcept): Return 0.
65085 * math/fesetenv.c (__fesetenv): Return 0.
65086 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
65087 argument FE_TONEAREST.
65088 * math/feupdateenv.c (__feupdateenv): Return 0.
65089 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
92c3af3c 65090
edf66db1 650912013-06-18 Roland McGrath <roland@hack.frob.com>
92c3af3c 65092
edf66db1
SP
65093 * elf/rtld-Rules (rtld-compile-command.S): New variable.
65094 (rtld-compile-command.s, rtld-compile-command.c): New variables.
65095 ($(objpfx)rtld-%.os rules): Use them.
92c3af3c 65096
edf66db1 650972013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 65098
edf66db1
SP
65099 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
65100 fields.
92c3af3c 65101
edf66db1 651022013-06-17 Roland McGrath <roland@hack.frob.com>
92c3af3c 65103
edf66db1
SP
65104 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
65105 length of target pattern, then descending length of dependency pattern.
65106 * configure.in (AWK): Require gawk 3.1.2 or newer.
65107 * manual/install.texi (Tools for Compilation): Say that we do.
65108 * configure: Regenerated.
92c3af3c 65109
edf66db1
SP
65110 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
65111 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
65112 * scripts/sysd-rules.awk: ... this new script.
65113 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
65114 than a glob-style pattern.
92c3af3c 65115
edf66db1 651162013-06-17 Joseph Myers <joseph@codesourcery.com>
92c3af3c 65117
edf66db1
SP
65118 * math/test-misc.c (main): Do not treat incorrectly rounded
65119 conversions as failure unless ROUNDING_TESTS passes.
92c3af3c 65120
edf66db1 651212013-06-15 Joseph Myers <joseph@codesourcery.com>
92c3af3c 65122
edf66db1
SP
65123 [BZ #15631]
65124 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
65125 restore exception state around main square root computation, then
65126 check for inexactness explicitly.
92c3af3c 65127
edf66db1 65128 * math/libm-test.inc (fma_test_data): Add another test.
92c3af3c 65129
edf66db1 651302013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 65131
edf66db1
SP
65132 * manual/threads.texi (Non-POSIX Extensions): New document
65133 node. Document pthread_getattr_default_np and
65134 pthread_setattr_default_np.
92c3af3c 65135
edf66db1
SP
65136 * Versions.def (libpthread): Add GLIBC_2.18.
65137 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
65138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65139 Likewise.
65140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65141 Likewise.
65142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65143 Likewise.
65144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65145 Likewise.
65146 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
65147 Likewise.
65148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65149 Likewise.
65150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65151 Likewise.
65152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65153 Likewise.
65154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65155 Likewise.
92c3af3c 65156
edf66db1
SP
651572013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
65158
65159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65160 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
65161
651622013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
65163 H.J. Lu <hjl.tools@gmail.com>
65164
65165 [BZ #15627]
65166 * sysdeps/x86_64/rtld-memset.c: Remove file.
65167 * sysdeps/x86_64/rtld-memset.S: New file.
65168
651692013-06-14 Joseph Myers <joseph@codesourcery.com>
65170
65171 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
65172 (test_in_one_mode): Take arguments for whether the rounding mode
65173 is supported for each floating-point type.
65174 (do_test): Pass new arguments to test_in_one_mode using
65175 ROUNDING_TESTS.
65176
651772013-06-13 Roland McGrath <roland@hack.frob.com>
65178
65179 * posix/tst-waitid.c (do_test): Distinguish different instances of
65180 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
65181 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
65182 before entering the kernel for waitpid.
65183
651842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65185
65186 * NEWS: Fix note on clock function precision. Text by Roland
65187 McGrath.
65188
651892013-06-13 Roland McGrath <roland@hack.frob.com>
65190
65191 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65192 it into place only when and if the sanity check passes.
65193
651942013-06-13 Joseph Myers <joseph@codesourcery.com>
65195
65196 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65197 output for whether conversion result is exact. Take argument
65198 indicating whether type is IBM long double.
65199 (round_for_all): Change need_exact field to ibm_ld.
65200 * stdlib/tst-strtod-round.c (struct exactness): New type.
65201 (struct test): Change bool ld_ok field to struct exactness exact.
65202 (TEST): Update all definitions for change to field.
65203 (tests): Regenerate array contents.
65204 (test_in_one_mode): Take pointer to new field instead of old ld_ok
65205 field value. Check for IBM long double here.
65206 (do_test): Update calls to test_in_one_mode.
65207
652082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65209
65210 [BZ #12515]
65211 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65212 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65213
652142013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65215
65216 [BZ #15605]
65217 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65218 generated by the compiler on loop optimizations.
65219 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65220 general definitions.
65221
652222013-06-12 Joseph Myers <joseph@codesourcery.com>
65223
65224 * math/bug-nextafter.c: Include <math-tests.h>.
65225 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65226 the relevant type.
65227 * math/bug-nexttoward.c: Include <math-tests.h>.
65228 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65229 the relevant type.
65230 * math/test-misc.c: Include <math-tests.h>.
65231 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65232 the relevant type.
65233
652342013-06-12 Andreas Jaeger <aj@suse.de>
65235
65236 * po/ia.po: Update Interlingua translation from translation
65237 project.
65238
652392013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
65240
65241 * include/fenv.h: Include stdbool.h.
65242 (struct rm_ctx): New structure.
65243 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65244 Define macro.
65245 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65246 (SET_RESTORE_ROUNDF): Likewise.
65247 (SET_RESTORE_ROUNDL): Likewise.
65248 (SET_RESTORE_ROUND_NOEX): Likewise.
65249 (SET_RESTORE_ROUND_NOEXF): Likewise.
65250 (SET_RESTORE_ROUND_NOEXL): Likewise.
65251 (SET_RESTORE_ROUND_53BIT): Likewise.
65252 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65253 (libc_feresetround_noexf_ctx): Likewise.
65254 (libc_feresetround_noexl_ctx): Likewise.
65255 (libc_feholdsetround_53bit_ctx): Likewise.
65256 (libc_feresetround_53bit_ctx): Likewise.
65257 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65258 (libc_feholdexcept_setround_sse_ctx): New function.
65259 (libc_fesetenv_sse_ctx): Likewise.
65260 (libc_feupdateenv_sse_ctx): Likewise.
65261 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65262 (libc_feholdexcept_setround_387_ctx): Likewise.
65263 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65264 (libc_feholdsetround_387_prec_ctx): Likewise.
65265 (libc_feholdsetround_387_ctx): Likewise.
65266 (libc_feholdsetround_387_53bit_ctx): Likewise.
65267 (libc_feholdsetround_sse_ctx): Likewise.
65268 (libc_feresetround_sse_ctx): Likewise.
65269 (libc_feresetround_387_ctx): Likewise.
65270 (libc_feupdateenv_387_ctx): Likewise.
65271 (libc_feholdexcept_setroundf_ctx): Define macro.
65272 (libc_fesetenvf_ctx): Likewise.
65273 (libc_feupdateenvf_ctx): Likewise.
65274 (libc_feholdsetroundf_ctx): Likewise.
65275 (libc_feresetroundf_ctx): Likewise.
65276 (libc_feholdexcept_setround_ctx): Likewise.
65277 (libc_fesetenv_ctx): Likewise.
65278 (libc_feupdateenv_ctx): Likewise.
65279 (libc_feholdsetround_ctx): Likewise.
65280 (libc_feresetround_ctx): Likewise.
65281 (libc_feholdexcept_setroundl_ctx): Likewise.
65282 (libc_feupdateenvl_ctx): Likewise.
65283 (libc_feholdsetroundl_ctx): Likewise.
65284 (libc_feresetroundl_ctx): Likewise.
65285 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65286 (libc_feresetround_53bit_ctx): Likewise.
65287
652882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65289
65290 * locale/iso-639.def: Convert to UTF-8.
65291
652922013-06-11 Joseph Myers <joseph@codesourcery.com>
65293
65294 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65295 (EXCEPTION_TESTS_double): Likewise.
65296 (EXCEPTION_TESTS_long_double): Likewise.
65297 (EXCEPTION_TESTS): Likewise.
65298 * math/libm-test.inc (test_exceptions): Only test exceptions if
65299 EXCEPTION_TESTS (FLOAT).
65300
653012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65302
65303 * benchtests/Makefile (string-bench): Add strcpy_chk and
65304 stpcpy_chk.
65305 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65306 * benchtests/bench-stpcpy_chk.c: New file.
65307 * benchtests/bench-strcpy_chk-ifunc.c: New file.
65308 * benchtests/bench-strcpy_chk.c: New file.
65309 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65310 code.
65311 (do_test): Likewise.
65312
653132013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65314
65315 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65316 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65317 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65318 with tabs where appropriate.
65319 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65320 dl-procinfo.h.
65321 [PPC_PLATFORM_PPC440]: Likewise.
65322 [PPC_PLATFORM_PPC464]: Likewise.
65323 [PPC_PLATFORM_PPC476]: Likewise.
65324 (_dl_string_platform): Add support for detecting ppc405, ppc440,
65325 ppc464, and ppc476 platform strings merging from ports/
65326 dl-procinfo.h.
65327
653282013-06-11 Andreas Schwab <schwab@suse.de>
65329
65330 [BZ #14991]
65331 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65332 (from_ucs4_idx): Regenerate.
65333 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65334 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65335 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65336 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65337 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65338 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65339 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65340 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65341 from FROM_LOOP and TO_LOOP specific macros.
65342 (BODY): Handle combining characters.
65343 * iconvdata/BIG5HKSCS.irreversible: Update.
65344 * iconvdata/BIG5HKSCS.precomposed: New file.
65345 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65346 characters.
65347 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65348
653492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65350
65351 * include/sys/time.h: Fix indentation and add copyright header.
65352
65353 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65354 (do_test): Likewise.
65355 * string/test-memchr.c (do_one_test): Likewise.
65356 (do_test): Likewise.
65357 * string/test-memcmp.c (do_one_test): Likewise.
65358 (do_test): Likewise.
65359 * string/test-memcpy.c (do_one_test): Likewise.
65360 (do_test): Likewise.
65361 * string/test-memmem.c (do_one_test): Likewise.
65362 (do_test): Likewise.
65363 (do_random_tests): Likewise.
65364 * string/test-memmove.c (do_one_test): Likewise.
65365 (do_test): Likewise.
65366 * string/test-memset.c (do_one_test): Likewise.
65367 (do_test): Likewise.
65368 * string/test-rawmemchr.c (do_one_test): Likewise.
65369 (do_test): Likewise.
65370 * string/test-strcasecmp.c (do_one_test): Likewise.
65371 (do_test): Likewise.
65372 * string/test-strcasestr.c (do_one_test): Likewise.
65373 (do_test): Likewise.
65374 * string/test-strcat.c (do_one_test): Likewise.
65375 (do_test): Likewise.
65376 * string/test-strchr.c (do_one_test): Likewise.
65377 (do_test): Likewise.
65378 * string/test-strcmp.c (do_one_test): Likewise.
65379 (do_test): Likewise.
65380 * string/test-strcpy.c (do_one_test): Likewise.
65381 (do_test): Likewise.
65382 * string/test-string.h: Likewise.
65383 (test_init): Likewise.
65384 * string/test-strlen.c (do_one_test): Likewise.
65385 (do_test): Likewise.
65386 * string/test-strncasecmp.c (do_one_test): Likewise.
65387 (do_test): Likewise.
65388 * string/test-strncat.c (do_one_test): Likewise.
65389 (do_test): Likewise.
65390 * string/test-strncmp.c (do_one_test): Likewise.
65391 (do_test_limit): Likewise.
65392 (do_test): Likewise.
65393 * string/test-strncpy.c (do_one_test): Likewise.
65394 (do_test): Likewise.
65395 * string/test-strnlen.c (do_one_test): Likewise.
65396 (do_test): Likewise.
65397 * string/test-strpbrk.c (do_one_test): Likewise.
65398 (do_test): Likewise.
65399 * string/test-strrchr.c (do_one_test): Likewise.
65400 (do_test): Likewise.
65401 * string/test-strspn.c (do_one_test): Likewise.
65402 (do_test): Likewise.
65403 * string/test-strstr.c (do_one_test): Likewise.
65404 (do_test): Likewise.
65405
65406 * benchtests/Makefile (string-bench): Add string benchmarks.
65407 * benchtests/bench-bcopy-ifunc.c: New file.
65408 * benchtests/bench-bcopy.c: New file.
65409 * benchtests/bench-bzero-ifunc.c: New file.
65410 * benchtests/bench-bzero.c: New file.
65411 * benchtests/bench-memccpy-ifunc.c: New file.
65412 * benchtests/bench-memccpy.c: New file.
65413 * benchtests/bench-memchr-ifunc.c: New file.
65414 * benchtests/bench-memchr.c: New file.
65415 * benchtests/bench-memcmp-ifunc.c: New file.
65416 * benchtests/bench-memcmp.c: New file.
65417 * benchtests/bench-memmem-ifunc.c: New file.
65418 * benchtests/bench-memmem.c: New file.
65419 * benchtests/bench-memmove-ifunc.c: New file.
65420 * benchtests/bench-memmove.c: New file.
65421 * benchtests/bench-mempcpy-ifunc.c: New file.
65422 * benchtests/bench-mempcpy.c: New file.
65423 * benchtests/bench-memset-ifunc.c: New file.
65424 * benchtests/bench-memset.c: New file.
65425 * benchtests/bench-rawmemchr-ifunc.c: New file.
65426 * benchtests/bench-rawmemchr.c: New file.
65427 * benchtests/bench-stpcpy-ifunc.c: New file.
65428 * benchtests/bench-stpcpy.c: New file.
65429 * benchtests/bench-stpncpy-ifunc.c: New file.
65430 * benchtests/bench-stpncpy.c: New file.
65431 * benchtests/bench-strcasecmp-ifunc.c: New file.
65432 * benchtests/bench-strcasecmp.c: New file.
65433 * benchtests/bench-strcasestr-ifunc.c: New file.
65434 * benchtests/bench-strcasestr.c: New file.
65435 * benchtests/bench-strcat-ifunc.c: New file.
65436 * benchtests/bench-strcat.c: New file.
65437 * benchtests/bench-strchr-ifunc.c: New file.
65438 * benchtests/bench-strchr.c: New file.
65439 * benchtests/bench-strchrnul-ifunc.c: New file.
65440 * benchtests/bench-strchrnul.c: New file.
65441 * benchtests/bench-strcmp-ifunc.c: New file.
65442 * benchtests/bench-strcmp.c: New file.
65443 * benchtests/bench-strcpy-ifunc.c: New file.
65444 * benchtests/bench-strcpy.c: New file.
65445 * benchtests/bench-strcspn-ifunc.c: New file.
65446 * benchtests/bench-strcspn.c: New file.
65447 * benchtests/bench-strlen-ifunc.c: New file.
65448 * benchtests/bench-strlen.c: New file.
65449 * benchtests/bench-strncasecmp-ifunc.c: New file.
65450 * benchtests/bench-strncasecmp.c: New file.
65451 * benchtests/bench-strncat-ifunc.c: New file.
65452 * benchtests/bench-strncat.c: New file.
65453 * benchtests/bench-strncmp-ifunc.c: New file.
65454 * benchtests/bench-strncmp.c: New file.
65455 * benchtests/bench-strncpy-ifunc.c: New file.
65456 * benchtests/bench-strncpy.c: New file.
65457 * benchtests/bench-strnlen-ifunc.c: New file.
65458 * benchtests/bench-strnlen.c: New file.
65459 * benchtests/bench-strpbrk-ifunc.c: New file.
65460 * benchtests/bench-strpbrk.c: New file.
65461 * benchtests/bench-strrchr-ifunc.c: New file.
65462 * benchtests/bench-strrchr.c: New file.
65463 * benchtests/bench-strspn-ifunc.c: New file.
65464 * benchtests/bench-strspn.c: New file.
65465 * benchtests/bench-strstr-ifunc.c: New file.
65466 * benchtests/bench-strstr.c: New file.
65467
65468 * benchtests/Makefile: Disable parallel execution of targets.
65469 (string-bench): Add memcpy.
65470 (benchset): New variable to store a list of benchmark sets.
65471 (bench-func): Renamed from bench.
65472 (bench-set): New target.
65473 (bench): Depend on bench-func and bench-set.
65474 * benchtests/README: Add section on benchmark sets.
65475 * benchtests/bench-memcpy-ifunc.c: New file.
65476 * benchtests/bench-memcpy.c: New file.
65477 * benchtests/bench-string.h: New file.
65478
654792013-06-11 Andreas Schwab <schwab@suse.de>
65480
65481 [BZ #15577]
65482 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65483 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65484 values in the triple.
65485 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65486 terminator in the group key.
65487
654882013-06-11 Andreas Jaeger <aj@suse.de>
65489
65490 * po/zh_TW.po: Update Chinese (traditional) translation from
65491 translation project.
65492
654932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65494
65495 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65496 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65497 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65498 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65499 (clock_getcpuclockid): Likewise.
65500 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65501 Add weak_alias and libc_hidden_def.
65502 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65503 * rt/clock_gettime.c (clock_gettime): Rename to
65504 __clock_gettime. Add weak_alias and libc_hidden_def.
65505 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65506 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65507 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65508 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65509 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65510 Likewise.
65511 * rt/clock_settime.c (clock_settime): Rename to
65512 __clock_settime. Add weak_alias and libc_hidden_def.
65513 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
92c3af3c 65514
edf66db1 655152013-06-10 Joseph Myers <joseph@codesourcery.com>
92c3af3c 65516
edf66db1
SP
65517 * mach/err_boot.sub: Remove trailing whitespace.
65518 * mach/err_ipc.sub: Likewise.
65519 * mach/err_mach.sub: Likewise.
92c3af3c 65520
edf66db1
SP
65521 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65522 (ROUNDING_TESTS_double): Likewise.
65523 (ROUNDING_TESTS_long_double): Likewise.
65524 (ROUNDING_TESTS): Likewise.
65525 * math/libm-test.inc: Include <math-tests.h>.
65526 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65527 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65528 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65529 (IF_ROUND_INIT_FE_UPWARD): Likewise.
92c3af3c 65530
edf66db1 655312013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 65532
edf66db1
SP
65533 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65534 of assigning.
92c3af3c 65535
edf66db1 655362013-06-08 Joseph Myers <joseph@codesourcery.com>
92c3af3c 65537
edf66db1
SP
65538 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65539 otherwise empty TRANS lines.
65540 * sysdeps/gnu/errlist.c: Regenerated.
92c3af3c 65541
edf66db1
SP
65542 * catgets/gencat.c (error_print): Use (void) in function
65543 definition.
65544 * crypt/crypt_util.c (__init_des): Likewise.
65545 * crypt/speeds.c (Stop): Likewise.
65546 (main): Likewise.
65547 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65548 * inet/ruserpass.c (token): Likewise.
65549 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65550 * intl/localealias.c (extend_alias_table): Likewise.
65551 * intl/plural-exp.c (init_germanic_plural): Likewise.
65552 * libio/fcloseall.c (__fcloseall): Likewise.
65553 * libio/genops.c (_IO_flush_all): Likewise.
65554 (_IO_flush_all_linebuffered): Likewise.
65555 (_IO_cleanup): Likewise.
65556 (_IO_iter_begin): Likewise.
65557 (_IO_iter_end): Likewise.
65558 (_IO_list_lock): Likewise.
65559 (_IO_list_unlock): Likewise.
65560 (_IO_list_resetlock): Likewise.
65561 * libio/getchar.c (getchar): Likewise.
65562 * libio/getchar_u.c (getchar_unlocked): Likewise.
65563 * libio/getwchar.c (getwchar): Likewise.
65564 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65565 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65566 * login/getpt.c (__getpt): Likewise.
65567 * login/tst-utmp.c (main): Likewise.
65568 * malloc/hooks.c (__malloc_check_init): Likewise.
65569 * malloc/malloc.c (__malloc_stats): Likewise.
65570 * malloc/mtrace.c (tr_break): Likewise.
65571 (mtrace): Likewise.
65572 (muntrace): Likewise.
65573 * misc/fstab.c (endfsent): Likewise.
65574 * misc/getclktck.c (__getclktck): Likewise.
65575 * misc/getdtsz.c (__getdtablesize): Likewise.
65576 * misc/gethostid.c (gethostid): Likewise.
65577 * misc/getpagesize.c (__getpagesize): Likewise.
65578 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65579 (__get_nprocs): Likewise.
65580 (__get_phys_pages): Likewise.
65581 (__get_avphys_pages): Likewise.
65582 * misc/getttyent.c (getttyent): Likewise.
65583 (setttyent): Likewise.
65584 (endttyent): Likewise.
65585 * misc/getusershell.c (getusershell): Likewise.
65586 (endusershell): Likewise.
65587 (setusershell): Likewise.
65588 (initshells): Likewise.
65589 * misc/hsearch.c (__hdestroy): Likewise.
65590 * misc/sync.c (sync): Likewise.
65591 * misc/syslog.c (closelog_internal): Likewise.
65592 (closelog): Likewise.
65593 * misc/ttyslot.c (ttyslot): Likewise.
65594 * misc/vhangup.c (vhangup): Likewise.
65595 * posix/fork.c (__fork): Likewise.
65596 * posix/getegid.c (__getegid): Likewise.
65597 * posix/geteuid.c (__geteuid): Likewise.
65598 * posix/getgid.c (__getgid): Likewise.
65599 * posix/getpid.c (__getpid): Likewise.
65600 * posix/getppid.c (__getppid): Likewise.
65601 * posix/getuid.c (__getuid): Likewise.
65602 * posix/pause.c (pause): Likewise.
65603 * posix/setpgrp.c (setpgrp): Likewise.
65604 * posix/setsid.c (__setsid): Likewise.
65605 * posix/test-vfork.c (noop): Likewise.
65606 * resolv/gethnamaddr.c (_endhtent): Likewise.
65607 (_gethtent): Likewise.
65608 (ht_endhostent): Likewise.
65609 (gethostent): Likewise.
65610 (dns_service): Likewise.
65611 * stdlib/drand48.c (drand48): Likewise.
65612 * stdlib/lrand48.c (lrand48): Likewise.
65613 * stdlib/mrand48.c (mrand48): Likewise.
65614 * stdlib/rand.c (rand): Likewise.
65615 * stdlib/random.c (__random): Likewise.
65616 * stdlib/setenv.c (clearenv): Likewise.
65617 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65618 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65619 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65620 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65621 (__get_nprocs): Likewise.
65622 (__get_phys_pages): Likewise.
65623 (__get_avphys_pages): Likewise.
65624 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65625 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65626 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65627 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65628 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65629 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65630 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65631 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65632 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65633 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65634 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65635 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65636 * sysdeps/posix/clock.c (clock): Likewise.
65637 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65638 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65639 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65640 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65641 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65642 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65643 (__get_nprocs_conf): Likewise.
65644 (__get_phys_pages): Likewise.
65645 (__get_avphys_pages): Likewise.
65646 * time/clock.c (clock): Likewise.
65647 * time/tzset.c (__tzname_max): Likewise.
65648
656492013-06-07 Joseph Myers <joseph@codesourcery.com>
65650
65651 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65652 (__bswap_32): Do not use "register".
65653 * crypt/crypt.c (_ufc_doit_r): Likewise.
65654 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65655 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65656 * gmon/gmon.c (__monstartup): Likewise.
65657 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65658 * hurd/hurdmalloc.c (more_memory): Likewise.
65659 (malloc): Likewise.
65660 (free): Likewise.
65661 (realloc): Likewise.
65662 (malloc_fork_prepare): Likewise.
65663 (malloc_fork_parent): Likewise.
65664 (malloc_fork_child): Likewise.
65665 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65666 (_svcauth_des): Likewise.
65667 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65668 * inet/inet_net.c (inet_network): Likewise.
65669 * inet/inet_netof.c (inet_netof): Likewise.
65670 * inet/rcmd.c (__validuser2_sa): Likewise.
65671 * io/fts.c (fts_open): Likewise.
65672 (fts_load): Likewise.
65673 (fts_close): Likewise.
65674 (fts_read): Likewise.
65675 (fts_children): Likewise.
65676 (fts_build): Likewise.
65677 (fts_stat): Likewise.
65678 (fts_sort): Likewise.
65679 (fts_alloc): Likewise.
65680 (fts_lfree): Likewise.
65681 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65682 (_IO_file_xsgetn): Likewise.
65683 (_IO_file_xsgetn_mmap): Likewise.
65684 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65685 (_IO_cookie_write): Likewise.
65686 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65687 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65688 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65689 * malloc/obstack.c (_obstack_begin): Likewise.
65690 (_obstack_begin_1): Likewise.
65691 (_obstack_newchunk): Likewise.
65692 (_obstack_allocated_p): Likewise.
65693 (obstack_free): Likewise.
65694 (_obstack_memory_used): Likewise.
65695 * misc/getttyent.c (getttynam): Likewise.
65696 (getttyent): Likewise.
65697 (skip): Likewise.
65698 (value): Likewise.
65699 * misc/getusershell.c (initshells): Likewise.
65700 * misc/syslog.c (__vsyslog_chk): Likewise.
65701 * misc/ttyslot.c (ttyslot): Likewise.
65702 * nis/nis_hash.c (__nis_hash): Likewise.
65703 * posix/fnmatch_loop.c (FCT): Likewise.
65704 * posix/getconf.c (print_all): Likewise.
65705 (main): Likewise.
65706 * posix/getopt.c (exchange): Likewise.
65707 * posix/glob.c (globfree): Likewise.
65708 (prefix_array): Likewise.
65709 (__glob_pattern_type): Likewise.
65710 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65711 (NS_GET32): Likewise.
65712 (NS_PUT16): Likewise.
65713 (NS_PUT32): Likewise.
65714 * resolv/gethnamaddr.c (getanswer): Likewise.
65715 (gethostbyname2): Likewise.
65716 (gethostbyaddr): Likewise.
65717 (_gethtent): Likewise.
65718 (_gethtbyname2): Likewise.
65719 (_gethtbyaddr): Likewise.
65720 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65721 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65722 * resolv/res_init.c (__res_vinit): Likewise.
65723 (net_mask): Likewise.
65724 * resolv/res_mkquery.c (outchar): Likewise.
65725 (PRINT): Likewise.
65726 * stdio-common/printf_fp.c (outchar): Likewise.
65727 (PRINT): Likewise.
65728 * stdio-common/printf_fphex.c (outchar): Likewise.
65729 (PRINT): Likewise.
65730 * stdio-common/printf_size.c (outchar): Likewise.
65731 (PRINT): Likewise.
65732 * stdio-common/test_rdwr.c (main): Likewise.
65733 * stdio-common/tfformat.c (matches): Likewise.
65734 * stdio-common/vfprintf.c (outchar): Likewise.
65735 (printf_unknown): Likewise.
65736 (buffered_vfprintf): Likewise.
65737 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65738 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65739 (ReadFile): Likewise.
65740 * stdlib/qsort.c (SWAP): Likewise.
65741 (_quicksort): Likewise.
65742 * stdlib/setenv.c (__add_to_environ): Likewise.
65743 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65744 * stdlib/strtol_l.c (__strtol_l): Likewise.
65745 * stdlib/tst-strtod.c (main): Likewise.
65746 * stdlib/tst-strtol.c (main): Likewise.
65747 * stdlib/tst-strtoll.c (main): Likewise.
65748 * string/bits/string2.h (__strcmp_cc): Likewise.
65749 (__strcmp_cg): Likewise.
65750 (__strcspn_c1): Likewise.
65751 (__strcspn_c2): Likewise.
65752 (__strcspn_c3): Likewise.
65753 (__strspn_c1): Likewise.
65754 (__strspn_c2): Likewise.
65755 (__strspn_c3): Likewise.
65756 (__strsep_1c): Likewise.
65757 (__strsep_2c): Likewise.
65758 (__strsep_3c): Likewise.
65759 * string/memccpy.c (__memccpy): Likewise.
65760 * string/stpcpy.c (__stpcpy): Likewise.
65761 * string/strcmp.c (strcmp): Likewise.
65762 * string/strrchr.c (strrchr): Likewise.
65763 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65764 Likewise.
65765 * sysdeps/mach/hurd/getcwd.c
65766 (_hurd_canonicalize_directory_name_internal): Likewise.
65767 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65768 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65769 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65770 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65771 Likewise, in both definitions.
65772 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65773 definitions.
65774 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65775 64] (__bswap_64): Likewise.
65776 * time/test_time.c (main): Likewise.
65777 * time/tzfile.c (__tzfile_read): Likewise.
65778 (__tzfile_compute): Likewise.
65779 * time/tzset.c (__tzset_parse_tz): Likewise.
65780 (tzset_internal): Likewise.
65781 (compute_change): Likewise.
65782 * wcsmbs/wcscat.c (__wcscat): Likewise.
65783 * wcsmbs/wcschr.c (wcschr): Likewise.
65784 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65785 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65786 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65787 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65788 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65789 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65790 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65791 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65792 * wcsmbs/wmemset.c (wmemset): Likewise.
65793
657942013-06-06 Joseph Myers <joseph@codesourcery.com>
65795
65796 * scripts/config.guess: Update to version 2013-05-16.
65797 * scripts/config.sub: Update to version 2013-04-24.
65798 * scripts/install-sh: Update to version 2011-11-20.07.
65799 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65800 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65801
658022013-06-06 Ondřej Bílka <neleai@seznam.cz>
65803
65804 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65805 * elf/sln.c: Likewise.
65806 * hurd/hurd/ioctl.h: Likewise.
65807 * hurd/hurdmalloc.c: Likewise.
65808 * hurd/xattr.c: Likewise.
65809 * include/shlib-compat.h: Likewise.
65810 * inet/ruserpass.c: Likewise.
65811 * libio/iofgets_u.c: Likewise.
65812 * libio/iofgetws_u.c: Likewise.
65813 * locale/programs/ld-identification.c: Likewise.
65814 * locale/programs/ld-time.c: Likewise.
65815 * mach/msg-destroy.c: Likewise.
65816 * nss/nss_files/files-netgrp.c: Likewise.
65817 * resolv/res_data.c: Likewise.
65818 * soft-fp/op-1.h: Likewise.
65819 * soft-fp/op-2.h: Likewise.
65820 * soft-fp/op-4.h: Likewise.
65821 * soft-fp/op-common.h: Likewise.
65822 * stdio-common/printf_fphex.c: Likewise.
65823 * stdlib/strtod_l.c: Likewise.
65824 * sunrpc/rpc/clnt.h: Likewise.
65825 * sysdeps/generic/framestate.c: Likewise.
65826 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65827 * sysdeps/i386/bsd-setjmp.S: Likewise.
65828 * sysdeps/i386/__longjmp.S: Likewise.
65829 * sysdeps/i386/setjmp.S: Likewise.
65830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65831 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65832 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65833 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65835 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65836 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65839 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65840 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65841 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65842 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65843 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65844 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65845 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65846 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65847 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65848 * sysdeps/ieee754/support.c: Likewise.
65849 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65850 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65851 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65852 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65853 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65854 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65855 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65856 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65857 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65858 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65859 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65860 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65861 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65862 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65863 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65864 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65865 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65867
658682013-06-05 Ondřej Bílka <neleai@seznam.cz>
65869
65870 * posix/transbug.c: Remove executable mode.
65871
658722013-06-05 Joseph Myers <joseph@codesourcery.com>
65873
65874 * crypt/speeds.c: Remove trailing whitespace.
65875 * dlfcn/default.c: Likewise.
65876 * elf/ifuncdep2.c: Likewise.
65877 * elf/ifuncmain1.c: Likewise.
65878 * elf/ifuncmain1vis.c: Likewise.
65879 * elf/testobj.h: Likewise.
65880 * elf/tst-stackguard1.c: Likewise.
65881 * gmon/sys/gmon.h: Likewise.
65882 * hurd/hurdmsg.c: Likewise.
65883 * hurd/new-fd.c: Likewise.
65884 * hurd/ports-get.c: Likewise.
65885 * iconvdata/ibm1008_420.c: Likewise.
65886 * inet/tst-getni1.c: Likewise.
65887 * inet/tst-getni2.c: Likewise.
65888 * libio/ioungetc.c: Likewise.
65889 * libio/wfiledoalloc.c: Likewise.
65890 * manual/libm-err-tab.pl: Likewise.
65891 * math/w_dremf.c: Likewise.
65892 * misc/ftruncate.c: Likewise.
65893 * posix/bug-glob2.c: Likewise.
65894 * posix/tst-pcre.c: Likewise.
65895 * posix/wait4.c: Likewise.
65896 * resolv/README: Likewise.
65897 * resolv/res_debug.h: Likewise.
65898 * resolv/tst-inet_ntop.c: Likewise.
65899 * setjmp/bug269-setjmp.c: Likewise.
65900 * soft-fp/extended.h: Likewise.
65901 * soft-fp/op-1.h: Likewise.
65902 * soft-fp/op-2.h: Likewise.
65903 * soft-fp/op-4.h: Likewise.
65904 * soft-fp/op-8.h: Likewise.
65905 * soft-fp/testit.c: Likewise.
65906 * stdio-common/bug16.c: Likewise.
65907 * stdlib/random.c: Likewise.
65908 * sunrpc/rpcsvc/rquota.x: Likewise.
65909 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65910 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65911 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65912 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65913 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65914 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65915 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65916 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65917 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65918 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65919 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65920 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65921 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65922 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65924 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65925 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65926 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65927 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65928 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65929 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65930 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65931 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65932 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65933 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65936 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65937 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65938 * sysdeps/ieee754/s_lib_version.c: Likewise.
65939 * sysdeps/mach/hurd/check_fds.c: Likewise.
65940 * sysdeps/mach/hurd/getsockname.c: Likewise.
65941 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65942 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65943 * sysdeps/powerpc/bits/link.h: Likewise.
65944 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65945 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65946 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65947 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65948 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65949 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65950 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65951 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65952 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65953 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65954 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65955 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65956 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65957 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65958 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65959 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65960 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65961 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65962 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65963 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65964 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65965 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65966 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65967 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65968 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65969 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65971 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65972 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65973 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65974 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65975 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65976 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65977 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65978 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65979 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65980 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65981 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65982 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65983 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65984 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65985 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65986 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65987 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65988 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65989 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65990 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65991 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65992 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65993 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65994 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65996 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65997 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65998 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65999 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
66000 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
66001 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66002 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
66003 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
66004 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
66005 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
66006 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
66007 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66008 * sysdeps/powerpc/sysdep.h: Likewise.
66009 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66010 * sysdeps/s390/s390-64/sub_n.S: Likewise.
66011 * sysdeps/sh/dl-trampoline.S: Likewise.
66012 * sysdeps/sh/memset.S: Likewise.
66013 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
66014 * sysdeps/sh/strlen.S: Likewise.
66015 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
66016 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
66017 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
66018 * sysdeps/sparc/sparc32/rem.S: Likewise.
66019 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
66020 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
66021 * sysdeps/sparc/sparc32/strchr.S: Likewise.
66022 * sysdeps/sparc/sparc32/udiv.S: Likewise.
66023 * sysdeps/sparc/sparc32/urem.S: Likewise.
66024 * sysdeps/sparc/sparc64/add_n.S: Likewise.
66025 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66026 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
66027 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
66028 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
66029 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
66030 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
66031 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
66032 * sysdeps/unix/bsd/times.c: Likewise.
66033 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
66034 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
66035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
66036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
66037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
66038 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
66039 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
66040 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
66041 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
66042 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
66043 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
66044 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66045 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
66046 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66047 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66048 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
66049 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66050 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
66051 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
66052 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
66053 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
66054 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
66055 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66056 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
66057 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
66058 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
66059 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
66060 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66061 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
66062 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
66063 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
66064 * sysdeps/x86_64/strcspn.S: Likewise.
92c3af3c 66065
edf66db1 660662013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
92c3af3c 66067
edf66db1
SP
66068 * locale/C-translit.h: Revert #include <stdint.h> because this is a
66069 generated file. Regenerate properly from gen-translit.pl.
66070 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
66071 locale/C-translit.h.
92c3af3c 66072
edf66db1 660732013-06-05 Andreas Schwab <schwab@suse.de>
92c3af3c 66074
edf66db1
SP
66075 [BZ #15100]
66076 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
66077 week as 6 instead of -1.
66078 * time/tst-strptime.c (day_tests): Add test case.
92c3af3c 66079
edf66db1 660802013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 66081
edf66db1
SP
66082 * sysdeps/generic/math_private.h
66083 (libc_feholdexcept_setround_53bit): Replace with
66084 libc_feholdsetround_53bit.
66085 (libc_feupdateenv_53bit): Replace with
66086 libc_feresetround_53bit.
66087 (SET_RESTORE_ROUND_53BIT): Adjust.
92c3af3c 66088
edf66db1 660892013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 66090
edf66db1 66091 * string/test-strchrnul.c: Add copyright header.
92c3af3c 66092
edf66db1 66093 * posix/tst-getaddrinfo4.c: Increase test timeout.
92c3af3c 66094
edf66db1 660952013-06-03 Carlos O'Donell <carlos@redhat.com>
92c3af3c 66096
edf66db1
SP
66097 [BZ #15536]
66098 * math/libm-test.inc (MAX_EXP): Remove
66099 (MIN_EXP): Define.
66100 (ulp): Use MIN_EXP - MANT_DIG.
66101 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
92c3af3c 66102
edf66db1 661032013-05-31 Carlos O'Donell <carlos@redhat.com>
92c3af3c 66104
edf66db1
SP
66105 * po/be.po: Revert last change.
66106 * po/zh_CN.po: Likewise.
66107 * po/header.pot: Likewise.
66108
661092013-05-31 Joseph Myers <joseph@codesourcery.com>
66110
66111 * Makefile ($(common-objpfx)linkobj/libc.so): Define
66112 link-libc-deps to empty as target-specific variable.
66113 * Makerules (link-libc-args): New variable.
66114 (libc-for-link): Likewise.
66115 (link-libc-deps): Likewise.
66116 (lib%.so): Depend on $(link-libc-deps). Link with
66117 $(link-libc-args).
66118 (build-module): Link with $(link-libc-args).
66119 (build-module-asneeded): Likewise.
66120 (build-module-helper-objlist): Filter out $(link-libc-deps) from
66121 list of objects.
66122 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
66123 target-specific variable.
66124 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
66125 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
66126 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
66127 libc.
66128 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
66129 libc and ld.so.
66130 ($(objpfx)libpcprofile.so): Likewise.
66131 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
66132 libc_nonshared.a.
66133 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
66134 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
66135 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
66136 $(link-libc-deps).
66137 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
66138 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
66139 * login/Makefile ($(objpfx)libutil.so): Likewise.
66140 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
66141 * math/Makefile ($(objpfx)libm.so): Likewise.
66142 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
66143 $(objpfx)libnsl.so): Define libc-for-link as target-specific
66144 variable instead of depending directly on libc.
66145 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
66146 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
66147 $(link-libc-deps).
66148 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
66149 libc.
66150 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
66151 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
66152 ($(objpfx)libanl.so): Likewise.
66153 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
66154 ld.so.
66155 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
66156 $(link-libc-deps).
66157 * sysdeps/i386/fpu/Makefile: Remove file.
66158 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
66159 ($(objpfx)libm.so): Remove dependency on ld.so.
66160
661612013-05-30 Patsy Franklin <pfrankli@redhat.com>
66162
66163 [BZ # 15553]
66164 * nis/yp_xdr.c (XDRMAXNAME): Define.
66165 (XDRMAXRECORD): Define.
66166 (xdr_domainname): Use XDRMAXNAME.
66167 (xdr_mapname): Likewise.
66168 (xdr_peername): Likewise.
66169 (xdr_keydat): Use XDRMAXRECORD.
66170 (xdr_valdat): Likewise.
66171
661722013-05-30 Jeff Law <law@redhat.com>
66173
66174 [BZ #14256]
66175 * manual/errno.texi (ESTALE): Update to account for more than
66176 just NFS file systems.
66177 * sysdeps/gnu/errlist.c: Regenerated.
66178
661792013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66180
66181 [BZ #15465]
66182 * elf/Makefile (tests): Add tst-null-argv.
66183 (modules-names): Add tst-null-argv-lib.
66184 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66185 (tst-null-argv-ENV): Set environment for tst-null-argv.
66186 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66187 (RTLD_PROGNAME): New macro.
66188 * elf/tst-null-argv.c: New test case.
66189 * elf/tst-null-argv-lib.c: Library for test case.
66190 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66191 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66192 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66193 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66194 * elf/dl-init.c (call_init): Likewise.
66195 (_dl_init): Likewise.
66196 * elf/dl-load.c (print_search_path): Likewise.
66197 (_dl_map_object): Likewise.
66198 * elf/dl-lookup.c (do_lookup_x): Likewise.
66199 (add_dependency): Likewise.
66200 (_dl_lookup_symbol_x): Likewise.
66201 (_dl_debug_bindings): Likewise.
66202 * elf/dl-open.c (_dl_show_scope): Likewise.
66203 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66204 * elf/dl-version.c (match_symbol): Likewise.
66205 (_dl_check_map_versions): Likewise.
66206 * elf/rtld.c (dl_main): Likewise.
66207 (print_unresolved): Use RTLD_PROGNAME.
66208 (print_missing_version): Likewise.
66209 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66210 (elf_machine_rela): Likewise.
66211 * sysdeps/powerpc/powerpc32/dl-machine.c
66212 (__process_machine_rela): Likewise.
66213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66214 Likewise.
66215 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66216 Likewise.
66217 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66218 Likewise.
66219 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66220 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66221 Likewise.
66222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66223 Likewise.
66224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
92c3af3c 66225
edf66db1 662262013-05-28 Carlos O'Donell <carlos@redhat.com>
92c3af3c 66227
edf66db1
SP
66228 * po/be.po: Add descriptive title.
66229 * po/zh_CN.po: Likewise.
66230 * po/header.pot: Likewise.
92c3af3c 66231
edf66db1 662322013-05-28 Mike Frysinger <vapier@gentoo.org>
92c3af3c 66233
edf66db1
SP
66234 * locale/programs/locarchive.c (create_archive): Inlucde fname in
66235 error message.
66236 (enlarge_archive): Likewise.
92c3af3c 66237
edf66db1 662382013-05-28 Ben North <ben@redfrontdoor.org>
92c3af3c 66239
edf66db1
SP
66240 * manual/arith.texi (frexp): It is the magnitude of the return
66241 value which lies in [0.5, 1), not the return value itself.
92c3af3c 66242
edf66db1 662432013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 66244
edf66db1 66245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 66246
edf66db1 662472013-05-26 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 66248
edf66db1 66249 * stdio-common/bug26.c (main): Correct fscanf template.
92c3af3c 66250
edf66db1
SP
66251 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66252 declare _dl_skip_args.
92c3af3c 66253
edf66db1
SP
66254 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66255 Don't declare.
92c3af3c 66256
edf66db1 66257 * manual/platform.texi: Add missing @end deftypefun.
92c3af3c 66258
edf66db1 662592013-05-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 66260
edf66db1
SP
66261 [BZ #15529]
66262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66263 bit of mantissa of 2^16382.
66264 * math/libm-test.inc (hypot_test_data): Add more tests.
92c3af3c 66265
edf66db1
SP
66266 * math/libm-test.inc: Add drem and pow10 to list of tested
66267 functions.
66268 (pow10_test): New function.
66269 (drem_test): Likewise.
66270 (drem_test_tonearest): Likewise.
66271 (drem_test_towardzero): Likewise.
66272 (drem_test_downward): Likewise.
66273 (drem_test_upward): Likewise.
66274 (main): Call the new functions.
66275
66276 * math/libm-test.inc (finite_test_data): Remove.
66277 (finite_test): Run tests from isfinite_test_data.
66278 (gamma_test_data): Remove.
66279 (gamma_test): Run tests from lgamma_test_data.
66280 * sysdeps/i386/fpu/libm-test-ulps: Update.
66281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66282
662832013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66284
66285 * manual/platform.texi: Add PowerPC PPR function set documentation.
66286 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66287 implementation.
66288
662892013-05-24 Carlos O'Donell <carlos@redhat.com>
66290
66291 * math/libm-test.inc (MAX_EXP): Define.
66292 (ULPDIFF): Define.
66293 (ulp): New function.
66294 (check_float_internal): Use ULPDIFF.
66295 (cpow_test): Disable failing test.
66296 (check_ulp): Test ulp() implementation.
66297 (main): Call check_ulp before starting tests.
66298
662992013-05-24 Joseph Myers <joseph@codesourcery.com>
66300
66301 * math/gen-libm-test.pl (generate_testfile): Do not handle
66302 START_DATA and END_DATA.
66303 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66304 END_DATA.
66305 (acos_tonearest_test_data): Likewise.
66306 (acos_towardzero_test_data): Likewise.
66307 (acos_downward_test_data): Likewise.
66308 (acos_upward_test_data): Likewise.
66309 (acosh_test_data): Likewise.
66310 (asin_test_data): Likewise.
66311 (asin_tonearest_test_data): Likewise.
66312 (asin_towardzero_test_data): Likewise.
66313 (asin_downward_test_data): Likewise.
66314 (asin_upward_test_data): Likewise.
66315 (asinh_test_data): Likewise.
66316 (atan_test_data): Likewise.
66317 (atanh_test_data): Likewise.
66318 (atan2_test_data): Likewise.
66319 (cabs_test_data): Likewise.
66320 (cacos_test_data): Likewise.
66321 (cacosh_test_data): Likewise.
66322 (carg_test_data): Likewise.
66323 (casin_test_data): Likewise.
66324 (casinh_test_data): Likewise.
66325 (catan_test_data): Likewise.
66326 (catanh_test_data): Likewise.
66327 (cbrt_test_data): Likewise.
66328 (ccos_test_data): Likewise.
66329 (ccosh_test_data): Likewise.
66330 (ceil_test_data): Likewise.
66331 (cexp_test_data): Likewise.
66332 (cimag_test_data): Likewise.
66333 (clog_test_data): Likewise.
66334 (clog10_test_data): Likewise.
66335 (conj_test_data): Likewise.
66336 (copysign_test_data): Likewise.
66337 (cos_test_data): Likewise.
66338 (cos_tonearest_test_data): Likewise.
66339 (cos_towardzero_test_data): Likewise.
66340 (cos_downward_test_data): Likewise.
66341 (cos_upward_test_data): Likewise.
66342 (cosh_test_data): Likewise.
66343 (cosh_tonearest_test_data): Likewise.
66344 (cosh_towardzero_test_data): Likewise.
66345 (cosh_downward_test_data): Likewise.
66346 (cosh_upward_test_data): Likewise.
66347 (cpow_test_data): Likewise.
66348 (cproj_test_data): Likewise.
66349 (creal_test_data): Likewise.
66350 (csin_test_data): Likewise.
66351 (csinh_test_data): Likewise.
66352 (csqrt_test_data): Likewise.
66353 (ctan_test_data): Likewise.
66354 (ctan_tonearest_test_data): Likewise.
66355 (ctan_towardzero_test_data): Likewise.
66356 (ctan_downward_test_data): Likewise.
66357 (ctan_upward_test_data): Likewise.
66358 (ctanh_test_data): Likewise.
66359 (ctanh_tonearest_test_data): Likewise.
66360 (ctanh_towardzero_test_data): Likewise.
66361 (ctanh_downward_test_data): Likewise.
66362 (ctanh_upward_test_data): Likewise.
66363 (erf_test_data): Likewise.
66364 (erfc_test_data): Likewise.
66365 (exp_test_data): Likewise.
66366 (exp_tonearest_test_data): Likewise.
66367 (exp_towardzero_test_data): Likewise.
66368 (exp_downward_test_data): Likewise.
66369 (exp_upward_test_data): Likewise.
66370 (exp10_test_data): Likewise.
66371 (exp2_test_data): Likewise.
66372 (expm1_test_data): Likewise.
66373 (fabs_test_data): Likewise.
66374 (fdim_test_data): Likewise.
66375 (finite_test_data): Likewise.
66376 (floor_test_data): Likewise.
66377 (fma_test_data): Likewise.
66378 (fma_towardzero_test_data): Likewise.
66379 (fma_downward_test_data): Likewise.
66380 (fma_upward_test_data): Likewise.
66381 (fmax_test_data): Likewise.
66382 (fmin_test_data): Likewise.
66383 (fmod_test_data): Likewise.
66384 (fpclassify_test_data): Likewise.
66385 (frexp_test_data): Likewise.
66386 (gamma_test_data): Likewise.
66387 (hypot_test_data): Likewise.
66388 (ilogb_test_data): Likewise.
66389 (isfinite_test_data): Likewise.
66390 (isgreater_test_data): Likewise.
66391 (isgreaterequal_test_data): Likewise.
66392 (isinf_test_data): Likewise.
66393 (isless_test_data): Likewise.
66394 (islessequal_test_data): Likewise.
66395 (islessgreater_test_data): Likewise.
66396 (isnan_test_data): Likewise.
66397 (isnormal_test_data): Likewise.
66398 (issignaling_test_data): Likewise.
66399 (isunordered_test_data): Likewise.
66400 (j0_test_data): Likewise.
66401 (j1_test_data): Likewise.
66402 (jn_test_data): Likewise.
66403 (ldexp_test_data): Likewise.
66404 (lgamma_test_data): Likewise.
66405 (lrint_test_data): Likewise.
66406 (lrint_tonearest_test_data): Likewise.
66407 (lrint_towardzero_test_data): Likewise.
66408 (lrint_downward_test_data): Likewise.
66409 (lrint_upward_test_data): Likewise.
66410 (llrint_test_data): Likewise.
66411 (llrint_tonearest_test_data): Likewise.
66412 (llrint_towardzero_test_data): Likewise.
66413 (llrint_downward_test_data): Likewise.
66414 (llrint_upward_test_data): Likewise.
66415 (log_test_data): Likewise.
66416 (log10_test_data): Likewise.
66417 (log1p_test_data): Likewise.
66418 (log2_test_data): Likewise.
66419 (logb_test_data): Likewise.
66420 (logb_downward_test_data): Likewise.
66421 (lround_test_data): Likewise.
66422 (llround_test_data): Likewise.
66423 (modf_test_data): Likewise.
66424 (nearbyint_test_data): Likewise.
66425 (nextafter_test_data): Likewise.
66426 (nexttoward_test_data): Likewise.
66427 (pow_test_data): Likewise.
66428 (pow_tonearest_test_data): Likewise.
66429 (pow_towardzero_test_data): Likewise.
66430 (pow_downward_test_data): Likewise.
66431 (pow_upward_test_data): Likewise.
66432 (remainder_test_data): Likewise.
66433 (remainder_tonearest_test_data): Likewise.
66434 (remainder_towardzero_test_data): Likewise.
66435 (remainder_downward_test_data): Likewise.
66436 (remainder_upward_test_data): Likewise.
66437 (remquo_test_data): Likewise.
66438 (rint_test_data): Likewise.
66439 (rint_tonearest_test_data): Likewise.
66440 (rint_towardzero_test_data): Likewise.
66441 (rint_downward_test_data): Likewise.
66442 (rint_upward_test_data): Likewise.
66443 (round_test_data): Likewise.
66444 (scalb_test_data): Likewise.
66445 (scalbn_test_data): Likewise.
66446 (scalbln_test_data): Likewise.
66447 (signbit_test_data): Likewise.
66448 (sin_test_data): Likewise.
66449 (sin_tonearest_test_data): Likewise.
66450 (sin_towardzero_test_data): Likewise.
66451 (sin_downward_test_data): Likewise.
66452 (sin_upward_test_data): Likewise.
66453 (sincos_test_data): Likewise.
66454 (sinh_test_data): Likewise.
66455 (sinh_tonearest_test_data): Likewise.
66456 (sinh_towardzero_test_data): Likewise.
66457 (sinh_downward_test_data): Likewise.
66458 (sinh_upward_test_data): Likewise.
66459 (sqrt_test_data): Likewise.
66460 (tan_test_data): Likewise.
66461 (tan_tonearest_test_data): Likewise.
66462 (tan_towardzero_test_data): Likewise.
66463 (tan_downward_test_data): Likewise.
66464 (tan_upward_test_data): Likewise.
66465 (tanh_test_data): Likewise.
66466 (tgamma_test_data): Likewise.
66467 (trunc_test_data): Likewise.
66468 (y0_test_data): Likewise.
66469 (y1_test_data): Likewise.
66470 (yn_test_data): Likewise.
66471 (significand_test_data): Likewise.
66472
66473 * math/gen-libm-test.pl (@functions): Remove variable.
66474 (generate_testfile): Don't handle START and END lines.
66475 * math/libm-test.inc (START): New macro.
66476 (END): Likewise.
66477 (END_COMPLEX): Likewise.
66478 (acos_test): Use END macro without arguments.
66479 (acos_test_tonearest): Likewise.
66480 (acos_test_towardzero): Likewise.
66481 (acos_test_downward): Likewise.
66482 (acos_test_upward): Likewise.
66483 (acosh_test): Likewise.
66484 (asin_test): Likewise.
66485 (asin_test_tonearest): Likewise.
66486 (asin_test_towardzero): Likewise.
66487 (asin_test_downward): Likewise.
66488 (asin_test_upward): Likewise.
66489 (asinh_test): Likewise.
66490 (atan_test): Likewise.
66491 (atanh_test): Likewise.
66492 (atan2_test): Likewise.
66493 (cabs_test): Likewise.
66494 (cacos_test): Use END_COMPLEX macro without arguments.
66495 (cacosh_test): Likewise.
66496 (carg_test): Use END macro without arguments.
66497 (casin_test): Use END_COMPLEX macro without arguments.
66498 (casinh_test): Likewise.
66499 (catan_test): Likewise.
66500 (catanh_test): Likewise.
66501 (cbrt_test): Use END macro without arguments.
66502 (ccos_test): Use END_COMPLEX macro without arguments.
66503 (ccosh_test): Likewise.
66504 (ceil_test): Use END macro without arguments.
66505 (cexp_test): Use END_COMPLEX macro without arguments.
66506 (cimag_test): Use END macro without arguments.
66507 (clog_test): Use END_COMPLEX macro without arguments.
66508 (clog10_test): Likewise.
66509 (conj_test): Likewise.
66510 (copysign_test): Use END macro without arguments.
66511 (cos_test): Likewise.
66512 (cos_test_tonearest): Likewise.
66513 (cos_test_towardzero): Likewise.
66514 (cos_test_downward): Likewise.
66515 (cos_test_upward): Likewise.
66516 (cosh_test): Likewise.
66517 (cosh_test_tonearest): Likewise.
66518 (cosh_test_towardzero): Likewise.
66519 (cosh_test_downward): Likewise.
66520 (cosh_test_upward): Likewise.
66521 (cpow_test): Use END_COMPLEX macro without arguments.
66522 (cproj_test): Likewise.
66523 (creal_test): Use END macro without arguments.
66524 (csin_test): Use END_COMPLEX macro without arguments.
66525 (csinh_test): Likewise.
66526 (csqrt_test): Likewise.
66527 (ctan_test): Likewise.
66528 (ctan_test_tonearest): Likewise.
66529 (ctan_test_towardzero): Likewise.
66530 (ctan_test_downward): Likewise.
66531 (ctan_test_upward): Likewise.
66532 (ctanh_test): Likewise.
66533 (ctanh_test_tonearest): Likewise.
66534 (ctanh_test_towardzero): Likewise.
66535 (ctanh_test_downward): Likewise.
66536 (ctanh_test_upward): Likewise.
66537 (erf_test): Use END macro without arguments.
66538 (erfc_test): Likewise.
66539 (exp_test): Likewise.
66540 (exp_test_tonearest): Likewise.
66541 (exp_test_towardzero): Likewise.
66542 (exp_test_downward): Likewise.
66543 (exp_test_upward): Likewise.
66544 (exp10_test): Likewise.
66545 (exp2_test): Likewise.
66546 (expm1_test): Likewise.
66547 (fabs_test): Likewise.
66548 (fdim_test): Likewise.
66549 (finite_test): Likewise.
66550 (floor_test): Likewise.
66551 (fma_test): Likewise.
66552 (fma_test_towardzero): Likewise.
66553 (fma_test_downward): Likewise.
66554 (fma_test_upward): Likewise.
66555 (fmax_test): Likewise.
66556 (fmin_test): Likewise.
66557 (fmod_test): Likewise.
66558 (fpclassify_test): Likewise.
66559 (frexp_test): Likewise.
66560 (gamma_test): Likewise.
66561 (hypot_test): Likewise.
66562 (ilogb_test): Likewise.
66563 (isfinite_test): Likewise.
66564 (isgreater_test): Likewise.
66565 (isgreaterequal_test): Likewise.
66566 (isinf_test): Likewise.
66567 (isless_test): Likewise.
66568 (islessequal_test): Likewise.
66569 (islessgreater_test): Likewise.
66570 (isnan_test): Likewise.
66571 (isnormal_test): Likewise.
66572 (issignaling_test): Likewise.
66573 (isunordered_test): Likewise.
66574 (j0_test): Likewise.
66575 (j1_test): Likewise.
66576 (jn_test): Likewise.
66577 (ldexp_test): Likewise.
66578 (lgamma_test): Likewise.
66579 (lrint_test): Likewise.
66580 (lrint_test_tonearest): Likewise.
66581 (lrint_test_towardzero): Likewise.
66582 (lrint_test_downward): Likewise.
66583 (lrint_test_upward): Likewise.
66584 (llrint_test): Likewise.
66585 (llrint_test_tonearest): Likewise.
66586 (llrint_test_towardzero): Likewise.
66587 (llrint_test_downward): Likewise.
66588 (llrint_test_upward): Likewise.
66589 (log_test): Likewise.
66590 (log10_test): Likewise.
66591 (log1p_test): Likewise.
66592 (log2_test): Likewise.
66593 (logb_test): Likewise.
66594 (logb_test_downward): Likewise.
66595 (lround_test): Likewise.
66596 (llround_test): Likewise.
66597 (modf_test): Likewise.
66598 (nearbyint_test): Likewise.
66599 (nextafter_test): Likewise.
66600 (nexttoward_test): Likewise.
66601 (pow_test): Likewise.
66602 (pow_test_tonearest): Likewise.
66603 (pow_test_towardzero): Likewise.
66604 (pow_test_downward): Likewise.
66605 (pow_test_upward): Likewise.
66606 (remainder_test): Likewise.
66607 (remainder_test_tonearest): Likewise.
66608 (remainder_test_towardzero): Likewise.
66609 (remainder_test_downward): Likewise.
66610 (remainder_test_upward): Likewise.
66611 (remquo_test): Likewise.
66612 (rint_test): Likewise.
66613 (rint_test_tonearest): Likewise.
66614 (rint_test_towardzero): Likewise.
66615 (rint_test_downward): Likewise.
66616 (rint_test_upward): Likewise.
66617 (round_test): Likewise.
66618 (scalb_test): Likewise.
66619 (scalbn_test): Likewise.
66620 (scalbln_test): Likewise.
66621 (signbit_test): Likewise.
66622 (sin_test): Likewise.
66623 (sin_test_tonearest): Likewise.
66624 (sin_test_towardzero): Likewise.
66625 (sin_test_downward): Likewise.
66626 (sin_test_upward): Likewise.
66627 (sincos_test): Likewise.
66628 (sinh_test): Likewise.
66629 (sinh_test_tonearest): Likewise.
66630 (sinh_test_towardzero): Likewise.
66631 (sinh_test_downward): Likewise.
66632 (sinh_test_upward): Likewise.
66633 (sqrt_test): Likewise.
66634 (tan_test): Likewise.
66635 (tan_test_tonearest): Likewise.
66636 (tan_test_towardzero): Likewise.
66637 (tan_test_downward): Likewise.
66638 (tan_test_upward): Likewise.
66639 (tanh_test): Likewise.
66640 (tgamma_test): Likewise.
66641 (trunc_test): Likewise.
66642 (y0_test): Likewise.
66643 (y1_test): Likewise.
66644 (yn_test): Likewise.
66645 (significand_test): Likewise.
66646
666472013-05-24 Ondřej Bílka <neleai@seznam.cz>
66648
66649 [BZ #15381]
66650 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66651
666522013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66653
66654 [BZ #14894]
66655 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66656 __ppc_mdoio and __ppc_mdoom.
66657 * manual/platform.texi: Document new functions __ppc_yield,
66658 __ppc_mdoio and __ppc_mdoom.
66659
666602013-05-22 Carlos O'Donell <carlos@redhat.com>
66661
66662 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66663 (main): Mention "tls" pseudo-hwcap is legacy.
66664 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66665
666662013-05-22 Joseph Myers <joseph@codesourcery.com>
66667
66668 * math/gen-libm-test.pl (parse_args): Output only string of
66669 arguments as text for test name, not full call or descriptions of
66670 tests for extra outputs.
66671 (generate_testfile): Do not pass function name to parse_args.
66672 Generate this_func variable from START.
66673 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66674 field to arg_str.
66675 (struct test_ff_f_data): Likewise.
66676 (test_ff_f_data_nexttoward): Likewise.
66677 (struct test_fi_f_data): Likewise.
66678 (struct test_fl_f_data): Likewise.
66679 (struct test_if_f_data): Likewise.
66680 (struct test_fff_f_data): Likewise.
66681 (struct test_c_f_data): Likewise.
66682 (struct test_f_f1_data): Likewise. Remove field extra_name.
66683 (struct test_fF_f1_data): Likewise.
66684 (struct test_ffI_f1_data): Likewise.
66685 (struct test_c_c_data): Rename test_name field to arg_str.
66686 (struct test_cc_c_data): Likewise.
66687 (struct test_f_i_data): Likewise.
66688 (struct test_ff_i_data): Likewise.
66689 (struct test_f_l_data): Likewise.
66690 (struct test_f_L_data): Likewise.
66691 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66692 and extra2_name.
66693 (COMMON_TEST_SETUP): New macro.
66694 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66695 (COMMON_TEST_CLEANUP): Likewise.
66696 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66697 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66698 macros.
66699 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66700 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66701 macros.
66702 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66703 (RUN_TEST_fff_f): Take argument string. Call new setup and
66704 cleanup macros.
66705 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66706 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66707 macros.
66708 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66709 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66710 macros.
66711 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66712 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66713 cleanup macros.
66714 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66715 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66716 cleanup macros.
66717 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66718 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66719 cleanup macros.
66720 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66721 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66722 macros.
66723 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66724 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66725 macros.
66726 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66727 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66728 macros.
66729 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66730 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66731 cleanup macros.
66732 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66733 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66734 cleanup macros.
66735 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66736 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66737 macros.
66738 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66739 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66740 cleanup macros.
66741 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66742 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66743 macros.
66744 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66745 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66746 macros.
66747 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66748 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66749 cleanup macros.
66750 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66751
667522013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66753
66754 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66755 to _sifields.sigfault.
66756 (si_addr_lsb): Define new macro.
66757 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66758 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66759 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66760
667612013-05-03 Carlos O'Donell <carlos at redhat.com>
66762
66763 [BZ #15441]
66764 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66765 returns -1.
66766 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66767 null return -1.
66768 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66769 loading the domain.
66770
667712013-05-22 Joseph Myers <joseph@codesourcery.com>
66772
66773 * math/gen-libm-test.pl (parse_args): Do not include expected
66774 result in test name.
66775 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66776 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66777 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66778 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66779 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66781
667822013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66783
66784 * benchtests/Makefile: Sort function entries.
66785
66786 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66787 tanh, asinh, acosh, atanh.
66788 * benchtests/acos-inputs: New file.
66789 * benchtests/acosh-inputs: New file.
66790 * benchtests/asin-inputs: New file.
66791 * benchtests/asinh-inputs: New file.
66792 * benchtests/atanh-inputs: New file.
66793 * benchtests/cosh-inputs: New file.
66794 * benchtests/log-inputs: New file.
66795 * benchtests/sinh-inputs: New file.
66796 * benchtests/tanh-inputs: New file.
66797
667982013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66799
66800 [BZ #15339]
66801 * posix/tst-getaddrinfo4.c: New test.
66802 * posix/Makefile (tests): Add it.
66803
668042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66805
66806 [BZ #15339]
66807 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66808 when no services were used.
66809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66810 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66811
668122013-05-21 Andreas Schwab <schwab@suse.de>
66813
66814 [BZ #15014]
66815 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66816 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66817 successful.
66818 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66819 redundant variable declarations and reallocation of buffer when
66820 parsing as IPv6 address. Always set NSS status when called from
66821 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66822 buffer too small. Correct computation of needed size.
66823 * nss/Makefile (tests): Add test-digits-dots.
66824 * nss/test-digits-dots.c: New test.
66825
668262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66827
66828 * benchtests/Makefile: Remove instructions for adding
66829 benchmark tests.
66830 * benchtests/README: New file to explain how to execute and
66831 enhance the benchmark tests.
66832
668332013-05-21 Andreas Schwab <schwab@suse.de>
66834
66835 [BZ #15493]
66836 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66837 * setjmp/tst-sigsetjmp.c: New test.
66838
668392013-05-20 Ondřej Bílka <neleai@seznam.cz>
66840
66841 * sysdeps/x86_64/memset.S (memset): New implementation.
66842 (__bzero): Likewise.
66843 (__memset_tail): New function.
66844
668452013-05-20 Ondřej Bílka <neleai@seznam.cz>
66846
66847 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66848 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66849 __memcpy_sse2_unaligned ifunc selection.
66850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66851 Add memcpy-sse2-unaligned.S.
66852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66853 Add: __memcpy_sse2_unaligned.
66854
668552013-05-19 Joseph Myers <joseph@codesourcery.com>
66856
66857 [BZ #15490]
66858 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66859 math_force_eval before restoring floating-point envrionment.
66860 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66861 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66862 Likewise.
66863 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66864 <math_private.h>.
66865 (__nearbyintl): Use math_force_eval before restoring
66866 floating-point environment.
66867 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66868
66869 * math/gen-libm-test.pl (special_functions): Remove.
66870 (parse_args): Don't handle TEST_extra. Handle functions with no
66871 return value.
66872 * math/libm-test.inc (struct test_sincos_data): Replace with
66873 struct test_fFF_11_data.
66874 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66875 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66876 (sincos_test_data): Change element type to struct
66877 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66878 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66879 RUN_TEST_LOOP_sincos.
66880 * math/README.libm-test: Don't mention special handling of
66881 individual functions.
66882 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66884 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66885 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66886 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66888
66889 * math/gen-libm-test.pl (get_variable): Remove function.
66890 (parse_args): Don't show pointer parameters to call in test
66891 names. Use "extra output N" in test names for extra outputs
66892 rather than naming variables.
66893
668942013-05-18 Joseph Myers <joseph@codesourcery.com>
66895
66896 [BZ #15488]
66897 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66898 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66899 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66900 double tests.
66901 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66902 disable.
66903 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66904 check_long_double.
66905
66906 * math/gen-libm-test.pl (@tests): Remove variable.
66907 ($count): Likewise.
66908 (new_test): Remove function.
66909 (show_exceptions): New function.
66910 (special_functions): Use show_exceptions instead of new_test.
66911 (parse_args): Likewise.
66912 (generate_testfile): Pass only function name in generated call to
66913 print_max_error or print_complex_max_error.
66914 (get_ulps): Do not handle complex tests specially.
66915 (output_test): Rename to ...
66916 (get_all_ulps_for_test): ... this. Return a string rather than
66917 printing to a file. Require ulps to be present.
66918 (output_ulps): Generate arrays rather than #defines.
66919 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66920 (struct ulp_data): New type.
66921 (BUILD_COMPLEX_ULP): Remove macro.
66922 (compare_ulp_data): New function.
66923 (find_ulps): Likewise.
66924 (find_test_ulps): Likewise.
66925 (find_function_ulps): Likewise.
66926 (find_complex_function_ulps): Likewise.
66927 (print_max_error): Determine allowed ulps using
66928 find_function_ulps.
66929 (print_complex_max_error): Determine allowed ulps using
66930 find_complex_function_ulps.
66931 (check_float_internal): Determine max ulps using find_test_ulps.
66932 (check_float): Do not take max_ulp parameter. Update call to
66933 check_float_internal.
66934 (check_complex): Likewise.
66935 (check_int): Do not take max_ulp parameter.
66936 (check_long): Likewise.
66937 (check_bool): Likewise.
66938 (check_longlong): Likewise.
66939 (struct test_f_f_data): Remove max_ulp field.
66940 (struct test_ff_f_data): Likewise.
66941 (struct test_ff_f_data_nexttoward): Likewise.
66942 (struct test_fi_f_data): Likewise.
66943 (struct test_fl_f_data): Likewise.
66944 (struct test_if_f_data): Likewise.
66945 (struct test_fff_f_data): Likewise.
66946 (struct test_c_f_data): Likewise.
66947 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66948 (struct test_fF_f1_data): Likewise.
66949 (struct test_ffI_f1_data): Likewise.
66950 (struct test_c_c_data): Remove max_ulp field.
66951 (struct test_cc_c_data): Likewise.
66952 (struct test_f_i_data): Likewise.
66953 (struct test_ff_i_data): Likewise.
66954 (struct test_f_l_data): Likewise.
66955 (struct test_f_L_data): Likewise.
66956 (struct test_sincos_data): Likewise.
66957 (RUN_TEST_f_f): Do not handle ulps.
66958 (RUN_TEST_LOOP_f_f): Likewise.
66959 (RUN_TEST_2_f): Likewise.
66960 (RUN_TEST_LOOP_2_f): Likewise.
66961 (RUN_TEST_fff_f): Likewise.
66962 (RUN_TEST_LOOP_fff_f): Likewise.
66963 (RUN_TEST_c_f): Likewise.
66964 (RUN_TEST_LOOP_c_f): Likewise.
66965 (RUN_TEST_f_f1): Likewise.
66966 (RUN_TEST_LOOP_f_f1): Likewise.
66967 (RUN_TEST_fF_f1): Likewise.
66968 (RUN_TEST_LOOP_fF_f1): Likewise.
66969 (RUN_TEST_fI_f1): Likewise.
66970 (RUN_TEST_LOOP_fI_f1): Likewise.
66971 (RUN_TEST_ffI_f1): Likewise.
66972 (RUN_TEST_LOOP_ffI_f1): Likewise.
66973 (RUN_TEST_c_c): Likewise.
66974 (RUN_TEST_LOOP_c_c): Likewise.
66975 (RUN_TEST_cc_c): Likewise.
66976 (RUN_TEST_LOOP_cc_c): Likewise.
66977 (RUN_TEST_f_i): Likewise.
66978 (RUN_TEST_LOOP_f_i): Likewise.
66979 (RUN_TEST_f_i_tg): Likewise.
66980 (RUN_TEST_LOOP_f_i_tg): Likewise.
66981 (RUN_TEST_ff_i_tg): Likewise.
66982 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66983 (RUN_TEST_f_b): Likewise.
66984 (RUN_TEST_LOOP_f_b): Likewise.
66985 (RUN_TEST_f_b_tg): Likewise.
66986 (RUN_TEST_LOOP_f_b_tg): Likewise.
66987 (RUN_TEST_f_l): Likewise.
66988 (RUN_TEST_LOOP_f_l): Likewise.
66989 (RUN_TEST_f_L): Likewise.
66990 (RUN_TEST_LOOP_f_L): Likewise.
66991 (RUN_TEST_sincos): Likewise.
66992 (RUN_TEST_LOOP_sincos): Likewise.
66993
669942013-05-17 Joseph Myers <joseph@codesourcery.com>
66995
66996 [BZ #15480]
66997 [BZ #15485]
66998 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66999 main case of finite arguments, set rounding mode to FE_TONEAREST
67000 and discard exceptions.
67001 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
67002 exceptions.
67003 (remainder_tonearest_test_data): New variable.
67004 (remainder_test_tonearest): New function.
67005 (remainder_towardzero_test_data): New variable.
67006 (remainder_test_towardzero): New function.
67007 (remainder_downward_test_data): New variable.
67008 (remainder_test_downward): New function.
67009 (remainder_upward_test_data): New variable.
67010 (remainder_test_upward): New function.
67011 (main): Call the new test functions.
67012
67013 * math/libm-test.inc (struct test_f_f1_data): Remove field
67014 extra_init.
67015 (struct test_fF_f1_data): Likewise.
67016 (struct test_ffI_f1_data): Likewise.
67017 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
67018 based on value of EXTRA_EXPECTED.
67019 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
67020 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
67021 EXTRA_VAR based on value of EXTRA_EXPECTED.
67022 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
67023 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
67024 EXTRA_VAR based on value of EXTRA_EXPECTED.
67025 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
67026 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
67027 EXTRA_VAR based on value of EXTRA_EXPECTED.
67028 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
67029 * math/gen-libm-test.pl (parse_args): Don't output initializers
67030 for extra output values.
67031
67032 * math/libm-test.inc (check_int): Expect result to be exactly
67033 equal to expected value and do not handle ulps.
67034 (check_long): Likewise.
67035 (check_longlong): Likewise.
67036
67037 * math/libm-test.inc (ceil_test_data): Test for "inexact"
67038 exceptions.
67039 (cimag_test_data): Likewise.
67040 (conj_test_data): Likewise.
67041 (copysign_test_data): Likewise.
67042 (cproj_test_data): Likewise.
67043 (creal_test_data): Likewise.
67044 (fabs_test_data): Likewise.
67045 (fdim_test_data): Likewise.
67046 (finite_test_data): Likewise.
67047 (floor_test_data): Likewise.
67048 (fmax_test_data): Likewise.
67049 (fmin_test_data): Likewise.
67050 (fmod_test_data): Likewise.
67051 (fpclassify_test_data): Likewise.
67052 (frexp_test_data): Likewise.
67053 (ilogb_test_data): Likewise.
67054 (isfinite_test_data): Likewise.
67055 (isgreater_test_data): Likewise.
67056 (isgreaterequal_test_data): Likewise.
67057 (isinf_test_data): Likewise.
67058 (isless_test_data): Likewise.
67059 (islessequal_test_data): Likewise.
67060 (islessgreater_test_data): Likewise.
67061 (isnan_test_data): Likewise.
67062 (isnormal_test_data): Likewise.
67063 (issignaling_test_data): Likewise.
67064 (isunordered_test_data): Likewise.
67065 (ldexp_test_data): Likewise.
67066 (lrint_test_data): Likewise.
67067 (lrint_test_data) [TEST_FLOAT]: Disable one test.
67068 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
67069 (lrint_tonearest_test_data): Test for "inexact" exceptions.
67070 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67071 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
67072 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67073 test input.
67074 (lrint_towardzero_test_data): Test for "inexact" exceptions.
67075 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67076 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
67077 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
67078 that test input.
67079 (lrint_downward_test_data): Test for "inexact" exceptions.
67080 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67081 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
67082 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67083 test input.
67084 (lrint_upward_test_data): Test for "inexact" exceptions.
67085 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
67086 test input.
67087 (llrint_test_data): Test for "inexact" exceptions.
67088 (llrint_test_data) [TEST_FLOAT]: Disable one test.
67089 (llrint_tonearest_test_data): Test for "inexact" exceptions.
67090 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67091 (llrint_towardzero_test_data): Test for "inexact" exceptions.
67092 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67093 (llrint_downward_test_data): Test for "inexact" exceptions.
67094 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67095 (llrint_upward_test_data): Test for "inexact" exceptions.
67096 (logb_test_data): Likewise.
67097 (logb_downward_test_data): Likewise.
67098 (nextafter_test_data): Likewise.
67099 (nexttoward_test_data): Likewise.
67100 (remainder_test_data): Likewise.
67101 (remquo_test_data): Likewise.
67102 (scalbn_test_data): Likewise.
67103 (scalbln_test_data): Likewise.
67104 (signbit_test_data): Likewise.
67105 (sqrt_test_data): Likewise.
67106 (significand_test_data): Likewise.
67107
671082013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
67109
67110 [BZ #15424]
67111 * benchtests/bench-modf.c (struct args): Mark arg0 as
67112 volatile.
67113 * scripts/bench.pl: Mark members of struct args as volatile.
67114
671152013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67116
67117 [BZ # 15497]
67118 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
67119 negative infinity on POWER6 or lower.
67120 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
67121
671222013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
67123
67124 [BZ #15442]
67125 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
67126 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
67127 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
67128 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
67129 (_FP_SETQNAN): New macro.
67130 (_FP_SETQNAN_SEMIRAW): Likewise.
67131 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
67132 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
67133 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
67134 (FP_EXTEND): Use _FP_FRAC_SNANP.
67135 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
67136 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
67137 into account.
67138 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67139 New macro.
67140 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67141 Likewise.
92c3af3c 67142
edf66db1
SP
671432013-05-16 Joseph Myers <joseph@codesourcery.com>
67144
67145 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
67146 with DIVIDE_BY_ZERO_EXCEPTION.
67147 (gamma_test_data): Likewise.
67148 (lgamma_test_data): Likewise.
67149 (log_test_data): Likewise.
67150 (log10_test_data): Likewise.
67151 (log2_test_data): Likewise.
67152 (tgamma_test_data): Likewise.
67153
67154 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
67155 (acos_test_tonearest): Likewise.
67156 (acos_test_towardzero): Likewise.
67157 (acos_test_downward): Likewise.
67158 (acos_test_upward): Likewise.
67159 (acosh_test): Likewise.
67160 (asin_test): Likewise.
67161 (asin_test_tonearest): Likewise.
67162 (asin_test_towardzero): Likewise.
67163 (asin_test_downward): Likewise.
67164 (asin_test_upward): Likewise.
67165 (asinh_test): Likewise.
67166 (atan_test): Likewise.
67167 (atanh_test): Likewise.
67168 (atan2_test): Likewise.
67169 (cabs_test): Likewise.
67170 (cacos_test): Likewise.
67171 (cacosh_test): Likewise.
67172 (casin_test): Likewise.
67173 (casinh_test): Likewise.
67174 (catan_test): Likewise.
67175 (catanh_test): Likewise.
67176 (cbrt_test): Likewise.
67177 (ccos_test): Likewise.
67178 (ccosh_test): Likewise.
67179 (cexp_test): Likewise.
67180 (clog_test): Likewise.
67181 (clog10_test): Likewise.
67182 (cos_test): Likewise.
67183 (cos_test_tonearest): Likewise.
67184 (cos_test_towardzero): Likewise.
67185 (cos_test_downward): Likewise.
67186 (cos_test_upward): Likewise.
67187 (cosh_test): Likewise.
67188 (cosh_test_tonearest): Likewise.
67189 (cosh_test_towardzero): Likewise.
67190 (cosh_test_downward): Likewise.
67191 (cosh_test_upward): Likewise.
67192 (cpow_test): Likewise.
67193 (csin_test): Likewise.
67194 (csinh_test): Likewise.
67195 (csqrt_test): Likewise.
67196 (ctan_test): Likewise.
67197 (ctan_test_tonearest): Likewise.
67198 (ctan_test_towardzero): Likewise.
67199 (ctan_test_downward): Likewise.
67200 (ctan_test_upward): Likewise.
67201 (ctanh_test): Likewise.
67202 (ctanh_test_tonearest): Likewise.
67203 (ctanh_test_towardzero): Likewise.
67204 (ctanh_test_downward): Likewise.
67205 (ctanh_test_upward): Likewise.
67206 (erf_test): Likewise.
67207 (erfc_test): Likewise.
67208 (exp_test): Likewise.
67209 (exp_test_tonearest): Likewise.
67210 (exp_test_towardzero): Likewise.
67211 (exp_test_downward): Likewise.
67212 (exp_test_upward): Likewise.
67213 (exp10_test): Likewise.
67214 (exp2_test): Likewise.
67215 (expm1_test): Likewise.
67216 (fmod_test): Likewise.
67217 (gamma_test): Likewise.
67218 (hypot_test): Likewise.
67219 (j0_test): Likewise.
67220 (j1_test): Likewise.
67221 (jn_test): Likewise.
67222 (lgamma_test): Likewise.
67223 (log_test): Likewise.
67224 (log10_test): Likewise.
67225 (log1p_test): Likewise.
67226 (log2_test): Likewise.
67227 (logb_test_downward): Likewise.
67228 (pow_test): Likewise.
67229 (pow_test_tonearest): Likewise.
67230 (pow_test_towardzero): Likewise.
67231 (pow_test_downward): Likewise.
67232 (pow_test_upward): Likewise.
67233 (remainder_test): Likewise.
67234 (remquo_test): Likewise.
67235 (sin_test): Likewise.
67236 (sin_test_tonearest): Likewise.
67237 (sin_test_towardzero): Likewise.
67238 (sin_test_downward): Likewise.
67239 (sin_test_upward): Likewise.
67240 (sincos_test): Likewise.
67241 (sinh_test): Likewise.
67242 (sinh_test_tonearest): Likewise.
67243 (sinh_test_towardzero): Likewise.
67244 (sinh_test_downward): Likewise.
67245 (sinh_test_upward): Likewise.
67246 (sqrt_test): Likewise.
67247 (tan_test): Likewise.
67248 (tan_test_tonearest): Likewise.
67249 (tan_test_towardzero): Likewise.
67250 (tan_test_downward): Likewise.
67251 (tan_test_upward): Likewise.
67252 (tanh_test): Likewise.
67253 (tgamma_test): Likewise.
67254 (y0_test): Likewise.
67255 (y1_test): Likewise.
67256 (yn_test): Likewise.
67257
67258 * math/gen-libm-test.pl (adjust_arg): Remove function.
67259 (special_function): Remove argument $in_func. Only handle
67260 generating output for tables of tests, not inside functions.
67261 (parse_args): Likewise.
67262 (generate_testfile): Remove variable $in_func. Update call to
67263 parse_args.
67264 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67265 (MINUS_ZERO_INIT): Rename macro to minus_zero.
67266 (PLUS_INFTY_INIT): Rename macro to plus_infty.
67267 (MINUS_INFTY_INIT): Rename macro to minus_infty.
67268 (QNAN_VALUE_INIT): Rename macro to qnan_value.
67269 (MAX_VALUE_INIT): Rename macro to max_value.
67270 (MIN_VALUE_INIT): Rename macro to min_value.
67271 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67272 (plus_zero): Remove variable.
67273 (minus_zero): Likewise.
67274 (plus_infty): Likewise.
67275 (minus_infty): Likewise.
67276 (qnan_value): Likewise.
67277 (max_value): Likewise.
67278 (min_value): Likewise.
67279 (min_subnorm_value): Likewise.
67280
672812013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
67282
67283 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67284 uint64_t or uint32_t usage.
67285 * crypt/sha256-block.c: Likewise.
67286 * crypt/sha256-crypt.c: Likewise.
67287 * crypt/sha256.c: Likewise.
67288 * crypt/sha512-block.c: Likewise.
67289 * crypt/sha512-crypt.c: Likewise.
67290 * crypt/sha512.c: Likewise.
67291 * debug/backtrace-tst.c: Likewise.
67292 * debug/pcprofiledump.c: Likewise.
67293 * elf/cache.c: Likewise.
67294 * elf/dl-cache.c: Likewise.
67295 * elf/dl-misc.c: Likewise.
67296 * elf/dl-profile.c: Likewise.
67297 * elf/dl-support.c: Likewise.
67298 * elf/ldconfig.c: Likewise.
67299 * elf/sprof.c: Likewise.
67300 * iconv/dummy-repertoire.c: Likewise.
67301 * iconv/iconv_charmap.c: Likewise.
67302 * iconv/skeleton.c: Likewise.
67303 * iconvdata/8bit-generic.c: Likewise.
67304 * iconvdata/cp737.h: Likewise.
67305 * iconvdata/cp775.h: Likewise.
67306 * iconvdata/ibm1008.h: Likewise.
67307 * iconvdata/ibm1025.h: Likewise.
67308 * iconvdata/ibm1046.h: Likewise.
67309 * iconvdata/ibm1097.h: Likewise.
67310 * iconvdata/ibm1112.h: Likewise.
67311 * iconvdata/ibm1122.h: Likewise.
67312 * iconvdata/ibm1123.h: Likewise.
67313 * iconvdata/ibm1124.h: Likewise.
67314 * iconvdata/ibm1129.h: Likewise.
67315 * iconvdata/ibm1130.h: Likewise.
67316 * iconvdata/ibm1132.h: Likewise.
67317 * iconvdata/ibm1133.h: Likewise.
67318 * iconvdata/ibm1137.h: Likewise.
67319 * iconvdata/ibm1140.h: Likewise.
67320 * iconvdata/ibm1141.h: Likewise.
67321 * iconvdata/ibm1142.h: Likewise.
67322 * iconvdata/ibm1143.h: Likewise.
67323 * iconvdata/ibm1144.h: Likewise.
67324 * iconvdata/ibm1145.h: Likewise.
67325 * iconvdata/ibm1146.h: Likewise.
67326 * iconvdata/ibm1147.h: Likewise.
67327 * iconvdata/ibm1148.h: Likewise.
67328 * iconvdata/ibm1149.h: Likewise.
67329 * iconvdata/ibm1153.h: Likewise.
67330 * iconvdata/ibm1154.h: Likewise.
67331 * iconvdata/ibm1155.h: Likewise.
67332 * iconvdata/ibm1156.h: Likewise.
67333 * iconvdata/ibm1157.h: Likewise.
67334 * iconvdata/ibm1158.h: Likewise.
67335 * iconvdata/ibm1160.h: Likewise.
67336 * iconvdata/ibm1161.h: Likewise.
67337 * iconvdata/ibm1162.h: Likewise.
67338 * iconvdata/ibm1163.h: Likewise.
67339 * iconvdata/ibm1164.h: Likewise.
67340 * iconvdata/ibm1166.h: Likewise.
67341 * iconvdata/ibm1167.h: Likewise.
67342 * iconvdata/ibm12712.h: Likewise.
67343 * iconvdata/ibm1390.h: Likewise.
67344 * iconvdata/ibm1399.h: Likewise.
67345 * iconvdata/ibm16804.h: Likewise.
67346 * iconvdata/ibm4517.h: Likewise.
67347 * iconvdata/ibm4899.h: Likewise.
67348 * iconvdata/ibm4909.h: Likewise.
67349 * iconvdata/ibm4971.h: Likewise.
67350 * iconvdata/ibm5347.h: Likewise.
67351 * iconvdata/ibm803.h: Likewise.
67352 * iconvdata/ibm856.h: Likewise.
67353 * iconvdata/ibm901.h: Likewise.
67354 * iconvdata/ibm902.h: Likewise.
67355 * iconvdata/ibm9030.h: Likewise.
67356 * iconvdata/ibm9066.h: Likewise.
67357 * iconvdata/ibm921.h: Likewise.
67358 * iconvdata/ibm922.h: Likewise.
67359 * iconvdata/ibm9448.h: Likewise.
67360 * iconvdata/isiri-3342.h: Likewise.
67361 * iconvdata/jis0201.h: Likewise.
67362 * include/link.h: Likewise.
67363 * include/netdb.h: Likewise.
67364 * inet/check_native.c: Likewise.
67365 * inet/check_pf.c: Likewise.
67366 * inet/getipv4sourcefilter.c: Likewise.
67367 * inet/getnameinfo.c: Likewise.
67368 * inet/getsourcefilter.c: Likewise.
67369 * inet/htonl.c: Likewise.
67370 * inet/setipv4sourcefilter.c: Likewise.
67371 * inet/setsourcefilter.c: Likewise.
67372 * inet/test-inet6_opt.c: Likewise.
67373 * inet/tst-network.c: Likewise.
67374 * locale/C-collate.c: Likewise.
67375 * locale/C-ctype.c: Likewise.
67376 * locale/C-time.c: Likewise.
67377 * locale/C-translit.h: Likewise.
67378 * locale/loadarchive.c: Likewise.
67379 * locale/programs/3level.h: Likewise.
67380 * locale/programs/charmap.c: Likewise.
67381 * locale/programs/charmap.h: Likewise.
67382 * locale/programs/ld-address.c: Likewise.
67383 * locale/programs/ld-collate.c: Likewise.
67384 * locale/programs/ld-ctype.c: Likewise.
67385 * locale/programs/ld-identification.c: Likewise.
67386 * locale/programs/ld-measurement.c: Likewise.
67387 * locale/programs/ld-messages.c: Likewise.
67388 * locale/programs/ld-monetary.c: Likewise.
67389 * locale/programs/ld-name.c: Likewise.
67390 * locale/programs/ld-numeric.c: Likewise.
67391 * locale/programs/ld-paper.c: Likewise.
67392 * locale/programs/ld-telephone.c: Likewise.
67393 * locale/programs/ld-time.c: Likewise.
67394 * locale/programs/linereader.c: Likewise.
67395 * locale/programs/locale.c: Likewise.
67396 * locale/programs/locarchive.c: Likewise.
67397 * locale/programs/locfile.h: Likewise.
67398 * locale/programs/repertoire.c: Likewise.
67399 * locale/programs/simple-hash.c: Likewise.
67400 * locale/programs/simple-hash.h: Likewise.
67401 * malloc/memusage.c: Likewise.
67402 * malloc/memusagestat.c: Likewise.
67403 * nis/nis_defaults.c: Likewise.
67404 * nis/nis_hash.c: Likewise.
67405 * nis/nis_print.c: Likewise.
67406 * nis/nis_xdr.c: Likewise.
67407 * nscd/connections.c: Likewise.
67408 * nscd/hstcache.c: Likewise.
67409 * nscd/nscd_gethst_r.c: Likewise.
67410 * nscd/nscd_getserv_r.c: Likewise.
67411 * nscd/nscd_helper.c: Likewise.
67412 * nscd/servicescache.c: Likewise.
67413 * nss/makedb.c: Likewise.
67414 * nss/nss_db/db-XXX.c: Likewise.
67415 * nss/nss_db/db-initgroups.c: Likewise.
67416 * nss/nss_db/db-netgrp.c: Likewise.
67417 * nss/nss_files/files-network.c: Likewise.
67418 * nss/nss_files/files-parse.c: Likewise.
67419 * posix/bug-regex5.c: Likewise.
67420 * posix/fnmatch_loop.c: Likewise.
67421 * posix/regcomp.c: Likewise.
67422 * posix/regexec.c: Likewise.
67423 * posix/tst-rfc3484-2.c: Likewise.
67424 * posix/tst-rfc3484-3.c: Likewise.
67425 * posix/tst-rfc3484.c: Likewise.
67426 * resolv/nss_dns/dns-canon.c: Likewise.
67427 * resolv/nss_dns/dns-network.c: Likewise.
67428 * resolv/res_init.c: Likewise.
67429 * resolv/res_mkquery.c: Likewise.
67430 * resolv/tst-aton.c: Likewise.
67431 * stdlib/cxa_atexit.c: Likewise.
67432 * stdlib/cxa_finalize.c: Likewise.
67433 * stdlib/gen-fpioconst.c: Likewise.
67434 * stdlib/strtol_l.c: Likewise.
67435 * string/tst-endian.c: Likewise.
67436 * sunrpc/auth_des.c: Likewise.
67437 * sunrpc/clnt_udp.c: Likewise.
67438 * sunrpc/rtime.c: Likewise.
67439 * sunrpc/svcauth_des.c: Likewise.
67440 * sunrpc/xdr.c: Likewise.
67441 * sunrpc/xdr_intXX_t.c: Likewise.
67442 * sunrpc/xdr_rec.c: Likewise.
67443 * sysdeps/generic/ldconfig.h: Likewise.
67444 * sysdeps/generic/ldsodefs.h: Likewise.
67445 * sysdeps/generic/memusage.h: Likewise.
67446 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67447 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67448 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67449 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67450 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67451 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67452 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67453 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67454 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67456 * sysdeps/posix/getaddrinfo.c: Likewise.
67457 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67458 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67459 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67460 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67461 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67462 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67463 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67464 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67465 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67466 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67467 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67468 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67469 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67470 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67471 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67472 * sysdeps/x86_64/dl-tls.h: Likewise.
67473 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67474 * time/alt_digit.c: Likewise.
67475 * time/era.c: Likewise.
67476 * wcsmbs/tst-c16c32-1.c: Likewise.
92c3af3c 67477
edf66db1 674782013-05-16 Joseph Myers <joseph@codesourcery.com>
92c3af3c 67479
edf66db1
SP
67480 * math/libm-test.inc (struct test_sincos_data): New type.
67481 (RUN_TEST_LOOP_sincos): New macro.
67482 (sincos_test_data): New variable.
67483 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
92c3af3c 67484
edf66db1 674852013-05-16 Richard Henderson <rth@redhat.com>
92c3af3c 67486
edf66db1
SP
67487 * math/atest-exp2.c (LIMB64): New macro.
67488 (CONSTSZ): New macro.
67489 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67490 (hexdig): Move ...
67491 (print_mpn_fp): ... to function scope.
67492 (read_mpn_hex): Remove.
67493 (get_log2): Remove.
67494 (exp2_mpn): Use mp_log2.
67495 (main): Use mp_exp1.
92c3af3c 67496
edf66db1 674972013-05-16 Joseph Myers <joseph@codesourcery.com>
92c3af3c 67498
edf66db1
SP
67499 * math/libm-test.inc: Remove comment about not testing "inexact"
67500 exceptions.
67501 (INEXACT_EXCEPTION): New macro.
67502 (NO_INEXACT_EXCEPTION): Likewise.
67503 (INVALID_EXCEPTION_OK): Update value.
67504 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67505 (OVERFLOW_EXCEPTION_OK): Likewise.
67506 (UNDERFLOW_EXCEPTION_OK): Likewise.
67507 (IGNORE_ZERO_INF_SIGN): Likewise.
67508 (ERRNO_UNCHANGED): Likewise.
67509 (ERRNO_EDOM): Likewise.
67510 (ERRNO_ERANGE): Likewise.
67511 (test_exceptions): Handle testing "inexact" exceptions.
67512 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67513 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67514 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67515 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67516 INEXACT_EXCEPTION.
67517 (rint_towardzero_test_data): Likewise.
67518 (rint_downward_test_data): Likewise.
67519 (rint_upward_test_data): Likewise.
67520
67521 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67522 with OVERFLOW_EXCEPTION.
67523 (exp10_test_data): Likewise.
67524 (exp2_test_data): Likewise.
67525 (expm1_test_data): Likewise.
67526 (lgamma_test_data): Likewise.
67527 (pow_test_data): Likewise.
67528 (tgamma_test_data): Likewise.
67529 (yn_test_data): Remove duplicate test of overflow.
67530
67531 * math/libm-test.inc (struct test_cc_c_data): New type.
67532 (RUN_TEST_LOOP_cc_c): New macro.
67533 (cpow_test_data): New variable.
67534 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67535
67536 * math/libm-test.inc (struct test_f_L_data): New type.
67537 (RUN_TEST_LOOP_f_L): New macro.
67538 (llrint_test_data): New variable.
67539 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67540 (llrint_tonearest_test_data): New variable.
67541 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67542 (llrint_towardzero_test_data): New variable.
67543 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67544 (llrint_downward_test_data): New variable.
67545 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67546 (llrint_upward_test_data): New variable.
67547 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67548 (llround_test_data): New variable.
67549 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67550
675512013-05-13 Peter Collingbourne <pcc@google.com>
67552
67553 * math/atest-exp2.c (get_log2): Remove const attribute.
67554
675552013-05-15 Joseph Myers <joseph@codesourcery.com>
67556
67557 * math/libm-test.inc (struct test_f_l_data): New type.
67558 (RUN_TEST_LOOP_f_l): New macro.
67559 (lrint_test_data): New variable.
67560 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67561 (lrint_tonearest_test_data): New variable.
67562 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67563 (lrint_towardzero_test_data): New variable.
67564 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67565 (lrint_downward_test_data): New variable.
67566 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67567 (lrint_upward_test_data): New variable.
67568 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67569 (lround_test_data): New variable.
67570 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67571
675722013-05-15 Peter Collingbourne <pcc@google.com>
67573
67574 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67575 (EXTRACT_WORDS64) Use where appropriate.
67576 (INSERT_WORDS64) Likewise.
67577
67578 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67579 constraints with x constraints.
67580 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67581
67582 * malloc/obstack.c (_obstack_compat): Add initializer.
67583
675842013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67585
67586 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67587 si_trapno and add si_addr_lsb to _sifields.sigfault.
67588 (si_trapno): Remove macro.
67589 (si_addr_lsb): Define new macro.
67590 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67591
675922013-05-15 Joseph Myers <joseph@codesourcery.com>
67593
67594 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67595 instead of TEST_f_l.
67596 (llrint_test_tonearest): Likewise.
67597 (llrint_test_towardzero): Likewise.
67598 (llrint_test_downward): Likewise.
67599 (llrint_test_upward): Likewise.
67600 (llround_test): Likewise.
67601
67602 * math/libm-test.inc (struct test_f_i_data): Add comment.
67603 (RUN_TEST_LOOP_f_b): New macro.
67604 (RUN_TEST_LOOP_f_b_tg): Likewise.
67605 (finite_test_data): New variable.
67606 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67607 (isfinite_test_data): New variable.
67608 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67609 (isinf_test_data): New variable.
67610 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67611 (isnan_test_data): New variable.
67612 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67613 (isnormal_test_data): New variable.
67614 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67615 (issignaling_test_data): New variable.
67616 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67617 (signbit_test_data): New variable.
67618 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67619
67620 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67621 with INVALID_EXCEPTION.
67622 (acosh_test_data): Likewise.
67623 (asin_test_data): Likewise.
67624 (atanh_test_data): Likewise.
67625 (fmod_test_data): Likewise.
67626 (log_test_data): Likewise.
67627 (log10_test_data): Likewise.
67628 (log2_test_data): Likewise.
67629 (pow_test_data): Likewise.
67630 (sqrt_test_data): Likewise.
67631 (y0_test_data): Likewise.
67632 (y1_test_data): Likewise.
67633 (yn_test_data): Likewise.
67634
67635 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67636 function contents.
67637
67638 * math/libm-test.inc (struct test_ff_i_data): New type.
67639 (RUN_TEST_LOOP_ff_i_tg): New macro.
67640 (isgreater_test_data): New variable.
67641 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67642 (isgreaterequal_test_data): New variable.
67643 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67644 (isless_test_data): New variable.
67645 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67646 (islessequal_test_data): New variable.
67647 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67648 (islessgreater_test_data): New variable.
67649 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67650 (isunordered_test_data): New variable.
67651 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67652
676532013-05-14 David S. Miller <davem@davemloft.net>
67654
67655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67656
676572013-05-14 Joseph Myers <joseph@codesourcery.com>
67658
67659 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67660
67661 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67662 extra_test to int.
67663 (struct test_f_i_data): Change type of max_ulp to int.
67664
67665 * math/libm-test.inc (test_ffI_f1_data): New type.
67666 (RUN_TEST_LOOP_ffI_f1): New macro.
67667 (remquo_test_data): New variable.
67668 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67669
67670 * setjmp/tst-setjmp-fp.c: New file.
67671 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67672 (link-libm): New variable.
67673 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67674
67675 * math/libm-test.inc (struct test_f_i_data): New type.
67676 (RUN_TEST_LOOP_f_i): New macro.
67677 (RUN_TEST_LOOP_f_i_tg): Likewise.
67678 (fpclassify_test_data): New variable.
67679 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67680 (ilogb_test_data): New variable.
67681 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67682
67683 * math/libm-test.inc (scalbln_test): Correct function name in END
67684 call.
92c3af3c 67685
edf66db1
SP
67686 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67687 (RUN_TEST_LOOP_fI_f1): New macro.
67688 (frexp_test_data): New variable.
67689 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67690
67691 * math/libm-test.inc (struct test_fF_f1_data): New type.
67692 (RUN_TEST_LOOP_fF_f1): New macro.
67693 (modf_test_data): New variable.
67694 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67695
67696 * math/libm-test.inc (struct test_f_f1_data): New type.
67697 (RUN_TEST_LOOP_f_f1): New macro.
67698 (gamma_test_data): New variable.
67699 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67700 (lgamma_test_data): New variable.
67701 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67702
677032013-05-13 Carlos O'Donell <carlos@redhat.com>
67704
67705 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67706 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67707 (main): Comment "tls" pseudo-hwcap.
67708
677092013-05-13 Joseph Myers <joseph@codesourcery.com>
67710
67711 * math/libm-test.inc (struct test_fl_f_data): New type.
67712 (RUN_TEST_LOOP_fl_f): New variable.
67713 (scalbln_test_data): New variable.
67714 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67715
67716 * math/libm-test.inc (struct test_fi_f_data): New type.
67717 (RUN_TEST_LOOP_fi_f): New macro.
67718 (ldexp_test_data): New variable.
67719 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67720 (scalbn_test_data): New variable.
67721 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67722
67723 * math/libm-test.inc (struct test_c_f_data): New type.
67724 (RUN_TEST_LOOP_c_f): New macro.
67725 (cabs_test_data): New variable.
67726 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67727 (carg_test_data): New variable.
67728 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67729 (cimag_test_data): New variable.
67730 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67731 (creal_test_data): New variable.
67732 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67733
67734 * math/libm-test.inc (struct test_if_f_data): New type.
67735 (RUN_TEST_LOOP_if_f): New macro.
67736 (jn_test_data): New variable.
67737 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67738 (yn_test_data): New variable.
67739 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67740
67741 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67742
677432013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67744
67745 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67746 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67747
677482013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67749
67750 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67751 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67752 (bench-deps): Add bench-timing.h.
67753 * benchtests-bench-skeleton.c: Include bench-timing.h.
67754 (main): Use TIMING_* macros instead of clock_gettime.
67755 * benchtests/bench-timing.h: New file.
67756
67757 [BZ #14582]
67758 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67759 Renamed from _LIB_VERSION.
67760 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67761
677622013-05-12 Joseph Myers <joseph@codesourcery.com>
67763
67764 * math/libm-test.inc (struct test_fff_f_data): New type.
67765 (RUN_TEST_LOOP_fff_f): New macro.
67766 (fma_test_data): New variable.
67767 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67768 (fma_towardzero_test_data): New variable.
67769 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67770 (fma_downward_test_data): New variable.
67771 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67772 (fma_upward_test_data): New variable.
67773 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67774
67775 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67776 (struct test_c_c_data): New type.
67777 (RUN_TEST_LOOP_c_c): New macro.
67778 (cacos_test_data): New variable.
67779 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67780 (cacosh_test_data): New variable.
67781 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67782 (casin_test_data): New variable.
67783 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67784 (casinh_test_data): New variable.
67785 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67786 (catan_test_data): New variable.
67787 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67788 (catanh_test_data): New variable.
67789 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67790 (ccos_test_data): New variable.
67791 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67792 (ccosh_test_data): New variable.
67793 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67794 (cexp_test_data): New variable.
67795 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67796 (clog_test_data): New variable.
67797 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67798 (clog10_test_data): New variable.
67799 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67800 (conj_test_data): New variable.
67801 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67802 (cproj_test_data): New variable.
67803 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67804 (csin_test_data): New variable.
67805 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67806 (csinh_test_data): New variable.
67807 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67808 (csqrt_test_data): New variable.
67809 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67810 (ctan_test_data): New variable.
67811 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67812 (ctan_tonearest_test_data): New variable.
67813 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67814 (ctan_towardzero_test_data): New variable.
67815 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67816 (ctan_downward_test_data): New variable.
67817 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67818 (ctan_upward_test_data): New variable.
67819 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67820 (ctanh_test_data): New variable.
67821 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67822 (ctanh_tonearest_test_data): New variable.
67823 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67824 (ctanh_towardzero_test_data): New variable.
67825 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67826 (ctanh_downward_test_data): New variable.
67827 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67828 (ctanh_upward_test_data): New variable.
67829 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67830 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67831 of BUILD_COMPLEX.
67832
67833 * math/libm-test.inc (struct test_ff_f_data): New type.
67834 (struct test_ff_f_data_nexttoward): Likewise.
67835 (RUN_TEST_LOOP_2_f): New macro.
67836 (RUN_TEST_LOOP_ff_f): Likewise.
67837 (atan2_test_data): New variable.
67838 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67839 (copysign_test_data): New variable.
67840 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67841 (fdim_test_data): New variable.
67842 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67843 (fmax_test_data): New variable.
67844 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67845 (fmin_test_data): New variable.
67846 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67847 (fmod_test_data): New variable.
67848 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67849 (hypot_test_data): New variable.
67850 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67851 (nextafter_test_data): New variable.
67852 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67853 (nexttoward_test_data): New variable.
67854 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67855 (pow_test_data): New variable.
67856 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67857 (pow_tonearest_test_data): New variable.
67858 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67859 (pow_towardzero_test_data): New variable.
67860 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67861 (pow_downward_test_data): New variable.
67862 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67863 (pow_upward_test_data): New variable.
67864 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67865 (remainder_test_data): New variable.
67866 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67867 (scalb_test_data): New variable.
67868 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67869 * sysdeps/i386/fpu/libm-test-ulps: Update.
67870
678712013-05-11 Joseph Myers <joseph@codesourcery.com>
67872
67873 * math/libm-test.inc (fma_test): Use max_value instead of local
67874 variable fltmax.
67875 (nextafter_test): Likewise.
67876
67877 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67878 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67879 (acos_downward_test_data): New variable.
67880 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67881 (acos_upward_test_data): New variable.
67882 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67883 (acosh_test_data): New variable.
67884 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67885 (asin_test_data): New variable.
67886 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67887 (asin_tonearest_test_data): New variable.
67888 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67889 (asin_towardzero_test_data): New variable.
67890 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67891 (asin_downward_test_data): New variable.
67892 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67893 (asin_upward_test_data): New variable.
67894 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67895 (asinh_test_data): New variable.
67896 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67897 (atan_test_data): New variable.
67898 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67899 (atanh_test_data): New variable.
67900 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67901 (cbrt_test_data): New variable.
67902 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67903 (ceil_test_data): New variable.
67904 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67905 (cos_test_data): New variable.
67906 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67907 (cos_tonearest_test_data): New variable.
67908 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67909 (cos_towardzero_test_data): New variable.
67910 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67911 (cos_downward_test_data): New variable.
67912 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67913 (cos_upward_test_data): New variable.
67914 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67915 (cosh_test_data): New variable.
67916 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67917 (cosh_tonearest_test_data): New variable.
67918 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67919 (cosh_towardzero_test_data): New variable.
67920 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67921 (cosh_downward_test_data): New variable.
67922 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67923 (cosh_upward_test_data): New variable.
67924 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67925 (erf_test_data): New variable.
67926 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67927 (erfc_test_data): New variable.
67928 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67929 (exp_test_data): New variable.
67930 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67931 (exp_tonearest_test_data): New variable.
67932 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67933 (exp_towardzero_test_data): New variable.
67934 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67935 (exp_downward_test_data): New variable.
67936 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67937 (exp_upward_test_data): New variable.
67938 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67939 (exp10_test_data): New variable.
67940 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67941 (exp2_test_data): New variable.
67942 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67943 (expm1_test_data): New variable.
67944 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67945 (fabs_test_data): New variable.
67946 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67947 (floor_test_data): New variable.
67948 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67949 (j0_test_data): New variable.
67950 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67951 (j1_test_data): New variable.
67952 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67953 (log_test_data): New variable.
67954 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67955 (log10_test_data): New variable.
67956 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67957 (log1p_test_data): New variable.
67958 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67959 (log2_test_data): New variable.
67960 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67961 (logb_test_data): New variable.
67962 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67963 (logb_downward_test_data): New variable.
67964 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67965 (nearbyint_test_data): New variable.
67966 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67967 (rint_test_data): New variable.
67968 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67969 (rint_tonearest_test_data): New variable.
67970 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67971 (rint_towardzero_test_data): New variable.
67972 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67973 (rint_downward_test_data): New variable.
67974 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67975 (rint_upward_test_data): New variable.
67976 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67977 (round_test_data): New variable.
67978 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67979 (sin_test_data): New variable.
67980 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67981 (sin_tonearest_test_data): New variable.
67982 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67983 (sin_towardzero_test_data): New variable.
67984 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67985 (sin_downward_test_data): New variable.
67986 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67987 (sin_upward_test_data): New variable.
67988 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67989 (sinh_test_data): New variable.
67990 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67991 (sinh_tonearest_test_data): New variable.
67992 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67993 (sinh_towardzero_test_data): New variable.
67994 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67995 (sinh_downward_test_data): New variable.
67996 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67997 (sinh_upward_test_data): New variable.
67998 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67999 (sqrt_test_data): New variable.
68000 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
68001 (tan_test_data): New variable.
68002 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
68003 (tan_tonearest_test_data): New variable.
68004 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
68005 (tan_towardzero_test_data): New variable.
68006 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
68007 (tan_downward_test_data): New variable.
68008 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
68009 (tan_upward_test_data): New variable.
68010 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
68011 (tanh_test_data): New variable.
68012 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
68013 (tgamma_test_data): New variable.
68014 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
68015 (trunc_test_data): New variable.
68016 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
68017 (y0_test_data): New variable.
68018 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
68019 (y1_test_data): New variable.
68020 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
68021 (significand_test_data): New variable.
68022 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
68023
680242013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
68025
68026 [BZ #12387]
68027 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
68028
680292013-05-10 Pino Toscano <toscano.pino@tiscali.it>
68030
68031 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
68032
680332013-05-10 Andreas Jaeger <aj@suse.de>
68034
68035 [BZ #15448]
68036 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
68037 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
68038
680392013-05-10 Joseph Myers <joseph@codesourcery.com>
68040
68041 * math/gen-libm-test.pl (adjust_arg): New function.
68042 (special_functions): Handle generating output in both functions
68043 and arrays.
68044 (parse_args): Likewise.
68045 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
68046 $in_func argument to parse_args.
68047 * math/libm-test.inc (struct test_f_f_data): New type.
68048 (IF_ROUND_INIT_): New macro.
68049 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
68050 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
68051 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
68052 (IF_ROUND_INIT_FE_UPWARD): Likewise.
68053 (ROUND_RESTORE_): Likewise.
68054 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
68055 (ROUND_RESTORE_FE_TONEAREST): Likewise.
68056 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
68057 (ROUND_RESTORE_FE_UPWARD): Likewise.
68058 (RUN_TEST_LOOP_f_f): New macro.
68059 (acos_test_data): New variable.
68060 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
68061 (acos_tonearest_test_data): New variable.
68062 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
68063
680642013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68065
68066 * benchtests/bench-skeleton.c (startup): Fix coding style.
68067
680682013-05-10 Joseph Myers <joseph@codesourcery.com>
68069
68070 [BZ #6809]
68071 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
68072 negative infinity argument.
68073 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
68074 negative infinity argument.
68075 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
68076 negative infinity argument.
68077 * math/libm-test.inc (tgamma_test): Expect errno to be set for
68078 domain errors.
68079
680802013-05-10 Florian Weimer <fweimer@redhat.com>
68081
68082 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
68083 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
68084 * iconv/iconv_prog.c (main): Likewise.
68085 * locale/programs/charmap-dir.c (charmap_readdir)
68086 (fopen_uncompressed): Likewise.
68087 * locale/programs/locfile.c (siblings_uncached)
68088 (write_locale_data): Use lstat64 instead of lstat.
68089 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
68090 stat.
68091
680922013-05-10 Andreas Jaeger <aj@suse.de>
68093
68094 [BZ #15395]
68095 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
68096 localization.
68097 Include <locale.h>.
68098
680992013-05-09 Carlos O'Donell <carlos@redhat.com>
68100
68101 * elf/dl-close.c (_dl_close_worker): Add comments.
68102
681032013-05-09 Joseph Myers <joseph@codesourcery.com>
68104
68105 [BZ #15359]
68106 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
68107 high part of pi/2.
68108 (__ieee754_rem_pio2l): Update comments.
68109
68110 [BZ #15429]
68111 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
68112 high part of pi/2.
68113 (__ieee754_rem_pio2l): Update comments.
68114
68115 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
68116 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
68117
68118 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
68119 M_PI_4l.
68120
68121 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
68122 (M_PI_34_LOG10El): Likewise.
68123 (M_PI2_LOG10El): Likewise.
68124 (M_PI4_LOG10El): Likewise.
68125 (M_PI_LOG10El): Likewise.
68126
681272013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68128
68129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68130
681312013-05-08 Joseph Myers <joseph@codesourcery.com>
68132
68133 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
68134 (MINUS_ZERO_INIT): Likewise.
68135 (PLUS_INFTY_INIT): Likewise.
68136 (MINUS_INFTY_INIT): Likewise.
68137 (QNAN_VALUE_INIT): Likewise.
68138 (MAX_VALUE_INIT): Likewise.
68139 (MIN_VALUE_INIT): Likewise.
68140 (MIN_SUBNORM_VALUE_INIT): Likewise.
68141 (plus_zero): Initialize with PLUS_ZERO_INIT.
68142 (minus_zero): Initialize with MINUS_ZERO_INIT.
68143 (plus_infty): Initialize with PLUS_INFTY_INIT.
68144 (minus_infty): Initialize with MINUS_INFTY_INIT.
68145 (qnan_value): Initialize with QNAN_VALUE_INIT.
68146 (max_value): Initialize with MAX_VALUE_INIT.
68147 (min_value): Initialize with MIN_VALUE_INIT.
68148 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
68149
68150 * math/libm-test.inc (RUN_TEST_if_f): New macro.
68151 (jn_test): Use TEST_if_f instead of TEST_ff_f.
68152 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
68153 (yn_test): Use TEST_if_f instead of TEST_ff_f.
68154
68155 * math/libm-test.inc (RUN_TEST_f_f): New macro.
68156 (RUN_TEST_2_f): Likewise.
68157 (RUN_TEST_ff_f): Likewise.
68158 (RUN_TEST_fi_f): Likewise.
68159 (RUN_TEST_fl_f): Likewise.
68160 (RUN_TEST_fff_f): Likewise.
68161 (RUN_TEST_c_f): Likewise.
68162 (RUN_TEST_f_f1): Likewise.
68163 (RUN_TEST_fF_f1): Likewise.
68164 (RUN_TEST_fI_f1): Likewise.
68165 (RUN_TEST_ffI_f1): Likewise.
68166 (RUN_TEST_c_c): Likewise.
68167 (RUN_TEST_cc_c): Likewise.
68168 (RUN_TEST_f_i): Likewise.
68169 (RUN_TEST_f_i_tg): Likewise.
68170 (RUN_TEST_ff_i_tg): Likewise.
68171 (RUN_TEST_f_b): Likewise.
68172 (RUN_TEST_f_b_tg): Likewise.
68173 (RUN_TEST_f_l): Likewise.
68174 (RUN_TEST_f_L): Likewise.
68175 (RUN_TEST_sincos): Likewise.
68176 * math/gen-libm-test.pl (new_test): Take new argument to indicate
68177 whether to show exceptions. Do not include ");\n" in return
68178 value.
68179 (special_functions): Output call to RUN_TEST_sincos instead of
68180 check_float calls. Update calls to new_test.
68181 (parse_args): Output call to single RUN_TEST_* macro instead of
68182 check_* calls and other assignments. Update calls to new_test.
68183
68184 [BZ #2546]
68185 [BZ #2560]
68186 [BZ #5159]
68187 [BZ #15426]
68188 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68189 input to result for tgamma overflow.
68190 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68191 (gamma_coeff): New variable.
68192 (NCOEFF): New macro.
68193 (gamma_positive): New function.
68194 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68195 underflow here. Use gamma_positive instead of exp (lgamma) for
68196 other arguments.
68197 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68198 (gamma_coeff): New variable.
68199 (NCOEFF): New macro.
68200 (gammaf_positive): New function.
68201 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68202 underflow here. Use gamma_positive instead of exp (lgamma) for
68203 other arguments.
68204 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68205 (gamma_coeff): New variable.
68206 (NCOEFF): New macro.
68207 (gammal_positive): New function.
68208 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68209 underflow here. Use gamma_positive instead of exp (lgamma) for
68210 other arguments.
68211 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68212 (gamma_coeff): New variable.
68213 (NCOEFF): New macro.
68214 (gammal_positive): New function.
68215 (__ieee754_gammal_r): Handle positive infinity, overflow and
68216 underflow here. Handle NaN the same as positive infinity. Remove
68217 check x < 0xffffffff for negative integers. Use gamma_positive
68218 instead of exp (lgamma) for other arguments.
68219 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68220 (gamma_coeff): New variable.
68221 (NCOEFF): New macro.
68222 (gammal_positive): New function.
68223 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68224 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68225 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68226 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68227 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68228 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68229 * sysdeps/generic/math_private.h (__gamma_productf): New
68230 prototype.
68231 (__gamma_product): Likewise.
68232 (__gamma_productl): Likewise.
68233 * math/Makefile (libm-calls): Add gamma_product.
68234 * math/libm-test.inc (tgamma_test): Add more tests.
68235 * sysdeps/i386/fpu/libm-test-ulps: Update.
68236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 68237
edf66db1 682382013-05-08 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 68239
edf66db1 68240 * benchtests/bench-skeleton.c (main): Preheat CPU.
92c3af3c 68241
edf66db1 682422013-05-07 Aurelien Jarno <aurelien@aurel32.net>
92c3af3c 68243
edf66db1 68244 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
92c3af3c 68245
edf66db1 682462013-05-07 Roland McGrath <roland@hack.frob.com>
92c3af3c 68247
edf66db1
SP
68248 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68249 and _dl_skip_args_internal.
92c3af3c 68250
edf66db1 682512013-05-07 Carlos O'Donell <carlos@redhat.com>
92c3af3c 68252
edf66db1
SP
68253 * manual/message.texi (Message Translation): Talk about users.
68254 Message to key mapping impacts design.
92c3af3c 68255
edf66db1 682562013-05-06 Roland McGrath <roland@hack.frob.com>
92c3af3c 68257
edf66db1 68258 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
92c3af3c 68259
edf66db1 68260 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
92c3af3c 68261
edf66db1
SP
68262 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68263 * sysdeps/wordsize-64/glob64.c: ... here.
92c3af3c 68264
edf66db1
SP
68265 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68266 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68267 New macros.
92c3af3c 68268
edf66db1
SP
68269 * debug/getlogin_r_chk.c: Moved to ...
68270 * login/getlogin_r_chk.c: ... here.
68271 * debug/Makefile (routines): Move getlogin_r_chk to ...
68272 * login/Makefile (routines): ... here.
68273 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68274 * login/Versions (libc: GLIBC_2.4): ... here.
68275
68276 * io/poll.c (__poll): Renamed from poll.
68277 Add libc_hidden_def.
68278 (poll): Define as weak alias.
68279
68280 * debug/ptsname_r_chk.c: Moved to ...
68281 * login/ptsname_r_chk.c: ... here.
68282 * debug/Makefile (routines): Move ptsname_r_chk to ...
68283 * login/Makefile (routines): ... here.
68284 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68285 * login/Versions (libc: GLIBC_2.4): ... here.
68286
68287 * posix/getlogin.c: Moved to ...
68288 * login/getlogin.c: ... here.
68289 * posix/getlogin_r.c: Moved to ...
68290 * login/getlogin_r.c: ... here.
68291 * posix/getlogin_r.c: Moved to ...
68292 * login/getlogin_r.c: ... here.
68293 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68294 * login/Makefile (routines): ... here.
68295 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68296 * login/Versions (libc: GLIBC_2.0): ... here.
68297
68298 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68299 (setrlimit): Define as weak alias.
68300
68301 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68302 Call __ names for open, ftruncate, and close.
68303 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68304 (truncate): Define as weak alias.
68305
683062013-05-06 Joseph Myers <joseph@codesourcery.com>
68307
68308 * math/gen-libm-test.pl (parse_args): Initialize x before each
68309 test of frexp, modf and remquo.
68310
68311 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68312 test signgam value.
68313
683142013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68315
68316 [BZ #15418]
68317 [BZ #15419]
68318 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68319 internal tests.
68320 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68321
683222013-05-06 Roland McGrath <roland@hack.frob.com>
68323
68324 * elf/dl-writev.h: New file.
68325 * elf/dl-misc.c: Include it.
68326 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68327 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68328
683292013-05-04 Joseph Myers <joseph@codesourcery.com>
68330
68331 * math/libm-test.inc (noXFails): Remove variable.
68332 (noXPasses): Likewise.
68333 (BUILD_COMPLEX_INT): Remove macro.
68334 (print_screen): Remove xfail argument.
68335 (print_screen_max_error): Likewise.
68336 (update_stats): Likewise.
68337 (print_max_error): Likewise. Update calls to other affected
68338 functions.
68339 (print_complex_max_error): Likewise.
68340 (test_single_exception): Update calls to print_screen.
68341 (test_single_errno): Likewise.
68342 (check_float_internal): Remove xfail argument. Update calls to
68343 other affected functions.
68344 (check_float): Likewise.
68345 (check_complex): Likewise.
68346 (check_int): Likewise.
68347 (check_long): Likewise.
68348 (check_bool): Likewise.
68349 (check_longlong): Likewise.
68350 (main): Don't print noXFails and noXPasses.
68351 * math/gen-libm-test.pl (top level): Don't mention expected
68352 failure handling in comment.
68353 (new_test): Don't handle expected failures.
68354 (parse_args): Don't mention expected failure handling in comment.
68355 (generate_testfile): Don't handle expected failures.
68356 (parse_ulps): Likewise.
68357 (print_ulps_file): Likewise.
68358 (get_failure): Remove function.
68359 (output_test): Don't handle expected failures.
68360 * make/README.libm-test: Don't mention expected failure handling.
68361
68362 * math/libm-test.inc (plus_zero): Make const. Add initializer.
68363 (minus_zero): Likewise.
68364 (plus_infty): Likewise.
68365 (minus_infty): Likewise.
68366 (qnan_value): Likewise.
68367 (max_value): Likewise.
68368 (min_value): Likewise.
68369 (min_subnorm_value): Likewise.
68370 (initialize): Do not initialize those variables dynamically.
68371
683722013-05-03 Roland McGrath <roland@hack.frob.com>
68373
68374 * io/open.c (__open_2): Moved to ...
68375 * io/open_2.c: ... this new file.
68376 * io/open64.c (__open64_2): Moved to ...
68377 * io/open64_2.c: ... this new file.
68378 * io/openat.c (__openat_2): Moved to ...
68379 * io/openat_2.c: ... this new file.
68380 * io/openat64.c (__openat64_2): Moved to ...
68381 * io/openat64_2.c: ... this new file.
68382 * io/Makefile (routines): Add them.
68383 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68384 * sysdeps/unix/sysv/linux/open_2.c: File removed.
68385 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68386 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68387 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68388 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68389 (__openat64): Add hidden_ver.
68390 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68391 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68392
68393 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68394 Separately conditionalize setting of GLRO(dl_sysinfo) so
68395 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68396 as well, but the actual setting is only under [NEED_DL_SYSINFO].
68397
683982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68399
68400 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68402 definition.
68403 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68404 * sysdeps/unix/sysv/linux/powerpc/init-first.c
68405 (_libc_vdso_platform_setup): Add __vdso_time initialization.
68406 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68407 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
92c3af3c 68408
edf66db1
SP
684092013-05-03 Joseph Myers <joseph@codesourcery.com>
68410
68411 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68412 test signgam value.
68413
68414 * math/libm-test.inc (hypot_test): Do not use
68415 IGNORE_ZERO_INF_SIGN.
68416
684172013-05-03 Andreas Jaeger <aj@suse.de>
68418
68419 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68420 Linux 3.9.
68421 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68422 (PF_MAX): Adjust for VSOCK change.
68423
684242013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68425
68426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68427
684282013-05-02 Carlos O'Donell <carlos@redhat.com>
68429
68430 [BZ #15264]
68431 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68432 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68433 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68434
684352013-05-02 David S. Miller <davem@davemloft.net>
68436
68437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68438
684392013-05-01 Ondřej Bílka <neleai@seznam.cz>
68440
68441 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68442
684432013-05-01 Roland McGrath <roland@hack.frob.com>
68444
68445 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68446
684472013-05-01 Richard Smith <richard@metafoo.co.uk>
68448
68449 [BZ #14952]
68450 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68451 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68452 Use __attribute__ ((__gnu_inline__)).
68453 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68454 Don't use __attribute__ ((__gnu_inline__)).
68455
684562013-05-01 Joseph Myers <joseph@codesourcery.com>
68457
68458 [BZ #15423]
68459 * math/s_catan.c (__catan): Handle small real or imaginary part of
68460 input specially to avoid spurious underflow.
68461 * math/s_catanf.c (__catanf): Likewise.
68462 * math/s_catanh.c (__catanh): Likewise.
68463 * math/s_catanhf.c (__catanhf): Likewise.
68464 * math/s_catanhl.c (__catanhl): Likewise.
68465 * math/s_catanl.c (__catanl): Likewise.
68466 * math/libm-test.inc (catan_test): Add more tests.
68467 (catanh_test): Likewise.
68468 * sysdeps/i386/fpu/libm-test-ulps: Update.
68469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68470
684712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68472
68473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68474
684752013-04-30 Joseph Myers <joseph@codesourcery.com>
68476
68477 [BZ #15416]
68478 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68479 accurately for denominator in atan2.
68480 * math/s_catanf.c (__catanf): Likewise.
68481 * math/s_catanh.c (__catanh): Likewise.
68482 * math/s_catanhf.c (__catanhf): Likewise.
68483 * math/s_catanhl.c (__catanhl): Likewise.
68484 * math/s_catanl.c (__catanl): Likewise.
68485 * math/libm-test.inc (catan_test): Add more tests.
68486 (catanh_test): Likewise.
68487 * sysdeps/i386/fpu/libm-test-ulps: Update.
68488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68489
684902013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68491
68492 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68493
68494 * benchtests/Makefile (bench): Remove slow benchmarks.
68495 * benchtests/atan-inputs: Add slow benchmark inputs.
68496 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68497 (BENCH_FUNC): Accept variant offset.
68498 (VARIANT): Define.
68499 * benchtests/bench-skeleton.c (main): Run benchmark for each
68500 variant.
68501 * benchtests/cos-inputs: Add slow benchmark inputs.
68502 * benchtests/exp-inputs: Likewise.
68503 * benchtests/pow-inputs: Likewise.
68504 * benchtests/sin-inputs: Likewise.
68505 * benchtests/slowatan-inputs: Remove.
68506 * benchtests/slowatan.c: Remove.
68507 * benchtests/slowcos-inputs: Remove.
68508 * benchtests/slowcos.c: Remove.
68509 * benchtests/slowexp-inputs: Remove.
68510 * benchtests/slowexp.c: Remove.
68511 * benchtests/slowpow-inputs: Remove.
68512 * benchtests/slowpow.c: Remove.
68513 * benchtests/slowsin-inputs: Remove.
68514 * benchtests/slowsin.c: Remove.
68515 * benchtests/slowtan-inputs: Remove.
68516 * benchtests/slowtan.c: Remove.
68517 * benchtests/tan-inputs: Add slow benchmark inputs.
68518 * scripts/bench.pl: Parse comments and directives.
68519
68520 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68521 in CPPFLAGS.
68522 ($(objpfx)bench-%.c): Remove *-ITER.
68523 * benchtests/bench-modf.c: Remove definition of ITER.
68524 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68525 (main): Loop for DURATION seconds instead of fixed number of
68526 iterations.
68527 * scripts/bench.pl: Don't expect iterations in parameters.
68528
685292013-04-29 Roland McGrath <roland@hack.frob.com>
68530
68531 * io/fchdir.c (__fchdir): Renamed from fchdir.
68532 (fchdir): Define as weak alias.
68533
685342013-04-29 Joseph Myers <joseph@codesourcery.com>
68535
68536 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68537 (ERRNO_EDOM): Likewise.
68538 (ERRNO_ERANGE): Likewise.
68539 (noErrnoTests): New variable.
68540 (init_max_error): Set errno to 0.
68541 (test_single_errno): New function.
68542 (test_errno): Likewise.
68543 (check_float_internal): Call test_errno. Set errno to 0.
68544 (check_complex): Refer to errno tests in comment.
68545 (check_int): Call test_errno. Set errno to 0.
68546 (check_long): Likewise.
68547 (check_bool): Likewise.
68548 (check_longlong): Likewise.
68549 (cos_test): Use ERRNO_* flags for errno tests instead of
68550 check_int.
68551 (expm1_test): Likewise.
68552 (fmod_test): Likewise.
68553 (ilogb_test): Likewise.
68554 (lgamma_test): Likewise.
68555 (pow_test): Likewise.
68556 (remainder_test): Likewise.
68557 (sin_test): Likewise.
68558 (tan_test): Likewise.
68559 (yn_test): Likewise.
68560 (initialize): Set errno to 0.
68561 (main): Print number of errno tests.
68562 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68563
685642013-04-29 Andreas Jaeger <aj@suse.de>
68565
68566 [BZ #15084]
68567 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68568 and RES_USEVC.
68569
68570 [BZ #15085]
68571 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68572 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68573 unimplemented.
68574
68575 [BZ #15380]
68576 * stdlib/random.c (__initstate): Return NULL if
68577 __initstate fails.
68578
68579 [BZ #15086]
68580 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68581 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68582 RES_SNGLKUPREOP.
68583
685842013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68585
68586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68587
685882013-04-29 Joseph Myers <joseph@codesourcery.com>
68589
68590 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68591 of individual tests.
68592 (casin_test): Likewise.
68593 (casinh_test): Likewise.
68594
685952013-04-27 Joseph Myers <joseph@codesourcery.com>
68596
68597 [BZ #15409]
68598 * math/s_catan.c (__catan): Handle arguments with large real or
68599 imaginary part separately without squaring.
68600 * math/s_catanf.c (__catanf): Likewise.
68601 * math/s_catanh.c (__catanh): Likewise.
68602 * math/s_catanhf.c (__catanhf): Likewise.
68603 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68604 and redefine.
68605 (__catanhl): Handle arguments with large real or imaginary part
68606 separately without squaring.
68607 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68608 and redefine.
68609 (__catanl): Handle arguments with large real or imaginary part
68610 separately without squaring.
68611 * math/libm-test.inc (catan_test): Add more tests.
68612 (catanh_test): Likewise.
68613 * sysdeps/i386/fpu/libm-test-ulps: Update.
68614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68615
686162013-04-27 Andreas Jaeger <aj@suse.de>
68617
68618 [BZ #15007]
68619 * stdlib/stdlib.h: Update guards for qecvt.
68620 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68621 <stdlib.h>.
68622
686232013-04-27 Allan McRae <allan@archlinux.org>
68624
68625 * sysdeps/i386/fpu/libm-test-ulps: Update.
68626
686272013-04-26 Joseph Myers <joseph@codesourcery.com>
68628
68629 [BZ #15406]
68630 * math/s_catan.c: Include <float.h>.
68631 (__catan): Ensure underflow exception occurs for underflowed
68632 result.
68633 * math/s_catanf.c: Include <float.h>.
68634 (__catanf): Ensure underflow exception occurs for underflowed
68635 result.
68636 * math/s_catanh.c: Include <float.h>.
68637 (__catanh): Ensure underflow exception occurs for underflowed
68638 result.
68639 * math/s_catanhf.c: Include <float.h>.
68640 (__catanhf): Ensure underflow exception occurs for underflowed
68641 result.
68642 * math/s_catanhl.c: Include <float.h>.
68643 (__catanhl): Ensure underflow exception occurs for underflowed
68644 result.
68645 * math/s_catanl.c: Include <float.h>.
68646 (__catanl): Ensure underflow exception occurs for underflowed
68647 result.
68648 * math/libm-test.inc (catan_test): Add more tests.
68649 (catanh_test): Likewise.
68650
68651 [BZ #15405]
68652 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68653 underflowed result.
68654 * math/s_ccoshf.c (__ccoshf): Likewise.
68655 * math/s_ccoshl.c (__ccoshl): Likewise.
68656 * math/s_csin.c (__csin): Likewise.
68657 * math/s_csinf.c (__csinf): Likewise.
68658 * math/s_csinh.c (__csinh): Likewise.
68659 * math/s_csinhf.c (__csinhf): Likewise.
68660 * math/s_csinhl.c (__csinhl): Likewise.
68661 * math/s_csinl.c (__csinl): Likewise.
68662 * math/libm-test.inc (ccos_test): Add more tests.
68663 (ccosh_test): Likewise.
68664 (csin_test): Likewise.
68665 (csinh_test): Likewise.
68666
686672013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68668
68669 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68670 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68671 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68672 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68673 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68674 powerpc/power5+/fpu folders.
68675 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68676
68677
686782013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68679
68680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68681
686822013-04-25 Joseph Myers <joseph@codesourcery.com>
68683
68684 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68685 additions to variable.
68686 [$(config-machine) = x86_64] (modules-names): Likewise.
68687 ($(objpfx)tst-audit3): Remove dependency.
68688 ($(objpfx)tst-audit3.out): Likewise.
68689 ($(objpfx)tst-audit4): Likewise.
68690 ($(objpfx)tst-audit4.out): Likewise.
68691 ($(objpfx)tst-audit5): Likewise.
68692 ($(objpfx)tst-audit5.out): Likewise.
68693 ($(objpfx)tst-audit6): Likewise.
68694 ($(objpfx)tst-audit6.out): Likewise.
68695 ($(objpfx)tst-audit7): Likewise.
68696 ($(objpfx)tst-audit7.out): Likewise.
68697 (tst-audit3-ENV): Remove variable.
68698 (tst-audit4-ENV): Likewise.
68699 (tst-audit5-ENV): Likewise.
68700 (tst-audit6-ENV): Likewise.
68701 (tst-audit7-ENV): Likewise.
68702 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68703 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68704 addition to variable.
68705 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68706 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68707 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68708 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68709 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68710 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68711 tst-audit3, tst-audit4 and tst-audit5.
68712 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68713 tst-audit6 and tst-audit7.
68714 [$(subdir) = elf] (modules-names): Add audit modules for those
68715 tests.
68716 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68717 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68718 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68719 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68720 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68721 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68722 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68723 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68724 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68725 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68726 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68727 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68728 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68729 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68730 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68731 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68732 Likewise.
68733 [$(subdir) = elf && $(config-cflags-avx) = yes]
68734 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68735 [$(subdir) = elf && $(config-cflags-avx) = yes]
68736 (CFLAGS-tst-auditmod4a.c): Likewise.
68737 [$(subdir) = elf && $(config-cflags-avx) = yes]
68738 (CFLAGS-tst-auditmod4b.c): Likewise.
68739 [$(subdir) = elf && $(config-cflags-avx) = yes]
68740 (CFLAGS-tst-auditmod6b.c): Likewise.
68741 [$(subdir) = elf && $(config-cflags-avx) = yes]
68742 (CFLAGS-tst-auditmod6c.c): Likewise.
68743 [$(subdir) = elf && $(config-cflags-avx) = yes]
68744 (CFLAGS-tst-auditmod7b.c): Likewise.
68745 * elf/tst-audit3.c: Move to ...
68746 * sysdeps/x86_64/tst-audit3.c: ... here.
68747 * elf/tst-audit4.c: Move to ...
68748 * sysdeps/x86_64/tst-audit4.c: ... here.
68749 * elf/tst-audit5.c: Move to ...
68750 * sysdeps/x86_64/tst-audit5.c: ... here.
68751 * elf/tst-audit6.c: Move to ...
68752 * sysdeps/x86_64/tst-audit6.c: ... here.
68753 * elf/tst-audit7.c: Move to ...
68754 * sysdeps/x86_64/tst-audit7.c: ... here.
68755 * elf/tst-auditmod3a.c: Move to ...
68756 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68757 * elf/tst-auditmod3b.c: Move to ...
68758 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68759 * elf/tst-auditmod4a.c: Move to ...
68760 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68761 * elf/tst-auditmod4b.c: Move to ...
68762 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68763 * elf/tst-auditmod5a.c: Move to ...
68764 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68765 * elf/tst-auditmod5b.c: Move to ...
68766 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68767 * elf/tst-auditmod6a.c: Move to ...
68768 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68769 * elf/tst-auditmod6b.c: Move to ...
68770 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68771 * elf/tst-auditmod6c.c: Move to ...
68772 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68773 * elf/tst-auditmod7a.c: Move to ...
68774 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68775 * elf/tst-auditmod7b.c: Move to ...
68776 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68777
687782013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68779
68780 [BZ #15366]
68781 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68782 define unconditionally.
68783 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68784 define unconditionally.
68785 (INT8_C, INT16_C, etc.): Likewise.
68786
687872013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68788
68789 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68790 __ehdr_start with hidden visibility.
68791
68792 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68793
687942013-04-24 Carlos O'Donell <carlos@redhat.com>
68795
68796 * math/libm-test.inc (cos_test): Use accurate hex constants.
68797 (sincost_test): Likewise.
68798
687992013-04-24 Joseph Myers <joseph@codesourcery.com>
68800
68801 * math/libm-test.inc (catan_test): Add more tests.
68802 (catanh_test): Likewise.
68803
68804 * math/s_catanf.c (__catanf): Use suffixed floating-point
68805 constants.
68806 * math/s_catanhf.c (__catanhf): Likewise.
68807 * math/s_catanhl.c (__catanhl): Likewise.
68808 * math/s_catanl.c (__catanl): Likewise.
68809
68810 [BZ #15394]
68811 * math/s_catan.c (__catan): Calculate imaginary part of result
68812 with log1p not log unless computing log of number close to 0.
68813 * math/s_catanf.c (__catanf): Likewise.
68814 * math/s_catanl.c (__catanl): Likewise.
68815 * math/s_catanh.c (__catanh): Calculate real part of result with
68816 log1p not log unless computing log of number close to 0.
68817 * math/s_catanhf.c (__catanhf): Likewise.
68818 * math/s_catanhl.c (__catanhl): Likewise.
68819 * math/libm-test.inc (catan_test): Add more tests.
68820 (catanh_test): Likewise.
68821 * sysdeps/i386/fpu/libm-test-ulps: Update.
68822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68823
688242013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68825
68826 * benchtests/Makefile: Mention files in which fast and slow
68827 paths of math functions are implemented.
68828
688292013-04-23 Roland McGrath <roland@hack.frob.com>
68830
68831 * sysdeps/posix/timespec_get.c: New file.
68832
688332013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68834
68835 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68836 POWER.
68837 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68838 for POWER.
68839 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68840 powerpc/power5/fpu folders.
68841 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68842 * benchtests/Makefile: Add modf testcase.
68843 * benchtests/bench-modf.c: New file: Benchmark test for mo
68844
688452013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68846
68847 [BZ #14888]
68848 * time/Makefile (tests): Add tst-strptime-whitespace.
68849 * time/strptime_l.c (get_number): Use ISSPACE.
68850 (__strptime_internal): Likewise.
68851 * time/tst-strptime-whitespace.c: New test case.
92c3af3c 68852
edf66db1 688532013-04-23 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 68854
edf66db1
SP
68855 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68856 member.
68857 (_nss_files_init): Set it here.
92c3af3c 68858
edf66db1 688592013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
92c3af3c 68860
edf66db1
SP
68861 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68862 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68863 unsigned.
92c3af3c 68864
edf66db1 688652013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
92c3af3c 68866
edf66db1 68867 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
92c3af3c 68868
edf66db1 688692013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 68870
edf66db1
SP
68871 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68872 size just once.
92c3af3c 68873
edf66db1 688742013-04-21 David S. Miller <davem@davemloft.net>
92c3af3c 68875
edf66db1 68876 * po/ru.po: Update Russion translation from translation project.
92c3af3c 68877
edf66db1 688782013-04-17 Adam Conrad <adconrad@0c3.net>
92c3af3c 68879
edf66db1
SP
68880 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68881 and setfsgid.
92c3af3c 68882
edf66db1 688832013-04-17 Carlos O'Donell <carlos@redhat.com>
92c3af3c 68884
edf66db1
SP
68885 * configure.in: Remove i386 configure warning. Remove i386 case.
68886 * configure: Regenerate.
68887 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68888 Add example to error message.
68889 * sysdeps/i386/configure: Regenerate.
92c3af3c 68890
edf66db1 688912013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 68892
edf66db1
SP
68893 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68894 slowtan.
68895 * benchtests/cos-inputs: New file.
68896 * benchtests/slowcos-inputs: New file.
68897 * benchtests/slowcos.c: New file.
68898 * benchtests/slowtan-inputs: New file.
68899 * benchtests/slowtan.c: New file.
68900 * benchtests/tan-inputs: New file.
92c3af3c 68901
edf66db1 689022013-04-16 Roland McGrath <roland@hack.frob.com>
92c3af3c 68903
edf66db1
SP
68904 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68905 considered kosher.
92c3af3c 68906
edf66db1 689072013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 68908
edf66db1
SP
68909 * benchtests/Makefile: Include cppflags-iterator.mk to add
68910 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
92c3af3c 68911
edf66db1
SP
68912 * Makefile.in (bench-clean): New target.
68913 * benchtests/Makefile (bench-clean): Likewise.
92c3af3c 68914
edf66db1 689152013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
92c3af3c 68916
edf66db1 68917 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
92c3af3c 68918
edf66db1 689192013-04-15 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 68920
edf66db1 68921 * stdio-common/tstdiomisc.c: Fix coding-style violation.
92c3af3c 68922
edf66db1 689232013-04-15 Andreas Schwab <schwab@suse.de>
92c3af3c 68924
edf66db1
SP
68925 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68927 * nscd/pwdcache.c (cache_addpw): Likewise.
68928 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68929 more than recsize.
92c3af3c 68930
edf66db1 689312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 68932
edf66db1
SP
68933 * benchtests/Makefile (bench): Write all output to
68934 bench-out.tmp together.
92c3af3c 68935
edf66db1 689362013-04-15 Andreas Schwab <schwab@suse.de>
92c3af3c 68937
edf66db1 68938 * nscd/nscd.c (main): Don't fork again after closing files.
92c3af3c 68939
edf66db1 689402013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 68941
edf66db1 68942 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
92c3af3c 68943
edf66db1
SP
68944 * benchtests/Rules (bench-deps): Collect dependencies into a
68945 single variable. Add Makefile to dependencies.
68946 ($(objpfx)bench-%.c): Depend on bench-deps.
92c3af3c 68947
edf66db1
SP
689482013-04-12 Roland McGrath <roland@hack.frob.com>
68949 Xavier Roche <roche+kml2@exalead.com>
92c3af3c 68950
edf66db1
SP
68951 [BZ #15361]
68952 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68953 just that it's a file descriptor.
68954 * manual/llio.texi (Synchronizing AIO Operations): Update description
68955 for EBADF error from aio_fsync.
92c3af3c 68956
edf66db1 689572013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 68958
edf66db1
SP
68959 * Rules (bench): Move target definition...
68960 * benchtests/Makefile: ... here.
92c3af3c 68961
edf66db1 689622013-04-11 Carlos O'Donell <carlos@redhat.com>
92c3af3c 68963
edf66db1
SP
68964 * math/libm-test.inc (cos_test): Fix PI/2 test.
68965 (sincos_test): Likewise.
68966 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68967 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
92c3af3c 68968
edf66db1 689692013-04-11 Andreas Schwab <schwab@suse.de>
92c3af3c 68970
edf66db1
SP
68971 [BZ #13988]
68972 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68973 accept exponent character only when digits were seen.
68974 * stdio-common/Makefile (tests): Add bug26.
68975 * stdio-common/bug26.c: New file.
92c3af3c 68976
edf66db1
SP
68977 [BZ #14293]
68978 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68979 non-freeable.
92c3af3c 68980
edf66db1 689812013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 68982
edf66db1
SP
68983 * Makeconfig (rtld-prefix): Define built linker prefix.
68984 * Rules (run-bench): Use it.
68985 * math/Makefile (run-regen-ulps): Likewise.
92c3af3c 68986
edf66db1 68987 * Rules (bench): Remove eval.
92c3af3c 68988
edf66db1
SP
689892013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68990 Roland McGrath <roland@hack.frob.com>
68991 Ondrej Bilka <neleai@seznam.cz>
92c3af3c 68992
edf66db1
SP
68993 [BZ #15346]
68994 * time/getdate.c: Include ctype.h and alloca.h.
68995 (__getdate_r): Trim leading and trailing spaces of input.
68996 * time/tst-getdate.c (tests): Add tests with leading and
68997 trailing spaces.
92c3af3c 68998
edf66db1 689992013-04-08 Roland McGrath <roland@hack.frob.com>
92c3af3c 69000
edf66db1
SP
69001 [BZ #14280]
69002 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
69003 when computing value.
92c3af3c 69004
edf66db1 690052013-04-06 Carlos O'Donell <carlos@redhat.com>
92c3af3c 69006
edf66db1
SP
69007 * math/README.libm-test (How can I generate "libm-test-ulps"?):
69008 Use testrun.sh to run libm tests.
92c3af3c 69009
edf66db1
SP
69010 [BZ #15309]
69011 * elf/dl-open.c (dl_open_worker): memset all of seen array.
92c3af3c 69012
edf66db1 690132013-04-06 Marko Myllynen <myllynen@redhat.com>
92c3af3c 69014
edf66db1
SP
69015 [BZ #15264]
69016 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
92c3af3c 69017
edf66db1 690182013-04-06 Carlos O'Donell <carlos@redhat.com>
92c3af3c 69019
edf66db1
SP
69020 * Makefile.in (regen-ulps): New target.
69021 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
69022 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
69023 [ifneq (no,$(PERL)] (regen-ulps): New target.
69024 [ifeq (no,$(PERL)] (regen-ulps): New target.
69025 * math/libm-test.inc (ulps_file_name): Define.
69026 (output_dir): New variable.
69027 (options): Add "output-dir" option.
69028 (parse_opt): Handle 'o' case.
69029 (main): If output_dir is non-NULL use it as a prefix
69030 otherwise use "".
69031 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
92c3af3c 69032
edf66db1 690332013-04-06 Carlos O'Donell <carlos@redhat.com>
92c3af3c 69034
edf66db1
SP
69035 [BZ #10060, #10062]
69036 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
69037 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
69038 fail configure if __sync_val_compare_and_swap is not inlined.
69039 * sysdeps/i386/configure: Regenerate.
69040 * configure.in: Build for i686 when configured for i386.
69041 * configure: Regenerate.
69042 * README: Remove i386 reference.
92c3af3c 69043
edf66db1 690442013-04-06 Carlos O'Donell <carlos@redhat.com>
92c3af3c 69045
edf66db1
SP
69046 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
69047 * sysdeps/s390/s390-64/sysdep.h: Likewise.
92c3af3c 69048
edf66db1 690492013-04-05 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 69050
edf66db1
SP
69051 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
69052 (lmsnanval): New variables.
69053 (F): Add conversion tests.
69054 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
69055 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
92c3af3c 69056
edf66db1
SP
69057 * stdio-common/tstdiomisc.c (F): Properly collect individual
69058 tests' results.
92c3af3c 69059
edf66db1
SP
69060 [BZ #14686, #15336]
69061 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
69062 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
69063 Instead, use input NaN values or generate a qNaN by arithmetic
69064 operation. Also fix bugs to comply with the standard.
69065 * math/libm-test.inc (remainder_test): Add more tests.
92c3af3c 69066
edf66db1
SP
69067 [BZ #15335, #15342]
69068 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
69069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
69070 input NaN values or generate a qNaN by arithmetic operation.
92c3af3c 69071
edf66db1
SP
69072 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
69073 unreachable code.
92c3af3c 69074
edf66db1
SP
69075 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
69076 definitions.
92c3af3c 69077
edf66db1 690782013-04-03 Joseph Myers <joseph@codesourcery.com>
92c3af3c 69079
edf66db1
SP
69080 [BZ #14478]
69081 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
69082 underflowed result.
69083 * math/s_cexpf.c (__cexpf): Likewise.
69084 * math/s_cexpl.c (__cexpl): Likewise.
69085 * math/libm-test.inc (cexp_test): Add more tests.
92c3af3c 69086
edf66db1 690872013-04-03 Andreas Schwab <schwab@suse.de>
92c3af3c 69088
edf66db1
SP
69089 [BZ #15330]
69090 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
69091 order arrays from heap if bigger than alloca cutoff.
92c3af3c 69092
edf66db1 690932013-04-03 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 69094
edf66db1
SP
69095 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
69096 (SNAN_TESTS_double): Refer to GCC PR56831.
69097 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
69098 GCC PR56828.
92c3af3c 69099
edf66db1 691002013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 69101
edf66db1 69102 * Rules (bench): Move bench.out after the run is complete.
92c3af3c 69103
edf66db1 69104 * Rules (bench): Echo currently running benchmark.
92c3af3c 69105
edf66db1
SP
69106 * benchtests/Makefile (bench): Add atan and slowatan.
69107 * benchtests/atan-inputs: New file.
69108 * benchtests/slowatan-inputs: New file.
69109 * benchtests/slowatan.c: New file.
92c3af3c 69110
edf66db1
SP
69111 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
69112 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
69113 its value.
92c3af3c 69114
edf66db1
SP
69115 [BZ #15305]
69116 * sysdeps/unix/sysv/linux/kernel-features.h
69117 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
69118 __ASSUME_XFS_RESTRICTED_CHOWN.
69119 * sysdeps/unix/sysv/linux/pathconf.c
69120 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
69121 Save and restore errno.
69122
691232013-04-02 Joseph Myers <joseph@codesourcery.com>
69124
69125 [BZ #15327]
69126 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
69127 arguments using __kernel_casinh.
69128 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
69129 arguments using __kernel_casinhf.
69130 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
69131 arguments using __kernel_casinhl.
69132 * math/libm-test.inc (cacosh_test): Add more tests.
69133 * sysdeps/i386/fpu/libm-test-ulps: Update.
69134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69135
691362013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
69137
69138 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
69139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
69140
69141 * bench/Makefile (bench): Add sin and slowsin.
69142 * benchtests/sin-inputs: New file.
69143 * benchtests/slowsin-inputs: New file.
69144 * benchtests/slowsin.c: New file.
69145
69146 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
69147 (bench): Add slowexp and slowpow.
69148 (exp-ITER): Increase iterations.
69149 (pow-ITER): Likewise.
69150 * benchtests/exp-inputs: Change input.
69151 * benchtests/pow-inputs: Likewise.
69152 * benchtests/slowexp-inputs: New file.
69153 * benchtests/slowexp.c: New file.
69154 * benchtests/slowpow-inputs: New file.
69155 * benchtests/slowpow.c: New file.
69156
691572013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69158
69159 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
69160 instructions.
69161 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69162 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
69163 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
69164 * benchtests/Makefile: Add rint benchtest.
69165 * benchtests/rint-inputs: Input for rint benchtest.
69166
691672013-04-02 Thomas Schwinge <thomas@codesourcery.com>
69168
69169 * Versions.def (libm): Add GLIBC_2.18.
69170 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
69171 hidden libm prototypes.
69172 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
69173 * math/Makefile (libm-calls): Add s_issignaling.
69174 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
69175 __issignalingf, __issignalingl. Adjust all libm.abilist files.
69176 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
69177 declaration.
69178 * math/math.h [__USE_GNU] (issignaling): New macro.
69179 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
69180 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
69181 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
69182 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
69183 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69184 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69185 * manual/arith.texi (issignaling): New section.
69186 * manual/libm-err-tab.pl (@all_functions): Update comment.
69187 * math/gen-libm-test.pl (parse_args): Apply special handling for
69188 issignaling.
69189 * math/libm-test.inc (print_float, issignaling_test): New
69190 functions.
69191 (check_float_internal): Add issignaling checks.
69192 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69193 default definition.
69194 * sysdeps/powerpc/math-tests.h: New file.
69195 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69196 tests.
69197 * math/test-snan.c (TEST_FUNC): Likewise.
69198
691992013-03-30 David S. Miller <davem@davemloft.net>
69200
69201 * po/de.po: Update from translation team.
69202
692032013-03-30 Joseph Myers <joseph@codesourcery.com>
69204
69205 [BZ #10357]
69206 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69207 imaginary part less than 1.0 and real part less than 0.5
69208 specially.
69209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69211 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69212 (cacos_test): Add more tests.
69213 (casin_test): Likewise.
69214 (casinh_test): Likewise.
69215 * sysdeps/i386/fpu/libm-test-ulps: Update.
69216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69217
692182013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
69219
69220 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69221 ONE with its value.
69222
69223 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69224 (__pow_mp): Replace ONE and MONE with their values.
69225 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69226 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69227 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69228 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69229 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69230 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69231
69232 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69233
69234 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69235 (__pow_mp): Replace ZERO and MZERO with their values.
69236 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69237 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69238 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69240 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69241 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69242 (__sqr): Likewise.
69243
69244 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69245
69246 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69247
692482013-03-28 Roland McGrath <roland@hack.frob.com>
69249
69250 * include/stdlib.h [!SHARED] (__call_tls_dtors):
69251 Declare with __attribute__ ((weak)).
69252 * stdlib/exit.c (__libc_atexit) [!SHARED]:
69253 Call __call_tls_dtors only if it's not NULL.
69254
692552013-03-28 Roland McGrath <roland@hack.frob.com>
69256
69257 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69258 didn't do it already, then set _dl_phdr and _dl_phnum based on the
69259 magic __ehdr_start linker symbol if it's defined.
69260 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69261 them up here if it was already done.
69262
69263 * elf/dl-support.c (_dl_phdr): Make pointer to const.
69264 (_dl_aux_init): Use const in cast when setting it.
69265 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69266 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69267 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69268
69269 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69270 Declare them here.
69271 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69272 * csu/libc-tls.c: Nor here.
69273 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69274
69275 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69276 (__libc_message): Never call vsyslog.
69277
692782013-03-28 Alan Modra <amodra@gmail.com>
69279
69280 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69281 Define as empty.
69282 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69283 Likewise.
92c3af3c 69284
edf66db1
SP
692852013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69286
69287 [BZ #15214]
69288 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69289 underflow.
69290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69291
692922013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69293
69294 [BZ #15304]
69295 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69296 Don't add gid passed as argument.
69297
69298 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69299
693002013-03-27 Joseph Myers <joseph@codesourcery.com>
69301
69302 [BZ #15307]
69303 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69304 imaginary part between 1.0 and 1.5 and real part less than 0.5
69305 specially.
69306 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69307 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69308 * math/libm-test.inc (cacos_test): Add more tests.
69309 (casin_test): Likewise.
69310 (casinh_test): Likewise.
69311 * sysdeps/i386/fpu/libm-test-ulps: Update.
69312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69313
693142013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69315
69316 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69317 constants.
69318 (norm): Likewise.
69319 (denorm): Likewise.
69320 (__dbl_mp): Likewise.
69321 (add_magnitudes): Likewise.
69322 (sub_magnitudes): Likewise.
69323 (__add): Likewise.
69324 (__sub): Likewise.
69325 (__mul): Likewise.
69326 (__sqr): Likewise.
69327 (__inv): Likewise.
69328 (__dvd): Likewise.
69329
69330 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69331 commented code.
69332 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69333 (__dubcos): Likewise.
69334 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69335 (__ieee754_acos): Likewise.
69336 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69337 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69338 (__exp1): Likewise.
69339 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69341 (log1): Likewise.
69342 (my_log2): Likewise.
69343 (checkint): Likewise.
69344 * sysdeps/ieee754/dbl-64/e_remainder.c
69345 (__ieee754_remainder): Likewise.
69346 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69348 (bsloww): Likewise.
69349 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69350
69351 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69352 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69353 MANTISSA_STORE_T to store computations on mantissa. Use
69354 macros for rounding and division.
69355 (denorm): Likewise.
69356 (__dbl_mp): Likewise.
69357 (add_magnitudes): Likewise.
69358 (sub_magnitudes): Likewise.
69359 (__mul): Likewise.
69360 (__sqr): Likewise.
69361 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69362 powers of two in terms of TWOPOW macro.
69363 (mp_no): Make type of mantissa as MANTISSA_T.
69364 [!RADIXI]: Define RADIXI.
69365 [!TWO52]: Define TWO52.
69366 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69367
693682013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69369
69370 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69371 llroundl symbol when building for PPC32.
69372
693732013-03-24 Mark H Weaver <mhw@netris.org>
69374
69375 * manual/arith.texi (Normalization Functions): Fix prototypes for
69376 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69377
693782013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69379
69380 [BZ #13889]
69381 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69382 high value to check if expl overflow.
69383 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69384 to check for underflow and overflow.
69385 * math/libm-test.inc: Add exp test.
69386
693872013-03-21 Dmitry V. Levin <ldv@altlinux.org>
92c3af3c 69388
edf66db1
SP
69389 [BZ #11120]
69390 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69391 with NOT_IN_libc.
92c3af3c 69392
edf66db1 693932013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 69394
edf66db1
SP
69395 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69396 symbol.
92c3af3c 69397
edf66db1 693982013-03-21 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 69399
edf66db1
SP
69400 * math/gen-libm-test.pl (parse_args, special_functions): Properly
69401 wrap blocks consisting of several statements.
92c3af3c 69402
edf66db1
SP
69403 * sysdeps/generic/math-tests.h: New file.
69404 * sysdeps/i386/fpu/math-tests.h: Likewise.
69405 * math/test-snan.c: Include it.
69406 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
92c3af3c 69407
edf66db1 694082013-03-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 69409
edf66db1
SP
69410 [BZ #15285]
69411 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69412 (__ieee754_j0l): Do not improve calculations using cos of twice
69413 input for inputs above LDBL_MAX / 2.0L.
69414 (__ieee754_y0l): Likewise.
69415 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69416 (__ieee754_j1l): Do not improve calculations using cos of twice
69417 input for inputs above LDBL_MAX / 2.0L.
69418 (__ieee754_y1l): Likewise.
69419 * math/libm-test.inc (j0_test): Add another test.
69420 (j1_test): Likewise.
69421 (y0_test): Likewise.
69422 (y1_test): Likewise.
69423 * sysdeps/i386/fpu/libm-test-ulps: Update.
92c3af3c 69424
edf66db1 694252013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 69426
edf66db1
SP
69427 * Rules ($(objpfx)bench-%.c): Include code from a C source
69428 file.
92c3af3c 69429
edf66db1
SP
694302013-03-21 Joseph Myers <joseph@codesourcery.com>
69431
69432 [BZ #15287]
69433 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69434 imaginary part 1.0 and real part less than 0.5 specially.
69435 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69436 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69437 * math/libm-test.inc (cacos_test): Add more tests.
69438 (casin_test): Likewise.
69439 (casinh_test): Likewise.
69440 * sysdeps/i386/fpu/libm-test-ulps: Update.
69441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69442
694432013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69444
69445 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69446 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69447
694482013-03-20 Joseph Myers <joseph@codesourcery.com>
69449
69450 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69451 * config.make.in (config-cflags-sse4): Remove variable.
69452 (config-cflags-avx): Likewise.
69453 (config-cflags-sse2avx): Likewise.
69454 (config-cflags-novzeroupper): Likewise.
69455 (config-asflags-i686): Likewise.
69456 (have-mfma4): Likewise.
69457 (have-as-vis3): Likewise.
69458 (MIG): Likewise.
69459 * configure.in (MIG): Do not AC_SUBST.
69460 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69461 (libc_cv_cc_sse4): Do not AC_SUBST.
69462 (libc_cv_cc_avx): Likewise.
69463 (libc_cv_cc_sse2avx): Likewise.
69464 (libc_cv_cc_novzeroupper): Likewise.
69465 (libc_cv_cc_fma4): Likewise.
69466 (libc_cv_as_i686): Likewise.
69467 (libc_cv_sparc_as_vis3): Likewise.
69468 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69469 LIBC_CONFIG_VAR.
69470 (config-asflags-i686): Likewise.
69471 (config-cflags-avx): Likewise.
69472 (config-cflags-sse2avx): Likewise.
69473 (have-mfma4): Likewise.
69474 (config-cflags-novzeroupper): Likewise.
69475 * sysdeps/mach/configure.in (MIG): Likewise.
69476 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69477 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69478 LIBC_CONFIG_VAR.
69479 (config-cflags-avx): Likewise.
69480 (config-cflags-sse2avx): Likewise.
69481 (have-mfma4): Likewise.
69482 (config-cflags-novzeroupper): Likewise.
69483 * configure: Regenerated.
69484 * sysdeps/i386/configure: Likewise.
69485 * sysdeps/mach/configure: Likewise.
69486 * sysdeps/sparc/configure: Likewise.
69487 * sysdeps/x86_64/configure: Likewise.
92c3af3c 69488
edf66db1 694892013-03-20 Roland McGrath <roland@hack.frob.com>
92c3af3c 69490
edf66db1
SP
69491 [BZ #14812]
69492 * locale/programs/localedef.c (options): Put N_ translation marker
69493 on argument names, not just descriptions.
92c3af3c 69494
edf66db1 694952013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
92c3af3c 69496
edf66db1 69497 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
92c3af3c 69498
edf66db1 694992013-03-20 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 69500
edf66db1
SP
69501 [BZ #14176]
69502 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
92c3af3c 69503
edf66db1 695042013-03-19 Roland McGrath <roland@hack.frob.com>
92c3af3c 69505
edf66db1
SP
69506 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69507 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69508 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69509 [!BEFORE_ABORT] (before_abort): New function.
69510 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69511 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69512 (writev_for_fatal): New function.
69513 (WRITEV_FOR_FATAL): New macro; call that.
69514 (backtrace_and_maps): New function.
69515 (BEFORE_ABORT): New macro; call that.
69516 (struct str_list): Type removed.
69517 (__libc_message, __libc_fatal): Functions removed.
69518 Include <sysdeps/posix/libc_fatal.c> instead.
92c3af3c 69519
edf66db1 695202013-03-19 Joseph Myers <joseph@codesourcery.com>
92c3af3c 69521
edf66db1
SP
69522 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69523 constants.
69524 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69525 double constants.
92c3af3c 69526
edf66db1 695272013-03-19 Andreas Schwab <schwab@suse.de>
92c3af3c 69528
edf66db1
SP
69529 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69530 * sysdeps/gnu/configure: Regenerate.
92c3af3c 69531
edf66db1
SP
69532 * configure.in: Substitute libc_cv_rtlddir.
69533 * configure: Regenerate.
69534 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69535 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69536 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69537 * elf/Makefile (install-others, CFLAGS-interp.c)
69538 (ldso_install, common-ldd-rewrite): Likewise.
69539 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69540 $(inst_slibdir)/$(rtld-installed-name).
69541 * scripts/rellns-sh: Add -p option.
69542 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69543 for source.
69544
695452013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69546
69547 * manual/nptl.texi: Renamed to ...
69548 * manual/threads.texi: ... this.
69549 * manual/Makefile (chapters): Update.
69550
695512013-03-18 Roland McGrath <roland@hack.frob.com>
69552
69553 [BZ #14812]
69554 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69555 on argument names, not just descriptions.
69556 * malloc/memusagestat.c (options): Likewise.
69557 * nss/getent.c (options): Likewise.
69558
695592013-03-18 Benno Schulenberg <bensberg@justemail.net>
69560
69561 [BZ #14812]
69562 * iconv/iconv_prog.c (options): Put N_ translation marker
69563 on argument names, not just descriptions.
69564 * iconv/iconvconfig.c (options): Likewise.
69565
695662013-03-18 Ondrej Bilka <neleai@seznam.cz>
69567
69568 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69569 implementation which is faster on all x86_64 architectures.
69570 Tested on AMD, Intel Nehalem, SNB, IVB.
69571 * sysdeps/x86_64/strnlen.S: Likewise.
69572
69573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69574 Remove all multiarch strlen and strnlen versions.
69575 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69576 Remove strlen and strnlen related parts.
69577
69578 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69579 Inline strlen part.
69580 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69581
69582 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69583 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69584 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69585 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69586 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69587 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69588
695892013-03-17 Carlos O'Donell <carlos@redhat.com>
69590
69591 * manual/memory.texi (Malloc Tunable Parameters):
69592 Sort parameters alphabetically. Add comments for missing entries.
69593
695942013-03-17 David S. Miller <davem@davemloft.net>
69595
69596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69597
695982013-03-16 Joseph Myers <joseph@codesourcery.com>
69599
69600 [BZ #15283]
69601 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69602 for arguments at most half maximum finite value.
69603 * math/libm-test.inc (j0_test): Add more tests.
69604 (j1_test): Likewise.
69605 (y0_test): Likewise.
69606 (y1_test): Likewise.
69607 * sysdeps/i386/fpu/libm-test-ulps: Update.
69608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69609
69610 [BZ #14155]
69611 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69612 1 / x and functions P and Q for arguments above 0x1p256L.
69613 (__ieee754_y0l): Likewise.
69614 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69615 (__ieee754_y1l): Likewise.
69616 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69617 (j1_test): Likewise.
69618 (y0_test): Likewise.
69619 (y1_test): Likewise.
92c3af3c 69620
edf66db1 696212013-03-16 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 69622
edf66db1
SP
69623 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69624 variable.
92c3af3c 69625
edf66db1 696262013-03-15 Roland McGrath <roland@hack.frob.com>
92c3af3c 69627
edf66db1
SP
69628 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69629 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69630 zero since it's initialized to EXEC_PAGESIZE.
92c3af3c 69631
edf66db1
SP
69632 * sysdeps/unix/sysv/linux/ldsodefs.h
69633 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69634 * sysdeps/generic/ldsodefs.h: ... here.
92c3af3c 69635
edf66db1 696362013-03-15 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 69637
edf66db1 69638 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
92c3af3c 69639
edf66db1
SP
69640 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69641 math/test-snan.c.
69642 * math/test-snan.c: Renamed from
69643 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69644 * math/Makefile (tests): Add test-snan.
69645 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69646 test-powerpc-snan.
92c3af3c 69647
edf66db1
SP
69648 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69649 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69650 functions.
69651 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69652 __builtin_nan family of functions.
69653 * math/libm-test.inc (initialize): Initialize qnan_value with
69654 __builtin_nan family of functions.
69655 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69656 Remove variables.
69657 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69658 Remove functions.
69659 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69660 storage class. Initialize qNaN_var and sNaN_var with
69661 __builtin_nan and __builtin_nans families of functions,
69662 respectively.
69663
69664 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69665 (sqrt_test): Remove duplicate test with qNaN input.
69666 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69667 (round_test, signbit_test, significand_test): Note missing +/-Inf
69668 as well as qNaN tests.
69669
69670 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69671 qNaN_var. Fix a few strings, too.
69672 * math/libm-test.inc (nan_value): Rename to qnan_value.
69673 * math/gen-libm-test.pl (%beautify): Adjust to that.
69674 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69675 * math/test-misc.c (main): Likewise.
69676 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69677 to __qnan_bytes, and __qnan_union, respectively.
69678 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69679 Likewise.
69680 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69681 and lqnanval, respectively.
69682 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69683 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69684 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69685 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69686
69687 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69688 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69689 doubles.
69690
69691 * math/test-misc.c (main): Fix copy'n'pastos.
69692 * misc/tst-efgcvt.c (special): Likewise.
69693
69694 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69695 Remove declarations.
69696
696972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 69698
edf66db1
SP
69699 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69700 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69701 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69702 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69703
697042013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69705
69706 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69707 macro to return vdso values correctly in IFUNC implementations.
69708 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69709 Optimization by using IFUNC.
92c3af3c 69710
edf66db1
SP
697112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69712 Richard Henderson <rth@redhat.com>
69713 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69714
69715 * Makefile.in (bench): New target.
69716 * NEWS: Mention the benchmark framework.
69717 * Rules (bench): Likewise.
69718 (binaries-bench): Generate binaries for functions to
69719 benchmark.
69720 * benchtests/Makefile: New makefile for benchmark tests.
69721 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69722 programs.
69723 * benchtests/exp-inputs: New input file for EXP function.
69724 * benchtests/pow-inputs: New input file for POW function.
69725 * scripts/bench.pl: New script to generate source files for
69726 benchmark programs.
69727
697282013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69729
69730 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69731 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69732 computations on mantissa. Use macros for rounding and
69733 division.
69734 (denorm): Likewise.
69735 (__dbl_mp): Likewise.
69736 (add_magnitudes): Likewise.
69737 (sub_magnitudes): Likewise.
69738 (__mul): Likewise.
69739 (__sqr): Likewise.
69740 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69741 powers of two in terms of TWOPOW macro.
69742 (mp_no): Make type of mantissa as MANTISSA_T.
69743 [!RADIXI]: Define RADIXI.
69744 [!TWO52]: Define TWO52.
69745 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69746
69747 * manual/nptl.texi (cindex): Modify threads to pthreads.
69748
697492013-03-15 Joseph Myers <joseph@codesourcery.com>
69750
69751 * sysdeps/x86_64/preconfigure: Regenerated.
69752
697532013-03-14 Joseph Myers <joseph@codesourcery.com>
69754
69755 [BZ #14155]
69756 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69757 0x1p28 and above.
69758 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69759 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69760 0x1p28 and above.
69761 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69762 * math/libm-test.inc (j0_test): Do not allow one spurious
69763 underflow exception.
69764 (y1_test): Likewise.
69765
697662013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69767
69768 * manual/Makefile (chapters): Add nptl.
69769 * manual/debug.texi (Debugging Support): Add link to Threads
69770 chapter.
69771 * manual/nptl.texi: New file.
69772
69773 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69774
697752013-03-14 Petr Baudis <pasky@ucw.cz>
69776
69777 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69778 for non-NULL pointer before the memory validity test. Pointed
69779 out by Holger Brunck <holger.brunck@keymile.com>.
69780
697812013-03-13 Andreas Schwab <schwab@suse.de>
69782
69783 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69784 instead of .os.
69785
697862013-03-13 Joseph Myers <joseph@codesourcery.com>
69787
69788 * timezone/zic.c: Update from tzcode 2013b.
69789
697902013-03-12 Carlos O'Donell <carlos@redhat.com>
69791
69792 * manual/install.texi (Configuring and compiling):
69793 Mention i686 and i586.
69794 * INSTALL: Regenerate.
69795
697962013-03-12 Roland McGrath <roland@hack.frob.com>
69797
69798 * sysdeps/init_array/elf-init.c: New file.
69799 * csu/elf-init.c
69800 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69801 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69802
69803 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69804 __gmon_start__ as global, but as static with a .preinit_array pointer.
69805 * sysdeps/init_array/gmon-start.c: New file. Use that.
69806 * sysdeps/init_array/crti.S: New file, empty except for comments.
69807 * sysdeps/init_array/crtn.S: Likewise.
69808
698092013-03-11 Ondřej Bílka <neleai@seznam.cz>
69810
69811 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69812 definining bcopy.
69813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69814 Remove Prefer_SSE_for_memop.
69815 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69816 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69817 HAS_PREFER_SSE_FOR_MEMOP.
69818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69819 memset-x86-64.
69820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69821 Remove bzero, memset ifunc support.
69822 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69823 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69824 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69825 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69826
698272013-03-11 Andreas Schwab <schwab@suse.de>
69828
69829 [BZ #15234]
69830 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69831 by SHLIB_COMPAT.
69832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69833 (GLIBC_2.16): Remove pthread_atfork.
69834
698352013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69836
69837 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69838 (ptestcases.h): Likewise.
69839
698402013-03-08 Roland McGrath <roland@hack.frob.com>
69841
69842 * Makeconfig ($(common-objpfx)config.status): Depend on
69843 sysdeps/*/preconfigure{,.in} too.
69844
698452013-03-08 Joseph Myers <joseph@codesourcery.com>
69846
69847 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69848 (__free_hook): Use void * instead of __malloc_ptr_t.
69849 (__malloc_hook): Likewise.
69850 (__realloc_hook): Likewise.
69851 (__memalign_hook): Likewise.
69852 (__after_morecore_hook): Likewise.
69853 * malloc/arena.c (save_malloc_hook): Likewise.
69854 (save_free_hook): Likewise.
69855 * malloc/hooks.c (malloc_hook_ini): Likewise.
69856 (realloc_hook_ini): Likewise.
69857 (memalign_hook_ini): Likewise.
69858 * malloc/malloc.c (malloc_hook_ini): Likewise.
69859 (realloc_hook_ini): Likewise.
69860 (memalign_hook_ini): Likewise.
69861 (__free_hook): Likewise.
69862 (__malloc_hook): Likewise.
69863 (__realloc_hook): Likewise.
69864 (__memalign_hook): Likewise.
69865 (__libc_malloc): Likewise.
69866 (__libc_free): Likewise.
69867 (__libc_realloc): Likewise.
69868 (__libc_memalign): Likewise.
69869 (__libc_valloc): Likewise.
69870 (__libc_pvalloc): Likewise.
69871 (__libc_calloc): Likewise.
69872 (__posix_memalign): Likewise.
69873 * malloc/morecore.c (__sbrk): Likewise.
69874 (__default_morecore): Likewise.
69875
69876 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69877
69878 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69879 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69880 __malloc_ptrdiff_t.
69881
69882 * malloc/malloc.h (__malloc_size_t): Remove macro.
69883 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69884 __malloc_size_t.
69885 (old_memalign_hook): Likewise.
69886 (old_realloc_hook): Likewise.
69887 (struct hdr): Likewise.
69888 (flood): Likewise.
69889 (mallochook): Likewise.
69890 (memalignhook): Likewise.
69891 (reallochook): Likewise.
69892 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69893 (tr_old_realloc_hook): Likewise.
69894 (tr_old_memalign_hook): Likewise.
69895 (tr_mallochook): Likewise.
69896 (tr_reallochook): Likewise.
69897 (tr_memalignhook): Likewise.
69898
698992013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69900
69901 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69902 default_ldbl_pack and using as default implementation.
69903 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69904 implementation.
69905 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69906 redundant definition.
69907 (ldbl_insert_mantissa): Likewise.
69908 (ldbl_canonicalize): Likewise.
69909 (ldbl_nearbyint): Likewise.
69910 (ldbl_pack): Rename to ldbl_pack_ppc.
69911 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69912 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69913 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69914
699152013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69916
69917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69918 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69920 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69922 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69923 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69924 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69925
699262013-03-07 Andreas Jaeger <aj@suse.de>
69927
69928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69929 bits/mman-linux.h.
69930
699312013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69932
69933 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69934 Include mpa.h and declare __MPEXP.
69935 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69936 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69937 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69938 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69939 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69940 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69941 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69942
69943 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69944 (__slowpow): Use long double EXPL and LOGL functions to
69945 compute POW.
69946 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69947 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69948 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69949 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69950 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69951 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69952
69953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69954 intermediate variable to calculate exponent.
69955 (__sqr): Likewise.
69956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69957 Likewise.
69958 (__sqr): Likewise.
92c3af3c 69959
edf66db1
SP
69960 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69961 [!NO__SQR]: Define __sqr.
69962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69963 and NO__SQR. Remove all code except __mul and __sqr. Include
69964 sysdeps/ieee754/dbl-64/mpa.c.
69965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
92c3af3c 69966
edf66db1
SP
69967 [BZ #12723]
69968 * posix/Makefile (tests): Add tst-pathconf.
69969 * posix/tst-pathconf.c: New test case.
69970 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69971 _PC_PIPE_BUF.
69972 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
92c3af3c 69973
edf66db1 699742013-03-06 Patsy Franklin <pfrankli@redhat.com>
92c3af3c 69975
edf66db1 69976 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
92c3af3c 69977
edf66db1 699782013-03-06 Andreas Jaeger <aj@suse.de>
92c3af3c 69979
edf66db1
SP
69980 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69981 definition via __MAP_ANONYMOUS.
92c3af3c 69982
edf66db1
SP
69983 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69984 it's not part of Linux headers.
92c3af3c 69985
edf66db1
SP
69986 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69987 (MAP_HUGE_MASK): Define.
92c3af3c 69988
edf66db1
SP
69989 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69990 Define.
69991 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69992 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69993 Define.
69994 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69995 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69996 Define.
69997 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69998 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69999 Define.
70000 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
92c3af3c 70001
edf66db1
SP
70002 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
70003 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
70004 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
70005 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
70006 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
70007 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
92c3af3c 70008
edf66db1
SP
70009 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70010 Handle f2fs.
92c3af3c 70011
edf66db1
SP
70012 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70013 Handle f2fs and efivarfs.
70014
70015 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
70016 f2fs.
70017
70018 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
70019 (EFIVARFS_MAGIC): Add.
70020 (F2FS_LINK_MAX): Add.
70021
700222013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
70023
70024 * stdio-common/vfprintf.c: Replace __builtin_expect with
70025 __glibc_unlikely.
70026
700272013-03-06 Joseph Myers <joseph@codesourcery.com>
70028
70029 [BZ #13550]
70030 * sysdeps/generic/bp-sym.h: Remove file.
70031 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
70032 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
70033 <bp-sym.h> and <bp-asm.h>.
70034 (__longjmp): Don't use BP_SYM.
70035 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
70036 and <bp-asm.h>.
70037 (memcpy): Don't use BP_SYM.
70038 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
70039 <bp-sym.h> and <bp-asm.h>.
70040 (memcpy): Don't use BP_SYM.
70041 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
70042 <bp-asm.h>.
70043 (memcpy): Don't use BP_SYM.
70044 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
70045 <bp-asm.h>.
70046 (memset): Don't use BP_SYM.
70047 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70048 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70049 (__bzero): Don't use BP_SYM.
70050 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70051 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70052 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
70053 <bp-sym.h> and <bp-asm.h>.
70054 (memcmp): Don't use BP_SYM. Remove comment about bounded
70055 pointers.
70056 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
70057 <bp-sym.h> and <bp-asm.h>.
70058 (memcpy): Don't use BP_SYM.
70059 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
70060 <bp-sym.h> and <bp-asm.h>.
70061 (memset): Don't use BP_SYM.
70062 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70063 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70064 (__bzero): Don't use BP_SYM.
70065 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70066 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70067 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
70068 <bp-sym.h> and <bp-asm.h>.
70069 (strncmp): Don't use BP_SYM. Remove comment about bounded
70070 pointers.
70071 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
70072 <bp-sym.h> and <bp-asm.h>.
70073 (memcpy): Don't use BP_SYM.
70074 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
70075 <bp-sym.h> and <bp-asm.h>.
70076 (memset): Don't use BP_SYM.
70077 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70078 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70079 (__bzero): Don't use BP_SYM.
70080 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70081 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70082 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
70083 <bp-sym.h> and <bp-asm.h>.
70084 (__memchr): Don't use BP_SYM.
70085 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
70086 <bp-sym.h> and <bp-asm.h>.
70087 (memcmp): Don't use BP_SYM. Remove comment about bounded
70088 pointers.
70089 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
70090 <bp-sym.h> and <bp-asm.h>.
70091 (memcpy): Don't use BP_SYM.
70092 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
70093 <bp-sym.h> and <bp-asm.h>.
70094 (__mempcpy): Don't use BP_SYM.
70095 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
70096 <bp-sym.h> and <bp-asm.h>.
70097 (__memrchr): Don't use BP_SYM.
70098 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
70099 <bp-sym.h> and <bp-asm.h>.
70100 (memset): Don't use BP_SYM.
70101 (__bzero): Likewise.
70102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
70103 <bp-sym.h> and <bp-asm.h>.
70104 (__rawmemchr): Don't use BP_SYM.
70105 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
70106 <bp-sym.h> and <bp-asm.h>.
70107 (__STRCMP): Don't use BP_SYM.
70108 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
70109 <bp-sym.h> and <bp-asm.h>.
70110 (strchr): Don't use BP_SYM.
70111 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
70112 <bp-sym.h> and <bp-asm.h>.
70113 (__strchrnul): Don't use BP_SYM.
70114 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
70115 <bp-sym.h> and <bp-asm.h>.
70116 (strlen): Don't use BP_SYM.
70117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
70118 <bp-sym.h> and <bp-asm.h>.
70119 (strncmp): Don't use BP_SYM. Remove comment about bounded
70120 pointers.
70121 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
70122 <bp-sym.h> and <bp-asm.h>.
70123 (__strnlen): Don't use BP_SYM.
70124 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
70125 <bp-sym.h> and <bp-asm.h>.
70126 (__GI__setjmp): Don't use BP_SYM.
70127 (_setjmp): Likewise.
70128 (__sigsetjmp): Likewise.
70129 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
70130 (L(start_addresses)): Don't use BP_SYM.
70131 (_start): Likewise.
70132 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
70133 <bp-asm.h>.
70134 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
70135 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
70136 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70137 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70138 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
70139 <bp-asm.h>.
70140 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
70141 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
70142 about bounded pointers.
70143 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70144 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70145 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
70146 <bp-asm.h>.
70147 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
70148 about bounded pointers. Remove GKM FIXME comments.
70149 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70150 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
70151 <bp-asm.h>.
70152 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
70153 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
70154 Remove GKM FIXME comments.
70155 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70156 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70157 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
70158 <bp-asm.h>.
70159 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
70160 about bounded pointers. Remove GKM FIXME comment.
70161 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
70162 and <bp-asm.h>.
70163 (strncmp): Don't use BP_SYM. Remove comment about bounded
70164 pointers.
70165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
70166 <bp-sym.h> and <bp-asm.h>.
70167 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
70169 <bp-sym.h> and <bp-asm.h>.
70170 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70171 comment.
70172
701732013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70174
70175 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
70176 call free(NULL).
70177
701782013-03-05 David S. Miller <davem@davemloft.net>
70179
70180 * po/es.po: Update from translation team.
70181
701822013-03-05 Andreas Jaeger <aj@suse.de>
70183
70184 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70185 <bits/mman-linux.h>.
70186 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70187 is fine.
70188 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70189 <bits/mman-linux.h> to end of file.
70190 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70191 is fine.
70192 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70193 <bits/mman-linux.h> to end of file.
70194 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70195 is fine.
70196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70197 <bits/mman-linux.h> to end of file.
70198
70199 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70200 (MCL_CURRENT, MCL_FUTURE): Define here.
70201
702022013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70203
70204 [BZ #15232]
70205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70206 attribute_hidden.
70207 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
92c3af3c 70208
edf66db1 702092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 70210
edf66db1
SP
70211 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70212 fourth parameter needed for rt_sigprocmask syscall.
70213 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70214 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70215 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70216 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70217 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70218 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
92c3af3c 70219
edf66db1 702202013-03-04 Joseph Myers <joseph@codesourcery.com>
92c3af3c 70221
edf66db1
SP
70222 [BZ #13550]
70223 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70224 comment about bounded pointers.
70225 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70226 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
92c3af3c 70227
edf66db1 702282013-03-04 Andreas Jaeger <aj@suse.de>
92c3af3c 70229
edf66db1
SP
70230 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70231 common definitions.
92c3af3c 70232
edf66db1
SP
70233 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70234 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70235 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70236 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70237 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70238 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
92c3af3c 70239
edf66db1 702402013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 70241
edf66db1
SP
70242 [BZ #15055]
70243 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70244 __ieee754_sqrl instead of __sqrl.
92c3af3c 70245
edf66db1 702462013-03-01 Joseph Myers <joseph@codesourcery.com>
92c3af3c 70247
edf66db1
SP
70248 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70249 * sysdeps/powerpc/fpu_control.h: ... here.
70250 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70251 * sysdeps/powerpc/bits/fenvinline.h: ... here.
70252 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70253 * sysdeps/powerpc/bits/mathinline.h: ... here.
92c3af3c 70254
edf66db1 702552013-03-01 Roland McGrath <roland@hack.frob.com>
92c3af3c 70256
edf66db1
SP
70257 * elf/dl-hwcaps.c (_dl_important_hwcaps):
70258 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70259 to just [NEED_DL_SYSINFO_DSO].
70260 * elf/dl-support.c: Likewise.
70261 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70262 * elf/rtld.c (dl_main): Likewise.
70263 * elf/setup-vdso.h (setup_vdso): Likewise.
70264 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70265 * sysdeps/unix/sysv/linux/dl-sysdep.c
70266 (_dl_discover_osversion): Likewise.
70267
702682013-03-01 Carlos O'Donell <carlos@redhat.com>
70269
70270 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70271 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70272
702732013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
70274
70275 * NEWS: Mention libm performance improvements and non-x86 PI
70276 futex support.
70277
70278 * csu/libc-start.c (__pthread_initialize_minimal): Change
70279 function arguments.
70280 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70281
702822013-02-28 Joseph Myers <joseph@codesourcery.com>
70283
70284 [BZ #13550]
70285 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70286 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70287 <bp-sym.h> and <bp-asm.h>.
70288 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70289 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70290 and <bp-asm.h>.
70291 (memcpy): Don't use BP_SYM.
70292 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70293 <bp-asm.h>.
70294 (__mpn_add_n): Don't use BP_SYM.
70295 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70296 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70297 and <bp-asm.h>.
70298 (__mpn_addmul_1): Don't use BP_SYM.
70299 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70300 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70301 <bp-sym.h>.
70302 (_setjmp): Don't use BP_SYM.
70303 (__novmx_setjmp): Likewise.
70304 (__GI__setjmp): Likewise.
70305 (__vmx_setjmp): Likewise.
70306 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70307 <bp-sym.h>.
70308 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70309 (__bzero): Don't use BP_SYM.
70310 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70311 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70312 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70313 <bp-sym.h> and <bp-asm.h>.
70314 (memcpy): Don't use BP_SYM.
70315 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70316 <bp-sym.h> and <bp-asm.h>.
70317 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70318 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70319 <bp-sym.h> and <bp-asm.h>.
70320 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70321 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70322 <bp-asm.h>.
70323 (__mpn_lshift): Don't use BP_SYM.
70324 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70325 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70326 <bp-asm.h>.
70327 (memset): Don't use BP_SYM.
70328 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70329 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70330 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70331 <bp-asm.h>.
70332 (__mpn_mul_1): Don't use BP_SYM.
70333 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70334 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70335 <bp-sym.h> and <bp-asm.h>.
70336 (memcmp): Don't use BP_SYM.
70337 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70338 <bp-sym.h> and <bp-asm.h>.
70339 (memcpy): Don't use BP_SYM.
70340 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70341 <bp-sym.h> and <bp-asm.h>.
70342 (memset): Don't use BP_SYM.
70343 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70344 <bp-sym.h> and <bp-asm.h>.
70345 (strncmp): Don't use BP_SYM.
70346 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70347 <bp-sym.h> and <bp-asm.h>.
70348 (memcpy): Don't use BP_SYM.
70349 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70350 <bp-sym.h> and <bp-asm.h>.
70351 (memset): Don't use BP_SYM.
70352 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70353 <bp-sym.h> and <bp-asm.h>.
70354 (__memchr): Don't use BP_SYM.
70355 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70356 <bp-sym.h> and <bp-asm.h>.
70357 (memcmp): Don't use BP_SYM.
70358 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70359 <bp-sym.h> and <bp-asm.h>.
70360 (memcpy): Don't use BP_SYM.
70361 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70362 <bp-sym.h> and <bp-asm.h>.
70363 (__mempcpy): Don't use BP_SYM.
70364 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70365 <bp-sym.h> and <bp-asm.h>.
70366 (__memrchr): Don't use BP_SYM.
70367 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70368 <bp-sym.h> and <bp-asm.h>.
70369 (memset): Don't use BP_SYM.
70370 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70371 <bp-sym.h> and <bp-asm.h>.
70372 (__rawmemchr): Don't use BP_SYM.
70373 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70374 <bp-sym.h> and <bp-asm.h>.
70375 (__STRCMP): Don't use BP_SYM.
70376 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70377 <bp-sym.h> and <bp-asm.h>.
70378 (strchr): Don't use BP_SYM.
70379 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70380 <bp-sym.h> and <bp-asm.h>.
70381 (__strchrnul): Don't use BP_SYM.
70382 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70383 <bp-sym.h> and <bp-asm.h>.
70384 (strlen): Don't use BP_SYM.
70385 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70386 <bp-sym.h> and <bp-asm.h>.
70387 (strncmp): Don't use BP_SYM.
70388 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70389 <bp-sym.h> and <bp-asm.h>.
70390 (__strnlen): Don't use BP_SYM.
70391 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70392 <bp-asm.h>.
70393 (__mpn_rshift): Don't use BP_SYM.
70394 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70395 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70396 <bp-sym.h> and <bp-asm.h>.
70397 (__sigsetjmp): Don't use BP_SYM.
70398 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70399 (L(start_addresses)): Don't use BP_SYM.
70400 (_start): Likewise.
70401 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70402 <bp-asm.h>.
70403 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70404 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70405 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70406 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70407 <bp-asm.h>.
70408 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70409 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70410 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70411 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70412 <bp-asm.h>.
70413 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70414 comments.
70415 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70416 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70417 <bp-asm.h>.
70418 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
70419 FIXME comments.
70420 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70421 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70422 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70423 <bp-asm.h>.
70424 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70425 comment.
70426 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70427 and <bp-asm.h>.
70428 (strncmp): Don't use BP_SYM,
70429 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70430 <bp-asm.h>.
70431 (__mpn_sub_n): Don't use BP_SYM.
70432 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70433 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70434 and <bp-asm.h>.
70435 (__mpn_submul_1): Don't use BP_SYM.
70436 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70438 <bp-sym.h> and <bp-asm.h>.
70439 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70441 <bp-sym.h> and <bp-asm.h>.
70442 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70443 comment.
70444
704452013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70446
70447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70448 Use ZK to minimize writes to Z.
70449 (sub_magnitudes): Simplify code a bit.
70450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70451 Use ZK to minimize writes to Z.
70452 (sub_magnitudes): Simplify code a bit.
70453
704542013-02-27 Roland McGrath <roland@hack.frob.com>
70455
70456 * csu/gmon-start.c: Add special exception to license text.
70457
704582013-02-27 Richard Henderson <rth@redhat.com>
70459
70460 * scripts/config.guess: Update from config.git.
70461 * scripts/config.sub: Likewise.
92c3af3c 70462
edf66db1 704632013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 70464
edf66db1 70465 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
92c3af3c 70466
edf66db1 70467 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
92c3af3c 70468
edf66db1 70469 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
92c3af3c 70470
edf66db1 70471 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
92c3af3c 70472
edf66db1 70473 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
92c3af3c 70474
edf66db1 704752013-02-26 Roland McGrath <roland@hack.frob.com>
92c3af3c 70476
edf66db1
SP
70477 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70478 [$(build-shared = yes].
92c3af3c 70479
edf66db1 704802013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 70481
edf66db1
SP
70482 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70483 (__mul): Reduce iterations for calculating mantissa.
92c3af3c 70484
edf66db1
SP
70485 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70486 MPTWO.
70487 (__mpranred): Likewise.
92c3af3c 70488
edf66db1
SP
70489 [BZ #15160]
70490 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70491 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
92c3af3c 70492
edf66db1 704932013-02-26 Paul Eggert <eggert@cs.ucla.edu>
92c3af3c 70494
edf66db1
SP
70495 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70496 Define __attribute__.
92c3af3c 70497
edf66db1 704982013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 70499
edf66db1
SP
70500 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70501 unused.
70502 * posix/regex_internal.h (__attribute): Remove.
70503 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70504 (re_string_context_at): Likewise.
70505 (bitset_not): Use __attribute__ and mark function as possibly
70506 unused.
70507 (bitset_merge): Likewise.
70508 (bitset_mask): Likewise.
70509 (re_string_char_size_at): Likewise.
70510 (re_string_wchar_at): Likewise.
70511 (re_string_elem_size_at): Likewise.
92c3af3c 70512
edf66db1 705132013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 70514
edf66db1
SP
70515 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70516 code.
70517 (cc32): Likewise.
92c3af3c 70518
edf66db1
SP
70519 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70520 (__acr): Likewise.
70521 (__cpy): Likewise.
70522 (norm): Likewise.
70523 (denorm): Likewise.
70524 (__dbl_mp): Likewise.
70525 (add_magnitudes): Likewise.
70526 (sub_magnitudes): Likewise.
70527 (__mul): Likewise.
70528 (__inv): Likewise.
92c3af3c 70529
edf66db1
SP
70530 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70531 style.
92c3af3c 70532
edf66db1
SP
70533 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70534 style.
92c3af3c 70535
edf66db1
SP
70536 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70537 code.
92c3af3c 70538
edf66db1
SP
70539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70540 up changes with default code.
70541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70542 Likewise.
92c3af3c 70543
edf66db1
SP
705442013-02-24 Allan McRae <allan@archlinux.org>
70545
70546 * manual/socket.texi (The Internet Namespace): Order menu items
70547 to match that in the file.
70548
70549 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70550 node listing of the info page menu.
70551
705522013-02-21 Joseph Myers <joseph@codesourcery.com>
70553
70554 [BZ #13550]
70555 * sysdeps/i386/bp-asm.h: Remove file.
70556 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70557 (PARMS): Do not use macros from bp-asm.h.
70558 (S1): Likewise.
70559 (S2): Likewise.
70560 (SIZE): Likewise.
70561 (__mpn_add_n): Do not use BP_SYM
70562 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70563 "bp-asm.h".
70564 (PARMS): Do not use macros from bp-asm.h.
70565 (S1): Likewise.
70566 (SIZE): Likewise.
70567 (__mpn_addmul_1): Do not use BP_SYM
70568 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70569 "bp-asm.h".
70570 (PARMS): Do not use macros from bp-asm.h.
70571 (SIGMSK): Likewise.
70572 (_setjmp): Likewise. Do not use BP_SYM.
70573 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70574 "bp-asm.h".
70575 (PARMS): Do not use macros from bp-asm.h.
70576 (SIGMSK): Likewise.
70577 (setjmp): Likewise. Do not use BP_SYM.
70578 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70579 "bp-asm.h".
70580 (PARMS): Do not use macros from bp-asm.h.
70581 (__frexp): Do not use BP_SYM.
70582 (frexp): Likewise.
70583 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70584 "bp-asm.h".
70585 (PARMS): Do not use macros from bp-asm.h.
70586 (__frexpf): Do not use BP_SYM.
70587 (frexpf): Likewise.
70588 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70589 "bp-asm.h".
70590 (PARMS): Do not use macros from bp-asm.h.
70591 (__frexpl): Do not use BP_SYM.
70592 (frexpl): Likewise.
70593 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70594 "bp-asm.h".
70595 (PARMS): Do not use macros from bp-asm.h.
70596 (__remquo): Do not use BP_SYM.
70597 (remquo): Likewise.
70598 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70599 "bp-asm.h".
70600 (PARMS): Do not use macros from bp-asm.h.
70601 (__remquof): Do not use BP_SYM.
70602 (remquof): Likewise.
70603 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70604 "bp-asm.h".
70605 (PARMS): Do not use macros from bp-asm.h.
70606 (__remquol): Do not use BP_SYM.
70607 (remquol): Likewise.
70608 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70609 "bp-asm.h".
70610 (PARMS): Do not use macros from bp-asm.h.
70611 (DEST): Likewise.
70612 (SRC): Likewise.
70613 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70614 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70615 "bp-asm.h".
70616 (PARMS): Do not use macros from bp-asm.h.
70617 (strlen): Do not use BP_SYM.
70618 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70619 "bp-asm.h".
70620 (PARMS): Do not use macros from bp-asm.h.
70621 (S1): Likewise.
70622 (S2): Likewise.
70623 (SIZE): Likewise.
70624 (__mpn_add_n): Do not use BP_SYM.
70625 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70626 "bp-asm.h".
70627 (PARMS): Do not use macros from bp-asm.h.
70628 (S1): Likewise.
70629 (SIZE): Likewise.
70630 (__mpn_addmul_1): Do not use BP_SYM.
70631 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70632 weak_alias.
70633 (bzero): Likewise.
70634 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70635 "bp-asm.h".
70636 (PARMS): Do not use macros from bp-asm.h.
70637 (S): Likewise.
70638 (SIZE): Likewise.
70639 (__mpn_lshift): Do not use BP_SYM.
70640 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70641 "bp-asm.h".
70642 (PARMS): Do not use macros from bp-asm.h.
70643 (DEST): Likewise.
70644 (SRC): Likewise.
70645 (LEN): Likewise.
70646 (memcpy): Likewise. Do not use BP_SYM.
70647 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70648 libc_hidden_def and weak_alias.
70649 (mempcpy): Do not use BP_SYM in weak_alias.
70650 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70651 "bp-asm.h".
70652 (PARMS): Do not use macros from bp-asm.h.
70653 (DEST): Likewise.
70654 (LEN): Likewise.
70655 [!BZERO_P] (CHR): Likewise.
70656 (memset): Likewise. Do not use BP_SYM.
70657 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70658 "bp-asm.h".
70659 (PARMS): Do not use macros from bp-asm.h.
70660 (S1): Likewise.
70661 (SIZE): Likewise.
70662 (__mpn_mul_1): Do not use BP_SYM.
70663 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70664 "bp-asm.h".
70665 (PARMS): Do not use macros from bp-asm.h.
70666 (S): Likewise.
70667 (SIZE): Likewise.
70668 (__mpn_rshift): Do not use BP_SYM.
70669 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70670 "bp-asm.h".
70671 (PARMS): Do not use macros from bp-asm.h.
70672 (STR): Likewise.
70673 (CHR): Likewise.
70674 (strchr): Likewise. Do not use BP_SYM.
70675 (index): Do not use BP_SYM in weak_alias.
70676 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70677 "bp-asm.h".
70678 (PARMS): Do not use macros from bp-asm.h.
70679 (DEST): Likewise.
70680 (SRC): Likewise.
70681 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70682 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70683 "bp-asm.h".
70684 (PARMS): Do not use macros from bp-asm.h.
70685 (strlen): Do not use BP_SYM.
70686 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70687 "bp-asm.h".
70688 (PARMS): Do not use macros from bp-asm.h.
70689 (S1): Likewise.
70690 (S2): Likewise.
70691 (SIZE): Likewise.
70692 (__mpn_sub_n): Do not use BP_SYM.
70693 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70694 "bp-asm.h".
70695 (PARMS): Do not use macros from bp-asm.h.
70696 (S1): Likewise.
70697 (SIZE): Likewise.
70698 (__mpn_submul_1): Do not use BP_SYM.
70699 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70700 "bp-asm.h".
70701 (PARMS): Do not use macros from bp-asm.h.
70702 (S1): Likewise.
70703 (S2): Likewise.
70704 (SIZE): Likewise.
70705 (__mpn_add_n): Do not use BP_SYM.
70706 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70707 weak_alias.
70708 (bzero): Likewise.
70709 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70710 "bp-asm.h".
70711 (PARMS): Do not use macros from bp-asm.h.
70712 (BLK2): Likewise.
70713 (LEN): Likewise.
70714 (memcmp): Do not use BP_SYM.
70715 (bcmp): Do not use BP_SYM in weak_alias.
70716 * sysdeps/i386/i686/memcpy.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 (SRC): Likewise.
70721 (LEN): Likewise.
70722 (memcpy): Likewise. Do not use BP_SYM.
70723 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70724 "bp-asm.h".
70725 (PARMS): Do not use macros from bp-asm.h.
70726 (DEST): Likewise.
70727 (SRC): Likewise.
70728 (LEN): Likewise.
70729 (memmove): Likewise. Do not use BP_SYM.
70730 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70731 "bp-asm.h".
70732 (PARMS): Do not use macros from bp-asm.h.
70733 (DEST): Likewise.
70734 (SRC): Likewise.
70735 (LEN): Likewise.
70736 (__mempcpy): Likewise. Do not use BP_SYM.
70737 (mempcpy): Do not use BP_SYM in weak_alias.
70738 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70739 "bp-asm.h".
70740 (PARMS): Do not use macros from bp-asm.h.
70741 (DEST): Likewise.
70742 (LEN): Likewise.
70743 [!BZERO_P] (CHR): Likewise.
70744 (memset): Likewise. Do not use BP_SYM.
70745 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70746 "bp-asm.h".
70747 (PARMS): Do not use macros from bp-asm.h.
70748 (STR2): Likewise.
70749 (strcmp): Do not use BP_SYM.
70750 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70751 "bp-asm.h".
70752 (PARMS): Do not use macros from bp-asm.h.
70753 (STR): Likewise.
70754 (DELIM): Likewise.
70755 [USE_AS_STRTOK_R] (SAVE): Likewise.
70756 (FUNCTION): Likewise. Do not use BP_SYM.
70757 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70758 aliases.
70759 (strtok_r): Likewise.
70760 (__GI___strtok_r): Likewise.
70761 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70762 (PARMS): Do not use macros from bp-asm.h.
70763 (S): Likewise.
70764 (SIZE): Likewise.
70765 (__mpn_lshift): Do not use BP_SYM.
70766 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70767 (PARMS): Do not use macros from bp-asm.h.
70768 (STR): Likewise.
70769 (CHR): Likewise.
70770 (__memchr): Do not use BP_SYM.
70771 (memchr): Do not use BP_SYM in weak_alias.
70772 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70773 (PARMS): Do not use macros from bp-asm.h.
70774 (BLK2): Likewise.
70775 (LEN): Likewise.
70776 (memcmp): Do not use BP_SYM.
70777 (bcmp): Do not use BP_SYM in weak_alias.
70778 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70779 (PARMS): Do not use macros from bp-asm.h.
70780 (S1): Likewise.
70781 (SIZE): Likewise.
70782 (__mpn_mul_1): Do not use BP_SYM.
70783 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70784 "bp-asm.h".
70785 (PARMS): Do not use macros from bp-asm.h.
70786 (STR): Likewise.
70787 (CHR): Likewise.
70788 (__rawmemchr): Do not use BP_SYM.
70789 (rawmemchr): Do not use BP_SYM in weak_alias.
70790 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70791 (PARMS): Do not use macros from bp-asm.h.
70792 (S): Likewise.
70793 (SIZE): Likewise.
70794 (__mpn_rshift): Do not use BP_SYM.
70795 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70796 (PARMS): Do not use macros from bp-asm.h.
70797 (SIGMSK): Likewise.
70798 (__sigsetjmp): Likewise. Do not use BP_SYM.
70799 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70800 (_start): Do not use BP_SYM.
70801 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70802 (PARMS): Do not use macros from bp-asm.h.
70803 (DEST): Likewise.
70804 (SRC): Likewise.
70805 (__stpcpy): Likewise. Do not use BP_SYM.
70806 (stpcpy): Do not use BP_SYM in weak_alias.
70807 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70808 "bp-asm.h".
70809 (PARMS): Do not use macros from bp-asm.h.
70810 (DEST): Likewise.
70811 (SRC): Likewise.
70812 (LEN): Likewise.
70813 (__stpncpy): Likewise. Do not use BP_SYM.
70814 (stpncpy): Do not use BP_SYM in weak_alias.
70815 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70816 (PARMS): Do not use macros from bp-asm.h.
70817 (STR): Likewise.
70818 (CHR): Likewise.
70819 (strchr): Likewise. Do not use BP_SYM.
70820 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70821 "bp-asm.h".
70822 (PARMS): Do not use macros from bp-asm.h.
70823 (STR): Likewise.
70824 (CHR): Likewise.
70825 (__strchrnul): Likewise. Do not use BP_SYM.
70826 (strchrnul): Do not use BP_SYM in weak_alias.
70827 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70828 "bp-asm.h".
70829 (PARMS): Do not use macros from bp-asm.h.
70830 (STOP): Likewise.
70831 (strcspn): Do not use BP_SYM.
70832 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70833 "bp-asm.h".
70834 (PARMS): Do not use macros from bp-asm.h.
70835 (STR): Likewise.
70836 (STOP): Likewise.
70837 (strpbrk): Likewise. Do not use BP_SYM.
70838 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70839 "bp-asm.h".
70840 (PARMS): Do not use macros from bp-asm.h.
70841 (STR): Likewise.
70842 (CHR): Likewise.
70843 (strrchr): Likewise. Do not use BP_SYM.
70844 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70845 (PARMS): Do not use macros from bp-asm.h.
70846 (SKIP): Likewise.
70847 (strspn): Do not use BP_SYM.
70848 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70849 (PARMS): Do not use macros from bp-asm.h.
70850 (STR): Likewise.
70851 (DELIM): Likewise.
70852 (SAVE): Likewise.
70853 (FUNCTION): Likewise. Do not use BP_SYM.
70854 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70855 aliases.
70856 (strtok_r): Likewise.
70857 (__GI___strtok_r): Likewise.
70858 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70859 (PARMS): Do not use macros from bp-asm.h.
70860 (S1): Likewise.
70861 (S2): Likewise.
70862 (SIZE): Likewise.
70863 (__mpn_sub_n): Do not use BP_SYM.
70864 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70865 "bp-asm.h".
70866 (PARMS): Do not use macros from bp-asm.h.
70867 (S1): Likewise.
70868 (SIZE): Likewise.
70869 (__mpn_submul_1): Do not use BP_SYM.
70870 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70871 <bp-sym.h>.
70872 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70873 and <bp-asm.h>.
70874 (PARMS): Do not use macros from bp-asm.h.
70875 (FLAGS): Likewise.
70876 (PTID): Likewise.
70877 (TLS): Likewise.
70878 (CTID): Likewise.
70879 (__clone): Do not use BP_SYM.
70880 (clone): Do not use BP_SYM in weak_alias.
70881 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70882 and <bp-asm.h>.
70883 (PARMS): Do not use macros from bp-asm.h.
70884 (LEN): Likewise.
70885 (__mmap64): Do not use BP_SYM.
70886 (mmap64): Do not use BP_SYM in weak_alias.
70887 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70888 <bp-sym.h> and <bp-asm.h>.
70889 (PARMS): Do not use macros from bp-asm.h.
70890 (__posix_fadvise64_l64): Do not use BP_SYM.
70891 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70892 (PARMS): Do not use macros from bp-asm.h.
70893 (NSOPS): Likewise.
70894 (semtimedop): Do not use BP_SYM.
70895 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70896 and <bp-asm.h>.
70897
708982013-02-21 Allan McRae <allan@archlinux.org>
70899
70900 * manual/message.texi (Charset conversion in gettext):
70901 Move @end statement to beginning of line.
70902
709032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70904
70905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70906 static.
70907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70908 Likewise.
92c3af3c 70909
edf66db1
SP
70910 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70911 (denorm): Likewise.
70912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
92c3af3c 70914
edf66db1 709152013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 70916
edf66db1
SP
70917 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70918 tail-call to the resolved function if pltexit isn't needed.
92c3af3c 70919
edf66db1 709202013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 70921
edf66db1
SP
70922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70923 or Y being zero as being unlikely.
70924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70925 Likewise.
92c3af3c 70926
edf66db1
SP
709272013-02-20 Carlos O'Donell <carlos@redhat.com>
70928
70929 * manual/nss.texi (System Databases and Name Service Switch):
70930 Remove frobnicate @pxref.
70931
709322013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70933
70934 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70935 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70936
709372013-02-20 Petr Machata <pmachata@redhat.com>
70938
70939 * elf/elf.h (R_ARM_TARGET1): New macro.
70940 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70941 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70942 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70943 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70944 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70945 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70946 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70947 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70948 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70949 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70950 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70951 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70952 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70953 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70954 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70955 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70956 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70957 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70958 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70959 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70960 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70961 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70962 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70963 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70964 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70965 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70966 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70967 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70968 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70969 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70970 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70971 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70972 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70973 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70974 (R_ARM_THM_GOT_BREL12): Likewise.
70975 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70976 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70977 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70978 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70979 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70980 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70981 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70982 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70983 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70984
709852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70986
70987 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70988 __attribute_used__ to __attribute__ ((unused)).
70989
709902013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70991
70992 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70993 powerpc mpa.c.
70994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70995 comment formatting.
70996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70997
709982013-02-19 Joseph Myers <joseph@codesourcery.com>
70999
71000 [BZ #13550]
71001 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
71002 Remove macro.
71003 (ENTER): Remove both macro definitions.
71004 (LEAVE): Likewise.
71005 (CHECK_BOUNDS_LOW): Likewise.
71006 (CHECK_BOUNDS_HIGH): Likewise.
71007 (CHECK_BOUNDS_BOTH): Likewise.
71008 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
71009 (RETURN_BOUNDED_POINTER): Likewise.
71010 (RETURN_NULL_BOUNDED_POINTER): Likewise.
71011 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
71012 (POP_ERRNO_LOCATION_RETURN): Likewise.
71013 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
71014 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71015 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
71016 macros.
71017 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71018 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
71019 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
71020 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
71021 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
71022 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
71023 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
71024 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
71025 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
71026 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
71027 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
71028 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
71029 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71030 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
71031 removed macros.
71032 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71033 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
71034 macros.
71035 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71036 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
71037 * sysdeps/i386/i586/memset.S (memset): Likewise.
71038 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
71039 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71040 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
71041 macros.
71042 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71043 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
71044 Change uses of L(2) to L(out).
71045 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
71046 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
71047 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
71048 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71049 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
71050 removed macros.
71051 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71052 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
71053 macros.
71054 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71055 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
71056 (RETURN): Do not use macro LEAVE.
71057 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
71058 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
71059 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
71060 * sysdeps/i386/i686/memset.S (memset): Likewise.
71061 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
71062 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
71063 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
71064 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
71065 Likewise.
71066 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71067 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
71068 L(1_2) and L(1_3) into L(1).
71069 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71070 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
71071 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71072 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
71073 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
71074 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
71075 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
71076 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71077 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
71078 macros.
71079 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
71080 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71081 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
71082 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
71083 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
71084 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
71085 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
71086 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
71087 * sysdeps/i386/strcspn.S (strcspn): Likewise.
71088 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
71089 * sysdeps/i386/strrchr.S (strrchr): Likewise.
71090 * sysdeps/i386/strspn.S (strspn): Likewise.
71091 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
71092 conditional code.
71093 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71094 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
71095 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71096 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
71097 L(1_3) into L(1_1).
71098 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
71099 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71100 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
71101 macros.
71102 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71103
711042013-02-19 Jakub Jelinek <jakub@redhat.com>
71105
71106 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
71107 macro.
92c3af3c 71108
edf66db1 711092013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 71110
edf66db1
SP
71111 * math/atest-exp.c (exp_mpn): Remove ROUND.
71112 * math/atest-exp2.c (exp_mpn): Likewise.
71113 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
92c3af3c 71114
edf66db1
SP
71115 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
71116 * stdlib/tst-tls-atexit-lib.c: Likewise.
71117 * stdlib/tst-tls-atexit.c: Likewise.
92c3af3c 71118
edf66db1 711192013-02-18 Mike Frysinger <vapier@gentoo.org>
92c3af3c 71120
edf66db1
SP
71121 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
71122 and __attribute_alloc_size__.
92c3af3c 71123
edf66db1 711242013-02-18 Mike Frysinger <vapier@gentoo.org>
92c3af3c 71125
edf66db1
SP
71126 * include/programs/xmalloc.h: Change __attribute_alloc_size to
71127 __attribute_alloc_size__.
71128 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
71129 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
92c3af3c 71130
edf66db1 711312013-02-18 Mike Frysinger <vapier@gentoo.org>
92c3af3c 71132
edf66db1
SP
71133 * include/programs/xmalloc.h: New file.
71134 * catgets/gencat.c: Include it.
71135 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
71136 * elf/pldd.c: Likewise.
71137 * iconv/iconv_charmap.c: Likewise.
71138 * iconv/iconvconfig.c: Likewise.
71139 * iconv/strtab.c: Likewise.
71140 * locale/programs/locale.c: Likewise.
71141 * locale/programs/localedef.h: Likewise.
71142 * locale/programs/simple-hash.c: Likewise.
71143 * nscd/nscd.h: Likewise.
71144 * nss/makedb.c: Likewise.
71145 * sysdeps/generic/ldconfig.h: Likewise.
71146
711472013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71148
71149 * Versions.def: Add GLIBC_2.18.
71150 * include/link.h (struct link_map): New member l_tls_dtor_count.
71151 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
71152 (__call_tls_dtors): Likewise.
71153 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
71154 __cxa_thread_atexit_impl.
71155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71156 Likewise.
71157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71158 Likewise.
71159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
71160 Likewise.
71161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
71162 Likewise.
71163 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
71165 Likewise.
71166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
71167 Likewise.
71168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71170 Likewise.
71171 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
71172 (tests): Add test case tst-tls-atexit.
71173 (modules-names): Add shared library for tst-tls-atexit.
71174 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
71175 (GLIBC_PRIVATE): Add __call_tls_dtors.
71176 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71177 for libstdc++.
71178 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71179 * stdlib/tst-tls-atexit.c: New test case.
71180 * stdlib/tst-tls-atexit-lib.c: New test case.
71181
71182 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71183
71184 * elf/Versions (ld): Add _dl_find_dso_for_object.
71185 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71186 * elf/dl-open.c (_dl_find_dso_for_object): New function.
71187 (dl_open_worker): Use _dl_find_dso_for_object.
71188 * elf/dl-sym.c (do_sym): Likewise.
71189 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71190
711912013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71192
71193 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71194 Syntactic changes only.
71195 (_dl_runtime_profile): Do a tail-call to the resolved function.
71196
711972013-02-17 Joseph Myers <joseph@codesourcery.com>
71198
71199 [BZ #13550]
71200 * sysdeps/x86_64/bp-asm.h: Remove file.
71201 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71202 <bp-sym.h> and <bp-asm.h>.
71203 (__clone): Do not use BP_SYM.
71204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71205 <bp-sym.h> and <bp-asm.h>.
71206 * sysdeps/unix/x86_64/sysdep.S: Likewise.
71207 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71208 "bp-asm.h".
71209 (_setjmp): Do not use BP_SYM.
71210 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71211 "bp-asm.h".
71212 (setjmp): Do not use BP_SYM.
71213 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71214 libc_hidden_def.
71215 (mempcpy): Do not use BP_SYM in weak_alias.
71216 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71217 "bp-asm.h".
71218 (strchr): Do not use BP_SYM.
71219 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71220 "bp-asm.h".
71221 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71222 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71223 (_start): Do not use BP_SYM.
71224 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71225 "bp-asm.h".
71226 (strcat): Do not use BP_SYM.
71227 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71228 "bp-asm.h".
71229 (STRCMP): Do not use BP_SYM.
71230 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71231 "bp-asm.h".
71232 (STRCPY): Do not use BP_SYM.
71233 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71234 "bp-asm.h".
71235 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71236 "bp-asm.h".
71237 (FUNCTION): Do not use BP_SYM.
71238 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71239 weak_alias.
71240 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
92c3af3c 71241
edf66db1 712422013-02-17 Andreas Jaeger <aj@suse.de>
92c3af3c 71243
edf66db1
SP
71244 * time/Versions: Sort entries.
71245 * string/Versions: Likewise.
71246 * resolv/Versions: Likewise.
71247 * posix/Versions: Likewise.
71248 * iconv/Versions: Likewise.
71249 * elf/Versions: Likewise.
71250 * wcsmbs/Versions: Likewise.
71251
712522013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
71253
71254 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71255 loop termination condition.
71256
71257 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71258 variable to calculate EZ.
71259 (__sqr): Likewise.
71260
71261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71262 the lower precision input.
71263
712642013-02-15 Joseph Myers <joseph@codesourcery.com>
71265
71266 [BZ #13550]
71267 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71268 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71269 (run-via-rtld-prefix): Do not handle %-bp tests.
71270 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71271 (all-object-suffixes): Remove .ob.
71272 (bppfx): Remove variable.
71273 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71274 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71275 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71276 [$(build-bounded) = yes] (libtype.ob): Likewise.
71277 * Makerules (elide-routines.ob): Remove variable.
71278 (do-tests-clean): Do not handle *-bp.out.
71279 (common-mostlyclean): Do not handle *-bp and *-bp.out.
71280 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71281 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71282 (tests): Do not include $(tests-bp.out).
71283 (xtests): Do not include $(xtests-bp.out).
71284 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71285 [$(build-bounded) = yes] ($(addprefix
71286 $(objpfx),$(binaries-bounded))): Remove rule.
71287 ($(objpfx)%-bp.out): Remove rule.
71288 * config.make.in (build-bounded): Remove variable.
71289 * crypt/Makefile [$(build-bounded) = yes]
71290 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71291 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71292 append to variable.
71293 [$(build-bounded) = yes] (install-lib): Likewise.
71294 [$(build-bounded) = yes] (generated): Likewise.
71295 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71296 Remove rule.
71297 * intl/Makefile [$(build-bounded) = yes]
71298 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71299 * math/Makefile [$(build-bounded) = yes]
71300 ($(tests:%=$(objpfx)%-bp): Likewise.
71301 * misc/Makefile [$(build-bounded) = yes]
71302 ($(objpfx)tst-tsearch-bp): Likewise.
71303 * nptl/Makeconfig (bounded-thread-library): Remove variable.
71304 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71305 Remove dependency.
71306 * string/Makefile (o-objects.ob): Remove variable.
71307 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71308 (CFLAGS-.ob): Remove variable.
71309 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71310 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71311 both definitions of variable.
71312 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71313 (ASFLAGS-.ob): Remove variable.
71314
713152013-02-14 Joseph Myers <joseph@codesourcery.com>
71316
71317 [BZ #13550]
71318 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71319 Remove __BOUNDED_POINTERS__ from condition.
71320 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71321 * string/bits/string2.h [!__NO_STRING_INLINES &&
71322 !__BOUNDED_POINTERS__]: Likewise.
71323 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71324 Likewise.
71325 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71326 Remove conditional code.
71327 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71328 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71329 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71330 condition.
71331
71332 [BZ #13550]
71333 * csu/libc-start.c: Do not include <bp-sym.h>.
71334 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71335 * elf/dl-open.c: Do not include <bp-sym.h>.
71336 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71337 * math/fegetenv.c: Do not include <bp-sym.h>.
71338 (fegetenv): Do not use BP_SYM in versioned symbols.
71339 * nptl/sysdeps/pthread/bits/libc-lockP.h
71340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71341 <bp-sym.h>.
71342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71343 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71345 (__pthread_mutex_destroy): Likewise.
71346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71347 (__pthread_mutex_lock): Likewise.
71348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71349 (__pthread_mutex_trylock): Likewise.
71350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71351 (__pthread_mutex_unlock): Likewise.
71352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71353 (__pthread_mutexattr_init): Likewise.
71354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71355 (__pthread_mutexattr_destroy): Likewise.
71356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71357 (__pthread_mutexattr_settype): Likewise.
71358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71359 (__pthread_rwlock_init): Likewise.
71360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71361 (__pthread_rwlock_destroy): Likewise.
71362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71363 (__pthread_rwlock_rdlock): Likewise.
71364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71365 (__pthread_rwlock_tryrdlock): Likewise.
71366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71367 (__pthread_rwlock_wrlock): Likewise.
71368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71369 (__pthread_rwlock_trywrlock): Likewise.
71370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71371 (__pthread_rwlock_unlock): Likewise.
71372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71373 (__pthread_key_create): Likewise.
71374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71375 (__pthread_setspecific): Likewise.
71376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71377 (__pthread_getspecific): Likewise.
71378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71379 Likewise.
71380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71381 (_pthread_cleanup_push_defer): Likewise.
71382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71383 (_pthread_cleanup_pop_restore): Likewise.
71384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71385 (pthread_setcancelstate): Likewise.
71386 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71387 <bp-sym.h>.
71388 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71389 (memchr): Do not use BP_SYM in weak_alias.
71390 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71391 (fegetenv): Do not use BP_SYM in versioned symbols.
71392 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71393 (fesetenv): Do not use BP_SYM in versioned symbols.
71394 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71395 (feupdateenv): Do not use BP_SYM in versioned symbols.
71396 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71397 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71398 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71399 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71400 (open64): Do not use BP_SYM in weak_alias.
71401 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71402 (fegetenv): Do not use BP_SYM in versioned symbols.
71403 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71404 (fesetenv): Do not use BP_SYM in versioned symbols.
71405 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71406 (feupdateenv): Do not use BP_SYM in versioned symbols.
71407 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71408 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71409 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71410 (feraiseexcept): Do not use BP_SYM in versioned symbols.
71411 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71412 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71413 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71414 <bp-sym.h>.
71415 (__libc_start_main): Do not use BP_SYM.
71416
714172013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71418
71419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71420 redundant return line.
71421 (norm): Likewise.
71422 (denorm): Likewise.
71423 (dbl_mp): Likewise.
71424 (sub_magnitudes): Likewise.
71425 (__add): Likewise.
71426 (__sub): Likewise.
71427 (__mul): Likewise.
71428 (__inv): Likewise.
71429 (__dvd): Likewise.
71430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71431 (norm): Likewise.
71432 (denorm): Likewise.
71433 (dbl_mp): Likewise.
71434 (sub_magnitudes): Likewise.
71435 (__add): Likewise.
71436 (__sub): Likewise.
71437 (__mul): Likewise.
71438 (__inv): Likewise.
71439 (__dvd): Likewise.
71440
71441 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71442 instead of __mul.
71443 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71444 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71445 (cc32): Likewise.
71446
71447 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71448 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71450 of __mul for squares.
71451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71452 function
71453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71454 Likewise.
71455 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71456 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71457
714582013-02-13 Joseph Myers <joseph@codesourcery.com>
71459
71460 [BZ #13550]
71461 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71462 code.
71463 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71464 prototype or function definition. Rename ubp_* variables and
71465 parameters. Remove argv definitions conditional on
71466 [__BOUNDED_POINTERS__].
71467 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71468 * elf/dl-runtime.c (_dl_fixup): Likewise.
71469 * include/set-hooks.h (RUN_HOOK): Likewise.
71470 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71471 definition.
71472 * string/strcpy.c (strcpy): Do not use __unbounded.
71473 * sysdeps/generic/frame.h (struct layout): Likewise.
71474 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71475 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71476 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71477 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71478 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71479 (__backtrace): Likewise.
71480 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71481 use __ptrvalue.
71482 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71483 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71484 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71485 Likewise.
71486 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71487 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71488 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71489 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71490 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71491 Do not use __unbounded.
71492 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71493 Rename __unboundedrlimits parameter to rlimits in prototype.
71494 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71495 Do not use __unbounded.
71496 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71497 not use __ptrvalue.
71498 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71499 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71500 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71501 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71502 __ptrvalue or __unbounded.
71503 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71504 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71505 use __unbounded.
71506 (__new_msgctl): Do not use __ptrvalue.
71507 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71508 __unbounded.
71509 (__libc_msgrcv): Do not use __ptrvalue.
71510 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71511 startup_info): Do not use __unbounded.
71512 (__libc_start_main): Likewise. Rename ubp_* variables and
71513 parameters. Remove argv definitions conditional on
71514 [__BOUNDED_POINTERS__].
71515 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71516 __ptrvalue.
71517 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71518 use __unbounded.
71519 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71520 or __ptrvalue.
71521 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71522 use __unbounded.
71523 (__new_shmctl): Do not use __ptrvalue.
71524 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71525 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71526 Likewise.
71527 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71528 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71529 (__libc_sigaction): Likewise.
71530 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71531 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71532 Likewise.
71533 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
92c3af3c 71534
edf66db1 715352013-02-13 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 71536
edf66db1 71537 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
92c3af3c 71538
edf66db1 71539 * string/mempcpy.c: Implement by calling memcpy.
92c3af3c 71540
edf66db1 715412013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 71542
edf66db1 71543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
92c3af3c 71544
edf66db1
SP
71545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71546 evaluation.
92c3af3c 71547
edf66db1
SP
71548 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71549 values in the mantissa.
92c3af3c 71550
edf66db1
SP
71551 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71552 minimize writes to Z.
71553 (sub_magnitudes): Simplify code a bit.
92c3af3c 71554
edf66db1 715552013-02-12 Roland McGrath <roland@hack.frob.com>
92c3af3c 71556
edf66db1
SP
71557 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71558 from the message. The linker prefixes all warnings with that already.
92c3af3c 71559
edf66db1 715602013-02-12 Andreas Schwab <schwab@suse.de>
92c3af3c 71561
edf66db1
SP
71562 [BZ #15078]
71563 * posix/regexec.c (extend_buffers): Add parameter min_len.
71564 (check_matching): Pass minimum needed length.
71565 (clean_state_log_if_needed): Likewise.
71566 (get_subexp): Likewise.
71567 * posix/Makefile (tests): Add bug-regex34.
71568 (bug-regex34-ENV): Define.
71569 * posix/bug-regex34.c: New file.
92c3af3c 71570
edf66db1
SP
71571 [BZ #11561]
71572 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71573 elements compare against the byte sequence of it, not its name.
71574 * posix/Makefile (tests): Add bug-regex35.
71575 (bug-regex35-ENV): Define.
71576 * posix/bug-regex35.c: New file.
92c3af3c 71577
edf66db1 715782013-02-11 Tom de Vries <tom@codesourcery.com>
92c3af3c 71579
edf66db1
SP
71580 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71581 comment.
71582 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71583 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71584 (CHECK_EOL): Add undef.
92c3af3c 71585
edf66db1 715862013-02-11 Ondřej Bílka <neleai@seznam.cz>
92c3af3c 71587
edf66db1
SP
71588 * bits/stdlib-bsearch.h: New file.
71589 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71590 * stdlib/stdlib.h: Likewise.
92c3af3c 71591
edf66db1 715922013-02-11 Roland McGrath <roland@hack.frob.com>
92c3af3c 71593
edf66db1
SP
71594 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71595 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71596 declaration.
71597 * manual/search.texi (Array Search Function): Add missing const in
71598 lfind prototype.
71599 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71600 declaration to use rlim_t.
71601 (Basic Scheduling Functions): Remove erroneous const from
71602 sched_getparam prototype. Remove erroneous * from
71603 sched_get_priority_max and sched_get_priority_min prototypes.
71604 (Resource Usage): Fix summary @comment on vtimes to refer to
71605 sys/vtimes.h rather than vtimes.h.
71606 Add missing *s in vtimes prototype.
71607 (Limits on Resources): Fix ulimit prototype to return long int.
71608 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71609 prototypes to use long int rather than double.
71610 (BSD Random): Fix initstate and setstate to use char *, not void *.
71611 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71612 prototype to make second argument 'struct aiocb64 *const[]'.
71613 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71614 (Status of AIO Operations): Remove erroneous const in aio_return and
71615 aio_return64 prototypes.
71616 (Synchronizing I/O): Fix sync prototype to return void.
71617 * manual/startup.texi (Suboptions): Remove an erroneous const in
71618 getsubopt prototype.
71619 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71620 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71621 use size_t rather than int.
71622 (Scanning All Users): Likewise for getpwent_r.
71623 (Setting Groups): Add missing const to setgroups prototype.
71624 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71625 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71626 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71627 'const void *' rather than 'const char *'.
71628 (Host Address Functions): Likewise for inet_ntop.
71629 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71630 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71631 ssize_t for return value.
71632 (Sending Data): Likewise for send, sendto, sendmsg.
71633 (Socket Option Functions): Add a missing const in setsockopt prototype.
71634 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71635 use wchar_t for the argument.
71636 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71637 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71638 take no arguments.
71639 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71640 double/float/long double for second argument.
71641 Fix return types of significand, significandf, significandl.
71642 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71643 argument in fchmod prototype.
71644 (File Owner): Use uid_t and gid_t in fchown prototype.
71645 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71646 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71647 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71648 use 'const struct dirent **' as argument types to CMP function pointer
71649 argument.
71650 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71651 (File Times): Fix summary magic @comment for struct utimbuf and utime
71652 to refer to utime.h, not time.h.
71653 * manual/string.texi (Argz Functions): Add missing const in
71654 argz_extract and argz_next prototypes.
71655 (Finding Tokens in a String): Likewise for basename.
71656 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71657 (Copying and Concatenation): Fix typo in wmemmove prototype.
71658 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71659 (Signal Stack): Remove erroneous const in sigstack prototype.
71660 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71661 prototype.
71662 (Simple Calendar Time): Likewise for stime.
71663 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71664 prototype.
71665 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71666 say sys/sysctl.h instead.
71667 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71668 and vsyslog prototypes.
92c3af3c 71669
edf66db1 716702013-02-11 Tom de Vries <tom@codesourcery.com>
92c3af3c 71671
edf66db1
SP
71672 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71673 Remove.
92c3af3c 71674
edf66db1 716752013-02-11 Roland McGrath <roland@hack.frob.com>
92c3af3c 71676
edf66db1 71677 * misc/sys/mman.h: Fix typo in mremap comment.
92c3af3c 71678
edf66db1 716792013-02-08 Roland McGrath <roland@hack.frob.com>
92c3af3c 71680
edf66db1
SP
71681 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71682 the '\0' terminator.
92c3af3c 71683
edf66db1 716842013-02-08 Joseph Myers <joseph@codesourcery.com>
92c3af3c 71685
edf66db1
SP
71686 [BZ #13550]
71687 * debug/segfault.c: Don't include <bp-checks.h>.
71688 * sysdeps/generic/bp-checks.h: Remove file.
71689 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71690 (__GETDENTS): Don't use CHECK_N.
71691 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71692 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71693 (__getgroups): Don't use CHECK_N.
71694 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71695 (setgroups): Don't use CHECK_N.
71696 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71697 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71698 (__libc_msgrcv): Don't use CHECK_N.
71699 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71700 (__libc_msgsnd): Don't use CHECK_N.
71701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71702 <bp-checks.h>.
71703 (__libc_pread): Don't use CHECK_N.
71704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71705 include <bp-checks.h>.
71706 (__libc_pread64): Don't use CHECK_N.
71707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71708 include <bp-checks.h>.
71709 (__libc_pwrite): Don't use CHECK_N.
71710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71711 include <bp-checks.h>.
71712 (__libc_pwrite64): Don't use CHECK_N.
71713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71714 <bp-checks.h>.
71715 (__libc_pread): Don't use CHECK_N.
71716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71717 include <bp-checks.h>.
71718 (__libc_pread64): Don't use CHECK_N.
71719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71720 include <bp-checks.h>.
71721 (__libc_pwrite): Don't use CHECK_N.
71722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71723 include <bp-checks.h>.
71724 (__libc_pwrite64): Don't use CHECK_N.
71725 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71726 (do_pread): Don't use CHECK_N.
71727 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71728 (do_pread64): Don't use CHECK_N.
71729 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71730 (do_pwrite): Don't use CHECK_N.
71731 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71732 (do_pwrite64): Don't use CHECK_N.
71733 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71734 (__libc_readv): Don't use CHECK_N.
71735 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71736 (semop): Don't use CHECK_N.
71737 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71738 <bp-checks.h>.
71739 (semtimedop): Don't use CHECK_N.
71740 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71741 (__libc_pread): Don't use CHECK_N.
71742 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71743 <bp-checks.h>.
71744 (__libc_pread64): Don't use CHECK_N.
71745 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71746 <bp-checks.h>.
71747 (__libc_pwrite): Don't use CHECK_N.
71748 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71749 <bp-checks.h>.
71750 (__libc_pwrite64): Don't use CHECK_N.
71751 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71752 <bp-checks.h>.
71753 (__libc_msgrcv): Don't use CHECK_N.
71754 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71755 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71756 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71757 (__libc_writev): Don't use CHECK_N.
71758
717592013-02-08 Roland McGrath <roland@hack.frob.com>
71760
71761 * string/strcpy.c: Removed unused variable.
71762
71763 * Makeconfig (+sysdep-includes): Define with := rather than =.
71764 Use an existing include/ subdir of each sysdeps dir before it.
71765
717662013-02-08 Carlos O'Donell <carlos@redhat.com>
71767
71768 * nscd/connection.c (register_traced_file): Comment function.
71769 [HAVE_INOTIFY] (union __inev): Define.
71770 [HAVE_INOTIFY] (inotify_check_files): New function.
71771 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71772 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71773 clear_db_cache.
71774 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71775
717762013-02-08 Carlos O'Donell <carlos@redhat.com>
71777
71778 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71779 loaded if not already and that a failure is permanent.
71780
717812013-02-08 Carlos O'Donell <carlos@redhat.com>
71782
71783 [BZ #15006]
71784 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71785 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71786
717872013-02-08 Joseph Myers <joseph@codesourcery.com>
71788
71789 [BZ #13550]
71790 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71791 (CHECK_1_NULL_OK): Likewise.
71792 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71793 (__fxstat): Do not use CHECK_1.
71794 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71795 <bp-checks.h>.
71796 (___fxstat64): Do not use CHECK_1.
71797 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71798 <bp-checks.h>.
71799 (__fxstatat): Do not use CHECK_1.
71800 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71801 <bp-checks.h>.
71802 (__fxstatat64): Do not use CHECK_1.
71803 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71804 <bp-checks.h>.
71805 (__fxstat): Do not use CHECK_1.
71806 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71807 <bp-checks.h>.
71808 (__fxstatat): Do not use CHECK_1.
71809 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71810 <bp-checks.h>.
71811 (__getresgid): Do not use CHECK_1.
71812 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71813 <bp-checks.h>.
71814 (__getresuid): Do not use CHECK_1.
71815 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71816 <bp-checks.h>.
71817 (__lxstat): Do not use CHECK_1.
71818 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71819 <bp-checks.h>.
71820 (__old_msgctl): Do not use CHECK_1.
71821 (__new_msgctl): Likewise.
71822 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71823 <bp-checks.h>.
71824 (__new_setrlimit): Do not use CHECK_1.
71825 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71826 <bp-checks.h>.
71827 (__old_shmctl): Do not use CHECK_1.
71828 (__new_shmctl): Likewise.
71829 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71830 <bp-checks.h>.
71831 (__xstat): Do not use CHECK_1.
71832 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71833 (__lxstat): Do not use CHECK_1.
71834 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71835 <bp-checks.h>.
71836 (___lxstat64): Do not use CHECK_1.
71837 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71838 (__old_msgctl): Do not use CHECK_1.
71839 (__new_msgctl): Likewise.
71840 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71841 <bp-checks.h>.
71842 (__gettimeofday): Do not use CHECK_1.
71843 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71844 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71845 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71846 <bp-checks.h>.
71847 (__gettimeofday): Do not use CHECK_1.
71848 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71849 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71850 (__new_shmctl): Do not use CHECK_1.
71851 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71852 <bp-checks.h>.
71853 (do_sigtimedwait): Do not use CHECK_1.
71854 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71855 <bp-checks.h>.
71856 (do_sigwaitinfo): Do not use CHECK_1.
71857 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71858 <bp-checks.h>.
71859 (msgctl): Do not use CHECK_1.
71860 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71861 <bp-checks.h>.
71862 (shmctl): Do not use CHECK_1.
71863 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71864 (ustat): Do not use CHECK_1.
71865 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71866 <bp-checks.h>.
71867 (__fxstat): Do not use CHECK_1.
71868 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71869 <bp-checks.h>.
71870 (__fxstatat): Do not use CHECK_1.
71871 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71872 <bp-checks.h>.
71873 (__lxstat): Do not use CHECK_1.
71874 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71875 <bp-checks.h>.
71876 (__xstat): Do not use CHECK_1.
71877 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71878 (__xstat): Do not use CHECK_1.
71879 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71880 (___xstat64): Do not use CHECK_1.
71881
71882 [BZ #13550]
71883 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71884 definitions.
71885 (CHECK_BOUNDS_HIGH): Likewise.
71886 * string/strcpy.c: Do not include <bp-checks.h>.
71887 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71888
718892013-02-07 Roland McGrath <roland@hack.frob.com>
71890
71891 * nscd/nscd-client.h (__nscd_drop_map_ref):
71892 Add __attribute__ ((unused)).
71893 * nis/nss-nisplus.h (niserr2nss): Likewise.
71894
71895 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71896 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71897
71898 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71899 Remove inline keyword.
71900 * include/rounding-mode.h (round_away): Likewise.
71901 * libio/wfileops.c (adjust_wide_data): Likewise.
71902 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71903 (__m128i_strloadu_tolower): Likewise.
71904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71905 (__m128i_strloadu_tolower): Likewise.
71906 * time/mktime.c (ydhms_diff): Likewise.
71907 * locale/elem-hash.h (elem_hash): Likewise.
71908 * locale/setlocale.c (setdata): Likewise.
71909 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71910 (re_string_wchar_at): Likewise.
71911 (bitset_not, bitset_merge, bitset_mask): Likewise.
71912 [!(__GNUC__ > 3)] (inline): Remove macro.
71913 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71914 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71915 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71916 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71917 * string/memcmp.c (memcmp_bytes): Likewise.
71918 * locale/programs/locarchive.c (compute_hashval): Likewise.
71919 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71920 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71921 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71922 * nss/getent.c (print_rpc, print_protocols): Likewise.
71923 (print_passwd, print_group, print_aliases): Likewise.
71924 * nis/nss-nisplus.h (niserr2nss): Likewise.
71925 * nscd/connections.c (restart_p): Likewise.
71926 Change return type to bool.
71927
719282013-02-05 Roland McGrath <roland@hack.frob.com>
71929
71930 * Makeconfig (all-Depend-files): Add existing
71931 $(sorted-subdirs:=/Depend) files.
71932 (all-subdirs): Remove nss.
71933 * sysdeps/unix/inet/Subdirs: Add it here instead.
71934 * hesiod/Depend: New file.
71935
71936 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71937 instead of calling alloca.
71938
71939 * io/lseek.c (__lseek): Rename to __libc_lseek.
71940 Define __lseek as an alias.
71941
71942 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71943
719442013-02-04 Carlos O'Donell <carlos@redhat.com>
71945
71946 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71947 else clause and remove check for non-standard endianness.
71948
719492013-02-04 David S. Miller <davem@davemloft.net>
71950
71951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71952
719532013-02-04 Joseph Myers <joseph@codesourcery.com>
71954
71955 [BZ #13550]
71956 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71957 (__ubp_memchr): Remove prototype.
71958 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71959 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71960 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71961 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71962 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71963 Remove alias.
71964 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71965 (__ubp_memchr): Likewise.
71966 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71967 (__ubp_memchr): Likewise.
71968 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71969 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71970 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71971 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71972 CHECK_STRING.
71973 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71974 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71975 (__getcwd): Do not use CHECK_STRING.
71976 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71977 <bp-checks.h>.
71978 (__real_chown): Do not use CHECK_STRING.
71979 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71980 <bp-checks.h>.
71981 (fchownat): Do not use CHECK_STRING.
71982 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71983 CHECK_STRING.
71984 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71985 <bp-checks.h>.
71986 (__lchown): Do not use CHECK_STRING.
71987 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71988 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71989 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71990 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71992 include <bp-checks.h>.
71993 (truncate64): Do not use CHECK_STRING.
71994 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71995 <bp-checks.h>.
71996 (__real_chown): Do not use CHECK_STRING.
71997 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71998 <bp-checks.h>.
71999 (__lchown): Do not use CHECK_STRING.
72000 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72001 <bp-checks.h>.
72002 (__chown): Do not use CHECK_STRING.
72003 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
72004 <bp-checks.h>.
72005 (truncate64): Do not use CHECK_STRING.
72006 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
72007 Likewise.
72008 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
72009 (__xmknod): Do not use CHECK_STRING.
72010 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
72011 <bp-checks.h>.
72012 (__xmknodat): Do not use CHECK_STRING.
72013 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
72014 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
72015
720162013-02-04 Andreas Schwab <schwab@suse.de>
72017
72018 [BZ #14142]
72019 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
72020 * include/netdb.h: Likewise for h_errno.
72021 * elf/tst-stackguard1.c: Include <tls.h>.
72022
720232013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
72024
72025 * elf/link.h (struct link_map): Extend the l_addr comment.
72026 * include/link.h (struct link_map): Likewise.
72027
720282013-02-01 Joseph Myers <joseph@codesourcery.com>
72029
72030 [BZ #13550]
72031 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
72032 (BOUNDED_1): Remove macro.
72033 * debug/backtrace.c: Don't include <bp-checks.h>.
72034 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
72035 (__backtrace): Likewise.
72036 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
72037 <bp-checks.h>.
72038 (__backtrace): Don't use BOUNDED_1.
72039 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
72040 <bp-checks.h>.
72041 (__backtrace): Don't use BOUNDED_1.
72042 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
72043 (__backtrace): Don't use BOUNDED_1.
72044 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
72045 (shmat): Don't use BOUNDED_N.
72046
720472013-01-31 Joseph Myers <joseph@codesourcery.com>
72048
72049 [BZ #13550]
72050 * sysdeps/generic/bp-start.h: Remove file.
72051 * csu/libc-start.c: Don't include <bp-start.h>.
72052 (LIBC_START_MAIN): Set up __environ directly instead of using
72053 INIT_ARGV_and_ENVIRON.
72054 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
72055 <bp-start.h>.
72056
72057 [BZ #13550]
72058 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
72059 definitions.
72060 (CHECK_FCNTL): Likewise.
72061 (CHECK_N_PAGES): Likewise.
72062
72063 [BZ #13550]
72064 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
72065 definitions.
72066 (CHECK_SIGSET_NULL_OK): Likewise.
72067 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
72068 <bp-checks.h>.
72069 (sigpending): Don't use CHECK_SIGSET.
72070 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
72071 <bp-checks.h>.
72072 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72073 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
72074 <bp-checks.h>.
72075 (do_sigsuspend): Don't use CHECK_SIGSET.
72076 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
72077 use CHECK_SIGSET.
72078 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
72079 (do_sigwait): Don't use CHECK_SIGSET.
72080 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
72081 use CHECK_SIGSET.
72082 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
72083 include <bp-checks.h>.
72084 (sigpending): Don't use CHECK_SIGSET.
72085 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
72086 include <bp-checks.h>.
72087 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72088 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
72089 <bp-checks.h>.
72090 (sigpending): Don't use CHECK_SIGSET.
72091 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
72092 <bp-checks.h>.
72093 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72094
72095 [BZ #13550]
72096 * sysdeps/generic/bp-semctl.h: Remove file.
72097 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
72098 <bp-checks.h> and <bp-semctl.h>.
72099 (__old_semctl): Don't use CHECK_SEMCTL.
72100 (__new_semctl): Likewise.
72101 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
72102 and <bp-semctl.h>.
72103 (__old_semctl): Don't use CHECK_SEMCTL.
72104 (__new_semctl): Likewise.
72105 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
72106 <bp-checks.h> and <bp-semctl.h>.
72107 (__old_semctl): Don't use CHECK_SEMCTL.
72108 (__new_semctl): Likewise.
72109 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
72110 <bp-checks.h> and <bp-semctl.h>.
72111 (semctl): Don't use CHECK_SEMCTL.
72112
72113 [BZ #13550]
72114 * Makerules (elide-bp-thunks): Remove variable.
72115 (elide-routines.oS): Don't use $(elide-bp-thunks).
72116 (elide-routines.os): Likewise.
72117 (elide-routines.o): Likewise.
72118 (elide-routines.op): Likewise.
72119 (elide-routines.og): Likewise.
72120 (objects): Don't use $(bp-thunks).
72121 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
72122 include.
72123 (common-generated): Do not add s-proto-bp.d.
72124 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
72125 (int): Likewise.
72126 (typ): Likewise.
72127 Do not generate makefile rules for bounded-pointer thunks.
72128 * sysdeps/generic/bp-thunks.h: Remove file.
72129 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
72130 * sysdeps/unix/s-proto-bp.S: Likewise.
72131
72132 [BZ #15062]
72133 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
72134 parts of result separately when argument is not close to line from
72135 -i to i and one part of argument is small.
72136 * math/k_casinhf.c (__kernel_casinhf): Likewise.
72137 * math/k_casinhl.c (__kernel_casinhl): Likewise.
72138 * math/libm-test.inc (cacos_test): Add more tests.
72139 (casin_test): Likewise.
72140 (casinh_test): Likewise.
72141 * sysdeps/i386/fpu/libm-test-ulps: Update.
72142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72143
721442013-01-31 David S. Miller <davem@davemloft.net>
72145
72146 * po/de.po: Update from translation team.
72147
721482013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
72149
72150 * time/tzfile.c: Include stdint.h for SIZE_MAX.
72151
721522013-01-25 Thomas Schwinge <thomas@codesourcery.com>
72153
72154 * configure.in (_AC_PROG_CC_C89): New definition.
72155 * configure: Regenerate.
92c3af3c 72156
edf66db1
SP
72157 * configure.in (AC_PROG_CPP): New definition.
72158 * configure: Regenerate.
92c3af3c 72159
edf66db1
SP
721602013-01-23 Joseph Myers <joseph@codesourcery.com>
72161
72162 * debug/tst-backtrace.h: New file.
72163 * debug/tst-backtrace2.c: Include tst-backtrace.h.
72164 (ret): Remove variable.
72165 (x): Likewise.
72166 (FAIL): Remove macro.
72167 (NO_INLINE): Likewise.
72168 (fn1): Use match function instead of strstr.
72169 * debug/tst-backtrace3.c: Include tst-backtrace.h.
72170 (ret): Remove variable.
72171 (x): Likewise.
72172 (FAIL): Remove macro.
72173 (NO_INLINE): Likewise.
72174 (fn): Use match function instead of strstr.
72175 * debug/tst-backtrace4.c: Include tst-backtrace.h.
72176 (ret): Remove variable.
72177 (x): Likewise.
72178 (FAIL): Remove macro.
72179 (NO_INLINE): Likewise.
72180 (handle_signal): Use match function instead of strstr.
72181 * debug/tst-backtrace5.c: Include tst-backtrace.h.
72182 (ret): Remove variable.
72183 (x): Likewise.
72184 (FAIL): Remove macro.
72185 (NO_INLINE): Likewise.
72186 (handle_signal): Use match function instead of strstr.
72187
721882013-01-23 Roland McGrath <roland@hack.frob.com>
72189
72190 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72191
721922013-01-23 David S. Miller <davem@davemloft.net>
72193
72194 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72195 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72196 argument of CAS if possible.
72197 * sysdeps/sparc/sparc64/bits/atomic.h
72198 (__arch_compare_and_exchange_val_32_acq): Likewise.
72199 (__arch_compare_and_exchange_val_64_acq): Likewise.
72200
722012013-01-23 Pino Toscano <toscano.pino@tiscali.it>
72202
72203 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72204 * sysdeps/posix/ulimit.c: ... this.
72205 Include <limits.h>.
72206 * sysdeps/unix/bsd/ulimit.c: Remove file.
72207
722082013-01-23 Adam Conrad <adconrad@0c3.net>
72209
72210 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72211 (LDFLAGS-tst-array5): Likewise.
72212
722132013-01-23 Joseph Myers <joseph@codesourcery.com>
72214
72215 [BZ #15036]
72216 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72217 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72218 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72219 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72220
722212013-01-21 David S. Miller <davem@davemloft.net>
72222
72223 * sysdeps/sparc/backtrace.c: New file.
72224 * sysdeps/sparc/sparc32/backtrace.h: New file.
72225 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72226 * sysdeps/sparc/sparc64/backtrace.h: New file.
72227 * sysdeps/sparc/sparc64/backtrace.c: Delete.
72228 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72229 -funwind-tables.
72230
722312013-01-21 Andreas Schwab <schwab@suse.de>
72232
72233 [BZ #15020]
72234 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72235 closed its stdout.
72236
722372013-01-20 Andreas Schwab <schwab@linux-m68k.org>
72238
72239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72240 "mpa2.h".
72241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72242
722432013-01-18 Joseph Myers <joseph@codesourcery.com>
72244 Mark Mitchell <mark@codesourcery.com>
72245 Tom de Vries <tom@codesourcery.com>
72246 Paul Pluzhnikov <ppluzhnikov@google.com>
72247
72248 * debug/tst-backtrace2.c: New file.
72249 * debug/tst-backtrace3.c: Likewise.
72250 * debug/tst-backtrace4.c: Likewise.
72251 * debug/tst-backtrace5.c: Likewise.
72252 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72253 (CFLAGS-tst-backtrace3.c): Likewise.
72254 (CFLAGS-tst-backtrace4.c): Likewise.
72255 (CFLAGS-tst-backtrace5.c): Likewise.
72256 (LDFLAGS-tst-backtrace2): Likewise.
72257 (LDFLAGS-tst-backtrace3): Likewise.
72258 (LDFLAGS-tst-backtrace4): Likewise.
72259 (LDFLAGS-tst-backtrace5): Likewise.
72260 (tests): Add new tests tst-backtrace2, tst-backtrace3,
72261 tst-backtrace4 and tst-backtrace5.
72262
722632013-01-18 Anton Blanchard <anton@samba.org>
72264 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
72265
72266 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72267 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72268 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72269 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72271 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72272 "+r" and remove output regs list as redundant. Add explicit inline
72273 asm to specify register of return val to work around compiler codegen
72274 bug. Remove (int) cast on return value. Add return type parameter to
72275 use in macro so that this macro does not truncate return value for
72276 64-bit values.
72277 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72278 pass to INTERNAL_VSYSCALL_NCS.
72279 (INLINE_VSYSCALL): Add 'long int' as return type to
72280 INTERNAL_VSYSCALL_NCS macro invocation.
72281 (INTERNAL_VSYSCALL): Add 'long int' as return type to
72282 INTERNAL_VSYSCALL_NCS macro invocation.
72283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72284
722852013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
72286
72287 [BZ #14496]
72288 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72289 Fix application of SIMD FP exception mask.
72290
72291 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72292 mp_no from a power of two.
72293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72294 __mpexp_twomm1. Use __pow_mp.
72295
72296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72297 multiplication.
72298
722992013-01-17 David S. Miller <davem@davemloft.net>
72300
72301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72302
723032013-01-17 Joseph Myers <joseph@codesourcery.com>
72304
72305 [BZ #15023]
72306 * include/complex.h: Condition contents on [!_COMPLEX_H].
72307 (__kernel_casinhf): New prototype.
72308 (__kernel_casinh): Likewise.
72309 (__kernel_casinhl): Likewise.
72310 * math/Makefile (libm_calls): Add k_casinh.
72311 * math/k_casinh.c: New file.
72312 * math/k_casinhf.c: Likewise.
72313 * math/k_casinhl.c: Likewise.
72314 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72315 finite nonzero arguments.
72316 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72317 finite nonzero arguments.
72318 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72319 finite nonzero arguments.
72320 * math/s_casinh.c: Do not include <float.h>.
72321 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72322 * math/s_casinhf.c: Do not include <float.h>.
72323 (__casinhf): Move code for finite nonzero arguments to
72324 k_casinhf.c.
72325 * math/s_casinhl.c: Do not include <float.h>.
72326 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72327 redefine.
72328 (__casinhl): Move code for finite nonzero arguments to
72329 k_casinhl.c.
72330 * math/libm-test.inc (cacos_test): Add more tests.
72331 * sysdeps/i386/fpu/libm-test-ulps: Update.
72332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72333
723342013-01-17 Pino Toscano <toscano.pino@tiscali.it>
72335
72336 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72337 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72338 [!HAVE_MREMAP]: Remove [defined linux] case.
72339 * malloc/arena.c: Do not include <malloc-sysdep.h>.
72340
723412013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
72342
72343 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72344
723452013-01-17 H.J. Lu <hongjiu.lu@intel.com>
72346
72347 * elf/elf.h (R_386_SIZE32): New relocation.
72348 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72349 R_386_SIZE32.
72350 (elf_machine_rela): Likewise.
72351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72352 R_X86_64_SIZE64 and R_X86_64_SIZE32.
72353
723542013-01-17 Joseph Myers <joseph@codesourcery.com>
72355
72356 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72357 (FP_FAST_FMA): Do not define.
72358 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72359 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72360 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72361 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72362 !_SOFT_FLOAT]: Likewise.
72363 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72364 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72365 value.
72366 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72367 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72368 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72369 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72370 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72371 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72372 file.
92c3af3c 72373
edf66db1
SP
723742013-01-16 Andreas Schwab <schwab@suse.de>
72375
72376 [BZ #14327]
72377 * include/stdlib.h (__mktemp): Add declaration.
72378 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72379 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72380
723812013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72382
72383 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72384 definitions.
72385 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72386 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72387 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72388 definitions here.
72389 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72390 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72391 definitions.
72392 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72393 and ONE.
72394 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72395 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72396 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72397 definitions.
72398 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72399 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72400 definitions.
72401 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72402
72403 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72404
724052013-01-15 David S. Miller <davem@davemloft.net>
72406
72407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72408 trunc{,f} to libm-sysdep_routes.
72409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72411 file.
72412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72414 file.
72415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72416 file.
72417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72419 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72420 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72421 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72422 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72423 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72424 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72425
72426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72427 nearbyint{,f} to libm-sysdep_routes.
72428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72430 New file.
72431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72432 file.
72433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72434 New file.
72435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72436 file.
72437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72439 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72440 file.
72441 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72442 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72443 file.
72444 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72445 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72446 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
92c3af3c 72447
edf66db1
SP
72448 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72449 libc_feholdexcept and libc_fesetenv.
92c3af3c 72450
edf66db1 724512013-01-15 Mike Frysinger <vapier@gentoo.org>
92c3af3c 72452
edf66db1 72453 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
92c3af3c 72454
edf66db1 724552013-01-14 David S. Miller <davem@davemloft.net>
92c3af3c 72456
edf66db1
SP
72457 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72458 (SPARC_ASM_VIS2_IFUNC): Likewise.
72459 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72461 use of 'siam' instruction.
72462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72463 Likewise.
72464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72465 Likewise.
72466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72467 Likewise.
72468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72473 file.
72474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72475 file.
72476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72477 file.
72478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72479 file.
72480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72485 new VIS2 routines.
72486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72489 Likewise.
72490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72495 routines to libm-sysdep_routines.
72496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72497
72498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72499 fdim/fdimf to libm-sysdep_routines.
72500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72501 file.
72502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72504 file.
72505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72508 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72509 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72510 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72511 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
92c3af3c 72512
edf66db1 725132013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 72514
edf66db1
SP
72515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72516 to optimize copies.
92c3af3c 72517
edf66db1
SP
72518 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
92c3af3c 72521
edf66db1
SP
72522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72523 local variable MPTWO.
72524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72525 Likewise.
92c3af3c 72526
edf66db1 725272013-01-13 Mike Frysinger <vapier@gentoo.org>
92c3af3c 72528
edf66db1
SP
72529 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72530 GLOB_NOESCAPE.
92c3af3c 72531
edf66db1 725322013-01-13 Mike Frysinger <vapier@gentoo.org>
92c3af3c 72533
edf66db1 72534 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
92c3af3c 72535
edf66db1 725362013-01-13 Mike Frysinger <vapier@gentoo.org>
92c3af3c 72537
edf66db1
SP
72538 * manual/pattern.texi (glob_t): Document gl_flags.
72539 (glob64_t): Likewise.
92c3af3c 72540
edf66db1 725412013-01-11 David S. Miller <davem@davemloft.net>
92c3af3c 72542
edf66db1
SP
72543 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72544 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72545 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72546 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72547 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72548 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72549 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72550 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72551 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72552 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72553 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72554 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72555 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
92c3af3c 72556
edf66db1
SP
72557 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72558 sparc V9 rather than using V8 code.
72559 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72560 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
92c3af3c 72561
edf66db1
SP
72562 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72563 Move to...
72564 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72565 Here.
92c3af3c 72566
edf66db1 725672013-01-11 Roland McGrath <roland@hack.frob.com>
92c3af3c 72568
edf66db1
SP
72569 [BZ #14941]
72570 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72571 not in the main loop.
72572 * configure: Regenerated.
92c3af3c 72573
edf66db1
SP
725742013-01-11 Joseph Myers <joseph@codesourcery.com>
72575
72576 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72577 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72578 to just #else.
72579 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72580 [!__GLIBC_HAVE_LONG_LONG] case.
72581 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72582 condition to just #else.
72583 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72584 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72585 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72586 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72587 unconditional.
72588 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72589 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72590 #elif condition to just #else.
72591 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72592 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72593 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72594 #elif condition to just #else.
72595
725962013-01-11 Steve Ellcey <sellcey@mips.com>
72597
72598 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72599 (EF_MIPS_ARCH_64): Fix value.
72600 (EF_MIPS_ARCH_32R2): New.
72601 (EF_MIPS_ARCH_64R2): New.
72602
726032013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72604
72605 * Makeconfig (+link-pie-before-libc): New.
72606 (+link-pie-after-libc): Likewise.
72607 (+link-pie-tests): Likewise.
72608 (+link-pie): Rewritten.
72609 (link-before-libc): Remove $(config-LDFLAGS).
72610 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72611 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72612 (config-LDFLAGS): Renamed to ...
72613 (rtld-LDFLAGS): This.
72614 (rtld-tests-LDFLAGS): New macro.
72615 (link-libc-rpath-link): Likewise.
72616 (link-libc-tests-rpath-link): Likewise.
72617 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72618 (link-libc): Prepand $(link-libc-rpath-link).
72619 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72620 (test-program-prefix): New macro.
72621 (test-via-rtld-prefix): Likewise.
72622 (test-program-cmd): Likewise.
72623 (host-test-program-cmd): Likewise.
72624 * Makefile ($(common-objpfx)testrun.sh): Replace
72625 $(run-program-prefix) with $(test-program-prefix).
72626 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72627 $(rtld-LDFLAGS).
72628 ($(common-objpfx)shlib.lds): Likewise.
72629 (build-module-helper): Likewise.
72630 ($(common-objpfx)format.lds): Likewise.
72631 * Rules (binaries-pie-tests): New.
72632 (binaries-pie-notests): Likewise.
72633 (binaries-pie): Rewritten.
72634 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72635 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72636 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72637 (make-test-out): Replace $(host-built-program-cmd) with
72638 $(host-test-program-cmd).
72639 * config.make.in (build-hardcoded-path-in-tests): New variable.
72640 * configure.in (--enable-hardcoded-path-in-tests): New configure
72641 option.
72642 (hardcoded_path_in_tests): New AC_SUBST.
72643 * configure: Regenerated.
72644 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72645 $(built-program-cmd) with $(test-program-cmd).
72646 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72647 (test_program_cmd): This.
72648 * elf/Makefile ($(objpfx)order.out): Run test with
72649 $(test-program-prefix).
72650 ($(objpfx)order2.out): Likewise.
72651 ($(objpfx)tst-initorder.out): Likewise.
72652 ($(objpfx)tst-initorder2.out): Likewise.
72653 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72654 $(test-program-cmd).
72655 ($(objpfx)tst-array1-static.out): Likewise.
72656 ($(objpfx)tst-array2.out): Likewise.
72657 ($(objpfx)tst-array3.out): Likewise.
72658 ($(objpfx)tst-array4.out): Likewise.
72659 ($(objpfx)tst-array5.out): Likewise.
72660 ($(objpfx)tst-array5-static.out): Likewise.
72661 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72662 $(test-program-cmd).
72663 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72664 $(run-program-prefix) with $(test-program-prefix).
72665 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72666 (test_program_prefix): This.
72667 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72668 $(run-program-prefix) with $(test-program-prefix).
72669 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72670 (test_program_prefix): This.
72671 * iconvdata/tst-tables.sh: Likewise.
72672 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72673 $(run-program-prefix) with $(test-program-prefix).
72674 ($(objpfx)tst-translit.out): Likewise.
72675 ($(objpfx)tst-gettext2.out): Likewise.
72676 ($(objpfx)tst-gettext4.out): Likewise.
72677 ($(objpfx)tst-gettext6.out): Likewise.
72678 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72679 (test_program_prefix): This.
72680 * intl/tst-gettext2.sh: Likewise.
72681 * intl/tst-gettext4.sh Likewise.
72682 * intl/tst-gettext6.sh: Likewise.
72683 * intl/tst-translit.sh: Likewise.
72684 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72685 with $(test-program-cmd).
72686 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72687 $(run-program-prefix) with $(test-program-prefix).
72688 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72689 (test_program_prefix): This.
72690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72691 $(run-program-prefix) with $(test-program-prefix).
72692 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72693 (test_program_prefix): This.
72694 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72695 * posix/Makefile ($(objpfx)globtest.out): Replace
72696 $(run-via-rtld-prefix) and $(test-wrapper) with
72697 $(test-program-prefix) and $(test-via-rtld-prefix).
72698 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72699 $(test-program-prefix).
72700 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72701 $(host-test-program-cmd).
72702 (tst-spawn-ARGS): Likewise.
72703 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72704 $(test-program-prefix).
72705 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72706 (test_via_rtld_prefix): This.
72707 (test_wrapper): Renamed to ...
72708 (test_program_prefix): This.
72709 (run_program_prefix): Replaced by test_program_prefix.
72710 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72711 (test_program_prefix): This.
72712 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72713 with $(host-test-program-cmd).
72714 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72715 $(run-program-prefix) with $(test-program-prefix).
72716 ($(objpfx)tst-printf.out): Likewise.
72717 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72718 $(test-program-cmd).
72719 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72720 (test_program_prefix): This.
72721 * stdio-common/tst-unbputc.sh: Likewise.
72722 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72723 $(run-program-prefix) with $(test-program-prefix).
72724 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72725 (test_program_prefix): This.
72726 * string/Makefile ($(objpfx)tst-svc.out): Replace
72727 $(built-program-cmd) with $(test-program-cmd).
72728
727292013-01-11 Andreas Jaeger <aj@suse.de>
72730
72731 [BZ #15003]
72732 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72733 value. Sync with Linux 3.7.
72734
727352013-01-10 David S. Miller <davem@davemloft.net>
72736
72737 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72738 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72739 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72740
727412013-01-10 Roland McGrath <roland@hack.frob.com>
72742
72743 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72744 never set.
72745 * configure: Regenerated.
92c3af3c 72746
edf66db1
SP
727472013-01-10 David S. Miller <davem@davemloft.net>
72748
72749 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72750 sparc V9 rather than using V8 code.
72751 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72752 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72753
727542013-01-10 Roland McGrath <roland@hack.frob.com>
72755
72756 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72757 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72758 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72759 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72760 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72761 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72762 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72763 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72764 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72765 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72766 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72767 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72768 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72769 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72770 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72771 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72772 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72773 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72774 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72775 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72776 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72777 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72778 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72779 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72780 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72781 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72782 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72783
727842013-01-10 David S. Miller <davem@davemloft.net>
72785
72786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72787
727882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72789
72790 * posix/Makefile (tests-static): New variable.
72791 (tests): Add $(tests-static).
72792 (tst-exec-static-ARGS): New variable.
72793 (tst-spawn-static-ARGS): Likewise.
72794 * posix/tst-exec-static.c: New file.
72795 * posix/tst-spawn-static.c: Likewise.
72796 * posix/tst-exec.c: Support run directly.
72797 * posix/tst-spawn.c: Likewise.
72798
727992013-01-10 Joseph Myers <joseph@codesourcery.com>
72800
72801 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72802 long.
72803 * math/bits/mathcalls.h (llrint): Likewise.
72804 (llround): Likewise.
72805 * stdlib/stdlib.h (struct drand48_data): Likewise.
72806 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72807 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72808 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72809 Likewise.
72810 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72811 Likewise.
72812 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72813 (elf_greg_t): Likewise.
72814 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72815 (__jmp_buf): Likewise.
72816 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72817 definitions.
72818 (llrint): Likewise, for all definitions.
72819 (llrintl): Likewise.
72820
72821 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72822 Remove [__GNUC__] condition.
72823 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72824 condition to just [__USE_ISOC99].
72825 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72826
728272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72828
72829 [BZ #14200]
72830 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72831 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
92c3af3c 72832 defined.
edf66db1
SP
72833 (_POSIX_V6_ILP32_OFF32): Likewise.
72834 (_XBS5_ILP32_OFF32): Likewise.
72835 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72836 (__ILP32_OFFBIG_LDFLAGS): Likewise.
92c3af3c 72837
edf66db1 728382013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 72839
edf66db1 72840 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
92c3af3c 72841
edf66db1
SP
72842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72843 doubles __mpexp_twomm1. Adjust usage.
72844 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72845 Remove.
92c3af3c 72846
edf66db1 728472013-01-10 Andreas Schwab <schwab@suse.de>
92c3af3c 72848
edf66db1
SP
72849 [BZ #14964]
72850 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72851 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
92c3af3c 72852
edf66db1 728532013-01-09 David S. Miller <davem@davemloft.net>
92c3af3c 72854
edf66db1
SP
72855 [BZ #15003]
72856 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72857 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72858 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72859 (TCP_FASTOPEN): Define.
72860 (tcp_repair_opt): New structure.
72861 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72862 enum values.
72863 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72864 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72865 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72866 (tcp_cookie_transactions): New structure.
92c3af3c 72867
edf66db1 728682013-01-09 Anton Blanchard <anton@samba.org>
92c3af3c 72869
edf66db1
SP
72870 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72871 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72872 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72873 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
92c3af3c 72874
edf66db1 728752013-01-09 Joseph Myers <joseph@codesourcery.com>
92c3af3c 72876
edf66db1 72877 * include/features.h (__USE_ANSI): Remove.
92c3af3c 72878
edf66db1 728792013-01-09 Roland McGrath <roland@hack.frob.com>
92c3af3c 72880
edf66db1 72881 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
92c3af3c 72882
edf66db1 72883 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
92c3af3c 72884
edf66db1 728852013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 72886
edf66db1 72887 * sysdeps/s390/fpu/libm-test-ulps: Update.
92c3af3c 72888
edf66db1
SP
72889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72890
72891 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72892 (__acr): Likewise.
72893 (__cpy): Likewise.
72894 (norm): Likewise.
72895 (denorm): Likewise.
72896 (__mp_dbl): Likewise.
72897 (__dbl_mp): Likewise.
72898 (add_magnitudes): Likewise.
72899 (sub_magnitudes): Likewise.
72900 (__add): Likewise.
72901 (__sub): Likewise.
72902 (__mul): Likewise.
72903 (__inv): Likewise.
72904 (__dvd): Likewise.
72905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72906 (__acr): Likewise.
72907 (__cpy): Likewise.
72908 (norm): Likewise.
72909 (denorm): Likewise.
72910 (__mp_dbl): Likewise.
72911 (__dbl_mp): Likewise.
72912 (add_magnitudes): Likewise.
72913 (sub_magnitudes): Likewise.
72914 (__add): Likewise.
72915 (__sub): Likewise.
72916 (__mul): Likewise.
72917 (__inv): Likewise.
72918 (__dvd): Likewise.
72919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72920 (__acr): Likewise.
72921 (__cpy): Likewise.
72922 (norm): Likewise.
72923 (denorm): Likewise.
72924 (__mp_dbl): Likewise.
72925 (__dbl_mp): Likewise.
72926 (add_magnitudes): Likewise.
72927 (sub_magnitudes): Likewise.
72928 (__add): Likewise.
72929 (__sub): Likewise.
72930 (__mul): Likewise.
72931 (__inv): Likewise.
72932 (__dvd): Likewise.
72933
729342013-01-08 Joseph Myers <joseph@codesourcery.com>
72935
72936 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72937 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72938 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72939 2 && __USE_EXTERN_INLINES]: Likewise.
72940
729412013-01-08 Andreas Jaeger <aj@suse.de>
72942
72943 [BZ #14985]
72944 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72945 Remove.
72946 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72947 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
92c3af3c 72948
edf66db1 729492013-01-07 Anton Blanchard <anton@samba.org>
92c3af3c 72950
edf66db1
SP
72951 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72952 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72953 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72954 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72955 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72956 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72957 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72958 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72960 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72961 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72962 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72963 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72964 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72965 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72966 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72968 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72969 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72970 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72971 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72972 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72973 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72974 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72975 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72976 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72977 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72978 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72979 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72980 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72981 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72983 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72984 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72985 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72986 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72987 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72988 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72989 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72990 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72991 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72993 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72994
729952013-01-07 Joseph Myers <joseph@codesourcery.com>
72996
72997 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72998 (__MALLOC_PMT): Likewise.
72999 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
73000 [__GNUC__], only on [_LIBC].
73001 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
73002 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
73003 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
73004 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
73005 forward declaration.
73006 (realloc_hook_ini): Likewise.
73007 (memalign_hook_ini): Likewise.
73008 (__libc_memalign): Do not use __MALLOC_PMT in variable
73009 declaration.
73010 (__libc_valloc): Likewise.
73011 (__libc_pvalloc): Likewise.
73012 (__libc_calloc): Likewise.
73013 (__posix_memalign): Likewise.
92c3af3c 73014
edf66db1
SP
73015 [BZ #14996]
73016 * math/s_casinh.c: Include <float.h>.
73017 (__casinh): Do not do computation with squaring and square root
73018 for large arguments.
73019 * math/s_casinhf.c: Include <float.h>.
73020 (__casinhf): Do not do computation with squaring and square root
73021 for large arguments.
73022 * math/s_casinhl.c: Include <float.h>.
73023 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
73024 (__casinhl): Do not do computation with squaring and square root
73025 for large arguments.
73026 * math/libm-test.inc (casin_test): Add more tests.
73027 (casinh_test): Likewise.
73028 * sysdeps/i386/fpu/libm-test-ulps: Update.
73029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73030
730312013-01-04 H.J. Lu <hongjiu.lu@intel.com>
73032
73033 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
73034 (__x86_64_raw_data_cache_size): Likewise.
73035 (__x86_64_data_cache_size_half): Likewise.
73036 (__x86_64_raw_data_cache_size_half): Likewise.
73037 (__x86_64_shared_cache_size): Likewise.
73038 (__x86_64_raw_shared_cache_size): Likewise.
73039 (__x86_64_shared_cache_size_half): Likewise.
73040 (__x86_64_raw_shared_cache_size_half): Likewise.
73041 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
73042 to ...
73043 (__x86_data_cache_size): This.
73044 (__x86_64_raw_data_cache_size): Renamed to ...
73045 (__x86_raw_data_cache_size): This.
73046 (__x86_64_data_cache_size_half): Renamed to ...
73047 (__x86_data_cache_size_half): This.
73048 (__x86_64_raw_data_cache_size_half): Renamed to ...
73049 (__x86_raw_data_cache_size_half): This.
73050 (__x86_64_shared_cache_size): Renamed to ...
73051 (__x86_shared_cache_size): This.
73052 (__x86_64_raw_shared_cache_size): Renamed to ...
73053 (__x86_raw_shared_cache_size): This.
73054 (__x86_64_shared_cache_size_half): Renamed to ...
73055 (__x86_shared_cache_size_half): This.
73056 (__x86_64_raw_shared_cache_size_half): Renamed to ...
73057 (__x86_raw_shared_cache_size_half): This.
73058 * sysdeps/x86_64/memcpy.S: Updated.
73059 * sysdeps/x86_64/memset.S: Likewise.
73060 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
73061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73063
730642013-01-04 David S. Miller <davem@davemloft.net>
73065
73066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73067
730682013-01-04 Andreas Schwab <schwab@linux-m68k.org>
73069
73070 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
73071 1 to avoid redefinition warning.
73072 (__USE_GNU): Don't define.
73073 (init_signaling_nan): Protoize.
73074
73075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73076
730772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
73078
73079 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
73080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
73081 (__cpymn): Likewise.
73082 (norm): Remove commented code.
73083 (denorm): Likewise.
73084 (__mp_dbl): Likewise.
73085 (__inv): Likewise.
73086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
73087 (__cpymn): Likewise.
73088 (norm): Remove commented code.
73089 (denorm): Likewise.
73090 (__mp_dbl): Likewise.
73091 (__inv): Likewise.
73092
73093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
73094 mp_no value for 1.0 and 2.0.
73095 (norm): Use RADIXI instead of radixi.d.
73096 (denorm): Likewise.
73097 (__mul): Use 0.0 instead of zero.d.
73098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
73099 mp_no value for 1.0 and 2.0.
73100 (norm): Use RADIXI instead of radixi.d.
73101 (denorm): Likewise.
73102 (__mul): Use 0.0 instead of zero.d.
73103
731042013-01-04 Joseph Myers <joseph@codesourcery.com>
73105
73106 [BZ #14994]
73107 * math/s_casinh.c (__casinh): Reduce finite argument to first
73108 quadrant then set signs of results at the end.
73109 * math/s_casinhf.c (__casinhf): Likewise.
73110 * math/s_casinhl.c (__casinhl): Likewise.
73111 * math/libm-test.inc (casin_test): Add more tests.
73112 (casinh_test): Likewise.
73113 * sysdeps/i386/fpu/libm-test-ulps: Update.
73114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73115
731162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
73117
73118 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
73119
73120 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
73121
73122 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
73123 declarations.
73124 (denorm): Likewise.
73125 (__mp_dbl): Likewise.
73126 (__inv): Likewise.
73127
73128 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
73129 and adjust the header comment.
73130
73131 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
73132 variable name from declaration.
73133
731342013-01-03 H.J. Lu <hongjiu.lu@intel.com>
73135
73136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73137 Initialize COMMON_CPUID_INDEX_7 element.
73138 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
73139 (CPUID_RTM): Likewise.
73140 (HAS_RTM): Likewise.
73141 (COMMON_CPUID_INDEX_7): New enum.
73142
731432013-01-03 Andreas Schwab <schwab@linux-m68k.org>
73144
73145 [BZ #14981]
73146 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
73147 size is zero, record memory as freed.
73148
731492013-01-03 Andreas Jaeger <aj@suse.de>
73150
73151 * po/ia.po: Add new Interlingua translation.
73152
731532012-01-03 Allan McRae <allan@archlinux.org>
73154
73155 * locale/programs/localedef.c: Fix description of '--posix' flag.
73156
731572013-01-02 Joseph Myers <joseph@codesourcery.com>
73158
73159 * NEWS: Update dates in second copyright notice.
73160 * README: Update copyright dates in example.
73161 * manual/libc.texinfo: Update copyright dates.
73162 * scripts/test-installation.pl: Update copyright date in --version
73163 output.
73164
73165 * hurd/ctty-input.c: Fix copyright notice formatting.
73166 * hurd/ctty-output.c: Likewise.
73167 * hurd/dtable.c: Likewise.
73168 * hurd/hurd-raise.c: Likewise.
73169 * hurd/hurdprio.c: Likewise.
73170 * hurd/msgportdemux.c: Likewise.
73171 * misc/sys/file.h: Likewise.
73172 * misc/sys/ioctl.h: Likewise.
73173 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
73174 * sysdeps/mach/hurd/chdir.c: Likewise.
73175 * sysdeps/mach/hurd/fchdir.c: Likewise.
73176 * sysdeps/mach/hurd/rename.c: Likewise.
73177 * sysdeps/mach/hurd/rmdir.c: Likewise.
73178 * sysdeps/mach/hurd/seekdir.c: Likewise.
73179 * sysdeps/mach/hurd/setsid.c: Likewise.
73180 * sysdeps/posix/wait3.c: Likewise.
73181
73182 * All files with FSF copyright notices: Update copyright dates
73183 using scripts/update-copyrights.
73184 * intl/plural.c: Regenerated.
73185 * locale/programs/charmap-kw.h: Likewise.
73186 * locale/programs/locfile-kw.h: Likewise.
92c3af3c 73187
edf66db1 731882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73189
edf66db1
SP
73190 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73191 four values.
92c3af3c 73192
edf66db1
SP
73193 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73194 calculation loop and add branch prediction.
92c3af3c 73195
edf66db1
SP
73196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73197 check access beyond bounds of m1np.
92c3af3c 73198
edf66db1
SP
73199 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73200 MPTWO.
73201 (__inv): Remove local variable MPTWO to use the global
73202 constant.
73203 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73205 variable MPTWO.
73206 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73207 MP3HALFS static const.
92c3af3c 73208
edf66db1 732092013-01-01 David S. Miller <davem@davemloft.net>
92c3af3c 73210
edf66db1 73211 * po/ca.po: Update from translation team.
92c3af3c 73212
edf66db1 732132013-01-01 Joseph Myers <joseph@codesourcery.com>
92c3af3c 73214
edf66db1
SP
73215 * scripts/update-copyrights: New file.
73216 * Makeconfig: Reformat copyright notice.
73217 * ctype/ctype.h: Likewise.
73218 * debug/swprintf_chk.c: Likewise.
73219 * elf/dl-cache.c: Likewise.
73220 * elf/dl-debug.c: Likewise.
73221 * elf/dl-object.c: Likewise.
73222 * grp/initgroups.c: Likewise.
73223 * hurd/Makefile: Likewise.
73224 * hurd/hurd/signal.h: Likewise.
73225 * hurd/hurdfault.c: Likewise.
73226 * hurd/hurdioctl.c: Likewise.
73227 * hurd/hurdlookup.c: Likewise.
73228 * hurd/intr-msg.c: Likewise.
73229 * iconv/gconv_open.c: Likewise.
73230 * libio/swprintf.c: Likewise.
73231 * locale/lc-ctype.c: Likewise.
73232 * locale/nl_langinfo.c: Likewise.
73233 * mach/Machrules: Likewise.
73234 * mach/Makefile: Likewise.
73235 * malloc/obstack.h: Likewise.
73236 * manual/Makefile: Likewise.
73237 * manual/tsort.awk: Likewise.
73238 * misc/bits/stab.def: Likewise.
73239 * nis/nis_print_group_entry.c: Likewise.
73240 * nis/nis_table.c: Likewise.
73241 * nis/nss_compat/compat-pwd.c: Likewise.
73242 * nis/nss_compat/compat-spwd.c: Likewise.
73243 * po/Makefile: Likewise.
73244 * posix/fnmatch.c: Likewise.
73245 * posix/regex.h: Likewise.
73246 * resolv/Makefile: Likewise.
73247 * resolv/nss_dns/dns-network.c: Likewise.
73248 * resolv/res_hconf.c: Likewise.
73249 * scripts/gen-sorted.awk: Likewise.
73250 * soft-fp/soft-fp.h: Likewise.
73251 * stdio-common/printf.h: Likewise.
73252 * stdlib/monetary.h: Likewise.
73253 * stdlib/random.c: Likewise.
73254 * stdlib/random_r.c: Likewise.
73255 * sysdeps/generic/Makefile: Likewise.
73256 * sysdeps/gnu/Makefile: Likewise.
73257 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73259 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73261 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73265 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73267 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73268 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73269 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73270 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73271 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73273 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73277 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73278 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73279 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73280 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73281 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73282 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73283 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73284 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73285 * sysdeps/mach/hurd/errnos.awk: Likewise.
73286 * sysdeps/mach/hurd/fork.c: Likewise.
73287 * sysdeps/mach/hurd/getcwd.c: Likewise.
73288 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73289 * sysdeps/mach/hurd/mmap.c: Likewise.
73290 * sysdeps/mach/hurd/utimes.c: Likewise.
73291 * sysdeps/mach/hurd/xmknod.c: Likewise.
73292 * sysdeps/posix/profil.c: Likewise.
73293 * sysdeps/posix/readdir_r.c: Likewise.
73294 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73295 * sysdeps/powerpc/bits/setjmp.h: Likewise.
73296 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73297 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73299 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73300 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73301 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73303 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73305 * sysdeps/pthread/lio_listio.c: Likewise.
73306 * sysdeps/sparc/dl-procinfo.h: Likewise.
73307 * sysdeps/unix/i386/sysdep.S: Likewise.
73308 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73309 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73310 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73311 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73313 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73314 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73315 * sysdeps/unix/sysv/linux/speed.c: Likewise.
73316 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73317 * sysdeps/wordsize-32/divdi3.c: Likewise.
73318 * time/sys/time.h: Likewise.
73319 * wcsmbs/Makefile: Likewise.
73320
733212013-01-01 David S. Miller <davem@davemloft.net>
92c3af3c 73322
edf66db1 73323 * po/fr.po: Update from translation team.
92c3af3c 73324
edf66db1
SP
73325 * catgets/gencat.c: Update copyright year.
73326 * csu/version.c: Likewise.
73327 * debug/catchsegv.sh: Likewise.
73328 * debug/pcprofiledump.c: Likewise.
73329 * debug/xtrace.sh: Likewise.
73330 * elf/ldconfig.c: Likewise.
73331 * elf/ldd.bash.in: Likewise.
73332 * elf/pldd.c: Likewise.
73333 * elf/sotruss.ksh: Likewise.
73334 * elf/sprof.c: Likewise.
73335 * iconv/iconv_prog.c: Likewise.
73336 * iconv/iconvconfig.c: Likewise.
73337 * locale/programs/locale.c: Likewise.
73338 * locale/programs/localedef.c: Likewise.
73339 * login/programs/pt_chown.c: Likewise.
73340 * malloc/memusage.sh: Likewise.
73341 * malloc/memusagestat.c: Likewise.
73342 * malloc/mtrace.pl: Likewise.
73343 * nscd/nscd.c: Likewise.
73344 * nss/getent.c: Likewise.
73345 * nss/makedb.c: Likewise.
73346 * posix/getconf.c: Likewise.
92c3af3c 73347
edf66db1 733482012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73349
edf66db1
SP
73350 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73351 numbers.
92c3af3c 73352
edf66db1 733532012-12-30 Mike Frysinger <vapier@gentoo.org>
92c3af3c 73354
edf66db1 73355 * math/bits/mathcalls.h (modf): Use __nonnull.
92c3af3c 73356
edf66db1 733572012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73358
edf66db1
SP
73359 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73360 (split): Use macro CN instead of the bare value.
73361 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73362 could be used.
73363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73364 instead of the bare value.
73365 (power1): Likewise.
92c3af3c 73366
edf66db1 733672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73368
edf66db1
SP
73369 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73370 __ATAN_TWOM.
73371 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
92c3af3c 73372
edf66db1
SP
73373 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73374 their values.
73375 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73376 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73377 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73378 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
92c3af3c 73379
edf66db1 733802012-12-28 Andreas Jaeger <aj@suse.de>
92c3af3c 73381
edf66db1
SP
73382 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
73383 values are from Linux 3.7.
92c3af3c 73384
edf66db1
SP
73385 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73386 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
92c3af3c 73387
edf66db1 733882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73389
edf66db1
SP
73390 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73391 TRUE case.
92c3af3c 73392
edf66db1
SP
73393 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73394 (norm): Likewise.
73395 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73396 variables with preprocessor constants.
73397 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73398 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73399 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
92c3af3c 73400
edf66db1 734012012-12-27 Bruno Haible <bruno@clisp.org>
92c3af3c 73402
edf66db1
SP
73403 [BZ #14317]
73404 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73405 only if needed.
92c3af3c 73406
edf66db1 734072012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73408
edf66db1
SP
73409 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73410 and use variable directly.
73411 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
92c3af3c 73412
edf66db1
SP
73413 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73414 MPONE.
73415 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73416 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73417 variable MPONE.
73418 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73420 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73421 include directive. Remove local variable MPONE.
73422 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
92c3af3c 73425
edf66db1 734262012-12-25 David S. Miller <davem@davemloft.net>
92c3af3c 73427
edf66db1
SP
73428 * version.h (RELEASE): Set to "development".
73429 (VERSION): Set to "2.17.90".
73430 * NEWS: Add 2.18 section.
92c3af3c 73431
edf66db1 734322012-12-21 David S. Miller <davem@davemloft.net>
92c3af3c 73433
edf66db1 73434 * po/hr.po: Update from translation team.
92c3af3c 73435
edf66db1 734362012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 73437
edf66db1 73438 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
92c3af3c 73439
edf66db1 734402012-12-19 Steve Ellcey <sellcey@mips.com>
92c3af3c 73441
edf66db1 73442 * NEWS: Mention new memcpy for MIPS.
92c3af3c 73443
edf66db1 734442012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
92c3af3c 73445
edf66db1 73446 * manual/contrib.texi (Contributors): Spelling correction.
92c3af3c 73447
edf66db1 734482012-12-15 David S. Miller <davem@davemloft.net>
92c3af3c 73449
edf66db1 73450 * po/ru.po: Update from translation team.
92c3af3c 73451
edf66db1 734522012-12-13 David S. Miller <davem@davemloft.net>
92c3af3c 73453
edf66db1 73454 * NEWS: Mention IFUNC testsuite enhancements.
92c3af3c 73455
edf66db1
SP
73456 * po/pl.po: Update from translation team.
73457 * po/bg.po: Likewise.
92c3af3c 73458
edf66db1
SP
73459 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73460 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
92c3af3c 73461
edf66db1 734622012-12-11 David S. Miller <davem@davemloft.net>
92c3af3c 73463
edf66db1 73464 * po/sv.po: Update from translation team.
92c3af3c 73465
edf66db1 73466 * po/vi.po: Update from translation team.
92c3af3c 73467
edf66db1 73468 * po/cs.po: Update from translation team.
92c3af3c 73469
edf66db1
SP
73470 * po/de.po: Update from translation team.
73471 * po/eo.po: Likewise.
73472 * po/nl.po: Likewise.
92c3af3c 73473
edf66db1 734742012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73475
edf66db1
SP
73476 [BZ #14246]
73477 * manual/argp.texi (Argp Helper Functions): Move node to follow
73478 Argp Parsing State.
92c3af3c 73479
edf66db1
SP
73480 [BZ #14872]
73481 * manual/conf.texi (Limits on File System Capacity): Mention if
73482 terminating null is included in the max size.
92c3af3c 73483
edf66db1 734842012-12-10 Andreas Jaeger <aj@suse.de>
92c3af3c 73485
edf66db1 73486 * po/cs.po: Update from translation team.
92c3af3c 73487
edf66db1 734882012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73489
edf66db1
SP
73490 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73491 void pointer and cast to uintptr_t.
73492 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73493 path.
73494 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73495 * sysdeps/s390/s390-64/memset.S: Likewise.
92c3af3c 73496
edf66db1 734972012-12-08 Benno Schulenberg <bensberg@justemail.net>
92c3af3c 73498
edf66db1
SP
73499 [BZ #14833]
73500 * menual/message.texi (Message Translation): Fix typos.
73501 (Helper programs for gettext): Likewise.
92c3af3c 73502
edf66db1 735032012-12-07 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 73504
edf66db1
SP
73505 [BZ #14898]
73506 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73507 Change to -1.
92c3af3c 73508
edf66db1 735092012-12-07 David S. Miller <davem@davemloft.net>
92c3af3c 73510
edf66db1 73511 * po/libc.pot: Update.
92c3af3c 73512
edf66db1 735132012-12-07 Richard Henderson <rth@redhat.com>
92c3af3c 73514
edf66db1
SP
73515 [BZ #10114]
73516 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73517 normal/normal case to before the switch.
73518 (_FP_DIV): Likewise.
92c3af3c 73519
edf66db1
SP
735202012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73521 Mike Frysinger <vapier@gentoo.org>
92c3af3c 73522
edf66db1
SP
73523 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73524 check for __NR_fadvise64_64.
92c3af3c 73525
edf66db1 735262012-12-06 Chris Metcalf <cmetcalf@tilera.com>
92c3af3c 73527
edf66db1
SP
73528 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73529 0, not just to plain "0" as a statement.
73530 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73531 with cw.
92c3af3c 73532
edf66db1 735332012-12-06 Joseph Myers <joseph@codesourcery.com>
92c3af3c 73534
edf66db1 73535 * NEWS: Use sourceware.org in Bugzilla URL.
92c3af3c 73536
edf66db1 735372012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 73538
edf66db1
SP
73539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73540 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
92c3af3c 73541
edf66db1
SP
73542 * stdio-common/tst-put-error.c (do_test): Add newline to the
73543 padded test to ensure flush.
92c3af3c 73544
edf66db1 735452012-12-05 Jeff Law <law@redhat.com>
92c3af3c 73546
edf66db1 73547 * sunrpc/etc.rpc (fedfs_admin): Add entry.
92c3af3c 73548
edf66db1 735492012-12-05 Joseph Myers <joseph@codesourcery.com>
92c3af3c 73550
edf66db1
SP
73551 * README: Don't refer to ports add-on as distributed separately.
73552 Mention AArch64 in list of systems supported in the ports add-on.
92c3af3c 73553
edf66db1 73554 * LICENSES: Add more non-FSF copyright and license notices.
92c3af3c 73555
edf66db1
SP
73556 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73557 ((unused)).
92c3af3c 73558
edf66db1 73559 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
92c3af3c 73560
edf66db1
SP
73561 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73562 10000 as width of padded output.
92c3af3c 73563
edf66db1 735642012-12-04 Joseph Myers <joseph@codesourcery.com>
92c3af3c 73565
edf66db1 73566 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
92c3af3c 73567
edf66db1
SP
73568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73569 variable LX with __attribute__ ((unused)).
73570 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73571 Likewise.
73572 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73574 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73575 with __attribute__ ((unused)).
73576
735772012-12-04 David S. Miller <davem@abraco.davemloft.net>
73578
73579 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73580
735812012-12-04 Joseph Myers <joseph@codesourcery.com>
73582
73583 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73584 (CFLAGS-nldbl-acos.c): New variable.
73585 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73586 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73587 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73588 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73589 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73590 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73591 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73592 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73593 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73594 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73595 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73596 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73597 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73598 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73599 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73600 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73601 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73602 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73603 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73604 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73605 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73606 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73607 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73608 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73609 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73610 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73611 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73612 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73613 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73614 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73615 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73616 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73617 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73618 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73619 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73620 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73621 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73622 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73623 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73624 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73625 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73626 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73627 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73628 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73629 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73630 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73631 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73632 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73633 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73634 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73635 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73636 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73637 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73638 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73639 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73640 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73641 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73642 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73643 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73644 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73645 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73646 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73647 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73648 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73649 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73650 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73651 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73652 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73653 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73654 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73655 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73656 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73657 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73658 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73659 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73660 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73661 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73662 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73663 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73664 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73665 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73666 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73667 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73668 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73669 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73670 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73671 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73672 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73673 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73674 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73675 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73676 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73677 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73678 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73679 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73680 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73681 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73682
73683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73684 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73685
73686 [BZ #14914]
73687 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73688 whole low double instead of just low 47 bits when splitting values
73689 into two parts.
73690
736912012-12-03 Allan McRae <allan@archlinux.org>
73692
73693 * manual/stdio.texi (Predefined Printf Handlers): Remove
73694 @hsep and @vsep usage.
73695
736962012-12-03 Mike Frysinger <vapier@gentoo.org>
73697
73698 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73699 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73700
737012012-12-03 Jeff Law <law@redhat.com>
73702
73703 * time/sys/time.h (settimeofday): Do not mark TV argument
73704 as __nonnull.
73705
737062012-12-01 Mike Frysinger <vapier@gentoo.org>
73707
73708 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73709 when currently writing and seek to current position when not.
73710 * libio/Makefile (tests): Remove bug-fclose1.
73711 * libio/bug-fclose1.c: Delete.
73712
737132012-12-01 Joseph Myers <joseph@codesourcery.com>
73714
73715 * manual/arith.texi (feenableexcept): Fix typo.
73716 (fedisableexcept): Likewise.
73717
737182012-11-30 Roland McGrath <roland@hack.frob.com>
73719
73720 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73721 second, differently-typed declaration, rather than a cast.
73722
737232012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73724
73725 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73726 * include/rpc/svc.h: ... here.
73727
737282012-11-30 Aurelien Jarno <aurel32@debian.org>
73729
73730 [BZ #13013]
73731 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73732 depending n and resplen2 to catch cases where answer
73733 equals answerp2.
73734
737352012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73736
73737 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73738 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73739
737402012-11-29 Mike Frysinger <vapier@gentoo.org>
92c3af3c 73741
edf66db1 73742 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
92c3af3c 73743
edf66db1 737442012-11-29 Roland McGrath <roland@hack.frob.com>
92c3af3c 73745
edf66db1 73746 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
92c3af3c 73747
edf66db1 737482012-11-28 Jeff Law <law@redhat.com>
92c3af3c 73749
edf66db1
SP
73750 [BZ #13761]
73751 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73752 dataset_temporary. Track alloca usage into alloca_used.
73753 If dataset is large allocate and release it via malloc/free.
92c3af3c 73754
edf66db1 737552012-06-04 Florian Weimer <fweimer@redhat.com>
92c3af3c 73756
edf66db1
SP
73757 [BZ #14197]
73758 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
92c3af3c 73759
edf66db1 737602012-11-28 David S. Miller <davem@davemloft.net>
92c3af3c 73761
edf66db1 73762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 73763
edf66db1 737642012-11-28 Joseph Myers <joseph@codesourcery.com>
92c3af3c 73765
edf66db1
SP
73766 [BZ #14803]
73767 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73768 of pi/2 rounded to nearest to 64 bits.
73769 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73770 nearest to 64 bits.
73771 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73772 bits.
92c3af3c 73773
edf66db1
SP
737742012-11-28 Jeff Law <law@redhat.com>
73775 Martin Osvald <mosvald@redhat.com>
73776
73777 [BZ #14889]
73778 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73779 * sunrpc/svc.c: Include time.h.
73780 (__svc_accept_failed): New function.
73781 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73782 any reason other than EINTR, call __svc_accept_failed.
73783 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73784 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73785
737862012-11-28 Andreas Schwab <schwab@suse.de>
73787
73788 * scripts/abilist.awk: Also handle indirect functions in .opd
73789 section.
73790
737912012-11-28 Joseph Myers <joseph@codesourcery.com>
73792
73793 [BZ #13881]
73794 * sysdeps/x86/fpu/powl_helper.c: New file.
73795 * sysdeps/x86/fpu/Makefile: Likewise.
73796 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73797 (p3): New object.
73798 (__ieee754_powl): Use __powl_helper for finite arguments except
73799 integer exponents below 8.
73800 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73801 (p3): New object.
73802 (__ieee754_powl): Use __powl_helper for finite arguments except
73803 integer exponents below 8.
73804 * math/libm-test.inc (pow_test): Add more tests and enable some
73805 previously disabled tests.
73806 * sysdeps/i386/fpu/libm-test-ulps: Update.
73807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73808
738092012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73810 Carlos O'Donell <carlos_odonell@mentor.com>
73811
73812 * nss/makedb.c (is_prime): Assert that input is odd and greater
73813 than 4. Note that fact in a comment too.
73814 (next_prime): Add 4 to input.
73815
738162012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73817
73818 [BZ #11741]
73819 * libio/Makefile (tests): Add test case tst-fwrite-error.
73820 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73821 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73822 * libio/tst-fwrite-error.c: New test case.
92c3af3c 73823
edf66db1 738242012-11-26 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 73825
edf66db1
SP
73826 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73827 before casting to void *.
73828 * include/libc-internal.h (__pointer_type): New macro.
73829 (__integer_if_pointer_type_sub): Likewise.
73830 (__integer_if_pointer_type): Likewise.
73831 (cast_to_integer): Likewise.
73832 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73833 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73834 before casting to atomic64_t.
73835 (atomic_exchange_acq): Likewise.
73836 (__arch_exchange_and_add_body): Likewise.
73837 (__arch_add_body): Likewise.
73838 (atomic_add_negative): Likewise.
73839 (atomic_add_zero): Likewise.
92c3af3c 73840
edf66db1 738412012-11-26 Joseph Myers <joseph@codesourcery.com>
92c3af3c 73842
edf66db1
SP
73843 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73844 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73845 (add_fdes): Likewise.
73846 (linear_search_fdes): Likewise.
73847 (binary_search_unencoded_fdes): Likewise.
92c3af3c 73848
edf66db1 738492012-11-26 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 73850
edf66db1 73851 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
92c3af3c 73852
edf66db1 738532012-11-24 Adam Conrad <adconrad@0c3.net>
92c3af3c 73854
edf66db1
SP
73855 * configure.in: Autodetect C++ header directories.
73856 * configure: Regenerated.
92c3af3c 73857
edf66db1 738582012-11-23 Mike Frysinger <vapier@gentoo.org>
92c3af3c 73859
edf66db1 73860 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
92c3af3c 73861
edf66db1 738622012-11-23 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 73863
edf66db1 73864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 73865
edf66db1 738662012-11-22 Joseph Myers <joseph@codesourcery.com>
92c3af3c 73867
edf66db1
SP
73868 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73869 LDBL_MANT_DIG == 106]: Disable some tests.
73870 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73871 Likewise.
73872 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73873 Likewise.
92c3af3c 73874
edf66db1
SP
73875 [BZ #14871]
73876 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73877 input for small inputs. Return +/- pi/2 for large inputs.
73878 * math/libm-test.inc (atan_test): Add more tests.
92c3af3c 73879
edf66db1
SP
73880 * sysdeps/generic/unwind-dw2-fde-glibc.c
73881 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73882 __attribute__ ((unused)).
92c3af3c 73883
edf66db1
SP
73884 [BZ #14645]
73885 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73886 x * y if x and y are nonzero and z is zero.
92c3af3c 73887
edf66db1
SP
73888 [BZ #14811]
73889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73890 nonzero exponents with absolute value below 0x1p-117 to +/-
73891 0x1p-117.
92c3af3c 73892
edf66db1
SP
73893 [BZ #14869]
73894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73895 up arguments below 2**-450, not just those below 2**-500.
73896 * math/libm-test.inc (hypot_test): Add another test.
92c3af3c 73897
edf66db1
SP
73898 [BZ #14868]
73899 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73900 Return a+b for ratio over 2**120, not 2**60.
73901 * math/libm-test.inc (hypot_test): Add another test.
92c3af3c 73902
edf66db1
SP
73903 * math/libm-test.inc (clog_test): Use
73904 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73905 (clog10_test): Likewise.
92c3af3c 73906
edf66db1
SP
73907 [BZ #6778]
73908 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
92c3af3c 73909
edf66db1 739102012-11-22 Andreas Schwab <schwab@suse.de>
92c3af3c 73911
edf66db1 73912 * sysdeps/i386/fpu/libm-test-ulps: Update.
92c3af3c 73913
edf66db1 739142012-11-22 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 73915
edf66db1
SP
73916 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73917 printf output with newline.
92c3af3c 73918
edf66db1 739192012-11-21 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 73920
edf66db1
SP
73921 [BZ #14865]
73922 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73923 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73924 -z nodlopen, -z initfirst and -z execstack support.
73925 * configure: Regenerated.
92c3af3c 73926
edf66db1
SP
73927 * elf/elf.h (DF_1_NODIRECT): New macro.
73928 (DF_1_IGNMULDEF): Likewise.
73929 (DF_1_NOKSYMS): Likewise.
73930 (DF_1_NOHDR): Likewise.
73931 (DF_1_EDITED): Likewise.
73932 (DF_1_NORELOC): Likewise.
73933 (DF_1_SYMINTPOSE): Likewise.
73934 (DF_1_GLOBAUDIT): Likewise.
73935 (DF_1_SINGLETON): Likewise.
73936 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73937 DT_1_SUPPORTED_MASK bits.
73938 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
92c3af3c 73939
edf66db1 739402012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
92c3af3c 73941
edf66db1 73942 * sysdeps/unix/make-syscalls.sh: Document prefixes.
92c3af3c 73943
edf66db1 739442012-11-20 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 73945
edf66db1
SP
73946 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73947 macro.
92c3af3c 73948
edf66db1
SP
73949 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73950 (sendmmsg): Move declarations...
73951 * socket/sys/socket.h: ... here.
73952 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73953 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73954 include it from...
73955 * socket/recvmmsg.c: ... this new file.
73956 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73957 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73958 definition of __sendmmsg hidden.
73959 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73960 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73961 Move ENOSYS stub into and include it from...
73962 * socket/sendmmsg.c: ... this new file.
73963 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73964 (sysdep_routines): Move recvmmsg and sendmmsg...
73965 * socket/Makefile (routines): ... here.
73966 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73967 (GLIBC_PRIVATE): Add __sendmmsg.
73968 * include/sys/socket.h (__sendmmsg): Add declarations.
73969 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73970 sendmmsg.
73971
739722012-11-20 Joseph Myers <joseph@codesourcery.com>
73973
73974 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73975 variable I1 with __attribute__ ((unused)).
73976 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73977
739782012-11-19 Joseph Myers <joseph@codesourcery.com>
73979
73980 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73981 DUMMY variables with __attribute__ ((unused)).
73982
73983 * bits/byteswap.h: Include <bits/types.h>.
73984 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73985
739862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73987
73988 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73989 string_t. Do not manually set errno.
73990 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73991 length with __strnlen. Make sure to both set errno and return it on
73992 failure.
92c3af3c 73993
edf66db1
SP
739942012-11-19 David S. Miller <davem@davemloft.net>
73995
73996 With help from Joseph Myers.
73997 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73998 very large arguments properly.
73999 * math/libm-test.inc (atan_test): New tests.
74000 (atan2_test): New tests.
74001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74003
740042012-11-19 Joseph Myers <joseph@codesourcery.com>
74005
74006 [BZ #14856]
74007 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
74008 Define to 3.
74009
74010 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
74011 [POSIX] (EADDRNOTAVAIL): Likewise.
74012 [POSIX] (EAFNOSUPPORT): Likewise.
74013 [POSIX] (EALREADY): Likewise.
74014 [POSIX] (ECONNABORTED): Likewise.
74015 [POSIX] (ECONNREFUSED): Likewise.
74016 [POSIX] (ECONNRESET): Likewise.
74017 [POSIX] (EDESTADDRREQ): Likewise.
74018 [POSIX] (EDQUOT): Likewise.
74019 [POSIX] (EHOSTUNREACH): Likewise.
74020 [POSIX] (EIDRM): Likewise.
74021 [POSIX] (EISCONN): Likewise.
74022 [POSIX] (ELOOP): Likewise.
74023 [POSIX] (EMULTIHOP): Likewise.
74024 [POSIX] (ENETDOWN): Likewise.
74025 [POSIX] (ENETUNREACH): Likewise.
74026 [POSIX] (ENOBUFS): Likewise.
74027 [POSIX] (ENODATA): Likewise.
74028 [POSIX] (ENOLINK): Likewise.
74029 [POSIX] (ENOMSG): Likewise.
74030 [POSIX] (ENOPROTOOPT): Likewise.
74031 [POSIX] (ENOSR): Likewise.
74032 [POSIX] (ENOSTR): Likewise.
74033 [POSIX] (ENOTCONN): Likewise.
74034 [POSIX] (ENOTSOCK): Likewise.
74035 [POSIX] (EOPNOTSUPP): Likewise.
74036 [POSIX] (EOVERFLOW): Likewise.
74037 [POSIX] (EPROTO): Likewise.
74038 [POSIX] (EPROTONOSUPPORT): Likewise.
74039 [POSIX] (EPROTOTYPE): Likewise.
74040 [POSIX] (ESTALE): Likewise.
74041 [POSIX] (ETIME): Likewise.
74042 [POSIX] (ETXTBSY): Likewise.
74043 [POSIX] (EWOULDBLOCK): Likewise.
74044 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
74045 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
74046 [POSIX] (SEEK_CUR): Likewise.
74047 [POSIX] (SEEK_END): Likewise.
74048 [POSIX || UNIX98] (mode_t): Do not require.
74049 [POSIX] (off_t): Likewise.
74050 [POSIX] (pid_t): Likewise.
74051 [POSIX] (sys/stat.h): Do not allow header.
74052 [POSIX] (unistd.h): Likewise.
74053 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
74054 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
74055 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
74056 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
74057 require.
74058 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
74059 sigevent): Specify elements.
74060 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
74061 entry.
74062 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
74063 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
74064
74065 * conform/data/cpio.h-data [POSIX]: Disable whole file.
74066 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
74067 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
74068 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
74069 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
74070 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
74071 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
74072 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
74073 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
74074 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
74075 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
74076 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
74077 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
74078 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
74079 Likewise.
74080 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
74081 Likewise.
74082 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
74083 Likewise.
74084 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
74085 Likewise.
74086 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
74087 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
74088 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
74089 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
74090 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
74091 Specify lower bound on value.
74092 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
74093 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
74094 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
74095 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
74096 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
74097 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
74098 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
74099 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
74100 value.
74101 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
74102 as optional.
74103 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
74104 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
74105 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
74106 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
74107 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
74108 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
74109 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
74110 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
74111 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
74112 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
74113 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
74114 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
74115 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
74116 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
74117 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
74118 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
74119 entry.
74120 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
74121 optional.
74122 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
74123 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
74124 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
74125 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
74126 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
74127 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
74128 Likewise.
74129 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
74130 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
74131 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
74132 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
74133 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
74134 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
74135 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
74136 as optional.
74137 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
74138 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
74139 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
74140 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
74141 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
74142 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
74143 specify as optional.
74144 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
74145 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
74146 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
74147 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
74148 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
74149 [XPG3] (NL_LANGMAX): Likewise.
74150 [POSIX || XPG3] (NL_MSGMAX): Likewise.
74151 [POSIX || XPG3] (NL_NMAX): Likewise.
74152 [POSIX || XPG3] (NL_SETMAX): Likewise.
74153 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
74154 [XPG3] (NZERO): Likewise.
74155 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
74156 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
74157 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
74158 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
74159 (REG_ERANGE): Expect.
74160 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
74161 optional-constant.
74162 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
74163 Use (void) in prototype.
74164 [POSIX] (*_t): Allow.
74165 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
74166 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
74167 (WRDE_BADVAL): Expect.
74168
74169 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
74170 expect.
74171 [XPG3 || XPG4] (O_RSYNC): Likewise.
74172 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
74173 Likewise.
74174 [XPG3 || XPG4] (pthread_sigmask): Likewise.
74175 [XPG3 || XPG4] (sigqueue): Likewise.
74176 [XPG3 || XPG4] (sigtimedwait): Likewise.
74177 [XPG3 || XPG4] (sigwaitinfo): Likewise.
74178 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
74179 [XPG3 || XPG4] (vsnprintf): Likewise.
74180 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
74181 Likewise.
74182 [XPG3 || XPG4] (blksize_t): Likewise.
74183 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74184 Likewise.
74185 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74186 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74187 [XPG3 || XPG4] (struct itimerspec): Likewise.
74188 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74189 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74190 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74191 [XPG3 || XPG4] (clockid_t): Likewise.
74192 [XPG3 || XPG4] (timer_t): Likewise.
74193 [XPG3 || XPG4] (clock_getres): Likewise.
74194 [XPG3 || XPG4] (clock_gettime): Likewise.
74195 [XPG3 || XPG4] (clock_settime): Likewise.
74196 [XPG3 || XPG4] (nanosleep): Likewise.
74197 [XPG3 || XPG4] (timer_create): Likewise.
74198 [XPG3 || XPG4] (timer_delete): Likewise.
74199 [XPG3 || XPG4] (timer_gettime): Likewise.
74200 [XPG3 || XPG4] (timer_getoverrun): Likewise.
74201 [XPG3 || XPG4] (timer_settime): Likewise.
74202 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74203 [XPG3 || XPG4] (getlogin_r): Likewise.
74204 [XPG3 || XPG4] (pread): Likewise.
74205 [XPG3 || XPG4] (pthread_atfork): Likewise.
74206 [XPG3 || XPG4] (pwrite): Likewise.
74207
74208 [BZ #14835]
74209 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74210 <bits/siginfo.h>.
74211
742122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
74213
74214 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74215 finalizing MALLSTREAM.
74216
74217 * sysdeps/mach/hurd/syncfs.c: New file.
74218
742192012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
74220
74221 [BZ #14719]
74222 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74223 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74224 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74225 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74226 (_nss_dns_gethostbyname4_r): Likewise.
74227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74228 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
92c3af3c 74229
edf66db1 742302012-11-19 Peng Haitao <penght@cn.fujitsu.com>
92c3af3c 74231
edf66db1
SP
74232 [BZ #13763]
74233 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
92c3af3c 74234
edf66db1 742352012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
92c3af3c 74236
edf66db1
SP
74237 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74238 * elf/cache.c (print_entry): Print ",AArch64" for
74239 FLAG_AARCH64_LIB64
92c3af3c 74240
edf66db1
SP
74241 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74242 * elf/cache.c (print_entry): Print ",hard-float" for
74243 FLAG_ARM_LIBHF.
92c3af3c 74244
edf66db1 742452012-11-18 David S. Miller <davem@davemloft.net>
92c3af3c 74246
edf66db1
SP
74247 With help from Joseph Myers.
74248 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74249 cutoff to 2**-13.
74250 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74251 cutoff to 2**-25.
74252 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74253 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74254 small.
74255 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74256 * math/libm-test.inc (y0_test): New tests.
74257 (y1_test): New tests.
74258 * sysdeps/i386/fpu/libm-test-ulps: Update.
74259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 74261
edf66db1 742622012-11-18 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 74263
edf66db1
SP
74264 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74265 64-bit targets.
74266 * configure: Regenerated.
92c3af3c 74267
edf66db1 742682012-11-17 David S. Miller <davem@davemloft.net>
92c3af3c 74269
edf66db1
SP
74270 [BZ #14811]
74271 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74272 nonzero exponents with absolute value below 0x1p-128 to +/-
74273 0x1p-128.
92c3af3c 74274
edf66db1 742752012-11-17 Joseph Myers <joseph@codesourcery.com>
92c3af3c 74276
edf66db1 74277 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
92c3af3c 74278
edf66db1 74279 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
92c3af3c 74280
edf66db1
SP
74281 * posix/getconf-speclist.c: New file.
74282 * posix/posix-envs.def: Likewise.
74283 * posix/confstr.c (START_ENV_GROUP): New macro.
74284 (END_ENV_GROUP): Likewise.
74285 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74286 (KNOWN_PRESENT_ENV_STRING): Likewise.
74287 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74288 (UNKNOWN_ENVIRONMENT): Likewise.
74289 (confstr): Include posix-envs.def instead of handling
74290 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74291 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74292 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74293 (END_ENV_GROUP): Likewise.
74294 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74295 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74296 (UNKNOWN_ENVIRONMENT): Likewise.
74297 (__sysconf): Include posix-envs.def instead of handling associated
74298 cases directly here.
74299 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74300 preprocessing getconf-speclist.c rather than running getconf or
74301 generating empty file.
74302
743032012-11-16 Pino Toscano <toscano.pino@tiscali.it>
74304
74305 * scripts/check-local-headers.sh: Ignore 'mach' headers.
74306
743072012-11-16 Andrej Lajovic <natrij@gmail.com>
74308
74309 [BZ #14672]
74310 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74311
743122012-11-16 David S. Miller <davem@davemloft.net>
74313
74314 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74315 smaller than LDBL_EPSILON/2.0L, just return xm1.
74316
743172012-11-16 H.J. Lu <hongjiu.lu@intel.com>
74318
74319 * elf/tst-array1.c (init): Set constructor priority to 1000.
74320 (fini): Set destructor priority to 1000.
74321 * elf/tst-array2dep.c: Likewise.
74322
743232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74324
74325 [BZ #11741]
74326 * libio/fileops.c (_IO_new_file_write): Correctly return error.
74327 (_IO_new_file_xsputn): Also return EOF if none of the input
74328 data was written when overflow failed.
74329 * libio/iopadn.c (_IO_padn): Likewise.
74330 * libio/iowpadn.c (_IO_wpadn): Likewise.
74331 * stdio-common/tst-put-error.c: Add copyright notice.
74332 (do_test): Add case for printing padded string.
74333 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74334 _IO_padn returned error.
74335 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74336 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74337 return EOF.
74338
743392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74340
74341 * libio/libioP.h: Add comment note that the references to C++
74342 bits are now obsolete.
74343
743442012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74345
74346 * math/libm-test.inc (check_complex): Use asprintf.
74347
743482012-11-14 Joseph Myers <joseph@codesourcery.com>
74349
74350 * debug/pcprofiledump.c (print_version): Update copyright year.
74351 * malloc/memusagestat.c (print_version): Likewise.
74352
743532012-11-14 H.J. Lu <hongjiu.lu@intel.com>
74354
74355 [BZ #14831]
74356 * elf/Makefile (tests): Add tst-audit8.
74357 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74358 ($(objpfx)tst-audit8.out): New target.
74359 (tst-audit8-ENV): New variable.
74360 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74361 audit if l_reloc_result is NULL.
74362 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74363 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74364 * elf/tst-audit8.c: New file.
74365
743662012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74367
74368 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74369 * misc/Makefile (CFLAGS-select.c): Define.
74370 * posix/Makefile (CFLAGS-pause.c): Define.
74371
743722012-11-13 David S. Miller <davem@davemloft.net>
74373
74374 * crypt/Makefile: Move test targets after toplevel Rules
74375 inclusion. Grab any necessary sysdep routines when linking.
74376 * crypt/md5.c (md5_process_block): Remove define, we will always
74377 name it __md5_process_block.
74378 (md5_finish_ctx): Update md5_process_block call.
74379 (md5_stream): Likewise.
74380 (md5_process_bytes): Likewise.
74381 (md5_process_block): Rename to __md5_process_block and move to ...
74382 * crypt/md5-block.c: ... here.
74383 * crypt/sha256.c (sha256_process_block): Move to ...
74384 * crypt/sha256-block.c: ... here.
74385 * crypt/sha512.c (sha512_process_block): Move to ...
74386 * crypt/sha512-block.c: ... here.
74387 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74388 path.
74389 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74390 * sysdeps/sparc/sparc64/multiarch/Makefile
74391 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74392 crypt subdir.
74393 (localedef-aux): Add md5 crypto assembler when in locale subdir.
74394 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74395 multiarch changes.
74396 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74397 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74398 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74399 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74400 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74401 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74402 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74403 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74404 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74405 file.
74406 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74407 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74408 file.
74409 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
92c3af3c 74410
edf66db1 744112012-11-13 Joseph Myers <joseph@codesourcery.com>
92c3af3c 74412
edf66db1
SP
74413 * timezone/tzselect.ksh: Update from tzcode git revision
74414 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74415 * timezone/zdump.c: Likewise.
74416 * timezone/zic.c: Likewise.
74417 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74418 in TZVERSION setting, not $(PKGVERSION).
74419 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
74420 REPORT_BUGS_TO settings.
92c3af3c 74421
edf66db1
SP
74422 [BZ #14838]
74423 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74424 macro.
92c3af3c 74425
edf66db1 744262012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
92c3af3c 74427
edf66db1
SP
74428 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74429 detection to immediately after _FP_ROUND().
74430 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74431 bits are 0.
92c3af3c 74432
edf66db1 744332012-11-11 David S. Miller <davem@davemloft.net>
92c3af3c 74434
edf66db1
SP
74435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74436 inttypes.h
74437 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74438 __close rather than their public counterparts.
92c3af3c 74439
edf66db1 744402012-11-10 Joseph Myers <joseph@codesourcery.com>
92c3af3c 74441
edf66db1
SP
74442 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74443 file.
74444 [UNIX98] (sem_timedwait): Do not expect.
74445 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74446 [XPG4 || UNIX98] (sockatmark): Do not expect.
74447 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74448 (clock_getcpuclockid): Do not expect.
74449 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74450 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74451 Do not expect.
74452 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74453 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74454 [UNIX98] (vwscanf): Likewise.
74455 [UNIX98] (vswscanf): Likewise.
74456
744572012-11-09 Joseph Myers <joseph@codesourcery.com>
74458
74459 * timezone/version.h: Remove file.
74460 * timezone/README: Do not refer to version.h.
74461 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74462 $(objpfx)version.h.
74463 ($(objpfx)zdump.o): Likewise.
74464 ($(objpfx)version.h): New target.
74465
74466 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74467 2012i.
74468 * timezone/README: Don't mention modification to tzselect.ksh.
74469 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74470 work on unmodified tzselect.ksh. Substitute version numbers in
74471 tzselect.ksh.
74472
74473 * Makefile (format-me): Remove.
74474 (INSTALL): Adjust indentation. Use commands directly instead of
74475 using $(format-me).
74476
74477 * aclocal.m4 (ACX_PKGVERSION): New macro.
74478 (ACX_BUGURL): Likewise.
74479 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74480 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74481 (REPORT_BUGS_TO): Likewise.
74482 * configure: Regenerated.
74483 * config.h.in (PKGVERSION): New macro.
74484 (REPORT_BUGS_TO): Likewise.
74485 * config.make.in (PKGVERSION): New variable.
74486 (PKGVERSION_TEXI): Likewise.
74487 (REPORT_BUGS_TO): Likewise.
74488 (REPORT_BUGS_TEXI): Likewise.
74489 * Makefile (format-me): Use -I$(common-objpfx)manual.
74490 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74491 ($(common-objpfx)manual/%): New target.
74492 (manual/%): Remove target.
74493 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74494 (print_version): Use PKGVERSION.
74495 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74496 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74497 and REPORT_BUGS_TO.
74498 ($(objpfx)xtrace): Likewise.
74499 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74500 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74501 (print_version): Use PKGVERSION.
74502 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74503 (do_version): Use PKGVERSION.
74504 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74505 REPORT_BUGS_TO.
74506 (common-ldd-rewrite): Likewise.
74507 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74508 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74509 (print_version): Use PKGVERSION.
74510 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74511 * elf/pldd.c (argp_program_bug_address): Remove variable.
74512 (more_help): New function.
74513 (argp): Use more_help.
74514 (print_version): Use PKGVERSION.
74515 * elf/sln.c (main): Use PKGVERSION.
74516 (usage): Use REPORT_BUGS_TO.
74517 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74518 (top level): Use PKGVERSION.
74519 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74520 (print_version): Use PKGVERSION.
74521 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74522 (print_version): Use PKGVERSION.
74523 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74524 (print_version): Use PKGVERSION.
74525 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74526 (print_version): Use PKGVERSION.
74527 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74528 (print_version): Use PKGVERSION.
74529 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74530 (print_version): Use PKGVERSION.
74531 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74532 and BUGURL.
74533 ($(objpfx)memusage): Likewise.
74534 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74535 (do_version): Use PKGVERSION.
74536 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74537 (print_version): Use PKGVERSION.
74538 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74539 ($PKGVERSION): New variable.
74540 ($REPORT_BUGS_TO): Likewise.
74541 (usage): Use $REPORT_BUGS_TO.
74542 (top level): Use $PKGVERSION.
74543 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74544 ($(objpfx)pkgvers.texi): New rule.
74545 ($(objpfx)stamp-pkgvers): Likewise.
74546 * manual/install.texi: Include pkgvers.texi.
74547 (--with-pkgversion): Document new configure option.
74548 (--with-bugurl): Likewise.
74549 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74550 than necessarily for this particular distribution. Use
74551 REPORT_BUGS_TO for where to report bugs.
74552 * INSTALL: Regenerated.
74553 * manual/libc.texinfo: Include pkgvers.texi.
74554 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74555 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74556 (print_version): Use PKGVERSION.
74557 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74558 (print_version): Use PKGVERSION.
74559 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74560 (print_version): Use PKGVERSION.
74561 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74562 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74563 macro.
74564 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74565 (print_version): Use PKGVERSION.
74566 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74567 (print_version): Use PKGVERSION.
74568 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74569 and PKGVERSION.
74570
74571 * timezone/checktab.awk: Update from tzcode 2012i.
74572 * timezone/ialloc.c: Likewise.
74573 * timezone/private.h: Likewise.
74574 * timezone/scheck.c: Likewise.
74575 * timezone/tzfile.h: Likewise.
74576 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74577 (TZVERSION): Hardcode tzcode version number.
74578 * timezone/zdump.c: Update from tzcode 2012i.
74579 * timezone/zic.c: Likewise.
74580 * timezone/version.h: New file.
74581 * timezone/README: Describe version.h. Update upstream location.
74582
74583 [BZ #14824]
74584 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74585 (mktemp): Enable declaration.
74586 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74587 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74589 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74590 Likewise.
74591 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74592 Likewise.
74593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74594 Likewise.
74595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74596 Likewise.
74597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74598 Likewise.
74599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74600 Likewise.
92c3af3c 74601
edf66db1
SP
74602 [BZ #14821]
74603 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74604 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74605 for copies of such integer values.
74606 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74607 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92c3af3c 74608
edf66db1 746092012-11-09 Andreas Jaeger <aj@suse.de>
92c3af3c 74610
edf66db1
SP
74611 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74612 definitions and declarations that are provided by
74613 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
92c3af3c 74614
edf66db1 746152012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 74616
edf66db1
SP
74617 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74618 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74619 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74620 definition.
92c3af3c 74621
edf66db1
SP
746222012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74623
74624 * elf/elf.h: Update comment before AArch64 relocations.
74625
746262012-11-07 David S. Miller <davem@davemloft.net>
74627
74628 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74629 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74630 (__start_context): Declare.
74631 (__makecontext_ret): Delete.
74632 (__makecontext): Hook up __start_context instead of
74633 __makecontext_ret.
74634 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74635 (sysdep_routines): Add __start_context when in stdlib.
74636
746372012-11-07 Joseph Myers <joseph@codesourcery.com>
74638
74639 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74640 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74641 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74642 hardcoded "nm".
74643 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74644 (READELF): New variable. Use it instead of hardcoded "readelf".
74645
746462012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74647
74648 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74649 * sysdeps/x86/Makefile: Here.
74650 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74651 * sysdeps/x86/tst-xmmymm.sh: This.
74652
746532012-11-07 Joseph Myers <joseph@codesourcery.com>
74654
74655 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74656 expectations.
74657 [UNIX98] (pthread_barrier_t): Do not expect.
74658 [UNIX98] (pthread_barrierattr_t): Likewise.
74659 [UNIX98] (pthread_spinlock_t): Likewise.
74660 [UNIX98] (pthread_barrier_destroy): Likewise.
74661 [UNIX98] (pthread_barrier_init): Likewise.
74662 [UNIX98] (pthread_barrier_wait): Likewise.
74663 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74664 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74665 [UNIX98] (pthread_barrierattr_init): Likewise.
74666 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74667 [UNIX98] (pthread_getcpuclockid): Likewise.
74668 [UNIX98] (pthread_mutex_timedlock): Likewise.
74669 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74670 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74671 [UNIX98] (pthread_sigmask): Likewise.
74672 [UNIX98] (pthread_spin_destroy): Likewise.
74673 [UNIX98] (pthread_spin_init): Likewise.
74674 [UNIX98] (pthread_spin_lock): Likewise.
74675 [UNIX98] (pthread_spin_trylock): Likewise.
74676 [UNIX98] (pthread_spin_unlock): Likewise.
74677 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74678 Do not expect.
74679 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74680 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74681 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74682 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74683 [XPG3 || XPG4] (pthread_key_t): Likewise.
74684 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74685 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74686 [XPG3 || XPG4] (pthread_once_t): Likewise.
74687 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74688 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74689 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74690 [XPG3 || XPG4] (pthread_t): Likewise.
74691
74692 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74693 not expect.
74694 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74695
74696 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74697 Change function return type to int.
74698
74699 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74700 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74701 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74702 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74703 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74704 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74705 [!POSIX] (posix_madvise): Likewise.
74706 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74707 && !UNIX98].
74708 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74709 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74710 (mode_t): Likewise.
74711 (posix_mem_offset): Likewise.
74712 (posix_typed_mem_get_info): Likewise.
74713 (posix_typed_mem_open): Likewise.
74714
74715 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74716 Change condition to [XOPEN2K8].
74717
74718 * conform/conformtest.pl: Preprocess allow-header data with -x c
74719 instead of from stdin.
74720 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74721 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74722 [C99-based standards] (cerfc): Likewise.
74723 [C99-based standards] (cexp2): Likewise.
74724 [C99-based standards] (cexpm1): Likewise.
74725 [C99-based standards] (clog10): Likewise.
74726 [C99-based standards] (clog1p): Likewise.
74727 [C99-based standards] (clog2): Likewise.
74728 [C99-based standards] (clgamma): Likewise.
74729 [C99-based standards] (ctgamma): Likewise.
74730 [C99-based standards] (cerff): Likewise.
74731 [C99-based standards] (cerfcf): Likewise.
74732 [C99-based standards] (cexp2f): Likewise.
74733 [C99-based standards] (cexpm1f): Likewise.
74734 [C99-based standards] (clog10f): Likewise.
74735 [C99-based standards] (clog1pf): Likewise.
74736 [C99-based standards] (clog2f): Likewise.
74737 [C99-based standards] (clgammaf): Likewise.
74738 [C99-based standards] (ctgammaf): Likewise.
74739 [C99-based standards] (cerfl): Likewise.
74740 [C99-based standards] (cerfcl): Likewise.
74741 [C99-based standards] (cexp2l): Likewise.
74742 [C99-based standards] (cexpm1l): Likewise.
74743 [C99-based standards] (clog10l): Likewise.
74744 [C99-based standards] (clog1pl): Likewise.
74745 [C99-based standards] (clog2l): Likewise.
74746 [C99-based standards] (clgammal): Likewise.
74747 [C99-based standards] (ctgammal): Likewise.
74748 * conform/data/inttypes.h-data [C99-based standards]: Include
74749 stdint.h-data. Remove all expectations for stdint.h contents.
74750 [C99-based standards] (PRI*): Do not allow.
74751 [C99-based standards] (SCN*): Likewise.
74752 [C99-based standards] (*_t): Likewise.
74753 [C99-based-standards] (PRId8): Expect macro.
74754 [C99-based-standards] (PRIi8): Likewise.
74755 [C99-based-standards] (PRIo8): Likewise.
74756 [C99-based-standards] (PRIu8): Likewise.
74757 [C99-based-standards] (PRIx8): Likewise.
74758 [C99-based-standards] (PRIX8): Likewise.
74759 [C99-based-standards] (SCNd8): Likewise.
74760 [C99-based-standards] (SCNi8): Likewise.
74761 [C99-based-standards] (SCNo8): Likewise.
74762 [C99-based-standards] (SCNu8): Likewise.
74763 [C99-based-standards] (SCNx8): Likewise.
74764 [C99-based-standards] (PRIdLEAST8): Likewise.
74765 [C99-based-standards] (PRIiLEAST8): Likewise.
74766 [C99-based-standards] (PRIoLEAST8): Likewise.
74767 [C99-based-standards] (PRIuLEAST8): Likewise.
74768 [C99-based-standards] (PRIxLEAST8): Likewise.
74769 [C99-based-standards] (PRIXLEAST8): Likewise.
74770 [C99-based-standards] (SCNdLEAST8): Likewise.
74771 [C99-based-standards] (SCNiLEAST8): Likewise.
74772 [C99-based-standards] (SCNoLEAST8): Likewise.
74773 [C99-based-standards] (SCNuLEAST8): Likewise.
74774 [C99-based-standards] (SCNxLEAST8): Likewise.
74775 [C99-based-standards] (PRIdFAST8): Likewise.
74776 [C99-based-standards] (PRIiFAST8): Likewise.
74777 [C99-based-standards] (PRIoFAST8): Likewise.
74778 [C99-based-standards] (PRIuFAST8): Likewise.
74779 [C99-based-standards] (PRIxFAST8): Likewise.
74780 [C99-based-standards] (PRIXFAST8): Likewise.
74781 [C99-based-standards] (SCNdFAST8): Likewise.
74782 [C99-based-standards] (SCNiFAST8): Likewise.
74783 [C99-based-standards] (SCNoFAST8): Likewise.
74784 [C99-based-standards] (SCNuFAST8): Likewise.
74785 [C99-based-standards] (SCNxFAST8): Likewise.
74786 [C99-based-standards] (PRId16): Likewise.
74787 [C99-based-standards] (PRIi16): Likewise.
74788 [C99-based-standards] (PRIo16): Likewise.
74789 [C99-based-standards] (PRIu16): Likewise.
74790 [C99-based-standards] (PRIx16): Likewise.
74791 [C99-based-standards] (PRIX16): Likewise.
74792 [C99-based-standards] (SCNd16): Likewise.
74793 [C99-based-standards] (SCNi16): Likewise.
74794 [C99-based-standards] (SCNo16): Likewise.
74795 [C99-based-standards] (SCNu16): Likewise.
74796 [C99-based-standards] (SCNx16): Likewise.
74797 [C99-based-standards] (PRIdLEAST16): Likewise.
74798 [C99-based-standards] (PRIiLEAST16): Likewise.
74799 [C99-based-standards] (PRIoLEAST16): Likewise.
74800 [C99-based-standards] (PRIuLEAST16): Likewise.
74801 [C99-based-standards] (PRIxLEAST16): Likewise.
74802 [C99-based-standards] (PRIXLEAST16): Likewise.
74803 [C99-based-standards] (SCNdLEAST16): Likewise.
74804 [C99-based-standards] (SCNiLEAST16): Likewise.
74805 [C99-based-standards] (SCNoLEAST16): Likewise.
74806 [C99-based-standards] (SCNuLEAST16): Likewise.
74807 [C99-based-standards] (SCNxLEAST16): Likewise.
74808 [C99-based-standards] (PRIdFAST16): Likewise.
74809 [C99-based-standards] (PRIiFAST16): Likewise.
74810 [C99-based-standards] (PRIoFAST16): Likewise.
74811 [C99-based-standards] (PRIuFAST16): Likewise.
74812 [C99-based-standards] (PRIxFAST16): Likewise.
74813 [C99-based-standards] (PRIXFAST16): Likewise.
74814 [C99-based-standards] (SCNdFAST16): Likewise.
74815 [C99-based-standards] (SCNiFAST16): Likewise.
74816 [C99-based-standards] (SCNoFAST16): Likewise.
74817 [C99-based-standards] (SCNuFAST16): Likewise.
74818 [C99-based-standards] (SCNxFAST16): Likewise.
74819 [C99-based-standards] (PRId32): Likewise.
74820 [C99-based-standards] (PRIi32): Likewise.
74821 [C99-based-standards] (PRIo32): Likewise.
74822 [C99-based-standards] (PRIu32): Likewise.
74823 [C99-based-standards] (PRIx32): Likewise.
74824 [C99-based-standards] (PRIX32): Likewise.
74825 [C99-based-standards] (SCNd32): Likewise.
74826 [C99-based-standards] (SCNi32): Likewise.
74827 [C99-based-standards] (SCNo32): Likewise.
74828 [C99-based-standards] (SCNu32): Likewise.
74829 [C99-based-standards] (SCNx32): Likewise.
74830 [C99-based-standards] (PRIdLEAST32): Likewise.
74831 [C99-based-standards] (PRIiLEAST32): Likewise.
74832 [C99-based-standards] (PRIoLEAST32): Likewise.
74833 [C99-based-standards] (PRIuLEAST32): Likewise.
74834 [C99-based-standards] (PRIxLEAST32): Likewise.
74835 [C99-based-standards] (PRIXLEAST32): Likewise.
74836 [C99-based-standards] (SCNdLEAST32): Likewise.
74837 [C99-based-standards] (SCNiLEAST32): Likewise.
74838 [C99-based-standards] (SCNoLEAST32): Likewise.
74839 [C99-based-standards] (SCNuLEAST32): Likewise.
74840 [C99-based-standards] (SCNxLEAST32): Likewise.
74841 [C99-based-standards] (PRIdFAST32): Likewise.
74842 [C99-based-standards] (PRIiFAST32): Likewise.
74843 [C99-based-standards] (PRIoFAST32): Likewise.
74844 [C99-based-standards] (PRIuFAST32): Likewise.
74845 [C99-based-standards] (PRIxFAST32): Likewise.
74846 [C99-based-standards] (PRIXFAST32): Likewise.
74847 [C99-based-standards] (SCNdFAST32): Likewise.
74848 [C99-based-standards] (SCNiFAST32): Likewise.
74849 [C99-based-standards] (SCNoFAST32): Likewise.
74850 [C99-based-standards] (SCNuFAST32): Likewise.
74851 [C99-based-standards] (SCNxFAST32): Likewise.
74852 [C99-based-standards] (PRId64): Likewise.
74853 [C99-based-standards] (PRIi64): Likewise.
74854 [C99-based-standards] (PRIo64): Likewise.
74855 [C99-based-standards] (PRIu64): Likewise.
74856 [C99-based-standards] (PRIx64): Likewise.
74857 [C99-based-standards] (PRIX64): Likewise.
74858 [C99-based-standards] (SCNd64): Likewise.
74859 [C99-based-standards] (SCNi64): Likewise.
74860 [C99-based-standards] (SCNo64): Likewise.
74861 [C99-based-standards] (SCNu64): Likewise.
74862 [C99-based-standards] (SCNx64): Likewise.
74863 [C99-based-standards] (PRIdLEAST64): Likewise.
74864 [C99-based-standards] (PRIiLEAST64): Likewise.
74865 [C99-based-standards] (PRIoLEAST64): Likewise.
74866 [C99-based-standards] (PRIuLEAST64): Likewise.
74867 [C99-based-standards] (PRIxLEAST64): Likewise.
74868 [C99-based-standards] (PRIXLEAST64): Likewise.
74869 [C99-based-standards] (SCNdLEAST64): Likewise.
74870 [C99-based-standards] (SCNiLEAST64): Likewise.
74871 [C99-based-standards] (SCNoLEAST64): Likewise.
74872 [C99-based-standards] (SCNuLEAST64): Likewise.
74873 [C99-based-standards] (SCNxLEAST64): Likewise.
74874 [C99-based-standards] (PRIdFAST64): Likewise.
74875 [C99-based-standards] (PRIiFAST64): Likewise.
74876 [C99-based-standards] (PRIoFAST64): Likewise.
74877 [C99-based-standards] (PRIuFAST64): Likewise.
74878 [C99-based-standards] (PRIxFAST64): Likewise.
74879 [C99-based-standards] (PRIXFAST64): Likewise.
74880 [C99-based-standards] (SCNdFAST64): Likewise.
74881 [C99-based-standards] (SCNiFAST64): Likewise.
74882 [C99-based-standards] (SCNoFAST64): Likewise.
74883 [C99-based-standards] (SCNuFAST64): Likewise.
74884 [C99-based-standards] (SCNxFAST64): Likewise.
74885 [C99-based-standards] (PRIdMAX): Likewise.
74886 [C99-based-standards] (PRIiMAX): Likewise.
74887 [C99-based-standards] (PRIoMAX): Likewise.
74888 [C99-based-standards] (PRIuMAX): Likewise.
74889 [C99-based-standards] (PRIxMAX): Likewise.
74890 [C99-based-standards] (PRIXMAX): Likewise.
74891 [C99-based-standards] (SCNdMAX): Likewise.
74892 [C99-based-standards] (SCNiMAX): Likewise.
74893 [C99-based-standards] (SCNoMAX): Likewise.
74894 [C99-based-standards] (SCNuMAX): Likewise.
74895 [C99-based-standards] (SCNxMAX): Likewise.
74896 [C99-based-standards] (PRIdPTR): Likewise.
74897 [C99-based-standards] (PRIiPTR): Likewise.
74898 [C99-based-standards] (PRIoPTR): Likewise.
74899 [C99-based-standards] (PRIuPTR): Likewise.
74900 [C99-based-standards] (PRIxPTR): Likewise.
74901 [C99-based-standards] (PRIXPTR): Likewise.
74902 [C99-based-standards] (SCNdPTR): Likewise.
74903 [C99-based-standards] (SCNiPTR): Likewise.
74904 [C99-based-standards] (SCNoPTR): Likewise.
74905 [C99-based-standards] (SCNuPTR): Likewise.
74906 [C99-based-standards] (SCNxPTR): Likewise.
74907 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74908 allow.
74909 * conform/data/stdint.h-data: Update comments to clarify
74910 requirements.
74911 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74912 type.
74913 [C99-based standards] (INT8_MAX): Likewise.
74914 [C99-based standards] (INT16_MIN): Likewise.
74915 [C99-based standards] (INT16_MAX): Likewise.
74916 [C99-based standards] (INT32_MIN): Likewise.
74917 [C99-based standards] (INT32_MAX): Likewise.
74918 [C99-based standards] (INT64_MIN): Likewise.
74919 [C99-based standards] (INT64_MAX): Likewise.
74920 [C99-based standards] (UINT8_MAX): Likewise.
74921 [C99-based standards] (UINT16_MAX): Likewise.
74922 [C99-based standards] (UINT32_MAX): Likewise.
74923 [C99-based standards] (UINT64_MAX): Likewise.
74924 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74925 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74926 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74927 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74928 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74929 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74930 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74931 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74932 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74933 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74934 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74935 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74936 [C99-based standards] (INT_FAST8_MIN): Likewise.
74937 [C99-based standards] (INT_FAST8_MAX): Likewise.
74938 [C99-based standards] (INT_FAST16_MIN): Likewise.
74939 [C99-based standards] (INT_FAST16_MAX): Likewise.
74940 [C99-based standards] (INT_FAST32_MIN): Likewise.
74941 [C99-based standards] (INT_FAST32_MAX): Likewise.
74942 [C99-based standards] (INT_FAST64_MIN): Likewise.
74943 [C99-based standards] (INT_FAST64_MAX): Likewise.
74944 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74945 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74946 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74947 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74948 [C99-based standards] (INTPTR_MIN): Likewise.
74949 [C99-based standards] (INTPTR_MAX): Likewise.
74950 [C99-based standards] (UINTPTR_MAX): Likewise.
74951 [C99-based standards] (INTMAX_MIN): Likewise.
74952 [C99-based standards] (INTMAX_MAX): Likewise.
74953 [C99-based standards] (UINTMAX_MAX): Likewise.
74954 [C99-based standards] (PTRDIFF_MIN): Likewise.
74955 [C99-based standards] (PTRDIFF_MAX): Likewise.
74956 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74957 [C99-based standards] (SIZE_MAX): Likewise.
74958 [C99-based standards] (WCHAR_MAX): Likewise.
74959 [C99-based standards] (WINT_MAX): Likewise.
74960 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74961 constraint on value.
74962 [C99-based standards] (WCHAR_MIN): Likewise.
74963 [C99-based standards] (WINT_MIN): Likewise.
74964 [C99-based standards] (*_t): Allow.
74965 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74966 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74967 Include math.h-data and complex.h-data. Remove all expectations
74968 of math.h and complex.h contents.
74969 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74970 at end of line.
74971 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74972 (struct tm): Expect tag.
74973 [C99-based-standards] (wcstof): Expect function.
74974 [C99-based-standards] (wcstold): Likewise.
74975 [C99-based-standards] (wcstoll): Likewise.
74976 [C99-based-standards] (wcstoull): Likewise.
74977 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74978 macro-int-constant. Specify type.
74979 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74980 constraint on value.
74981 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74982 Specify type.
74983 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74984 Specify value.
74985 [ISO C standards]: Do not allow headers.
74986 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74987 wcs[abcdefghijklmnopqrstuvwxyz]*.
74988 [ISO C standards] (*_t): Do not allow.
74989 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74990 Expect function.
74991 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74992 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74993 Specify type.
74994 [ISO C standards]: Do not allow headers.
74995 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74996 is[abcdefghijklmnopqrstuvwxyz]*.
74997 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74998 to[abcdefghijklmnopqrstuvwxyz]*.
74999 [ISO C standards] (*_t): Do not allow.
75000 * conform/data/stdalign.h-data: New file.
75001 * conform/data/stdbool.h-data: Likewise.
75002 * conform/data/stdnoreturn.h-data: Likewise.
75003
750042012-11-07 Roland McGrath <roland@hack.frob.com>
75005
75006 [BZ #14815]
75007 * manual/filesys.texi (Directory Entries): Typo fix.
75008 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
75009
750102012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
75011
75012 * elf/elf.h (EM_AARCH64): New macro.
75013 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
75014 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
75015 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
75016 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
75017 (R_AARCH64_TLSDESC): Likewise.
75018 (NT_ARM_TLS): Likewise.
75019 (NT_ARM_HW_BREAK): Likewise.
75020 (NT_ARM_HW_WATCH): Likewise.
75021
750222012-11-07 Joseph Myers <joseph@codesourcery.com>
75023
75024 [BZ #14811]
75025 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
75026 (__ieee754_powl): Saturate nonzero exponents with absolute value
75027 below 0x1p-79 to +/- 0x1p-79.
75028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
75029 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
75030 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
75031 nonzero exponents with absolute value below 0x1p-32 to +/-
75032 0x1p-32.
75033 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
75034 (__ieee754_powl): Saturate nonzero exponents with absolute value
75035 below 0x1p-79 to +/- 0x1p-79.
75036 * math/libm-test.inc (pow_test): Add more tests.
75037
750382012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75039
75040 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
75041 _dl_s390_cap_flags with kernel. Increase string length.
75042 (_dl_s390_platforms): Add z196 and zEC12.
75043
750442012-11-07 Joseph Myers <joseph@codesourcery.com>
75045
75046 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
75047 Change XOPEN21K to XOPEN2K.
75048
750492012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
75050
75051 * string/memmove.c: Use memcpy when possible.
75052
750532012-11-06 Andreas Jaeger <aj@suse.de>
75054
75055 * po/eo.po: Update from translation team.
75056
750572012-11-06 Joseph Myers <joseph@codesourcery.com>
75058
75059 [BZ #14793]
75060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
75061 exponent and small x and y exponents, scale x or y up. Increase
75062 by 2 the exponent used in scaling up.
75063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75064 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75065 * math/libm-test.inc (fma_test): Add more tests.
75066 (fma_test_towardzero): Likewise.
75067 (fma_test_downward): Likewise.
75068 (fma_test_upward): Likewise.
75069
750702012-11-05 Joseph Myers <joseph@codesourcery.com>
75071
75072 [BZ #14805]
75073 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
75074 fenv_t *.
75075
75076 [BZ #14801]
75077 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
75078 namespace for names of struct fields.
75079 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
75080 fenv_t fields.
75081 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
75082 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
75083
750842012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 75085
edf66db1
SP
75086 [BZ #3665]
75087 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
75088
750892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
75090
75091 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
75092 PTR_DEMANGLE.
75093
75094 [BZ #5246]
75095 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
75096 PTR_DEMANGLE.
75097
750982012-11-04 Joseph Myers <joseph@codesourcery.com>
75099
75100 [BZ #14797]
75101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
75102 definitely overflow as x * y not x * y + z.
75103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75105 * math/libm-test.inc (fma_test): Add more tests.
75106 (fma_test_towardzero): Likewise.
75107 (fma_test_downward): Likewise.
75108 (fma_test_upward): Likewise.
75109
751102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
75111
75112 [BZ #157]
75113
75114 * include/stub-tag.h: Remove file.
75115 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
75116 '#include' of it.
75117 * manual/maint.texi (Porting): Don't reference it.
75118 * Makerules ($(objpfx)stubs): Likewise.
75119 * dirent/closedir.c: Don't include <stub-tag.h>.
75120 * dirent/dirfd.c: Likewise.
75121 * dirent/fdopendir.c: Likewise.
75122 * dirent/getdents.c: Likewise.
75123 * dirent/getdents64.c: Likewise.
75124 * dirent/opendir.c: Likewise.
75125 * dirent/readdir.c: Likewise.
75126 * dirent/readdir64.c: Likewise.
75127 * dirent/readdir64_r.c: Likewise.
75128 * dirent/readdir_r.c: Likewise.
75129 * dirent/rewinddir.c: Likewise.
75130 * dirent/seekdir.c: Likewise.
75131 * dirent/telldir.c: Likewise.
75132 * gmon/profil.c: Likewise.
75133 * grp/setgroups.c: Likewise.
75134 * inet/if_index.c: Likewise.
75135 * io/access.c: Likewise.
75136 * io/chdir.c: Likewise.
75137 * io/chmod.c: Likewise.
75138 * io/chown.c: Likewise.
75139 * io/close.c: Likewise.
75140 * io/dup.c: Likewise.
75141 * io/dup2.c: Likewise.
75142 * io/dup3.c: Likewise.
75143 * io/euidaccess.c: Likewise.
75144 * io/faccessat.c: Likewise.
75145 * io/fchdir.c: Likewise.
75146 * io/fchmod.c: Likewise.
75147 * io/fchmodat.c: Likewise.
75148 * io/fchown.c: Likewise.
75149 * io/fchownat.c: Likewise.
75150 * io/fcntl.c: Likewise.
75151 * io/flock.c: Likewise.
75152 * io/fstatfs.c: Likewise.
75153 * io/fstatfs64.c: Likewise.
75154 * io/fstatvfs.c: Likewise.
75155 * io/fstatvfs64.c: Likewise.
75156 * io/futimens.c: Likewise.
75157 * io/fxstat.c: Likewise.
75158 * io/fxstat64.c: Likewise.
75159 * io/fxstatat.c: Likewise.
75160 * io/fxstatat64.c: Likewise.
75161 * io/getcwd.c: Likewise.
75162 * io/isatty.c: Likewise.
75163 * io/lchmod.c: Likewise.
75164 * io/lchown.c: Likewise.
75165 * io/link.c: Likewise.
75166 * io/linkat.c: Likewise.
75167 * io/lseek.c: Likewise.
75168 * io/lseek64.c: Likewise.
75169 * io/lxstat64.c: Likewise.
75170 * io/mkdir.c: Likewise.
75171 * io/mkdirat.c: Likewise.
75172 * io/mkfifo.c: Likewise.
75173 * io/mkfifoat.c: Likewise.
75174 * io/open.c: Likewise.
75175 * io/open64.c: Likewise.
75176 * io/openat.c: Likewise.
75177 * io/openat64.c: Likewise.
75178 * io/pipe.c: Likewise.
75179 * io/pipe2.c: Likewise.
75180 * io/poll.c: Likewise.
75181 * io/posix_fadvise.c: Likewise.
75182 * io/posix_fadvise64.c: Likewise.
75183 * io/posix_fallocate.c: Likewise.
75184 * io/posix_fallocate64.c: Likewise.
75185 * io/read.c: Likewise.
75186 * io/readlink.c: Likewise.
75187 * io/readlinkat.c: Likewise.
75188 * io/rmdir.c: Likewise.
75189 * io/sendfile.c: Likewise.
75190 * io/sendfile64.c: Likewise.
75191 * io/statfs.c: Likewise.
75192 * io/statfs64.c: Likewise.
75193 * io/statvfs.c: Likewise.
75194 * io/statvfs64.c: Likewise.
75195 * io/symlink.c: Likewise.
75196 * io/symlinkat.c: Likewise.
75197 * io/ttyname.c: Likewise.
75198 * io/ttyname_r.c: Likewise.
75199 * io/umask.c: Likewise.
75200 * io/unlink.c: Likewise.
75201 * io/unlinkat.c: Likewise.
75202 * io/utime.c: Likewise.
75203 * io/utimensat.c: Likewise.
75204 * io/write.c: Likewise.
75205 * io/xmknod.c: Likewise.
75206 * io/xmknodat.c: Likewise.
75207 * io/xstat.c: Likewise.
75208 * io/xstat64.c: Likewise.
75209 * login/getpt.c: Likewise.
75210 * login/grantpt.c: Likewise.
75211 * login/unlockpt.c: Likewise.
75212 * math/e_acoshl.c: Likewise.
75213 * math/e_acosl.c: Likewise.
75214 * math/e_asinl.c: Likewise.
75215 * math/e_atan2l.c: Likewise.
75216 * math/e_atanhl.c: Likewise.
75217 * math/e_coshl.c: Likewise.
75218 * math/e_expl.c: Likewise.
75219 * math/e_fmodl.c: Likewise.
75220 * math/e_gammal_r.c: Likewise.
75221 * math/e_hypotl.c: Likewise.
75222 * math/e_j0l.c: Likewise.
75223 * math/e_j1l.c: Likewise.
75224 * math/e_jnl.c: Likewise.
75225 * math/e_lgammal_r.c: Likewise.
75226 * math/e_log10l.c: Likewise.
75227 * math/e_log2l.c: Likewise.
75228 * math/e_logl.c: Likewise.
75229 * math/e_powl.c: Likewise.
75230 * math/e_rem_pio2l.c: Likewise.
75231 * math/e_sinhl.c: Likewise.
75232 * math/e_sqrtl.c: Likewise.
75233 * math/fclrexcpt.c: Likewise.
75234 * math/fedisblxcpt.c: Likewise.
75235 * math/feenablxcpt.c: Likewise.
75236 * math/fegetenv.c: Likewise.
75237 * math/fegetexcept.c: Likewise.
75238 * math/fegetround.c: Likewise.
75239 * math/feholdexcpt.c: Likewise.
75240 * math/fesetenv.c: Likewise.
75241 * math/fesetround.c: Likewise.
75242 * math/feupdateenv.c: Likewise.
75243 * math/fgetexcptflg.c: Likewise.
75244 * math/fraiseexcpt.c: Likewise.
75245 * math/fsetexcptflg.c: Likewise.
75246 * math/ftestexcept.c: Likewise.
75247 * math/k_cosl.c: Likewise.
75248 * math/k_rem_pio2l.c: Likewise.
75249 * math/k_sinl.c: Likewise.
75250 * math/k_tanl.c: Likewise.
75251 * math/s_asinhl.c: Likewise.
75252 * math/s_atanl.c: Likewise.
75253 * math/s_cbrtl.c: Likewise.
75254 * math/s_erfl.c: Likewise.
75255 * math/s_expm1l.c: Likewise.
75256 * math/s_log1pl.c: Likewise.
75257 * math/s_tanhl.c: Likewise.
75258 * misc/acct.c: Likewise.
75259 * misc/brk.c: Likewise.
75260 * misc/chflags.c: Likewise.
75261 * misc/chroot.c: Likewise.
75262 * misc/fchflags.c: Likewise.
75263 * misc/fgetxattr.c: Likewise.
75264 * misc/flistxattr.c: Likewise.
75265 * misc/fremovexattr.c: Likewise.
75266 * misc/fsetxattr.c: Likewise.
75267 * misc/fsync.c: Likewise.
75268 * misc/ftruncate.c: Likewise.
75269 * misc/futimes.c: Likewise.
75270 * misc/futimesat.c: Likewise.
75271 * misc/getdomain.c: Likewise.
75272 * misc/getdtsz.c: Likewise.
75273 * misc/gethostid.c: Likewise.
75274 * misc/gethostname.c: Likewise.
75275 * misc/getloadavg.c: Likewise.
75276 * misc/getpagesize.c: Likewise.
75277 * misc/getsysstats.c: Likewise.
75278 * misc/getxattr.c: Likewise.
75279 * misc/gtty.c: Likewise.
75280 * misc/ioctl.c: Likewise.
75281 * misc/lgetxattr.c: Likewise.
75282 * misc/listxattr.c: Likewise.
75283 * misc/llistxattr.c: Likewise.
75284 * misc/lremovexattr.c: Likewise.
75285 * misc/lsetxattr.c: Likewise.
75286 * misc/lutimes.c: Likewise.
75287 * misc/madvise.c: Likewise.
75288 * misc/mincore.c: Likewise.
75289 * misc/mlock.c: Likewise.
75290 * misc/mlockall.c: Likewise.
75291 * misc/mmap.c: Likewise.
75292 * misc/mprotect.c: Likewise.
75293 * misc/msync.c: Likewise.
75294 * misc/munlock.c: Likewise.
75295 * misc/munlockall.c: Likewise.
75296 * misc/munmap.c: Likewise.
92c3af3c
SP
75297 * misc/preadv.c: Likewise.
75298 * misc/preadv64.c: Likewise.
edf66db1 75299 * misc/ptrace.c: Likewise.
92c3af3c
SP
75300 * misc/pwritev.c: Likewise.
75301 * misc/pwritev64.c: Likewise.
edf66db1
SP
75302 * misc/readv.c: Likewise.
75303 * misc/reboot.c: Likewise.
75304 * misc/remap_file_pages.c: Likewise.
75305 * misc/removexattr.c: Likewise.
75306 * misc/revoke.c: Likewise.
75307 * misc/select.c: Likewise.
75308 * misc/setdomain.c: Likewise.
75309 * misc/setegid.c: Likewise.
75310 * misc/seteuid.c: Likewise.
75311 * misc/sethostid.c: Likewise.
75312 * misc/sethostname.c: Likewise.
75313 * misc/setregid.c: Likewise.
75314 * misc/setreuid.c: Likewise.
75315 * misc/setxattr.c: Likewise.
75316 * misc/sstk.c: Likewise.
75317 * misc/stty.c: Likewise.
75318 * misc/swapoff.c: Likewise.
75319 * misc/swapon.c: Likewise.
75320 * misc/sync.c: Likewise.
75321 * misc/syncfs.c: Likewise.
75322 * misc/syscall.c: Likewise.
75323 * misc/truncate.c: Likewise.
75324 * misc/ualarm.c: Likewise.
75325 * misc/usleep.c: Likewise.
75326 * misc/ustat.c: Likewise.
75327 * misc/utimes.c: Likewise.
75328 * misc/vhangup.c: Likewise.
75329 * misc/writev.c: Likewise.
75330 * posix/_exit.c: Likewise.
75331 * posix/alarm.c: Likewise.
75332 * posix/execve.c: Likewise.
75333 * posix/fexecve.c: Likewise.
75334 * posix/fork.c: Likewise.
75335 * posix/fpathconf.c: Likewise.
75336 * posix/getaddrinfo.c: Likewise.
75337 * posix/getegid.c: Likewise.
75338 * posix/geteuid.c: Likewise.
75339 * posix/getgid.c: Likewise.
75340 * posix/getgroups.c: Likewise.
75341 * posix/getlogin.c: Likewise.
75342 * posix/getlogin_r.c: Likewise.
75343 * posix/getpgid.c: Likewise.
75344 * posix/getpid.c: Likewise.
75345 * posix/getppid.c: Likewise.
75346 * posix/getresgid.c: Likewise.
75347 * posix/getresuid.c: Likewise.
75348 * posix/getsid.c: Likewise.
75349 * posix/getuid.c: Likewise.
75350 * posix/glob64.c: Likewise.
75351 * posix/nanosleep.c: Likewise.
75352 * posix/pathconf.c: Likewise.
75353 * posix/pause.c: Likewise.
75354 * posix/posix_madvise.c: Likewise.
75355 * posix/pread.c: Likewise.
75356 * posix/pread64.c: Likewise.
75357 * posix/pwrite.c: Likewise.
75358 * posix/pwrite64.c: Likewise.
75359 * posix/sched_getaffinity.c: Likewise.
75360 * posix/sched_getp.c: Likewise.
75361 * posix/sched_gets.c: Likewise.
75362 * posix/sched_primax.c: Likewise.
75363 * posix/sched_primin.c: Likewise.
75364 * posix/sched_rr_gi.c: Likewise.
75365 * posix/sched_setaffinity.c: Likewise.
75366 * posix/sched_setp.c: Likewise.
75367 * posix/sched_sets.c: Likewise.
75368 * posix/sched_yield.c: Likewise.
75369 * posix/setgid.c: Likewise.
75370 * posix/setlogin.c: Likewise.
75371 * posix/setpgid.c: Likewise.
75372 * posix/setresgid.c: Likewise.
75373 * posix/setresuid.c: Likewise.
75374 * posix/setsid.c: Likewise.
75375 * posix/setuid.c: Likewise.
75376 * posix/sleep.c: Likewise.
75377 * posix/spawni.c: Likewise.
75378 * posix/sysconf.c: Likewise.
75379 * posix/times.c: Likewise.
75380 * posix/wait.c: Likewise.
75381 * posix/wait3.c: Likewise.
75382 * posix/wait4.c: Likewise.
75383 * posix/waitpid.c: Likewise.
75384 * resolv/gai_sigqueue.c: Likewise.
75385 * resource/getpriority.c: Likewise.
75386 * resource/getrlimit.c: Likewise.
75387 * resource/getrusage.c: Likewise.
75388 * resource/nice.c: Likewise.
75389 * resource/setpriority.c: Likewise.
75390 * resource/setrlimit.c: Likewise.
75391 * resource/ulimit.c: Likewise.
75392 * rt/aio_cancel.c: Likewise.
75393 * rt/aio_fsync.c: Likewise.
75394 * rt/aio_read.c: Likewise.
75395 * rt/aio_sigqueue.c: Likewise.
75396 * rt/aio_suspend.c: Likewise.
75397 * rt/aio_write.c: Likewise.
75398 * rt/clock_getres.c: Likewise.
75399 * rt/clock_gettime.c: Likewise.
75400 * rt/clock_nanosleep.c: Likewise.
75401 * rt/clock_settime.c: Likewise.
75402 * rt/lio_listio.c: Likewise.
75403 * rt/mq_close.c: Likewise.
75404 * rt/mq_getattr.c: Likewise.
75405 * rt/mq_notify.c: Likewise.
75406 * rt/mq_open.c: Likewise.
75407 * rt/mq_receive.c: Likewise.
75408 * rt/mq_send.c: Likewise.
75409 * rt/mq_setattr.c: Likewise.
75410 * rt/mq_timedreceive.c: Likewise.
75411 * rt/mq_timedsend.c: Likewise.
75412 * rt/mq_unlink.c: Likewise.
75413 * rt/shm_open.c: Likewise.
75414 * rt/shm_unlink.c: Likewise.
75415 * rt/timer_create.c: Likewise.
75416 * rt/timer_delete.c: Likewise.
75417 * rt/timer_getoverr.c: Likewise.
75418 * rt/timer_gettime.c: Likewise.
75419 * rt/timer_settime.c: Likewise.
75420 * setjmp/__longjmp.c: Likewise.
75421 * setjmp/setjmp.c: Likewise.
75422 * signal/kill.c: Likewise.
75423 * signal/killpg.c: Likewise.
75424 * signal/raise.c: Likewise.
75425 * signal/sigaction.c: Likewise.
75426 * signal/sigaltstack.c: Likewise.
75427 * signal/sigblock.c: Likewise.
75428 * signal/sigignore.c: Likewise.
75429 * signal/sigintr.c: Likewise.
75430 * signal/signal.c: Likewise.
75431 * signal/sigpause.c: Likewise.
75432 * signal/sigpending.c: Likewise.
75433 * signal/sigqueue.c: Likewise.
75434 * signal/sigreturn.c: Likewise.
75435 * signal/sigset.c: Likewise.
75436 * signal/sigsetmask.c: Likewise.
75437 * signal/sigstack.c: Likewise.
75438 * signal/sigsuspend.c: Likewise.
75439 * signal/sigtimedwait.c: Likewise.
75440 * signal/sigvec.c: Likewise.
75441 * signal/sigwait.c: Likewise.
75442 * signal/sigwaitinfo.c: Likewise.
75443 * signal/sysv_signal.c: Likewise.
75444 * socket/accept.c: Likewise.
75445 * socket/accept4.c: Likewise.
75446 * socket/bind.c: Likewise.
75447 * socket/connect.c: Likewise.
75448 * socket/getpeername.c: Likewise.
75449 * socket/getsockname.c: Likewise.
75450 * socket/getsockopt.c: Likewise.
75451 * socket/isfdtype.c: Likewise.
75452 * socket/listen.c: Likewise.
75453 * socket/recv.c: Likewise.
75454 * socket/recvfrom.c: Likewise.
75455 * socket/recvmsg.c: Likewise.
75456 * socket/send.c: Likewise.
75457 * socket/sendmsg.c: Likewise.
75458 * socket/sendto.c: Likewise.
75459 * socket/setsockopt.c: Likewise.
75460 * socket/shutdown.c: Likewise.
75461 * socket/sockatmark.c: Likewise.
75462 * socket/socket.c: Likewise.
75463 * socket/socketpair.c: Likewise.
75464 * stdio-common/ctermid.c: Likewise.
75465 * stdio-common/cuserid.c: Likewise.
75466 * stdio-common/remove.c: Likewise.
75467 * stdio-common/rename.c: Likewise.
75468 * stdio-common/renameat.c: Likewise.
75469 * stdio-common/tempname.c: Likewise.
75470 * stdlib/getcontext.c: Likewise.
75471 * stdlib/makecontext.c: Likewise.
75472 * stdlib/setcontext.c: Likewise.
75473 * stdlib/swapcontext.c: Likewise.
75474 * stdlib/system.c: Likewise.
75475 * streams/fattach.c: Likewise.
75476 * streams/fdetach.c: Likewise.
75477 * streams/getmsg.c: Likewise.
75478 * streams/getpmsg.c: Likewise.
75479 * streams/putmsg.c: Likewise.
75480 * streams/putpmsg.c: Likewise.
75481 * sysdeps/unix/bsd/getpt.c: Likewise.
75482 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75483 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75484 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75486 Likewise.
75487 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75488 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75489 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75490 * sysvipc/msgctl.c: Likewise.
75491 * sysvipc/msgget.c: Likewise.
75492 * sysvipc/msgrcv.c: Likewise.
75493 * sysvipc/msgsnd.c: Likewise.
75494 * sysvipc/semctl.c: Likewise.
75495 * sysvipc/semget.c: Likewise.
75496 * sysvipc/semop.c: Likewise.
75497 * sysvipc/semtimedop.c: Likewise.
75498 * sysvipc/shmat.c: Likewise.
75499 * sysvipc/shmctl.c: Likewise.
75500 * sysvipc/shmdt.c: Likewise.
75501 * sysvipc/shmget.c: Likewise.
75502 * termios/tcdrain.c: Likewise.
75503 * termios/tcflow.c: Likewise.
75504 * termios/tcflush.c: Likewise.
75505 * termios/tcgetattr.c: Likewise.
75506 * termios/tcgetpgrp.c: Likewise.
75507 * termios/tcsendbrk.c: Likewise.
75508 * termios/tcsetattr.c: Likewise.
75509 * termios/tcsetpgrp.c: Likewise.
75510 * time/adjtime.c: Likewise.
75511 * time/clock.c: Likewise.
75512 * time/getitimer.c: Likewise.
75513 * time/gettimeofday.c: Likewise.
75514 * time/setitimer.c: Likewise.
75515 * time/settimeofday.c: Likewise.
75516 * time/stime.c: Likewise.
75517 * time/time.c: Likewise.
75518
755192012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75520
75521 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75522 /usr/old/bin.
75523
75524 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75525 instead of spaces.
75526 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75527
755282012-11-03 Joseph Myers <joseph@codesourcery.com>
75529
75530 [BZ #14796]
75531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75532 FE_TONEAREST before applying Dekker multiplication and Knuth
75533 addition. Clear inexact exceptions and check for exact zero
75534 results afterwards.
75535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75536 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75538 * math/libm-test.inc (fma_test): Add more tests.
75539 (fma_test_towardzero): Likewise.
75540 (fma_test_downward): Likewise.
75541 (fma_test_upward): Likewise.
75542 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75543 function.
75544 (libc_fesetround): New macro.
75545 (libc_fesetroundf): Likewise.
75546 (libc_fesetroundl): Likewise.
75547 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75548 function.
75549 (libc_fesetround_387): Likewise.
75550 (libc_fesetroundf): New macro.
75551 (libc_fesetround): Likewise.
75552 (libc_fesetroundl): Likewise.
75553 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75554 function.
75555 (libc_fesetroundf): New macro.
75556 (libc_fesetround): Likewise.
75557 (libc_fesetroundl): Likewise.
75558 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75559 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75560 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75561 libm_hidden_ver.
75562 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75563 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75564 libm_hidden_def.
75565 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75566 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75567 libm_hidden_ver.
75568 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75569 libm_hidden_def.
75570
75571 [BZ #3439]
75572 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75573 integer constant usable in #if and use that to give value to enum
75574 constant.
75575 (FE_DIVBYZERO): Likewise.
75576 (FE_UNDERFLOW): Likewise.
75577 (FE_OVERFLOW): Likewise.
75578 (FE_INVALID): Likewise.
75579 (FE_INVALID_SNAN): Likewise.
75580 (FE_INVALID_ISI): Likewise.
75581 (FE_INVALID_IDI): Likewise.
75582 (FE_INVALID_ZDZ): Likewise.
75583 (FE_INVALID_IMZ): Likewise.
75584 (FE_INVALID_COMPARE): Likewise.
75585 (FE_INVALID_SOFTWARE): Likewise.
75586 (FE_INVALID_SQRT): Likewise.
75587 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75588 (FE_TONEAREST): Likewise.
75589 (FE_TOWARDZERO): Likewise.
75590 (FE_UPWARD): Likewise.
75591 (FE_DOWNWARD): Likewise.
75592 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75593 (FE_DIVBYZERO): Likewise.
75594 (FE_OVERFLOW): Likewise.
75595 (FE_UNDERFLOW): Likewise.
75596 (FE_INEXACT): Likewise.
75597 (FE_TONEAREST): Likewise.
75598 (FE_DOWNWARD): Likewise.
75599 (FE_UPWARD): Likewise.
75600 (FE_TOWARDZERO): Likewise.
75601 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75602 (FE_UNDERFLOW): Likewise.
75603 (FE_OVERFLOW): Likewise.
75604 (FE_DIVBYZERO): Likewise.
75605 (FE_INVALID): Likewise.
75606 (FE_TONEAREST): Likewise.
75607 (FE_TOWARDZERO): Likewise.
75608 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75609 (FE_OVERFLOW): Likewise.
75610 (FE_UNDERFLOW): Likewise.
75611 (FE_DIVBYZERO): Likewise.
75612 (FE_INEXACT): Likewise.
75613 (FE_TONEAREST): Likewise.
75614 (FE_TOWARDZERO): Likewise.
75615 (FE_UPWARD): Likewise.
75616 (FE_DOWNWARD): Likewise.
75617 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75618 (FE_DIVBYZERO): Likewise.
75619 (FE_OVERFLOW): Likewise.
75620 (FE_UNDERFLOW): Likewise.
75621 (FE_INEXACT): Likewise.
75622 (FE_TONEAREST): Likewise.
75623 (FE_DOWNWARD): Likewise.
75624 (FE_UPWARD): Likewise.
75625 (FE_TOWARDZERO): Likewise.
75626
756272012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75628
75629 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75630
756312012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75632
75633 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75634 commands. Quote $PWD.
75635 (blacklist_exports): Don't use remove_newlines. Replace "declare
75636 -x" by "export".
75637 (remove_newlines): Remove.
75638
756392012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75640
75641 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75642 * stdlib/stdlib.h (atof): Moved to ...
75643 * include/bits/stdlib-float.h: Here. New file.
75644 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75645 * stdlib/bits/stdlib-float.h: New file.
75646 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75647 -mno-sse -mno-mmx.
75648 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75649 <xmmintrin.h>.
75650
756512012-11-02 Joseph Myers <joseph@codesourcery.com>
75652
75653 * conform/conformtest.pl (@headers): Add fenv.h.
75654 * conform/data/fenv.h-data: New file.
75655 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75656 include of <math/fenv.h>.
75657
75658 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75659 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75660 && !UNIX98]. Enables tests for XOPEN2K8.
75661 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75662 POSIX2008]: Likewise.
75663
75664 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75665 (struct rusage): Do not expect type or its members.
75666
75667 [BZ #3439]
75668 * math/math.h (FP_NAN): Define macro to integer constant usable in
75669 #if and use that to give value to enum constant.
75670 (FP_INFINITE): Likewise.
75671 (FP_ZERO): Likewise.
75672 (FP_SUBNORMAL): Likewise.
75673 (FP_NORMAL): Likewise.
75674
756752012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75676
75677 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75678 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75679 arguments.
92c3af3c 75680
edf66db1 756812012-11-02 Roland McGrath <roland@hack.frob.com>
92c3af3c 75682
edf66db1
SP
75683 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75684 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75685 autoconf-time if not.
75686 * configure.in: Remove AC_PREREQ.
92c3af3c 75687
edf66db1 756882012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 75689
edf66db1
SP
75690 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75691 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75692 of the internal implementation.
92c3af3c 75693
edf66db1 756942012-11-02 Joseph Myers <joseph@codesourcery.com>
92c3af3c 75695
edf66db1
SP
75696 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75697 except include of <misc/sys/syslog.h>.
92c3af3c 75698
edf66db1 756992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 75700
edf66db1
SP
75701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75702 function returns with a NULL context exit with zero.
92c3af3c 75703
edf66db1 757042012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 75705
edf66db1 75706 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
92c3af3c 75707
edf66db1 757082012-11-01 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 75709
edf66db1
SP
75710 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75711 (run_program_cmd): This.
75712 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75713 (tst_langinfo): New variable. Use it.
92c3af3c 75714
edf66db1 757152012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
92c3af3c 75716
edf66db1
SP
75717 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75718 floating point opcodes.
92c3af3c 75719
edf66db1 757202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 75721
edf66db1
SP
75722 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75723 variable.
92c3af3c 75724
edf66db1 75725 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
92c3af3c 75726
edf66db1
SP
75727 * sysdeps/mach/hurd/powerpc: Remove directory.
75728 * sysdeps/mach/powerpc: Likewise.
92c3af3c 75729
edf66db1 757302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 75731
edf66db1 75732 * scripts/check-local-headers.sh: Ignore c++ headers.
92c3af3c 75733
edf66db1 757342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 75735
edf66db1
SP
75736 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75737 __libc_cleanup_region_start argument.
92c3af3c 75738
edf66db1 757392012-11-01 Joseph Myers <joseph@codesourcery.com>
92c3af3c 75740
edf66db1
SP
75741 [BZ #14784]
75742 [BZ #14785]
75743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75744 x * y using scaling, not as x * y + z.
75745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75747 * math/libm-test.inc (fma_test): Add more tests.
75748 (fma_test_towardzero): Likewise.
75749 (fma_test_downward): Likewise.
75750 (fma_test_upward): Likewise.
92c3af3c 75751
edf66db1 757522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 75753
edf66db1 75754 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
92c3af3c 75755
edf66db1 757562012-10-31 Joseph Myers <joseph@codesourcery.com>
92c3af3c 75757
edf66db1
SP
75758 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75759 New variable.
92c3af3c 75760
edf66db1 757612012-10-31 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 75762
edf66db1 75763 * rt/tst-shm.c (worker): Correct checking for mmap failure.
92c3af3c 75764
edf66db1 757652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 75766
edf66db1
SP
75767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75768 Fix sort order.
75769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75770 Likewise.
92c3af3c 75771
edf66db1 757722012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 75773
edf66db1
SP
75774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75775 Fix the order of the list for glibc 2.17.
75776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75777 Likewise.
92c3af3c 75778
edf66db1
SP
757792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75780
75781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75782
757832012-10-31 Joseph Myers <joseph@codesourcery.com>
75784
75785 [BZ #14610]
75786 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75787 for low part of x being zero before using __atanl (y).
75788 * math/libm-test.inc (atan2_test): Add another test.
75789
75790 * manual/install.texi (Configuring and compiling): Document
75791 general use of test-wrapper and test-wrapper-env.
75792 * INSTALL: Regenerated.
75793
75794 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75795 (__fma): Do not extract and scale down low bits on after-rounding
75796 systems when result rounded to normal precision would have normal
75797 exponent.
75798 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75799 (__fmal): Do not extract and scale down low bits on after-rounding
75800 systems when result rounded to normal precision would have normal
75801 exponent.
75802 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75803 (__fmal): Do not extract and scale down low bits on after-rounding
75804 systems when result rounded to normal precision would have normal
75805 exponent.
75806 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75807 macro.
75808 (fma_test): Add more tests.
75809 (fma_test_towardzero): Likewise.
75810 (fma_test_downward): Likewise.
75811 (fma_test_upward): Likewise.
75812
758132012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75814
75815 * sysdeps/i386/tininess.h: Renamed to ...
75816 * sysdeps/x86/tininess.h: This.
75817 * sysdeps/x86_64/tininess.h: Removed.
75818
758192012-10-30 Joseph Myers <joseph@codesourcery.com>
75820
75821 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75822 input. Use $(build-program-cmd).
75823 ($(objpfx)tst-array1-static.out): Likewise.
75824 ($(objpfx)tst-array2.out): Likewise.
75825 ($(objpfx)tst-array3.out): Likewise.
75826 ($(objpfx)tst-array4.out): Likewise.
75827 ($(objpfx)tst-array5.out): Likewise.
75828 ($(objpfx)tst-array5-static.out): Likewise.
75829
758302012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75831
75832 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75833 if defined.
75834
75835 * nss/nsswitch.h (nss_interface_function): Provide new
75836 macro for use with NSS functions.
75837 * grp/initgroups.c: Use new macro.
75838 * nss/getXXbyYY.c: Likewise.
75839 * nss/getXXbyYY_r.c: Likewise.
75840 * nss/getXXent.c: Likewise.
75841 * nss/getXXent_r.c: Likewise.
75842 * sysdeps/posix/getaddrinfo.c: Likewise.
75843
758442012-10-30 Andreas Jaeger <aj@suse.de>
75845
75846 * po/ru.po: Update Russion translation from translation project.
75847
758482012-10-30 Joseph Myers <joseph@codesourcery.com>
75849
75850 [BZ #14152]
75851 [BZ #14783]
75852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75853 result and shift together with sticky bit instead of replicating
75854 round-to-nearest rounding.
75855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75857 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75858 missing underflow exceptions.
75859 (fma_test_towardzero): Add more tests.
75860 (fma_test_downward): Likewise.
75861 (fma_test_upward): Likewise.
75862
75863 [BZ #14047]
75864 * sysdeps/generic/tininess.h: New file.
75865 * sysdeps/i386/tininess.h: Likewise.
75866 * sysdeps/sh/tininess.h: Likewise.
75867 * sysdeps/x86_64/tininess.h: Likewise.
75868 * stdlib/tst-strtod-underflow.c: Likewise.
75869 * stdlib/tst-tininess.c: Likewise.
75870 * stdlib/strtod_l.c: Include <tininess.h>.
75871 (round_and_return): Do not set errno for exact underflow cases.
75872 Force an underflow exception when setting errno for underflow.
75873 Determine underflow based on rounding to normal precision if
75874 TININESS_AFTER_ROUNDING.
75875 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75876 ERANGE for exact underflow cases.
75877 * stdlib/Makefile (tests): Add tst-tininess and
75878 tst-strtod-underflow.
75879 ($(objpfx)tst-tininess): Use $(link-libm).
75880 ($(objpfx)tst-strtod-underflow): Likewise.
75881
758822012-10-30 Andreas Jaeger <aj@suse.de>
75883
75884 [BZ #14767]
75885 * elf/Makefile (tests): Remove conditional for have-initfini-array
75886 since this is now always required and the variable does not exist
75887 anymore.
75888 (tests-static): Likewise.
75889 (modules-names): Likewise.
75890
75891 * po/eo.po: Add Esperanto translation from translation project.
75892
75893 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75894 merged with constructor/destructor.
75895 (init_array): Likewise.
75896 * elf/tst-array2dep.c (fini_array): Likewise.
75897 (init_array): Likewise.
75898
758992012-10-29 Mike Frysinger <vapier@gentoo.org>
75900
75901 * manual/message.texi: Delete @cartouche tags.
75902
759032012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75904
75905 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75906 EOPNOTSUPP.
75907 * sysdeps/mach/hurd/fsync.c: Likewise.
75908
75909 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75910 [_POSIX_REALTIME_SIGNALS]: Change condition to
75911 [_POSIX_REALTIME_SIGNALS > 0].
75912
759132012-10-27 Andreas Jaeger <aj@suse.de>
75914
75915 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75916 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75918 [__WORDSIZE != 64]: Likewise.
75919
759202012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75921
75922 * iconvdata/tst-table.sh: Remove ${SHELL}.
75923 * iconvdata/tst-tables.sh: Likewise.
75924
759252012-10-25 David S. Miller <davem@davemloft.net>
75926
75927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75928 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75929 of strtoull.
75930
75931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75932 ifunc-impl-list.c
75933 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75934 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75935 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75936 file.
92c3af3c 75937
edf66db1
SP
759382012-10-25 Roland McGrath <roland@hack.frob.com>
75939
75940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75941 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75942 __getdirentries.
75943
759442012-10-25 Joseph Myers <joseph@codesourcery.com>
75945 Jim Blandy <jimb@codesourcery.com>
75946
75947 * scripts/cross-test-ssh.sh: New file.
75948 * manual/install.texi (Configuring and compiling): Document use of
75949 cross-test-ssh.sh.
75950 * INSTALL: Regenerated.
75951
759522012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75953
75954 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75955 EOPNOTSUPP.
75956
759572012-10-25 Joseph Myers <joseph@codesourcery.com>
75958
75959 * Makeconfig (run-program-prefix): Fix comment.
75960
759612012-10-24 Joseph Myers <joseph@codesourcery.com>
75962 Jim Blandy <jimb@codesourcery.com>
75963
75964 * Makeconfig (test-wrapper): New variable,
75965 (test-wrapper-env): Likewise.
75966 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75967 (run-built-tests): Define to yes.
75968 (run-program-prefix): Use $(test-wrapper).
75969 (built-program-cmd): Likewise.
75970 * Rules (make-test-out): Use $(test-wrapper-env) and
75971 $(host-built-program-cmd).
75972 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75973 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75974 tst-pathopt.sh.
75975 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75976 $(test-wrapper-env) to tst-rtld-load-self.sh.
75977 ($(objpfx)order2.out): Use $(test-wrapper).
75978 ($(objpfx)tst-initorder.out): Likewise.
75979 ($(objpfx)tst-initorder2.out): Likewise.
75980 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75981 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75982 (test_wrapper_env): New variable. Use it to run ld.so.
75983 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75984 Use it to run ld.so.
75985 (test_wrapper_env): Likewise.
75986 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75987 $(test-wrapper) to run-iconv-test.sh.
75988 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75989 (ICONV): Use $test_wrapper.
75990 * posix/Makefile ($(objpfx)globtest.out): Pass
75991 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75992 globtest.sh, not $(run-program-prefix).
75993 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75994 (test_wrapper): Likewise.
75995 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75996 set together with run_via_rtld_prefix.
75997 (run_program_prefix): Define in terms of test_wrapper and
75998 run_via_rtld_prefix.
75999
760002012-10-24 Roland McGrath <roland@hack.frob.com>
76001
76002 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
76003 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
76004 Targets removed.
76005
76006 [BZ #14743]
76007 * include/time.h: Remove librt_hidden_proto (clock_gettime).
76008 Declare __clock_getres, __clock_gettime, __clock_settime,
76009 __clock_nanosleep, and __clock_getcpuclockid.
76010 * rt/clock_gettime.c: Define __clock_gettime as an alias.
76011 Remove librt_hidden_def (clock_gettime).
76012 * sysdeps/unix/clock_gettime.c: Likewise.
76013 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
76014 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
76015 * rt/clock_getres.c: Define __clock_getres as an alias.
76016 * sysdeps/posix/clock_getres.c: Likewise.
76017 * rt/clock_settime.c: Define __clock_settime as an alias.
76018 * sysdeps/unix/clock_settime.c: Likewise.
76019 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
76020 * sysdeps/unix/clock_nanosleep.c: Likewise.
76021 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
76022 * rt/clock-compat.c: New file.
76023 * rt/Makefile (librt-routines): Add clock-compat and move
76024 $(clock-routines) to ...
76025 (routines): ... here, new variable.
76026 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
76027 Don't add get_clockfreq here.
76028 * rt/Versions (libc: GLIBC_2.17): New version set.
76029 Add clock_* symbols here.
76030 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
76031 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
76032 (GLIBC_2.17): Add clock_* symbols.
76033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76037 Likewise.
76038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76039 Likewise.
76040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76044 * NEWS: Mention the move.
76045
76046 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
76047 Use __open, __read, __close rather than their public counterparts.
76048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76049 (__get_clockfreq_via_cpuinfo): Likewise.
76050 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
76051 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
76052
76053 * config.h.in (HAVE_IFUNC): New #undef.
76054 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
76055 was successful.
76056 * configure: Regenerated.
92c3af3c 76057
edf66db1 760582012-10-24 Mike Frysinger <vapier@gentoo.org>
92c3af3c 76059
edf66db1
SP
76060 * configure.in: Move READELF check to start of file.
76061 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
76062 libc_cv_asm_gnu_indirect_function in the process.
76063 * configure: Regenerated.
92c3af3c 76064
edf66db1 760652012-10-24 Mike Frysinger <vapier@gentoo.org>
92c3af3c 76066
edf66db1
SP
76067 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
76068 send the output to /dev/null.
76069 (libc_cv_cc_with_libunwind): Likewise.
76070 (libc_cv_as_noexecstack): Likewise.
76071 * configure: Regenerate.
92c3af3c 76072
edf66db1 760732012-10-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 76074
edf66db1 76075 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
92c3af3c 76076
edf66db1
SP
76077 * posix/globtest.sh (TMPDIR): Do not set.
76078 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
76079 (testout): Likewise.
92c3af3c 76080
edf66db1 760812012-10-24 Andreas Jaeger <aj@suse.de>
92c3af3c 76082
edf66db1
SP
76083 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
76084 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
76085 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
76086 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
76087 posix_fadvise64, posix_fallocate64.
92c3af3c 76088
edf66db1
SP
76089 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
76090 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
76091 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
76092 Likewise.
76093 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
76094 Likewise.
76095 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
76096
76097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
76098 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
76099 <bits/fcntl-linux.h>.
76100 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
76101
76102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
76103 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
76104 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
76105 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
76106 [__WORDSIZE != 64]: Likewise.
76107
761082012-10-23 Joseph Myers <joseph@codesourcery.com>
76109
76110 * Makeconfig (run-built-tests): New variable.
76111 * Rules [$(cross-compiling) = yes]: Change condition to
76112 [$(run-built-tests) = no].
76113 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
76114 to [$(run-built-tests) = yes].
76115 * elf/Makefile [$(cross-compiling) = no]: Likewise.
76116 * grp/Makefile [$(cross-compiling) = no]: Likewise.
76117 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
76118 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
76119 * intl/Makefile [$(cross-compiling) = no]: Likewise.
76120 * io/Makefile [$(cross-compiling) = no]: Likewise.
76121 * libio/Makefile [$(cross-compiling) = no]: Likewise.
76122 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
76123 * misc/Makefile [$(cross-compiling) = no]: Likewise.
76124 * posix/Makefile [$(cross-compiling) = no]: Likewise.
76125 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
76126 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
76127 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
76128 * string/Makefile [$(cross-compiling) = no]: Likewise.
76129
76130 * posix/Makefile ($(objpfx)globtest.out): Pass
76131 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
76132 $(rtld-installed-name).
76133 * posix/globtest.sh (elf_objpfx): Remove variable.
76134 (rtld_installed_name): Likewise.
76135 (library_path): Likewise.
76136 (run_program_prefix): New variable. Use for running globtest
76137 binary.
76138
761392012-10-23 Jim Blandy <jimb@codesourcery.com>
76140 Joseph Myers <joseph@codesourcery.com>
76141
76142 * Makeconfig (host-built-program-cmd): New variable.
76143 * elf/Makefile (tst-stackguard1-ARGS): Use
76144 $(host-built-program-cmd).
76145 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
76146 (tst-spawn-ARGS): Likewise.
76147 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
76148
761492012-10-23 Joseph Myers <joseph@codesourcery.com>
76150 Jim Blandy <jimb@codesourcery.com>
76151
76152 * Makeconfig (run-via-rtld-prefix): New variable.
76153 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
76154 (built-program-cmd): Likewise.
76155
761562012-10-22 Andreas Jaeger <aj@suse.de>
76157
76158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
76159 __O_RSYNC if it exists, otherwise to O_SYNC.
76160
761612012-10-22 Jim Blandy <jimb@codesourcery.com>
76162 Joseph Myers <joseph@codesourcery.com>
76163
76164 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
76165 /dev/null.
76166 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
76167 from /dev/null
76168 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
76169 /dev/null.
76170
761712012-10-22 Andreas Jaeger <aj@suse.de>
76172
76173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
76174 Define always.
76175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
76176
76177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76178 bits/fcntl-linux.h.
76179
76180 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
76181 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
76182
76183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76184 to __O_LARGEFILE.
76185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76186 to __O_LARGEFILE.
76187
761882012-10-21 Jim Blandy <jimb@codesourcery.com>
76189 Joseph Myers <joseph@codesourcery.com>
76190
76191 * config.make.in (NM): New variable.
76192
761932012-10-21 Andreas Jaeger <aj@suse.de>
76194
76195 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76196 definitions and declarations that are provided by
76197 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76198
761992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76200
76201 [BZ #14683]
76202 * elf/Makefile (tests-static): Add tst-leaks1-static.
76203 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76204 ($(objpfx)tst-leaks1-static): New rule.
76205 ($(objpfx)tst-leaks1-static-mem): Likewise.
76206 (tst-leaks1-static-ENV): New macro.
76207 * elf/dl-open.c (dl_open_worker): Check the main application
76208 only if SHARED is defined.
76209 * elf/tst-leaks1-static.c: New file.
92c3af3c 76210
edf66db1 762112012-10-20 Andreas Jaeger <aj@suse.de>
92c3af3c 76212
edf66db1
SP
76213 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76214 generic values for Linux.
76215 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76216 and declarations that are provided by <bits/fcntl-linux.h> and
76217 include <bits/fcntl-linux.h>.
76218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92c3af3c 76220
edf66db1
SP
762212012-10-20 Roland McGrath <roland@hack.frob.com>
76222
76223 * io/fcntl.h: Move include of <bits/types.h> to the top and
76224 include it unconditionally.
76225
762262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76227
76228 * wcsmbs/Makefile (tests-ifunc): New variable.
76229 (tests): Add $(tests-ifunc).
76230 * wcsmbs/test-wcschr-ifunc.c: New file.
76231 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76232 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76233 * wcsmbs/test-wcslen-ifunc.c: Likewise.
76234 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76235 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76236
76237 * string/Makefile (tests-ifunc): New variable.
76238 (tests): Add $(tests-ifunc).
76239 * string/test-memccpy.c (TEST_NAME): New macro.
76240 * string/test-memchr.c (TEST_NAME): Likewise.
76241 * string/test-memcmp.c (TEST_NAME): Likewise.
76242 * string/test-memcpy.c (TEST_NAME): Likewise.
76243 * string/test-memmem.c (TEST_NAME): Likewise.
76244 * string/test-memmove.c (TEST_NAME): Likewise.
76245 * string/test-memset.c (TEST_NAME): Likewise.
76246 * string/test-rawmemchr.c (TEST_NAME): Likewise.
76247 * string/test-stpcpy.c (TEST_NAME): Likewise.
76248 * string/test-stpncpy.c (TEST_NAME): Likewise.
76249 * string/test-strcasecmp.c (TEST_NAME): Likewise.
76250 * string/test-strcasestr.c (TEST_NAME): Likewise.
76251 * string/test-strcat.c (TEST_NAME): Likewise.
76252 * string/test-strchr.c (TEST_NAME): Likewise.
76253 * string/test-strcmp.c(TEST_NAME): Likewise.
76254 * string/test-strcpy.c (TEST_NAME): Likewise.
76255 * string/test-strcspn.c (TEST_NAME): Likewise.
76256 * string/test-strlen.c (TEST_NAME): Likewise.
76257 * string/test-strncasecmp.c (TEST_NAME): Likewise.
76258 * string/test-strncmp.c (TEST_NAME): Likewise.
76259 * string/test-strncpy.c (TEST_NAME): Likewise.
76260 * string/test-strnlen.c (TEST_NAME): Likewise.
76261 * string/test-strpbrk.c (TEST_NAME): Likewise.
76262 * string/test-strrchr.c (TEST_NAME): Likewise.
76263 * string/test-strspn.c (TEST_NAME): Likewise.
76264 * string/test-strstr.c (TEST_NAME): Likewise.
76265 * string/test-bcopy-ifunc.c: New file.
76266 * string/test-bzero-ifunc.c: Likewise.
76267 * string/test-memccpy-ifunc.c: Likewise.
76268 * string/test-memchr-ifunc.c: Likewise.
76269 * string/test-memcmp-ifunc.c: Likewise.
76270 * string/test-memcpy-ifunc.c: Likewise.
76271 * string/test-memmem-ifunc.c: Likewise.
76272 * string/test-memmove-ifunc.c: Likewise.
76273 * string/test-mempcpy-ifunc.c: Likewise.
76274 * string/test-memset-ifunc.c: Likewise.
76275 * string/test-rawmemchr-ifunc.c: Likewise.
76276 * string/test-stpcpy-ifunc.c: Likewise.
76277 * string/test-stpncpy-ifunc.c: Likewise.
76278 * string/test-strcasecmp-ifunc.c: Likewise.
76279 * string/test-strcasestr-ifunc.c: Likewise.
76280 * string/test-strcat-ifunc.c: Likewise.
76281 * string/test-strchr-ifunc.c: Likewise.
76282 * string/test-strchrnul-ifunc.c: Likewise.
76283 * string/test-strcmp-ifunc.c: Likewise.
76284 * string/test-strcpy-ifunc.c: Likewise.
76285 * string/test-strcspn-ifunc.c: Likewise.
76286 * string/test-strlen-ifunc.c: Likewise.
76287 * string/test-strncasecmp-ifunc.c: Likewise.
76288 * string/test-strncat-ifunc.c: Likewise.
76289 * string/test-strncmp-ifunc.c: Likewise.
76290 * string/test-strncpy-ifunc.c: Likewise.
76291 * string/test-strnlen-ifunc.c: Likewise.
76292 * string/test-strpbrk-ifunc.c: Likewise.
76293 * string/test-strrchr-ifunc.c: Likewise.
76294 * string/test-strspn-ifunc.c: Likewise.
76295 * string/test-strstr-ifunc.c: Likewise.
76296
76297 * debug/Makefile (tests-ifunc): New variable.
76298 (tests): Add $(tests-ifunc).
76299 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76300 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76301 * debug/test-stpcpy_chk-ifunc.c: New file.
76302 * debug/test-strcpy_chk-ifunc.c: Likewise.
76303
763042012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
76305
76306 [BZ #13601]
76307 * elf/dl-load.c (open_verify): Retry read if the entire ELF
76308 header is not read in.
76309
763102012-10-19 Joseph Myers <joseph@codesourcery.com>
76311
76312 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
76313 script to $(SHELL) as $<. Pass $(common-objpfx) to script
76314 directly. Pass built executable to script as
76315 $(built-program-cmd).
76316 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
76317 $testprogram without using LD_LIBRARY_PATH and $ldso.
76318
76319 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76320 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76321 $(rtld-installed-name).
76322 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76323 (rtld_installed_name): Likewise.
76324 (library_path): Likewise.
76325 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
76326 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76327 $(run-program-prefix) to tst-tables.sh.
76328 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
76329 it to run tst-table-from and tst-table-to.
76330 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76331 Pass it to tst-table.sh.
76332 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76333 $(run-program-prefix) to tst-gettext.sh.
76334 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76335 tst-translit.sh.
76336 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76337 tst-gettext2.sh.
76338 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
76339 to run tst-gettext.
76340 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
76341 to run tst-gettext2.
76342 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
76343 to run tst-translit.
76344 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76345 $(run-program-prefix) to tst-mtrace.sh.
76346 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
76347 to run tst-mtrace.
76348 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76349 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76350 $(rtld-installed-name).
76351 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76352 (rtld_installed_name): Likewise.
76353 (run_program_prefix): New variable. Use it to run wordexp-test.
76354
76355 * Makeconfig (ARCH): Remove all definitions.
76356 (machine): Likewise.
76357 [ARCH]: Remove conditional code.
76358 [!objdir]: Give error.
76359 [!objdir] (objpfx): Remove.
76360 [!objdir] (common-objpfx): Likewise.
76361 [!objdir] (common-objdir): Likewise.
76362 * configure.in (config_makefile): Remove. Hardcode Makefile in
76363 AC_CONFIG_FILES call.
76364 * configure: Regenerated.
92c3af3c 76365
edf66db1
SP
76366 [BZ #13888]
76367 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76368 or TMPDIR.
76369 (testout): Likewise.
92c3af3c 76370
edf66db1
SP
76371 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76372 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76373 $(rtld-installed-name).
76374 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76375 (rtld_installed_name): Likewise.
76376 (runit): Remove function.
76377 (run_getconf): New variable, Use it for running getconf binary.
92c3af3c 76378
edf66db1 763792012-10-18 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 76380
edf66db1
SP
76381 [BZ #14716]
76382 * string/test-memmem.c (check_result): New function.
76383 (do_one_test): Use it.
76384 (check1): New function.
76385 (test_main): Use it.
92c3af3c 76386
edf66db1
SP
763872012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
76388
76389 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76390
763912012-10-18 Joseph Myers <joseph@codesourcery.com>
76392
76393 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76394 (_G_LSEEK64): Likewise.
76395 (_G_MMAP64): Likewise.
76396 (_G_FSTAT64): Likewise.
76397 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76398 (_G_LSEEK64): Likewise.
76399 (_G_MMAP64): Likewise.
76400 (_G_FSTAT64): Likewise.
76401 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76402 unconditional. Call __mmap64 directly.
76403 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76404 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
76405 __lseek64 directly.
76406 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76407 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
76408 __mmap64 directly.
76409 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76410 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
76411 __lseek64 directly.
76412 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76413 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
76414 __lseek64 directly.
76415 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76416 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
76417 __lseek64 directly.
76418 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76419 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76420 __fxstat64 directly.
76421 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76422 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76423 unconditional.
76424 (freopen64) [!_G_OPEN64]: Remove conditional code.
76425 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76426 unconditional.
76427 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76428 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76429 unconditional.
76430 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76431 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76432 unconditional.
76433 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76434 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76435 unconditional.
76436 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76437 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76438 unconditional.
76439 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76440 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76441 unconditional.
76442 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76443 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76444 unconditional.
76445 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76446
764472012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76448
76449 [BZ #12140]
76450 * manual/memory.texi (Malloc Tunable Parameters): Add note
76451 about free list pointers overwriting some perturb bytes.
76452 Wording suggested by Roland McGrath.
76453
764542012-10-17 Joseph Myers <joseph@codesourcery.com>
76455
76456 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76457 (lgamma_test): Likewise.
76458 (tgamma_test): Likewise.
76459
764602012-10-16 Florian Weimer <fweimer@redhat.com>
76461
76462 [BZ #14700]
76463 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76464 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76465
764662012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76467
76468 * NEWS: Mention BZ #14716.
76469 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76470 when removing AVAILABLE1_USES_J macro.
76471
764722012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76473
76474 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76475 (__bswap_64): __uint64_t for unsigned 64-bit int.
76476
764772012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76478
76479 * include/string.h (memmem): Declare libc hidden alias.
76480 * string/memmem.c (memmem): Define libc hidden alias.
76481 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76482 __read, __close instead of open, read, close.
76483
764842012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76485
76486 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76487 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76488 global and hidden.
76489 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76490 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76491 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76492 Likewise.
76493 (__rawmemchr_sse2): Likewise.
76494 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76495 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76496 (__strchr_sse2): Likewise.
76497 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76498 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76499 (__strcasecmp_sse2): Likewise.
76500 (__strncasecmp_sse2): Likewise.
76501 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76502 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76503 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76504 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76505 (__strrchr_sse2): Likewise.
76506 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76507 ifunc-impl-list.c.
76508 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76509 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76510 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76511 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76512 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76513 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76514 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76515 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76516 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76517 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76518 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76519 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76520 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76521 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76522 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76523 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76524 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76525 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76526 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76527 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76528 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76529 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76530 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76531 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76532 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76533 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76534 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76535 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76536 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76537 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76538
76539 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76540 global and hidden.
76541 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76542 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76543 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76544 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76545 Likewise.
76546 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76547 Likewise.
76548 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76549 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76550 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76551 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76552 ifunc-impl-list.c.
76553 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76554 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76555 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76556 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76557 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76558 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76559 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76560 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76561 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76562 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76563 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76564 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76565 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76566 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76567 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76568 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76569 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76570 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76571 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76572 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76573 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76574 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76575 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76576 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76577 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76578 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76579 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76580 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76581 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76582 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76583 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76584 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76585 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76586 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76587 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76588 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76589 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76590 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76591 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76592 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76593 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76594
76595 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76596 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76597 * include/ifunc-impl-list.h: New file.
76598 * misc/ifunc-impl-list.c: Likewise.
76599 * misc/Makefile (routines): Add ifunc-impl-list.
76600 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76601 * string/test-string.h: Include <ifunc-impl-list.h>.
76602 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76603 TEST_NAME]: New variables.
76604 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76605 are defined.
76606 (test_init): Call __libc_ifunc_impl_list to initialize
76607 func_list if TEST_IFUNC and TEST_NAME are defined.
76608
76609 * string/Makefile (strop-tests): Add bcopy and bzero.
76610 * string/test-bcopy.c: New file.
76611 * string/test-bzero.c: Likewise.
76612 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76613 defined.
76614 * string/test-memset.c: Support bzero test if TEST_BZERO is
76615 defined.
76616 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76617 __libc_memmove.
76618 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76619 __libc_memset.
76620 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76621 of memset.
92c3af3c 76622
edf66db1 766232012-10-10 Joseph Myers <joseph@codesourcery.com>
92c3af3c 76624
edf66db1
SP
76625 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76626 * configure: Regenerated.
92c3af3c 76627
edf66db1
SP
76628 * Makeconfig (+link-static-before-libc): Don't include
76629 $(link-static-libc).
76630
76631 * libio/libio.h (_IO_pos_t): Remove.
76632
766332012-10-10 Alexandre Oliva <aoliva@redhat.com>
76634
76635 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76636 McGrath.
76637
766382012-10-10 Alexandre Oliva <aoliva@redhat.com>
76639
76640 * crypt/crypt-entry.c: Include fips-private.h.
76641 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76642 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76643 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76644 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76645
766462012-10-10 Alexandre Oliva <aoliva@redhat.com>
76647
76648 * crypt/crypt-private.h: Include stdbool.h.
76649 (_ufc_setup_salt_r): Return bool.
76650 * crypt/crypt-entry.c: Include errno.h.
76651 (__crypt_r): Return NULL with EINVAL for bad salt.
76652 * crypt/crypt_util.c (bad_for_salt): New.
76653 (_ufc_setup_salt_r): Check that salt is long enough and within
76654 the specified alphabet.
76655 * crypt/badsalttest.c: New file.
76656 * crypt/Makefile (tests): Add it.
76657 ($(objpfx)badsalttest): New.
76658
766592012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76660
76661 * NEWS: Add entry for BZ #14602.
76662
766632012-10-09 Joseph Myers <joseph@codesourcery.com>
76664
76665 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76666 type-generic.
76667 * math/libm-test.inc: Update comment listing what functions and
76668 macros are tested.
76669 (isgreater_test): New function.
76670 (isgreaterequal_test): Likewise.
76671 (isless_test): Likewise.
76672 (islessequal_test): Likewise.
76673 (islessgreater_test): Likewise.
76674 (isunordered_test): Likewise.
76675 (main): Call the new functions.
76676
766772012-10-09 Roland McGrath <roland@hack.frob.com>
76678
76679 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76680 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76681 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76682 * sysdeps/i386/configure: Regenerated.
76683 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76684 * sysdeps/mach/configure: Regenerated.
76685 * sysdeps/mach/hurd/configure: Regenerated.
76686 * sysdeps/powerpc/configure: Regenerated.
76687 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76688 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76689 * sysdeps/s390/s390-32/configure: Regenerated.
76690 * sysdeps/s390/s390-64/configure: Regenerated.
76691 * sysdeps/sh/configure: Regenerated.
76692 * sysdeps/sparc/configure: Regenerated.
76693 * sysdeps/unix/sysv/linux/configure: Regenerated.
76694 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76695 * sysdeps/x86_64/configure: Regenerated.
76696
76697 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76698 defined. Don't check if MAP is NULL.
76699
767002012-10-09 Joseph Myers <joseph@codesourcery.com>
76701
76702 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76703 (_G_stat64): Likewise.
76704 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76705 (_G_stat64): Likewise.
76706 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76707 instead of struct _G_stat64.
76708 * libio/fileops.c (mmap_remap_check): Likewise.
76709 (decide_maybe_mmap): Likewise.
76710 (_IO_new_file_seekoff): Likewise.
76711 (_IO_file_stat): Likewise.
76712 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76713 _G_off64_t.
76714 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76715 instead of struct _G_stat64.
76716 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76717
767182012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76719
76720 [BZ #14602]
76721 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76722 Replace with ...
76723 (CHECK_EOL): New macro.
76724 (two_way_short_needle): Check beginning of haystack for EOL. Use
76725 CHECK_EOL.
76726 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76727 Replace with CHECK_EOL.
76728 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76729 Replace with CHECK_EOL.
76730
767312012-10-08 Joseph Myers <joseph@codesourcery.com>
76732
76733 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76734 type-generic.
76735 * math/libm-test.inc: Update comment listing what functions and
76736 macros are tested.
76737 (finite_test): New function.
76738 (isinf_test): Likewise.
76739 (isnan_test): Likewise.
76740 (fpclassify_test): Test subnormal input.
76741 (isfinite_test): Likewise.
76742 (isnormal_test): Likewise.
76743 (main): Call the new functions.
76744
767452012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76746
76747 [BZ #14660]
76748 * Makerules (%.dynsym): Force C locale when running
76749 $(OBJDUMP) --dynamic-syms.
76750
767512012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76752
76753 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76754 <stdint.h>.
76755
767562012-10-06 David S. Miller <davem@davemloft.net>
76757
76758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76759 upper 32-bits of the length value in %o2 since we use branch-on-register
76760 tests which consider the entire 64-bit register.
76761
767622012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76763
76764 * string/test-strstr.c (check2): Add a test for page boundary.
76765
767662012-10-05 David S. Miller <davem@davemloft.net>
76767
76768 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76769 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76770 file.
76771 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76772 sysdep_routines.
76773 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76774 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76775 and bzero when HWCAP_SPARC_CRYPTO is present.
76776
767772012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76778
76779 [BZ #14602]
76780 * string/test-strstr.c (check2): New function.
76781 (test_main): Call check2.
76782
76783 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76784 and bug-strchr1.
76785 * string/bug-strcasestr1.c (do_test): Moved to ...
76786 * string/test-strcasestr.c (check1): Here. New function.
76787 (do_one_test): Break out result checking code into ...
76788 (check_result): This. New function.
76789 (do_one_test): Call check_result.
76790 (test_main): Call check1.
76791 * string/bug-strchr1.c (do_test): Moved to ...
76792 * string/test-strchr.c (check1): Here. New function.
76793 (do_one_test): Break out result checking code into ...
76794 (check_result): This. New function.
76795 (do_one_test): Call check_result.
76796 (test_main): Call check1.
76797 * string/bug-strstr1.c (main): Moved to ...
76798 * string/test-strstr.c (check1): Here. New function.
76799 (do_one_test): Break out result checking code into ...
76800 (check_result): This. New function.
76801 (do_one_test): Call check_result.
76802 (test_main): Call check1.
76803 * string/bug-strcasestr1.c: Removed.
76804 * string/bug-strchr1.c: Likewise.
76805 * string/bug-strstr1.c: Likewise.
76806
76807 * elf/Makefile (dl-routines): Add hwcaps.
76808 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76809 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76810 (_dl_important_hwcaps): Moved to ...
76811 * elf/dl-hwcaps.c: Here. New file.
76812 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76813
76814 [BZ #14557]
76815 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76816 if IS_IN_rtld isn't defined.
76817
76818 * elf/dl-support.c (_dl_sysinfo_map): New.
76819 Include "get-dynamic-info.h" and "setup-vdso.h".
76820 (_dl_non_dynamic_init): Call setup_vdso.
76821 * elf/dynamic-link.h: Don't include <assert.h>.
76822 (elf_get_dynamic_info): Moved to ...
76823 * elf/get-dynamic-info.h: Here. New file.
76824 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76825 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76826 * elf/setup-vdso.h: Here. New file.
76827 * elf/rtld.c: Include "setup-vdso.h".
76828 (dl_main): Call setup_vdso.
76829
768302012-10-05 Joseph Myers <joseph@codesourcery.com>
76831
76832 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76833 creal in comment listing functions tested. List finite, isinf,
76834 isnan, isless, islessequal, isgreater, isgreaterequal,
76835 islessgreater, isunordered, lgamma_r and pow10 as functions and
76836 macros not tested. Mention which functions not tested are aliases
76837 for other functions. Fix typo. Note that signs of NaNs are not
76838 tested.
76839
76840 * scripts/config.guess: Update from config.git.
76841 * scripts/config.sub: Likewise.
92c3af3c 76842
edf66db1 768432012-10-04 Roland McGrath <roland@hack.frob.com>
92c3af3c 76844
edf66db1
SP
76845 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76846 * misc/madvise.c (madvise): Renamed to __madvise.
76847 Make madvise a weak alias.
76848 * include/sys/mman.h: Declare __madvise.
76849 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76850 * sysdeps/unix/syscalls.list
76851 (madvise): Make __madvise the strong name, and madvise a weak alias.
76852 * sysdeps/unix/sysv/linux/syscalls.list
76853 (madvise, mmap): Remove redundant entries.
76854 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76855 * malloc/malloc.c (mtrim): Likewise.
76856 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
92c3af3c 76857
edf66db1 768582012-10-03 Roland McGrath <roland@hack.frob.com>
92c3af3c 76859
edf66db1
SP
76860 * sysdeps/mach/hurd/dl-cache.c: File removed.
76861 * config.h.in (USE_LDCONFIG): New #undef.
76862 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76863 * configure: Regenerated.
76864 * elf/Makefile (dl-routines): Add dl-cache only under
76865 [$(use-ldconfig) = yes].
76866 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76867 cache on [USE_LDCONFIG].
76868 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76869 [USE_LDCONFIG].
76870 * elf/rtld.c (dl_main): Likewise.
92c3af3c 76871
edf66db1 768722012-10-03 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 76873
edf66db1
SP
76874 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76875 _SC_LEVEL4_CACHE_LINESIZE.
92c3af3c 76876
edf66db1 768772012-10-03 Roland McGrath <roland@hack.frob.com>
92c3af3c 76878
edf66db1 76879 * sysdeps/unix/bsd/confstr.h: File removed.
92c3af3c 76880
edf66db1 768812012-10-02 Alexandre Oliva <aoliva@redhat.com>
92c3af3c 76882
edf66db1
SP
76883 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76884 sys/sdt-config.h.
92c3af3c 76885
edf66db1 768862012-10-02 Roland McGrath <roland@hack.frob.com>
92c3af3c 76887
edf66db1
SP
76888 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76889 Make 'mapoff' field ElfW(Off) rather than off_t.
92c3af3c 76890
edf66db1 768912012-10-02 Dmitry V. Levin <ldv@altlinux.org>
92c3af3c 76892
edf66db1
SP
76893 * nscd/Makefile: Remove nscd-cflags and all its users.
76894 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76895 (CFLAGS-nonlib): Add compiler flags for nscd modules.
92c3af3c 76896
edf66db1
SP
76897 [BZ #10631]
76898 * malloc.c (malloc_printerr): Clarify error message.
92c3af3c 76899
edf66db1 769002012-10-02 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 76901
edf66db1
SP
76902 [BZ #14648]
76903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76904 Set bit_FMA_Usable if FMA is supported.
76905 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76906 macro.
76907 (bit_FMA4_Usable): Updated.
76908 (index_FMA_Usable): New macro.
76909 (CPUID_FMA): Likewise.
76910 (HAS_FMA): Defined with bit_FMA_Usable.
76911
769122012-10-01 Roland McGrath <roland@hack.frob.com>
76913
76914 * bits/types.h (__swblk_t): Type removed.
76915 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76916 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76918 (__SWBLK_T_TYPE): Likewise.
76919 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76920 (__SWBLK_T_TYPE): Likewise.
76921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76922 (__SWBLK_T_TYPE): Likewise.
76923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76924 (__SWBLK_T_TYPE): Likewise.
76925
769262012-10-01 Patsy Franklin <pfrankli@redhat.com>
76927 Honza Horak <hhorak@redhat.com>
76928
76929 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76930 (xdr_mapname): Use YPMAXMAP as maxsize.
76931 (xdr_peername): Use YPMAXPEER as maxsize.
76932 (xdr_keydat): Use YPAXRECORD as maxsize.
76933 (xdr_valdat): Use YPMAXRECORD as maxsize.
76934
769352012-10-01 Roland McGrath <roland@hack.frob.com>
76936
76937 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76938
76939 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76940 * csu/init-first.c: ... here.
76941 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76942 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76943 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76944 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76945 * sysdeps/i386/init-first.c: File removed.
76946 * sysdeps/sh/init-first.c: File removed.
76947
769482012-10-01 Joseph Myers <joseph@codesourcery.com>
76949
76950 [BZ #14645]
76951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76952 if x * y might underflow to zero and z is zero.
76953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76954 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76955 * math/libm-test.inc (min_subnorm_value): New variable.
76956 (fma_test): Add more tests.
76957 (fma_test_towardzero): Likewise.
76958 (fma_test_downward): Likewise.
76959 (fma_test_upward): Likewise.
76960 (initialize): Set min_subnorm_value.
76961
769622012-09-29 Joseph Myers <joseph@codesourcery.com>
76963
76964 [BZ #14638]
76965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76966 0 + 0.
76967 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76968 mode for addition resulting in exact zero.
76969 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76971 exact 0 + 0.
76972 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76974 * math/libm-test.inc (fma_test): Add more tests.
76975 (fma_test_towardzero): New function.
76976 (fma_test_downward): Likewise.
76977 (fma_test_upward): Likewise.
76978 (main): Call the new functions.
76979
769802012-09-28 David S. Miller <davem@davemloft.net>
76981
76982 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76983
769842012-09-28 Roland McGrath <roland@hack.frob.com>
76985
76986 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76987 instead of SIGALRM.
76988
76989 * sysdeps/gnu/_G_config.h: Moved to ...
76990 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76991 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76992 * sysdeps/generic/_G_config.h: ... here.
76993
76994 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76995
76996 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76997
76998 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76999 Conditionalize target on [libnss_test1.so-version].
77000
77001 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
77002
77003 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
77004 (elfobjdir): Move out of conditionals.
77005
77006 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
77007 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
77008 (__nss_lookup_function): Conditionalize label remove_from_tree on
77009 [!DO_STATIC_NSS || SHARED], matching its only use.
77010
770112012-09-28 David S. Miller <davem@davemloft.net>
77012
77013 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
77014 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
77015 file.
77016 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
77017 sysdep_routines.
77018 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
77019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
77020 when HWCAP_SPARC_CRYPTO is present.
92c3af3c 77021
edf66db1 770222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 77023
edf66db1 77024 * io/tst-mknodat.c: Create a FIFO instead of a socket.
92c3af3c 77025
edf66db1 770262012-09-28 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 77027
edf66db1
SP
77028 [BZ #6530]
77029 * stdio-common/vfprintf.c (process_string_arg): Revert
77030 2000-07-22 change.
92c3af3c 77031
edf66db1 770322011-09-28 Jonathan Nieder <jrnieder@gmail.com>
92c3af3c 77033
edf66db1
SP
77034 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
77035 for testcase.
77036 * stdio-common/tst-sprintf.c: Include <locale.h>
77037 (main): Test sprintf's handling of incomplete multibyte
77038 characters.
92c3af3c 77039
edf66db1 770402012-09-28 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 77041
edf66db1
SP
77042 * elf/dl-runtime.c (VERSYMIDX): Removed.
77043 * elf/dl-version.c (VERSYMIDX): Likewise.
77044 * elf/do-rel.h (VERSYMIDX): Likewise.
77045 (VALIDX): Likewise.
77046 * elf/dynamic-link.h (VERSYMIDX): Likewise.
77047 * elf/rtld.c (VALIDX): Likewise.
77048 (ADDRIDX): Likewise.
77049 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
77050 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
77051 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
77052 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
77053 (VALIDX): Likewise.
77054 (ADDRIDX): Likewise.
92c3af3c 77055
edf66db1 770562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 77057
edf66db1 77058 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
92c3af3c 77059
edf66db1 770602012-09-28 Dmitry V. Levin <ldv@altlinux.org>
92c3af3c 77061
edf66db1
SP
77062 [BZ #11438]
77063 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
77064 to global scope.
77065 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
77066 addresses are in the same scope as 192.0.2/24.
77067 * posix/gai.conf: Document new scope table defaults.
92c3af3c 77068
edf66db1 770692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 77070
edf66db1
SP
77071 [BZ #5298]
77072 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
77073 for ftell. Compute offsets from write pointers instead.
77074 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
92c3af3c 77075
edf66db1 770762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 77077
edf66db1
SP
77078 [BZ #14543]
77079 * libio/Makefile (tests): New test case tst-fseek.
77080 * libio/tst-fseek.c: New test case to verify that fseek/ftell
77081 combination works in wide mode.
77082 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
77083 state when the external buffer state changes.
92c3af3c 77084
edf66db1 770852012-09-27 David S. Miller <davem@davemloft.net>
92c3af3c 77086
edf66db1
SP
77087 [BZ #14376]
77088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
77089 pass reloc->r_addend in as the 'high' argument to
77090 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
92c3af3c 77091
edf66db1 77092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 77093
edf66db1 770942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 77095
edf66db1
SP
77096 * rt/tst-aio2.c: Include <pthread.h>.
77097 * rt/tst-aio3.c: Likewise.
92c3af3c 77098
edf66db1 770992012-09-27 Steve Ellcey <sellcey@mips.com>
92c3af3c 77100
edf66db1 77101 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
92c3af3c 77102
edf66db1 771032012-09-27 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 77104
edf66db1
SP
77105 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
77106 contents on [SHARED].
92c3af3c 77107
edf66db1 771082012-09-26 Marek Polacek <polacek@redhat.com>
92c3af3c 77109
edf66db1
SP
77110 [BZ #14530]
77111 [BZ #13741]
77112 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
77113 for C++ and GCC <4.3 as well as for non GCC compilers.
92c3af3c 77114
edf66db1 771152012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
92c3af3c 77116
edf66db1 77117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
92c3af3c 77118
edf66db1 771192012-09-25 Roland McGrath <roland@hack.frob.com>
92c3af3c 77120
edf66db1
SP
77121 * Makefile.in (all, install): Declare with .PHONY.
77122 Reported by Michael Hope <michael.hope@linaro.org>.
92c3af3c 77123
edf66db1 771242012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 77125
edf66db1
SP
77126 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
77127 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
77128 system header.
77129 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
77130 Likewise.
77131 (sydep_routines): Add the new and the internal functions.
77132 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
77133 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
77134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
77135 (GLIBC_2.17): Add the new function.
77136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77137 (GLIBC_2.17): Likewise.
77138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
77139 (GLIBC_2.17): Likewise.
77140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
77141 (GLIBC_2.17): Likewise.
77142 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
77143
771442012-09-25 Alan Modra <amodra@gmail.com>
77145
77146 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
77147 Add release barrier before setting once_control to say
77148 initialisation is done. Add hints on lwarx. Use macro in
77149 place of isync.
77150 (clear_once_control): Add release barrier.
77151
771522012-09-25 Joseph Myers <joseph@codesourcery.com>
77153
77154 [BZ #13629]
77155 * math/s_clog.c (__clog): Handle more values close to |z| = 1
77156 specially.
77157 * math/s_clog10.c (__clog10): Likewise.
77158 * math/s_clog10f.c (__clog10f): Likewise.
77159 * math/s_clog10l.c (__clog10l): Likewise.
77160 * math/s_clogf.c (__clogf): Likewise.
77161 * math/s_clogl.c (__clogl): Likewise.
77162 * math/Makefile (libm-calls): Add x2y2m1.
77163 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
77164 (__x2y2m1): Likewise.
77165 (__x2y2m1l): Likewise.
77166 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
77167 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
77168 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
77169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
77170 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
77171 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
77172 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
77173 * sysdeps/i386/fpu/libm-test-ulps: Update.
77174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77175
77176 [BZ #14621]
77177 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
77178 int as type of variable DEPTH.
77179 (glob): Use size_t instead of int as type of variables NEWCOUNT
77180 and OLD_PATHC.
77181
771822012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77183
77184 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77185 Add s_sincosf-sse2.
77186 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77187 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77188 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77189 macros for using routine as __sincosf_ia32.
77190 Use macro for function declaration and weak_alias.
77191 * sysdeps/i386/fpu/libm-test-ulps: Update.
77192
77193 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77195
77196 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77197 subnormal argument.
77198 * math/s_cexpf.c (__cexpf): Likewise.
77199 * math/s_csinf.c (__csinf): Likewise.
77200 * math/s_csinhf.c (__csinhf): Likewise.
77201 * math/s_ctanf.c (__ctanf): Likewise.
77202 * math/s_ctanhf.c (__ctanhf): Likewise.
77203 * math/s_ccosh.c (__ccoshf): Likewise.
77204 * math/s_cexp.c (__cexpl): Likewise.
77205 * math/s_csin.c (__csin): Likewise.
77206 * math/s_csinh.c (__csinh): Likewise.
77207 * math/s_ctan.c (__ctan): Likewise.
77208 * math/s_ctanh.c (ctanh): Likewise.
77209 * math/s_ccoshl.c (__ccoshl): Likewise.
77210 * math/s_cexpl.c (__cexpl): Likewise.
77211 * math/s_csinl.c (__csinl): Likewise.
77212 * math/s_csinhl.c (__csinhl): Likewise.
77213 * math/s_ctanl.c (__ctanl): Likewise.
77214 * math/s_ctanhl.c (__ctanhl): Likewise.
77215
772162012-09-25 Joseph Myers <joseph@codesourcery.com>
77217
77218 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77219 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77220 (_IO_off_t): Define to __off_t, not _G_off_t.
77221 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77222 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77223 (_IO_wint_t): Define to wint_t, not _G_wint_t.
77224 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77225 type of __dummy and __dummy2 fields.
77226 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77227 (_G_ssize_t): Likewise.
77228 (_G_off_t): Likewise.
77229 (_G_pid_t): Likewise.
77230 (_G_uid_t): Likewise.
77231 (_G_wchar_t): Likewise.
77232 (_G_wint_t): Likewise.
77233 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77234 (_G_ssize_t): Likewise.
77235 (_G_off_t): Likewise.
77236 (_G_pid_t): Likewise.
77237 (_G_uid_t): Likewise.
77238 (_G_wchar_t): Likewise.
77239 (_G_wint_t): Likewise.
77240 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77241 (_G_ssize_t): Likewise.
77242 (_G_off_t): Likewise.
77243 (_G_pid_t): Likewise.
77244 (_G_uid_t): Likewise.
77245 (_G_wchar_t): Likewise.
77246 (_G_wint_t): Likewise.
77247
772482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77249
77250 * malloc/arena.c: Include malloc-sysdep.h.
77251 (shrink_heap): Use check_may_shrink_heap to decide if madvise
77252 is sufficient to shrink the heap or an unmap is needed.
77253 * sysdeps/generic/malloc-sysdep.h: New file. Define
77254 new function check_may_shrink_heap.
77255 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
77256 new function check_may_shrink_heap.
77257
772582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77259
77260 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77261 comments.
77262
772632012-09-24 Dmitry V. Levin <ldv@altlinux.org>
77264
77265 * catgets/test-gencat.sh: Add "set -e".
77266 * elf/tst-pathopt.sh: Likewise.
77267 * grp/tst_fgetgrent.sh: Likewise.
77268 * iconvdata/run-iconv-test.sh: Likewise.
77269 * intl/tst-gettext.sh: Likewise.
77270 * intl/tst-gettext2.sh: Likewise.
77271 * intl/tst-gettext4.sh: Likewise.
77272 * intl/tst-gettext6.sh: Likewise.
77273 * intl/tst-translit.sh: Likewise.
77274 * io/ftwtest-sh: Likewise.
77275 * libio/test-freopen.sh: Likewise.
77276 * malloc/tst-mtrace.sh: Likewise.
77277 * posix/globtest.sh: Likewise.
77278 * posix/tst-getconf.sh: Likewise.
77279 * posix/wordexp-tst.sh: Likewise.
77280 * stdio-common/tst-printf.sh: Likewise.
77281 * stdio-common/tst-unbputc.sh: Likewise.
77282 * stdlib/tst-fmtmsg.sh: Likewise.
77283 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77284 * catgets/Makefile: Do not specify -e option when running
77285 testsuite shell scripts.
77286 * elf/Makefile: Likewise.
77287 * grp/Makefile: Likewise.
77288 * iconvdata/Makefile: Likewise.
77289 * intl/Makefile: Likewise.
77290 * io/Makefile: Likewise.
77291 * libio/Makefile: Likewise.
77292 * malloc/Makefile: Likewise.
77293 * posix/Makefile: Likewise.
77294 * stdio-common/Makefile: Likewise.
77295 * stdlib/Makefile: Likewise.
77296 * sysdeps/x86_64/Makefile: Likewise.
92c3af3c 77297
edf66db1
SP
77298 * io/ftwtest-sh: Add copyright header.
77299 * posix/globtest.sh: Likewise.
77300 * posix/tst-getconf.sh: Likewise.
77301 * posix/wordexp-tst.sh: Likewise.
77302 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
92c3af3c 77303
edf66db1 773042012-09-24 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 77305
edf66db1
SP
77306 [BZ #13679]
77307 * Makeconfig (+link): Defined as $(+link-static) if
77308 $(build-shared) isn't yes.
77309 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77310 isn't yes.
77311 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
92c3af3c 77312
edf66db1 77313 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
92c3af3c 77314
edf66db1
SP
77315 [BZ #14562]
77316 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77317 new chunk size with MALLOC_ALIGN_MASK.
92c3af3c 77318
edf66db1 773192012-09-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77320
edf66db1
SP
77321 [BZ #5044]
77322 * stdio-common/printf_fphex.c: Include <stdbool.h> and
77323 <rounding-mode.h>.
77324 (__printf_fphex): Determine rounding using get_rounding_mode and
77325 round_away.
77326 * stdio-common/tst-printf-round.c (struct hex_test): New
77327 structure.
77328 (hex_tests): New variable.
77329 (test_hex_in_one_mode): New function.
77330 (do_test): Also run tests for hex float output.
92c3af3c 77331
edf66db1 773322012-09-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77333
edf66db1
SP
77334 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77335 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77336 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77337 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77338 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77339 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77340 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77341 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
92c3af3c 77342
edf66db1 773432012-09-20 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77344
edf66db1
SP
77345 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77346 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77347 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77348 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
92c3af3c 77349
edf66db1 773502012-09-19 Dmitry V. Levin <ldv@altlinux.org>
92c3af3c 77351
edf66db1
SP
77352 [BZ #14579]
77353 * elf/rtld.c (dl_main): Limit the check for self loading to normal
77354 mode only.
77355 * elf/tst-rtld-load-self.sh: New test.
77356 * elf/Makefile: Run it.
92c3af3c 77357
edf66db1 773582012-09-18 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77359
edf66db1
SP
77360 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77361 (tst-writev-ENV): Remove.
77362 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
92c3af3c 77363
edf66db1 773642012-09-17 Chris Metcalf <cmetcalf@tilera.com>
92c3af3c 77365
edf66db1 77366 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
92c3af3c 77367
edf66db1 773682012-09-17 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77369
edf66db1
SP
77370 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77371 unconditional.
77372 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
92c3af3c 77373 Likewise.
edf66db1
SP
77374 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77375 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77376 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
92c3af3c
SP
77377 Likewise.
77378
edf66db1 773792012-09-14 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 77380
edf66db1
SP
77381 [BZ #14587]
77382 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77383 * config.make.in (have-cpp-asm-debuginfo): Removed.
77384 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77385 * configure: Regenerated.
92c3af3c 77386
edf66db1 773872012-09-14 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77388
edf66db1
SP
77389 [BZ #5044]
77390 * stdio-common/printf_fp.c: Include <stdbool.h> and
77391 <rounding-mode.h>.
77392 (___printf_fp): Determine rounding using get_rounding_mode and
77393 round_away.
77394 * stdio-common/tst-printf-round.c: New file.
77395 * stdio-common/Makefile (tests): Add tst-printf-round.
77396 (link-libm): New variable.
77397 ($(objpfx)tst-printf-round): Depend in $(link-libm).
92c3af3c 77398
edf66db1 773992012-09-13 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 77400
edf66db1
SP
77401 [BZ #14576]
77402 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77403 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77404 Likewise.
77405 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77406 Likewise.
92c3af3c 77407
edf66db1
SP
774082012-09-13 Joseph Myers <joseph@codesourcery.com>
77409
77410 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77411 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77412 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77414
774152012-09-12 Joseph Myers <joseph@codesourcery.com>
77416
77417 [BZ #14518]
77418 * include/rounding-mode.h: New file.
77419 * sysdeps/generic/get-rounding-mode.h: Likewise.
77420 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77421 * stdlib/strtod_l.c: Include <rounding-mode.h>.
77422 (MAX_VALUE): New macro.
77423 (MIN_VALUE): Likewise.
77424 (overflow_value): New function.
77425 (underflow_value): Likewise.
77426 (round_and_return): Use overflow_value and underflow_value to
77427 determine return values in overflow and underflow cases. Use
77428 round_away to determine rounding depending on rounding mode.
77429 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77430 determine return values in overflow and underflow cases.
77431 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77432 (struct test_results): New structure.
77433 (struct test): Use struct test_results to store expected results
77434 for all rounding modes.
77435 (TEST): Include expected results for all rounding modes.
77436 (test_in_one_mode): New function.
77437 (do_test): Use test_in_one_mode to compute and check results.
77438 Check results for all rounding modes.
77439 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77440 $(link-libm).
77441
774422012-12-09 Allan McRae <allan@archlinux.org>
77443
77444 * sysdeps/i386/fpu/libm-test-ulps: Update
77445
774462012-09-11 Joseph Myers <joseph@codesourcery.com>
77447
77448 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77449 (_G_int32_t): Likewise.
77450 (_G_uint16_t): Likewise.
77451 (_G_uint32_t): Likewise.
77452 (_G_HAVE_BOOL): Likewise.
77453 (_G_HAVE_ATEXIT): Likewise.
77454 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77455 (_G_HAVE_IO_FILE_OPEN): Likewise.
77456 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77457 (_G_int32_t): Likewise.
77458 (_G_uint16_t): Likewise.
77459 (_G_uint32_t): Likewise.
77460 (_G_HAVE_BOOL): Likewise.
77461 (_G_HAVE_ATEXIT): Likewise.
77462 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77463 (_G_HAVE_IO_FILE_OPEN): Likewise.
77464 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77465 (_G_int32_t): Likewise.
77466 (_G_uint16_t): Likewise.
77467 (_G_uint32_t): Likewise.
77468 (_G_HAVE_BOOL): Likewise.
77469 (_G_HAVE_ATEXIT): Likewise.
77470 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77471 (_G_HAVE_IO_FILE_OPEN): Likewise.
77472
774732012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77474
77475 * csu/libc-tls.c: Update copyright years.
77476
774772012-09-10 Joseph Myers <joseph@codesourcery.com>
77478
77479 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77480 [!_G_USING_THUNKS]: Remove conditional code.
77481 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77482 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77483
77484 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77485 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77486 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77487 (_G_VTABLE_LABEL_PREFIX): Likewise.
77488 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77489 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77490 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77491 (_G_VTABLE_LABEL_PREFIX): Likewise.
77492 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77493 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77494 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77495 (_G_VTABLE_LABEL_PREFIX): Likewise.
77496 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77497
774982012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77499
77500 * libio/Makefile: Include ../Makeconfig before tests.
77501 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77502 only if $(build-shared) is yes.
77503
77504 * iconv/gconv_db.c: Update copyright years.
77505
775062012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77507
77508 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77509 unwind info if defined PIC. Fix special cases description.
77510 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77511
77512 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77513 DP_HI_MASK entry.
77514 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77515
775162012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77517
77518 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77519
77520 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77521 is NULL.
92c3af3c 77522
edf66db1
SP
77523 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77524 (LDLIBS-tst-chk4): This.
77525 (LDFLAGS-tst-chk5): Renamed to ...
77526 (LDLIBS-tst-chk5): This.
77527 (LDFLAGS-tst-chk6): Renamed to ...
77528 (LDLIBS-tst-chk6): This.
77529 (LDFLAGS-tst-lfschk4): Renamed to ...
77530 (LDLIBS-tst-lfschk4): This.
77531 (LDFLAGS-tst-lfschk5): Renamed to ...
77532 (LDLIBS-tst-lfschk5): This.
77533 (LDFLAGS-tst-lfschk6): Renamed to ...
77534 (LDLIBS-tst-lfschk6): This.
92c3af3c 77535
edf66db1
SP
77536 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77537 on $(common-objpfx)soversions.mk.
77538
775392012-09-07 Joseph Myers <joseph@codesourcery.com>
77540
77541 [BZ #10014]
77542 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77543 example host name.
77544
775452012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77546
77547 * malloc/arena.c (arena_get_retry): New function that gets
77548 another arena for the caller to try its request on.
77549 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77550 current arena cannot fulfill the request.
77551 (__libc_memalign): Likewise.
77552 (__libc_memalign): Likewise.
77553 (__libc_pvalloc): Likewise.
77554 (__libc_calloc): Likewise.
77555
775562012-09-05 John Tobey <john.tobey@gmail.com>
77557
77558 [BZ #13542]
77559 * manual/arith.texi (Operations on Complex): Fix description
77560 of carg branch cut.
77561
775622012-09-06 Joseph Myers <joseph@codesourcery.com>
77563
77564 [BZ #10014]
77565 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77566 host name.
77567
77568 [BZ #10038]
77569 * manual/memory.texi (Memory): Make order of menu items match
77570 order of sections.
77571
775722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77573
77574 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77575 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77576 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77577
775782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77579
77580 * csu/libc-tls.c (static_dtv): Renamed to ...
77581 (_dl_static_dtv): This. Make it global.
77582 (_dl_initial_dtv): Removed.
77583 (__libc_setup_tls): Updated.
77584 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77585 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77586 DL_INITIAL_DTV.
77587
775882012-09-06 Petr Machata <pmachata@redhat.com>
77589
77590 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77591 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77592 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77593 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77594
775952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77596
77597 [BZ #14545]
77598 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77599 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77600 freeing dtv[-1].
77601
776022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77603
77604 [BZ #14544]
77605 * Makeconfig (link-static-before-libc): Replace $(+prector)
77606 with $(+prectorT).
77607 (link-static-after-libc): Replace $(+postctor) with
77608 $(+postctorT).
77609 (link-bounded): Replace $(+prector)/$(+postctor) with
77610 $(+prectorT)/$(+postctorT).
77611 (+prectorT): New macro.
77612 (+postctorT): Likewise.
77613
776142012-09-06 Joseph Myers <joseph@codesourcery.com>
77615
77616 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77617 (round_str): Handle values above the maximum for IBM long double
77618 as inexact.
77619 * stdlib/tst-strtod-round.c (tests): Regenerated.
77620
776212012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77622
77623 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77624 assembler flag.
77625 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77626 zarch_nohighgprs around the zarch optimized routines.
77627 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77628 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77630 for zarch.
92c3af3c 77631
edf66db1 776322012-09-05 David S. Miller <davem@davemloft.net>
92c3af3c 77633
edf66db1 77634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 77635
edf66db1
SP
77636 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77637 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77638 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77640 entries.
92c3af3c 77641
edf66db1 776422012-09-05 Alexandre Oliva <aoliva@redhat.com>
92c3af3c 77643
edf66db1
SP
77644 * malloc/arena.c: Fold copyright years.
77645 * malloc/mcheck.c, malloc/memusage.c: Likewise.
92c3af3c 77646
edf66db1 776472012-09-05 Alexandre Oliva <aoliva@redhat.com>
92c3af3c 77648
edf66db1 77649 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
92c3af3c 77650
edf66db1 776512012-09-05 Alexandre Oliva <aoliva@redhat.com>
92c3af3c 77652
edf66db1 77653 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
92c3af3c 77654
edf66db1 776552012-09-05 Alexandre Oliva <aoliva@redhat.com>
92c3af3c 77656
edf66db1
SP
77657 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77658 change internal state upon failure.
92c3af3c 77659
edf66db1 776602012-09-05 Alexandre Oliva <aoliva@redhat.com>
92c3af3c 77661
edf66db1
SP
77662 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77663 * malloc/memusage.c (mmap): Likewise.
77664 (mmap64, mremap): Likewise. Adjust name in comment.
92c3af3c 77665
edf66db1 776662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 77667
edf66db1
SP
77668 * libio/fileops.c: Fix typos in comments.
77669 * libio/oldfileops.c: Likewise.
77670 * libio/wfileops.c: Likewise.
92c3af3c 77671
edf66db1 776722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 77673
edf66db1
SP
77674 [BZ #1349]
77675 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77676 (tst-malloc-usable-ENV): Set environment for test case.
77677 * malloc/hooks.c (malloc_check_get_size): New function to get
77678 requested size.
77679 * malloc/malloc.c (musable): Use malloc_check_get_size.
77680 * malloc/tst-malloc-usable.c: New test case.
92c3af3c 77681
edf66db1 776822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 77683
edf66db1 77684 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
92c3af3c 77685
edf66db1 776862012-09-05 Allan McRae <allan@archlinux.org>
92c3af3c 77687
edf66db1
SP
77688 [BZ #13966]
77689 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77690 determine header location.
77691 * configure: Regenerated.
92c3af3c 77692
edf66db1 776932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 77694
edf66db1
SP
77695 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77696 float format.
77697 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77698 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77699 format.
77700 (test): Regenerate.
92c3af3c 77701
edf66db1 777022012-09-04 David S. Miller <davem@davemloft.net>
92c3af3c 77703
edf66db1
SP
77704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77706 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
92c3af3c 77707
edf66db1 777082012-09-04 Florian Weimer <fweimer@redhat.com>
92c3af3c 77709
edf66db1
SP
77710 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77711 failures.
92c3af3c 77712
edf66db1 77713 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
92c3af3c 77714
edf66db1 777152012-09-04 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77716
edf66db1
SP
77717 [BZ #9914]
77718 * libio/iogetdelim.c: Include <limits.h>.
77719 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77720 + len + 1 would overflow.
92c3af3c 77721
edf66db1 777222012-09-03 Andreas Jaeger <aj@suse.de>
92c3af3c 77723
edf66db1
SP
77724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77725 * sysdeps/i386/fpu/libm-test-ulps: Update.
92c3af3c 77726
edf66db1 777272012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 77728
edf66db1
SP
77729 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77730 Add s_sinf-sse2, s_conf-sse2.
92c3af3c 77731
edf66db1
SP
77732 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77733 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77734 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77735 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
92c3af3c 77736
edf66db1
SP
77737 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77738 for using routine as __sinf_ia32.
77739 Use macro for function declaration and weak_alias.
77740 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77741 for using routine as __cosf_ia32.
77742 Use macro for function declaration and weak_alias.
92c3af3c 77743
edf66db1
SP
77744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77745 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
92c3af3c 77746
edf66db1
SP
77747 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77748 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
92c3af3c 77750
edf66db1
SP
77751 * math/libm-test.inc (cos_test): Add more test cases.
77752 (sin_test): Likewise.
77753 (sincos_test): Likewise.
92c3af3c 77754
edf66db1 777552012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 77756
edf66db1
SP
77757 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77758 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77759 hidden.
77760 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
92c3af3c 77761
edf66db1 777622012-09-02 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 77763
edf66db1
SP
77764 [BZ #14538]
77765 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77766 first element of the GOT.
77767 (elf_machine_load_address): Return the difference between
77768 the runtime address of _DYNAMIC and elf_machine_dynamic ().
92c3af3c 77769
edf66db1 777702012-09-01 Allan McRae <allan@archlinux.org>
92c3af3c 77771
edf66db1
SP
77772 [BZ #13412]
77773 * configure.in (AWK): Require gawk version 3.0 or later.
77774 * configure: Regenerated.
92c3af3c 77775
edf66db1 777762012-09-01 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77777
edf66db1
SP
77778 * sysdeps/unix/sysv/linux/kernel-features.h
77779 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77781 [__NR_clock_getres]: Make code unconditional.
77782 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77783 (clock_getcpuclockid): Remove code left unreachable by removal of
77784 conditionals.
77785 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77786 code unconditional.
77787 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77788 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77789 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77790 Make code unconditional.
77791 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77793 * sysdeps/unix/sysv/linux/clock_settime.c
77794 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77795 conditional code.
77796 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77797 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77798
777992012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77800
77801 [BZ #14476]
77802 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77803 scripts/test-installation.pl.
77804
77805 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77806 and $ld_so_version if it is set.
77807
778082012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77809
77810 [BZ #14516]
77811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77812 failure if reading from procfs failed.
77813 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77814
778152012-08-27 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77816
edf66db1
SP
77817 * sysdeps/unix/sysv/linux/kernel-features.h
77818 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77819 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77820 Remove conditional code.
77821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77822 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77823 Remove conditional code.
77824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77825 * sysdeps/unix/sysv/linux/i386/fxstat.c
77826 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77828 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77829 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77831 * sysdeps/unix/sysv/linux/i386/lxstat.c
77832 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77834 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77835 Remove conditional code.
77836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77837 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77838 Remove conditional code.
77839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77840 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77841 <kernel-features.h>.
77842 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77843 Remove.
77844 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77845 Remove conditional code.
77846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77847 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77848 Remove conditional.
77849
778502012-08-27 Mike Frysinger <vapier@gentoo.org>
77851
77852 [BZ #5400]
77853 * NEWS: Add fixed bug number.
77854
778552012-08-27 Joseph Myers <joseph@codesourcery.com>
77856
77857 [BZ #14519]
77858 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77859 underflowing exponent in case of negative sign.
77860 * stdlib/tst-strtod-round-data: Add more tests.
77861 * stdlib/tst-strtod-round.c (tests): Regenerated.
77862
77863 [BZ #3479]
77864 * stdlib/strtod_l.c (NDIG): Remove.
77865 (HEXNDIG): Likewise.
77866 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77867 smallest representable value.
77868 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77869 lie within an exact representation of 1/2 ulp of the result.
77870 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77871 unconditionally.
77872 (TENS_P9_IDX): Define unconditionally.
77873 (TENS_P9_SIZE): Likewise.
77874 (TENS_P10_IDX): Likewise.
77875 (TENS_P10_SIZE): Likewise.
77876 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77877 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77878 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77879 entries for 10^2^13 and 10^2^14.
77880 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77881 (TENS_P13_IDX): Define.
77882 (TENS_P13_SIZE): Likewise.
77883 (TENS_P14_IDX): Likewise.
77884 (TENS_P14_SIZE): Likewise.
77885 (_fpioconst_pow10): Change array size to
77886 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77887 unconditional.
77888 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77889 1024]: Add entries for 10^2^13 and 10^2^14.
77890 [LAST_POW10 > _LAST_POW10]: Remove #error.
77891 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77892 (_fpioconst_pow10): Change array size to
77893 FPIOCONST_POW10_ARRAY_SIZE.
77894 * stdlib/gen-fpioconst.c: New file.
77895 * stdlib/gen-tst-strtod-round.c: Likewise.
77896 * stdlib/tst-strtod-round-data: Likewise.
77897 * stdlib/tst-strtod-round.c: Likewise.
77898 * stdlib/Makefile (tests): Add tst-strtod-round.
77899
77900 [BZ #14459]
77901 * stdlib/strtod_l.c: Include <stdint.h>.
77902 (NDEBUG): Do not define.
77903 (round_and_return): Change EXPONENT parameter to type intmax_t.
77904 Rearrange calculations to avoid internal overflow possibilities.
77905 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77906 Rearrange calculations to avoid internal overflow possibilities.
77907 Assert that number fits inside MPNSIZE limbs.
77908 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77909 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77910 calculations and add assertions to avoid internal overflow
77911 possibilities. Add casts to avoid signed/unsigned operations.
77912 * stdlib/tst-strtod-overflow.c: New file.
77913 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77914
779152012-08-25 Marek Polacek <polacek@redhat.com>
77916
77917 * time/time.h: Fix some typos in comments.
77918
779192012-08-23 Roland McGrath <roland@hack.frob.com>
77920
77921 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77922 * posix/tst-rfc3484-2.c: Likewise.
77923 * posix/tst-rfc3484-3.c: Likewise.
92c3af3c 77924
edf66db1 779252012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
92c3af3c 77926
edf66db1
SP
77927 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77928 (EF_ARM_ABI_FLOAT_HARD): Likewise.
92c3af3c 77929
edf66db1 779302012-08-23 Joseph Myers <joseph@codesourcery.com>
92c3af3c 77931
edf66db1
SP
77932 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77933 #include of fxstatat64.c.
92c3af3c 77934
edf66db1 779352012-08-22 Roland McGrath <roland@hack.frob.com>
92c3af3c 77936
edf66db1
SP
77937 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77938 * shadow/getspent_r.c: Likewise.
77939 * shadow/getspnam.c: Likewise.
77940 * shadow/getspnam_r.c: Likewise.
77941 * gshadow/getsgent.c: Likewise.
77942 * gshadow/getsgent_r.c: Likewise.
77943 * gshadow/getsgnam.c: Likewise.
77944 * gshadow/getsgnam_r.c: Likewise.
77945 * inet/getnetbyad.c: Likewise.
77946 * inet/getnetbyad_r.c: Likewise.
77947 * inet/getnetbynm.c: Likewise.
77948 * inet/getnetbynm_r.c: Likewise.
77949 * inet/getnetent.c: Likewise.
77950 * inet/getnetent_r.c: Likewise.
77951 * inet/getproto.c: Likewise.
77952 * inet/getproto_r.c: Likewise.
77953 * inet/getprtent.c: Likewise.
77954 * inet/getprtent_r.c: Likewise.
77955 * inet/getprtname.c: Likewise.
77956 * inet/getprtname_r.c: Likewise.
77957 * inet/getrpcbyname.c: Likewise.
77958 * inet/getrpcbyname_r.c: Likewise.
77959 * inet/getrpcbynumber.c: Likewise.
77960 * inet/getrpcbynumber_r.c: Likewise.
77961 * inet/getrpcent.c: Likewise.
77962 * inet/getrpcent_r.c: Likewise.
77963 * inet/getaliasent.c: Likewise.
77964 * inet/getaliasent_r.c: Likewise.
77965 * inet/getaliasname.c: Likewise.
77966 * inet/getaliasname_r.c: Likewise.
77967 * nscd/getgrgid_r.c: Likewise.
77968 * nscd/getgrnam_r.c: Likewise.
77969 * nscd/gethstbyad_r.c: Likewise.
77970 * nscd/gethstbynm3_r.c: Likewise.
77971 * nscd/getpwnam_r.c: Likewise.
77972 * nscd/getpwuid_r.c: Likewise.
77973 * nscd/getsrvbynm_r.c: Likewise.
77974 * nscd/getsrvbypt_r.c: Likewise.
77975 * nscd/gai.c: Likewise.
92c3af3c 77976
edf66db1
SP
77977 * configure.in (build_nscd): New substituted variable, set
77978 by --disable-build-nscd and defaults to $use_nscd.
77979 * configure: Regenerated.
77980 * config.make.in (build-nscd): New substituted variable.
77981 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77982 Change conditional to require [$(build-nscd) = yes] as well.
77983 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77984
77985 [BZ #13696]
77986 * configure.in (use_nscd): New substituted variable, set by
77987 --disable-nscd. If enabled, define USE_NSCD.
77988 * configure: Regenerated.
77989 * config.h.in: Add USE_NSCD.
77990 * config.make.in (use-nscd): New substituted variable.
77991 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77992 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77993 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77994 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77995 (CFLAGS-getgrnam_r.c): Likewise.
77996 (CFLAGS-initgroups.c): Likewise.
77997 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77998 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77999 Variables removed.
78000 * inet/getnetgrent_r.c
78001 (nscd_setnetgrent): New function, broken out of ...
78002 (setnetgrent): ... here. Call it.
78003 (innetgr): Conditionalize nscd bits on [USE_NSCD].
78004 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
78005 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
78006 * nscd/Makefile (routines, aux): Move definitions after include of
78007 Makeconfig. Conditionalize on [$(use-nscd) != no].
78008 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
78009 Conditionalize on [USE_NSCD].
78010 (is_nscd, nscd_init_cb): Likewise.
78011 (nss_load_library): Conditionalize init callback on [USE_NSCD].
78012 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
78013 * nss/nss_db/db-init.c: Likewise.
78014 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
78015 [USE_NSCD].
78016 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
78017 (make_request): Use it.
78018 (cache_valid_p): New function.
78019 (__check_pf): Use it.
78020 * NEWS: Add item for --disable-nscd.
78021
780222012-08-22 Dmitry V. Levin <ldv@altlinux.org>
78023
78024 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
78025 to support sed >= 4.2.1-20-ga9bf076.
78026 * configure: Regenerated.
92c3af3c 78027
edf66db1 780282012-08-22 Roland McGrath <roland@hack.frob.com>
92c3af3c 78029
edf66db1
SP
78030 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
78031 Conditionalize whole body on [IREL].
92c3af3c 78032
edf66db1 780332012-08-22 Jeff Law <law@redhat.com>
92c3af3c 78034
edf66db1
SP
78035 [BZ #14505]
78036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
78037 if the family is PF_UNSPEC.
92c3af3c 78038
edf66db1 780392012-08-22 Mike Frysinger <vapier@gentoo.org>
92c3af3c 78040
edf66db1
SP
78041 * Makerules (lib-version): Rename from V.
78042 (install-lib-nosubdir): Change V to lib-version.
92c3af3c 78043
edf66db1 780442012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
92c3af3c 78045
edf66db1
SP
78046 [BZ #14252]
78047 * powerpc32/power6/wcschr.c: New file.
78048 * powerpc32/power6/wcscpy.c: New file.
78049 * powerpc32/power6/wcsrchr.c: New file.
78050 * powerpc64/power6/wcschr.c: New file.
78051 * powerpc64/power6/wcscpy.c: New file.
78052 * powerpc64/power6/wcsrchr.c: New file.
92c3af3c 78053
edf66db1 780542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
92c3af3c 78055
edf66db1
SP
78056 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
78057 (two_way_short_needle): Use it.
78058 * string/strstr.c (AVAILABLE1_USES_J): Define.
78059 * string/strcasestr.c: Likewise.
92c3af3c 78060
edf66db1
SP
78061 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
78062 array references.
78063 * string/strcasestr.c (TOLOWER): Make side-effect safe.
92c3af3c 78064
edf66db1
SP
78065 [BZ #11607]
78066 * NEWS: Add an entry.
78067 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
78068 define their defaults.
78069 (two_way_short_needle): Detect end-of-string on-the-fly.
78070 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
78071 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
78072 * string/bug-strcasestr1.c: New test.
78073 * string/Makefile: Run it.
92c3af3c 78074
edf66db1 780752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
92c3af3c 78076
edf66db1
SP
78077 [BZ #11607]
78078 * string/str-two-way.h (two_way_short_needle): Optimize matching of
78079 the first character.
92c3af3c 78080
edf66db1 780812012-08-21 Roland McGrath <roland@hack.frob.com>
92c3af3c 78082
edf66db1
SP
78083 * csu/elf-init.c (__libc_csu_irel): Function removed.
78084 * csu/libc-start.c (apply_irel): New function.
78085 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
92c3af3c 78086
edf66db1 780872012-08-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 78088
edf66db1
SP
78089 * sysdeps/unix/sysv/linux/kernel-features.h
78090 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
78091 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
78092 <kernel-features.h>.
78093 [__NR_fadvise64_64]: Make code unconditional.
78094 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
78095 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78096 !__NR_fadvise64_64)]: Likewise.
78097 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78098 !__NR_fadvise64_64))]: Likewise.
78099 [__NR_fadvise64]: Make code unconditional.
78100 [!__NR_fadvise64]: Remove conditional code.
78101 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
78102 <kernel-features.h>.
78103 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78104 unconditional.
78105 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78106 conditional code.
78107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
78108 not include <kernel-features.h>.
78109 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78110 unconditional.
78111 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78112 conditional code.
78113 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
78114 include <kernel-features.h>.
78115 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78116 unconditional.
78117 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78118 conditional code.
78119
781202012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78121
78122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
78123 slight instruction rearrangements per scrollpipe analysis.
78124 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
78125
781262012-08-20 Roland McGrath <roland@hack.frob.com>
78127
78128 * manual/syslog.texi (syslog; vsyslog, closelog):
78129 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
78130 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
78131
78132 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
78133 DSOCAPS to match condition on defining it.
78134
781352012-08-20 Joseph Myers <joseph@codesourcery.com>
92c3af3c 78136
edf66db1
SP
78137 * sysdeps/unix/sysv/linux/kernel-features.h
78138 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
78139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
78140 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78141 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
78143 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78144 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
78146 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78147 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78148
78149 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
78150 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
92c3af3c 78151
edf66db1
SP
78152 * sysdeps/unix/sysv/linux/kernel-features.h
78153 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
78154 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
78155 unconditional.
78156 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78157 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
78158 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78159 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78160 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
78161 Make code unconditional.
78162 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78163 (__mmap64) [!__NR_mmap2]: Likewise.
78164 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
78165 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78166 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78167 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
78168 [__NR_mmap2]: Make code unconditional.
78169 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78170 (__mmap64) [!__NR_mmap2]: Likewise.
92c3af3c 78171
edf66db1 781722012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 78173
edf66db1 78174 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
92c3af3c 78175
edf66db1 781762012-08-18 Andreas Jaeger <aj@suse.de>
92c3af3c 78177
edf66db1 78178 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
92c3af3c 78179
edf66db1 781802012-08-18 Mike Frysinger <vapier@gentoo.org>
92c3af3c 78181
edf66db1
SP
78182 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
78183 * include/unistd.h (__have_sock_cloexec): Likewise.
78184 (__have_pipe2): Likewise.
78185 (__have_dup3): Likewise.
92c3af3c 78186
edf66db1 781872012-08-18 Mike Frysinger <vapier@gentoo.org>
92c3af3c 78188
edf66db1
SP
78189 [BZ #9685]
78190 * include/unistd.h (__have_pipe2): Change define into an extern int.
78191 (__have_dup3): Likewise.
78192 * socket/have_sock_cloexec.c: Include fcntl.h.
78193 (__have_pipe2): New variable.
78194 (__have_dup3): Likewise.
92c3af3c 78195
edf66db1 781962012-08-17 Mike Frysinger <vapier@gentoo.org>
92c3af3c 78197
edf66db1 78198 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
92c3af3c 78199
edf66db1 782002012-08-17 Marek Polacek <polacek@redhat.com>
92c3af3c 78201
edf66db1
SP
78202 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78203 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
92c3af3c 78204
edf66db1 782052012-08-17 Roland McGrath <roland@hack.frob.com>
92c3af3c 78206
edf66db1
SP
78207 * configure.in: Add AC_SUBST for sysheaders.
78208 * configure: Regenerated.
78209 * config.make.in (sysheaders): New substituted variable.
78210
78211 * sysdeps/unix/mkfifo.c: Moved ...
78212 * sysdeps/posix/mkfifo.c: ... here.
78213 * sysdeps/unix/mkfifoat.c: Moved ...
78214 * sysdeps/posix/mkfifoat.c: ... here.
78215
78216 * sysdeps/unix/utime.c: Moved ...
78217 * sysdeps/posix/utime.c: ... here.
78218
78219 * sysdeps/unix/time.c: Moved ...
78220 * sysdeps/posix/time.c: ... here.
78221 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78222 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78223
78224 * sysdeps/unix/nice.c: Moved ...
78225 * sysdeps/posix/nice.c: ... here.
78226
78227 * sysdeps/unix/alarm.c: Moved ...
78228 * sysdeps/posix/alarm.c: ... here.
78229
78230 * intl/Makefile ($(codeset_mo)): Depend on the input file.
78231
782322012-08-17 Jeff Law <law@redhat.com>
78233
78234 * intl/Makefile (codeset_mo): New variable.
78235 ($(codeset_mo)): New target.
78236 (tst-codeset.out): Depend on that. Remove explicit rule.
78237 (tst-gettext3.out, tst-gettext5.out): Likewise.
78238 (LOCPATH-ENV, tst-codeset-ENV): New variables.
78239 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78240 * intl/tst-codeset.sh: Remove.
78241 * intl/tst-gettext3.sh: Likewise.
78242 * intl/tst-gettext5.sh: Likewise.
78243
782442012-08-17 Roland McGrath <roland@hack.frob.com>
78245
78246 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
78247 * sysdeps/unix/syscalls.list: ... here.
78248
78249 * sysdeps/posix/getaddrinfo.c
78250 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78251 (gaiconf_init, gaiconf_reload): Use them.
78252 [!_STATBUF_ST_NSEC]
78253 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78254 Define using time_t rather than struct timespec.
78255
78256 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78257 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78258 Macros removed.
78259 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78260 [!NO_THREADS].
78261 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78262 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78263 Likewise.
92c3af3c 78264
edf66db1
SP
78265 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78266 __libc_cleanup_push argument.
78267
78268 * bits/param.h: New file.
78269 * misc/sys/param.h: New file.
78270 * include/sys/param.h: New file.
78271 * misc/Makefile (headers): Add bits/param.h.
78272 * sysdeps/generic/sys/param.h: File removed.
78273 * sysdeps/unix/sysv/linux/bits/param.h: New file.
78274 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78275 * sysdeps/mach/hurd/bits/param.h: New file.
78276 * sysdeps/mach/hurd/sys/param.h: File removed.
78277
78278 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78279 last change.
78280
78281 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78282 [_IO_MTSAFE_IO].
78283 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78284 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78285 New macros.
92c3af3c 78286
edf66db1
SP
78287 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78288 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78289 rather than -D_IO_MTSAFE_IO conditionally.
78290 * stdio-common/Makefile (CPPFLAGS): Likewise.
78291 * wcsmbs/Makefile (CPPFLAGS): Likewise.
78292 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78293 Use $(libio-mtsafe).
78294 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78295 of -D_IO_MTSAFE_IO.
78296 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78297 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78298 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78299 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78300 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78301 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78302 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78303 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78304 (CFLAGS-fread_u_chk.c): Likewise.
78305 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78306 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78307 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78308 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78309 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78310 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78311 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78312 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78313 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78314
78315 * libio/Makefile: Test [$(libc-reentrant) = yes]
78316 instead of [$(filter %REENTRANT, $(defines)) nonempty].
78317
78318 * Makeconfig
78319 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78320 * sysdeps/pthread/configure: File removed.
78321 * sysdeps/pthread/Makeconfig: New file.
78322 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78323 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78324
783252012-08-16 Gary Benson <gbenson@redhat.com>
78326
78327 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78328 unmapping the first object in a namespace.
78329
783302012-08-16 Roland McGrath <roland@hack.frob.com>
78331
78332 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78333 (__internal_setnetgrent): ... this. Add internal_function to
78334 definition. Add libc_hidden_def.
78335 (setnetgrent): Update caller.
78336 (internal_endnetgrent): Renamed to ...
78337 (__internal_endnetgrent): ... this. Add internal_function to
78338 definition. Add libc_hidden_def.
78339 (endnetgrent): Update caller.
78340 (internal_getnetgrent_r): Renamed to ...
78341 (__internal_getnetgrent_r): ... this. Add internal_function to
78342 definition. Add libc_hidden_def.
78343 (__getnetgrent_r): Update caller.
78344 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
78345
783462012-08-16 Joseph Myers <joseph@codesourcery.com>
92c3af3c 78347
edf66db1 78348 * stdlib/longlong.h: Update from GCC.
92c3af3c 78349
edf66db1 783502012-08-16 Roland McGrath <roland@hack.frob.com>
92c3af3c 78351
edf66db1
SP
78352 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78353 on _QL, which is set by umul_ppmm but never used.
78354 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78355 variables, which are set by GMP macros but never used.
78356 * stdio-common/_itowa.c (_itowa): Likewise.
78357 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78358 * stdlib/mod_1.c (mpn_mod_1): Likewise.
92c3af3c 78359
edf66db1 783602012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
92c3af3c 78361
edf66db1
SP
78362 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78363 struct La_sh_regs is not constant.
78364 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78365 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78366 and struct La_sparc64_regs are not constant.
92c3af3c 78367
edf66db1 783682012-08-16 Joseph Myers <joseph@codesourcery.com>
92c3af3c 78369
edf66db1
SP
78370 * sysdeps/unix/sysv/linux/kernel-features.h
78371 (__ASSUME_POSIX_TIMERS): Remove.
78372 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78374 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78375 Make code unconditional.
78376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78377 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78378 Make code unconditional.
78379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78380 * sysdeps/unix/sysv/linux/clock_nanosleep.c
78381 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78382 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78383 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78384 Make code unconditional.
78385 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78386 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78387 (__libc_missing_posix_timers): Remove.
78388
783892012-08-15 Roland McGrath <roland@hack.frob.com>
78390
78391 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78392 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78393
78394 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78395
78396 * elf/dl-sym.c: Include <stdlib.h>.
78397
78398 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78399 constants, which avoids warnings in 32-bit builds.
78400
78401 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78402 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78403
78404 * misc/lseek.c: File moved to ...
78405 * io/lseek.c: ... here.
78406
78407 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78408
78409 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78410 shifting LEN more than 31 bits at once.
78411
784122012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78413
78414 [BZ #14195]
78415 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78416 segmentation fault for a case of two empty input strings.
78417 * string/test-strncasecmp.c (check1): Renamed to...
78418 (bz12205): ...this.
78419 (bz14195): Add new testcase for two empty input strings and N > 0.
78420 (test_main): Call new testcase, adapt for renamed function.
78421
784222012-08-15 Andreas Jaeger <aj@suse.de>
78423
78424 [BZ #14090]
78425 * crypt/md5test2.c: New test, based on test supplied by Serge
78426 Belyshev <belyshev@depni.sinp.msu.ru>.
78427 * crypt/Makefile (xtests): Add md5test-giant..
78428 * crypt/Makefile ($(objpfx)md5test-giant): Add.
78429
784302012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78431
78432 [BZ #14090]
78433 * crypt/md5.c (md5_process_block): Don't assume the buffer
78434 length is less than 2**32.
78435 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78436 length is less than 2**64.
78437
784382012-08-15 Roland McGrath <roland@hack.frob.com>
78439
78440 * string/str-two-way.h: Include <sys/param.h>.
78441 (MAX): Macro removed.
78442
78443 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78444 Move #define and #undef of memmove to just before and after
78445 including <string.h>.
78446
78447 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78448 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78449 and after including <string.h>. Move declarations of
78450 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78451 to before #include "string/memmove.c".
78452
78453 * include/dirent.h: Declare __getdirentries.
78454
78455 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78456 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78457
784582012-08-14 Mike Frysinger <vapier@gentoo.org>
78459
78460 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78461 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78462 * sysdeps/i386/configure: Regenerated.
78463 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78464 STABS_CURRENT_FILE, and STABS_FUN.
78465 (END): Remove call to STABS_FUN_END.
78466 (STABS_CURRENT_FILE1): Delete.
78467 (STABS_CURRENT_FILE): Likewise.
78468 (STABS_FUN): Likewise.
78469 (STABS_FUN_END): Likewise.
78470 (STABS_FUN2): Likewise.
78471 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78472 * sysdeps/x86_64/configure: Regenerated.
78473
784742012-08-14 Roland McGrath <roland@hack.frob.com>
92c3af3c 78475
edf66db1
SP
78476 * elf/dl-open.c: Include <atomic.h>.
78477 * elf/dl-lookup.c: Likewise.
92c3af3c 78478
edf66db1 784792012-08-14 Joseph Myers <joseph@codesourcery.com>
92c3af3c 78480
edf66db1
SP
78481 * sysdeps/unix/sysv/linux/kernel-features.h
78482 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78483 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78484 unconditionally.
78485 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78486 unconditionally.
78487 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78488 condition on __ASSUME_CLONE_THREAD_FLAGS.
92c3af3c 78489
edf66db1 784902012-08-14 Andreas Jaeger <aj@suse.de>
92c3af3c 78491
edf66db1 78492 * sysdeps/i386/fpu/libm-test-ulps: Update.
92c3af3c 78493
edf66db1 784942012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
92c3af3c 78495
edf66db1
SP
78496 * include/atomic.h (atomic_exchange_and_add): Split into ...
78497 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78498 New atomic macros.
92c3af3c 78499
edf66db1 785002012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
92c3af3c 78501
edf66db1 78502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
92c3af3c 78503
edf66db1 785042012-08-13 Jeff Law <law@redhat.com>
92c3af3c 78505
edf66db1
SP
78506 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78507 null byte in the output string.
92c3af3c 78508
edf66db1 785092012-08-10 Joseph Myers <joseph@codesourcery.com>
92c3af3c
SP
78510
78511 * sysdeps/unix/sysv/linux/kernel-features.h
edf66db1
SP
78512 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78513 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78514 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78515 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78516 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78517 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78518 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78519
785202012-08-09 Jeff Law <law@redhat.com>
78521
78522 [BZ #13939]
78523 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78524 When avoid_arena is set, don't retry in the that arena. Pick the
78525 next one, whatever it might be.
78526 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78527 (arena_lock): Pass in new parameter to arena_get2.
78528 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78529 arena_get2.
78530 (__libc_malloc): Unify retrying after main arena failure with
78531 __libc_memalign version.
78532 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78533
785342012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78535
78536 [BZ #14166]
78537 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78538 to __redirect_strstr.
78539 (__strstr_sse42): Use typeof __redirect_strstr.
78540 (__strstr_ia32): Likewise.
78541 (__libc_strstr): New prototype.
78542 (strstr): Renamed to ...
78543 (__libc_strstr): This.
78544 (strstr): New strong alias of __libc_strstr.
78545 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78546 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78547 __redirect_time.
78548 Include <time.h>.
78549 (__libc_time): New prototype.
78550 (time_ifunc): Replace time with __libc_time.
78551 (time): New strong alias and hidden definition of __libc_time.
78552 (__GI_time): Remove strong alias.
78553 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78554 Include <stddef.h>.
78555 (memmove): Redefined to __redirect_memmove.
78556 (__memmove_sse2): Use typeof __redirect_memmove.
78557 (__memmove_ssse3): Likewise.
78558 (__memmove_ssse3_back): Likewise.
78559 (__libc_memmove): New prototype.
78560 (memmove): Renamed to ...
78561 (__libc_memmove): This.
78562 (memmove): New strong alias of __libc_memmove.
78563
785642012-08-08 Mark Salter <msalter@redhat.com>
78565
78566 * elf/elf.h
78567 (R_MN10300_TLS_GD): Define.
78568 (R_MN10300_TLS_LD): Likewise.
78569 (R_MN10300_TLS_LDO): Likewise.
78570 (R_MN10300_TLS_GOTIE): Likewise.
78571 (R_MN10300_TLS_IE): Likewise.
78572 (R_MN10300_TLS_LE): Likewise.
78573 (R_MN10300_TLS_DTPMOD): Likewise.
78574 (R_MN10300_TLS_DTPOFF): Likewise.
78575 (R_MN10300_TLS_TPOFF): Likewise.
78576 (R_MN10300_SYM_DIFF): Likewise.
78577 (R_MN10300_ALIGN): Likewise.
78578 (R_MN10300_NUM): Update.
78579
785802012-08-08 Joseph Myers <joseph@codesourcery.com>
78581
78582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78583 Remove.
92c3af3c 78584
edf66db1 785852012-08-08 Roland McGrath <roland@hack.frob.com>
92c3af3c 78586
edf66db1 78587 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
92c3af3c 78588
edf66db1
SP
78589 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78590 sysdeps/unix -> sysdeps/posix move.
78591 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
92c3af3c 78592
edf66db1 785932012-08-07 Allan McRae <allan@archlinux.org>
92c3af3c 78594
edf66db1
SP
78595 [BZ #14303]
78596 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78597 (SUNOS_CPP): Likewise.
78598 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78599 not found.
78600 (open_input): Call CPP using execvp.
92c3af3c 78601
edf66db1 786022012-08-07 Joseph Myers <joseph@codesourcery.com>
92c3af3c 78603
edf66db1
SP
78604 * sysdeps/unix/sysv/linux/kernel-features.h
78605 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78606 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78607 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78608 (__ASSUME_WAITID_SYSCALL): Likewise.
78609 * sysdeps/unix/sysv/linux/dl-execstack.c
78610 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78611 code unconditional.
78612 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78613 conditional code.
78614 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78615 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78616 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78617 code.
78618 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78619 unconditional.
78620 [__ASSUME_WAITID_SYSCALL]: Likewise.
78621 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78622
786232012-08-07 Roland McGrath <roland@hack.frob.com>
78624
78625 * sysdeps/unix/closedir.c: Renamed to ...
78626 * sysdeps/posix/closedir.c: ... here.
78627 * sysdeps/unix/dirfd.c: Renamed to ...
78628 * sysdeps/posix/dirfd.c: ... here.
78629 * sysdeps/unix/dirstream.h: Renamed to ...
78630 * sysdeps/posix/dirstream.h: ... here.
78631 * sysdeps/unix/fdopendir.c: Renamed to ...
78632 * sysdeps/posix/fdopendir.c: ... here.
78633 * sysdeps/unix/opendir.c: Renamed to ...
78634 * sysdeps/posix/opendir.c: ... here.
78635 * sysdeps/unix/readdir.c: Renamed to ...
78636 * sysdeps/posix/readdir.c: ... here.
78637 * sysdeps/unix/readdir_r.c: Renamed to ...
78638 * sysdeps/posix/readdir_r.c: ... here.
78639 * sysdeps/unix/rewinddir.c: Renamed to ...
78640 * sysdeps/posix/rewinddir.c: ... here.
78641 * sysdeps/unix/seekdir.c: Renamed to ...
78642 * sysdeps/posix/seekdir.c: ... here.
78643 * sysdeps/unix/telldir.c: Renamed to ...
78644 * sysdeps/posix/telldir.c: ... here.
78645 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78646 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78647 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78648 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78649
78650 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78651 * bits/fcntl.h: ... here.
78652
78653 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78654 not 0.
78655 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78656 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78657 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78658 (struct flock): Move l_start, l_len to the beginning.
78659 Use __pid_t for l_pid.
78660 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78661 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78662 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78663 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78664 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78665 [__USE_LARGEFILE64] (struct flock64): New type.
78666 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78667
78668 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78669 * bits/dirent.h: ... here.
78670
78671 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78672 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78673
786742012-08-07 Joseph Myers <joseph@codesourcery.com>
78675
78676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78677 Change from 2.6.0 to 2.6.16.
78678 * sysdeps/unix/sysv/linux/configure: Regenerated.
78679 * sysdeps/unix/sysv/linux/kernel-features.h
78680 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78681 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78682 version.
78683 (__ASSUME_UTIMES): Likewise.
78684 (__ASSUME_CLONE_STOPPED): Remove.
78685 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78686 architectures, not kernel version.
78687 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78688 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78689 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78690 (__ASSUME_WAITID_SYSCALL): Likewise.
78691 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78692 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78693 * README: State 2.6.16 as minimum Linux kernel version. Do not
78694 refer to older versions.
78695
786962012-08-06 Roland McGrath <roland@hack.frob.com>
78697
78698 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78699 Define alphasort64 as an alias.
78700 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78701 Define versionsort64 as an alias.
78702 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78703 Define scandir64 as an alias.
78704 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78705 Define scandirat64 as an alias.
78706 * dirent/alphasort64.c (alphasort64):
78707 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78708 * dirent/versionsort64.c: Likewise.
78709 * dirent/scandir64.c: Likewise.
78710 * dirent/scandirat64.c: Likewise.
78711 * sysdeps/wordsize-64/alphasort.c: File removed.
78712 * sysdeps/wordsize-64/alphasort64.c: File removed.
78713 * sysdeps/wordsize-64/scandir.c: File removed.
78714 * sysdeps/wordsize-64/scandir64.c: File removed.
78715 * sysdeps/wordsize-64/scandirat.c: File removed.
78716 * sysdeps/wordsize-64/scandirat64.c: File removed.
78717 * sysdeps/wordsize-64/versionsort.c: File removed.
78718 * sysdeps/wordsize-64/versionsort64.c: File removed.
78719 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78721 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78723 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78725 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78726 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78727
78728 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78730 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78732 [defined __arch64__ || defined __sparcv9]
78733 (__INO_T_MATCHES_INO64_T): New macro.
78734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78735 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78736 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78737 * sysdeps/unix/sysv/linux/bits/dirent.h
78738 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78739 (_DIRENT_MATCHES_DIRENT64): New macro.
78740
78741 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78742 Define lockf64 as an alias.
78743 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78744 Define fseeko64 as an alias.
78745 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78746 Define ftello64 as an alias.
78747 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78748 Define _IO_fgetpos64 and fgetpos64 as aliases.
78749 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78750 Define _IO_fsetpos64 and fsetpos64 as aliases.
78751 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78752 Conditionalize body on this.
78753 * libio/fseeko64.c: Likewise.
78754 * libio/ftello64.c: Likewise.
78755 * libio/iofgetpos64.c: Likewise.
78756 * libio/iofsetpos64.c: Likewise.
78757 * sysdeps/wordsize-64/lockf.c: File removed.
78758 * sysdeps/wordsize-64/lockf64.c: File removed.
78759 * sysdeps/wordsize-64/fseeko.c: File removed.
78760 * sysdeps/wordsize-64/fseeko64.c: File removed.
78761 * sysdeps/wordsize-64/ftello.c: File removed.
78762 * sysdeps/wordsize-64/ftello64.c: File removed.
78763 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78764 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78765 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78766 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78773 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78774 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78775 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78777
78778 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78780 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78781 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78782 [defined __arch64__ || defined __sparcv9]
78783 (__OFF_T_MATCHES_OFF64_T): New macro.
78784 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78785 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78787 (__OFF_T_MATCHES_OFF64_T): New macro.
78788
787892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78790
78791 * stdlib/secure-getenv.c (__secure_getenv): Replace
78792 GLIBC_2_16 with GLIBC_2_17.
78793
787942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78795
78796 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78797 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78798
787992012-08-03 David S. Miller <davem@davemloft.net>
78800
78801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78802
788032012-08-03 Joseph Myers <joseph@codesourcery.com>
78804
78805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78806 Remove.
78807 (__ASSUME_CORRECT_SI_PID): Likewise.
78808 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78809 (__ASSUME_TMPFS_NAME): Likewise.
78810 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78811 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78812 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78813 (HAVE_AUX_SECURE): Make definition unconditional.
78814 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78815 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78816
788172012-08-03 Roland McGrath <roland@hack.frob.com>
78818
78819 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78820 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78821 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78822 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78823 __eloop_threshold instead of SYMLOOP_MAX.
78824
78825 * sysdeps/generic/eloop-threshold.h: New file.
78826 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78827 of MAXSYMLINKS.
78828 * elf/chroot_canon.c (chroot_canon): Likewise.
78829
788302012-08-03 Joseph Myers <joseph@codesourcery.com>
78831
78832 [BZ #13717]
78833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78834 Change to 2.6.0 everywhere.
78835 * sysdeps/unix/sysv/linux/configure: Regenerated.
78836 * sysdeps/unix/sysv/linux/kernel-features.h
78837 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78838 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78839 kernel versions.
78840 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78841 (__ASSUME_FUTEX_REQUEUE): Remove.
78842 (__ASSUME_STATFS64): Define unconditionally.
78843 (__ASSUME_AT_SECURE): Likewise.
78844 (__ASSUME_CORRECT_SI_PID): Likewise.
78845 (__ASSUME_TGKILL): Define without depending on kernel version for
78846 i386.
78847 (__ASSUME_UTIMES): Likewise.
78848 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78849 kernel version.
78850 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78851 (__ASSUME_TMPFS_NAME): Likewise.
78852 * README: Update reference to Linux kernel versions.
78853
788542012-08-02 Marek Polacek <polacek@redhat.com>
78855
78856 [BZ #14150]
78857 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78858 libc_cv_asm_type_prefix with %.
78859 * configure: Regenerated.
78860 * include/libc-symbols.h: Remove comment about
78861 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78862 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78863 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78864 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78865 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78866 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78867 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78868 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78869 * elf/tst-unique2mod1.c: Likewise.
78870 * elf/tst-unique1mod2.c: Likewise.
78871 * elf/tst-unique1mod1.c: Likewise.
78872 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78873 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78874 Replace ASM_TYPE_DIRECTIVE with .type.
78875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78876 * sysdeps/i386/sysdep.h: Likewise.
78877 * sysdeps/x86_64/sysdep.h: Likewise.
78878 * sysdeps/sh/sysdep.h: Likewise.
78879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78880 Do not define ASM_TYPE_DIRECTIVE.
78881 * sysdeps/powerpc/sysdep.h: Likewise.
78882 * sysdeps/powerpc/powerpc32/sysdep.h:
78883 Replace ASM_TYPE_DIRECTIVE with .type.
78884 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78885 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78886 * sysdeps/i386/fpu/e_powf.S: Likewise.
78887 * sysdeps/i386/fpu/e_expl.S: Likewise.
78888 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78889 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78890 * sysdeps/i386/fpu/e_pow.S: Likewise.
78891 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78892 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78893 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78894 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78895 * sysdeps/i386/fpu/e_log2.S: Likewise.
78896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78897 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78898 * sysdeps/i386/fpu/e_powl.S: Likewise.
78899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78901 * sysdeps/i386/fpu/e_logl.S: Likewise.
78902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78903 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78904 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78905 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78906 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78907 * sysdeps/i386/fpu/e_log.S: Likewise.
78908 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78909 * sysdeps/i386/fpu/e_logf.S: Likewise.
78910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78911 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78912 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78913 * sysdeps/i386/fpu/e_log10.S: Likewise.
78914 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78916 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78917 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78918 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78919 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78920 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78921 * sysdeps/i386/i686/strtok.S: Likewise.
78922 * sysdeps/i386/i386-mcount.S: Likewise.
78923 * sysdeps/i386/strtok.S: Likewise.
78924 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78925 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78926 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78927 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78928 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78929 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78930 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78931 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78932 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78933 * sysdeps/x86_64/_mcount.S: Likewise.
78934 * sysdeps/x86_64/strtok.S: Likewise.
78935 * sysdeps/sh/_mcount.S: Likewise.
78936
789372012-08-01 Roland McGrath <roland@hack.frob.com>
78938
78939 * libio/iofopen.c: Include <fcntl.h>.
78940 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78941 (_IO_fopen64, fopen64): Define as aliases.
78942 * libio/iofopen64.c: Include <fcntl.h>.
78943 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78944 Conditionalize body on this.
78945 * sysdeps/wordsize-64/iofopen.c: File removed.
78946 * sysdeps/wordsize-64/iofopen64.c: File removed.
78947
789482012-08-01 Marek Polacek <polacek@redhat.com>
78949
78950 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78951 Use dlfcn directly instead of a variable.
78952 (binfmt-subdir): Do not define.
78953 (dlfcn): Likewise.
78954
789552012-08-01 Joseph Myers <joseph@codesourcery.com>
78956
78957 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78958 Remove all definitions.
78959 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78960 <kernel-features.h>.
78961 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78962 (miss_F_GETOWN_EX): Remove all definitions.
78963 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78964 macro definition.
78965 [!__ASSUME_FCNTL64]: Remove conditional code.
78966 [__ASSUME_FCNTL64]: Make code unconditional.
78967 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78968 <kernel-features.h>.
78969 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78970 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78971 (lockf64) [__NR_fcntl64]: Make code unconditional.
78972 (lockf64) [__ASSUME_FCNTL64]: Likewise.
92c3af3c 78973
edf66db1
SP
78974 * sysdeps/unix/sysv/linux/kernel-features.h
78975 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78976 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78977 Make code unconditional.
78978 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78979 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78981 [__NR_vfork]: Make code unconditional.
78982 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78983 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78985 [__NR_vfork]: Make code unconditional.
78986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78988
789892012-08-01 Roland McGrath <roland@hack.frob.com>
78990
78991 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78992 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78993
78994 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78995 Define mkstemp64 as an alias.
78996 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78997 Define mkstemps64 as an alias.
78998 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78999 Define mkostemp64 as an alias.
79000 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
79001 Define mkostemps64 as an alias.
79002 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
79003 Conditionalize body on this.
79004 * misc/mkostemp64.c: Likewise.
79005 * misc/mkostemps64.c: Likewise.
79006 * misc/mkstemps64.c: Likewise.
79007 * sysdeps/wordsize-64/mkstemp64.c: File removed.
79008 * sysdeps/wordsize-64/mkostemp64.c: File removed.
79009 * sysdeps/wordsize-64/mkostemp.c: File removed.
79010 * sysdeps/wordsize-64/mkstemp.c: File removed.
79011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
79012 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
79013 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
79014 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
79015
79016 [BZ #14138]
79017 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
79018 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
79019 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
79020 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
79021
79022 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
79023 compat_symbol macros from <shlib-compat.h> rather than the underlying
79024 default_symbol_version and symbol_version macros, so that DEFAULT
79025 lines in shlib-versions are respected.
79026 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
79027
790282012-08-01 Florian Weimer <fweimer@redhat.com>
79029
7e3496cb 79030 [BZ #2705]
edf66db1
SP
79031 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
79032 Declare with warn_unused_result.
79033 (setgid, setregid, setegid, setresgid): Likewise.
79034 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
79035 Likewise.
79036 * WUR-REPORT: Remove set*id functions.
92c3af3c 79037
edf66db1 790382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 79039
edf66db1 79040 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
92c3af3c 79041
edf66db1 790422012-07-31 Roland McGrath <roland@hack.frob.com>
92c3af3c 79043
edf66db1
SP
79044 [BZ #10191]
79045 * include/sys/socket.h (__libc_accept, __libc_accept4):
79046 Add attribute_hidden.
79047 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
92c3af3c 79048
edf66db1
SP
79049 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
79050 use of PTR_MANGLE.
79051 * inet/getnetgrent_r.c (setup): Likewise.
92c3af3c 79052
edf66db1 79053 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
92c3af3c 79054
edf66db1 790552012-07-31 David S. Miller <davem@davemloft.net>
92c3af3c 79056
edf66db1 79057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 79058
edf66db1 790592012-07-31 Joseph Myers <joseph@codesourcery.com>
92c3af3c 79060
edf66db1
SP
79061 [BZ #13629]
79062 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
79063 value between 1.0 and 2.0 and smaller part has absolute value less
79064 than 1.0.
79065 * math/s_clog10.c (__clog10): Likewise.
79066 * math/s_clog10f.c (__clog10f): Likewise.
79067 * math/s_clog10l.c (__clog10l): Likewise.
79068 * math/s_clogf.c (__clogf): Likewise.
79069 * math/s_clogl.c (__clogl): Likewise.
79070 * math/libm-test.inc (clog_test): Add more tests.
79071 (clog10_test): Likewise.
79072 * sysdeps/i386/fpu/libm-test-ulps: Update.
79073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 79074
edf66db1 790752012-07-31 Florian Weimer <fweimer@redhat.com>
92c3af3c 79076
edf66db1
SP
79077 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
79078 Exit with zero in case no suitable GID is found, and write a
79079 message to standard error.
92c3af3c 79080
edf66db1 790812012-07-30 Roland McGrath <roland@hack.frob.com>
92c3af3c 79082
edf66db1
SP
79083 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
79084 rather than to 1.
79085 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
79086 (MAXPATHLEN): Removed.
79087 (NOGROUP, NODEV): New macros.
79088 (setbit, clrbit, isset, isclr): New macros.
79089 (howmany, roundup, powerof2): New macros.
79090 (DEV_BSIZE): New macro.
92c3af3c 79091
edf66db1
SP
79092 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
79093 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
92c3af3c 79094
edf66db1
SP
79095 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
79096 definition on [!__NO_LONG_DOUBLE_MATH].
92c3af3c 79097
edf66db1
SP
79098 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
79099 PTR_MANGLE and PTR_DEMANGLE.
92c3af3c 79100
edf66db1
SP
79101 * socket/accept4.c (accept4): Rename to __libc_accept4.
79102 Define accept4 as a weak alias.
92c3af3c 79103
edf66db1
SP
79104 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
79105 on [_DIRENT_HAVE_D_TYPE].
79106 * io/ftw.c (ftw_dir): Likewise.
92c3af3c 79107
edf66db1 79108 * io/xmknod.c (__xmknod): Don't check PATH for being null.
92c3af3c 79109
edf66db1 79110 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
92c3af3c 79111
edf66db1
SP
79112 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
79113 Use the BSD numbers rather than the arbitrary ones we had.
79114 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
79115 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
79116 (SIGXCPU, SIGXFSZ): New macros.
79117 (_NSIG): Now 32.
92c3af3c 79118
edf66db1
SP
79119 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
79120 initializer on [_LIBC_REENTRANT].
92c3af3c 79121
edf66db1
SP
79122 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
79123 definitions inside [_POSIX_MAPPED_FILES].
92c3af3c 79124
edf66db1 79125 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
92c3af3c 79126
edf66db1 79127 * dirent/opendir.c: Include <fcntl.h>.
92c3af3c 79128
edf66db1
SP
79129 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
79130 (__libc_getspecific): Likewise.
79131 (__libc_key_create): Likewise.
92c3af3c 79132
edf66db1
SP
79133 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
79134 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
79135 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
79136 (tmpfile64): Define as alias.
79137 * sysdeps/wordsize-64/tmpfile.c: File removed.
79138 * sysdeps/wordsize-64/tmpfile64.c: File removed.
79139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
79140 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
92c3af3c 79141
edf66db1
SP
79142 * stdio-common/vfscanf.c: Include <stdbool.h>.
79143 * nss/makedb.c: Likewise.
79144 * stdio-common/_i18n_number.h: Likewise.
79145 * argp/argp-help.c: Likewise.
79146 * posix/wordexp.c: Likewise.
79147 * sysdeps/posix/spawni.c: Likewise.
79148 * nss/nss_files/files-initgroups.c: Likewise.
79149 * stdio-common/reg-modifier.c: Include <stdlib.h>.
79150 * nss/nss_files/files-initgroups.c: Likewise.
79151 * nss/nss_db/db-netgrp.c: Likewise.
79152 * nss/nss_db/db-initgroups.c: Likewise.
79153 * io/fchmodat.c: Include <sys/stat.h>.
79154
79155 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
79156 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
79157
79158 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
79159 [HAVE_MMAP].
79160
79161 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
79162 Add multiple inclusion protection.
79163
791642012-07-27 David S. Miller <davem@davemloft.net>
79165
79166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79167
791682012-07-27 Gary Benson <gbenson@redhat.com>
79169
79170 [BZ #14298]
79171 * elf/rtld.c: Include <stap-probe.h>.
79172 (dl_main): Added static probes "init_start" and "init_complete".
79173 * elf/dl-load.c: Include <stap-probe.h>.
79174 (lose): Take new parameter "nsid".
79175 Added static probe "map_failed".
79176 (_dl_map_object_from_fd): Pass namespace id to lose.
79177 Added static probe "map_start".
79178 (open_verify): Pass namespace id to lose.
79179 * elf/dl-open.c: Include <stap-probe.h>.
79180 (dl_open_worker) Added static probes "map_complete", "reloc_start"
79181 and "reloc_complete".
79182 * elf/dl-close.c: Include <stap-probe.h>.
79183 (_dl_close_worker): Added static probes "unmap_start" and
79184 "unmap_complete".
79185 * elf/rtld-debugger-interface.txt: New file documenting the above.
79186
791872012-07-26 Roland McGrath <roland@hack.frob.com>
79188
79189 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79190 rather than a string variable.
79191 * sunrpc/rpc_main.c (h_output): Likewise.
79192 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79193
791942012-07-26 Pino Toscano <toscano.pino@tiscali.it>
79195
79196 * inet/check_native.c: New file.
79197
791982012-07-26 Joseph Myers <joseph@codesourcery.com>
79199
79200 [BZ #13629]
79201 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79202 if larger part has absolute value 1.0.
79203 * math/s_clog10.c (__clog10): Likewise.
79204 * math/s_clog10f.c (__clog10f): Likewise.
79205 * math/s_clog10l.c (__clog10l): Likewise.
79206 * math/s_clogf.c (__clogf): Likewise.
79207 * math/s_clogl.c (__clogl): Likewise.
79208 * math/libm-test.inc (clog_test): Add more tests.
79209 (clog10_test): Likewise.
79210 * sysdeps/i386/fpu/libm-test-ulps: Update.
79211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79212
79213 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79214 (pltexit): Likewise.
79215 (La_regs): Likewise.
79216 (La_retval): Likewise.
79217 (int_retval): Likewise.
79218 Update #error for removed macros to refer only to definitions in
79219 tst-audit.h.
79220 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79221 macro.
79222 (pltexit): Likewise.
79223 (La_regs): Likewise.
79224 (La_retval): Likewise.
79225 (int_retval): Likewise.
79226 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79227 macro.
79228 (pltexit): Likewise.
79229 (La_regs): Likewise.
79230 (La_retval): Likewise.
79231 (int_retval): Likewise.
79232 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79233 macro.
79234 (pltexit): Likewise.
79235 (La_regs): Likewise.
79236 (La_retval): Likewise.
79237 (int_retval): Likewise.
79238 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79239 macro.
79240 (pltexit): Likewise.
79241 (La_regs): Likewise.
79242 (La_retval): Likewise.
79243 (int_retval): Likewise.
79244 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79245 macro.
79246 (pltexit): Likewise.
79247 (La_regs): Likewise.
79248 (La_retval): Likewise.
79249 (int_retval): Likewise.
79250 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79251 macro.
79252 (pltexit): Likewise.
79253 (La_regs): Likewise.
79254 (La_retval): Likewise.
79255 (int_retval): Likewise.
79256 * sysdeps/generic/tst-audit.h: Update comment to refer only to
79257 macro definitions in tst-audit.h.
79258 * sysdeps/i386/tst-audit.h: New file.
79259 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79260 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79261 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79262 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79263 * sysdeps/sh/tst-audit.h: Likewise.
79264 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79265 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79266 * sysdeps/x86_64/tst-audit.h: Likewise.
79267
792682012-07-26 Andreas Jaeger <aj@suse.de>
79269
79270 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79271 ptrace.
79272
79273 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79274 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79275 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79276 PTRACE_O_MASK.
79277 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79278 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79279 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79280
79281 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79282 value.
92c3af3c 79283
edf66db1
SP
79284 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79285 _sigsys.
79286 (si_call_addr, si_syscall, si_arch): Define new macro.
79287 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79288 _sigsys.
79289 (si_call_addr, si_syscall, si_arch): Define new marcro.
79290 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79291 _sigsys.
79292 (si_call_addr, si_syscall, si_arch): Define new macro.
79293 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79294 _sigsys.
79295 (si_call_addr, si_syscall, si_arch): Define new macro.
79296
792972012-07-25 Joseph Myers <joseph@codesourcery.com>
79298
79299 [BZ #13717]
79300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79301 Change to 2.4.21 where previously 2.4.1.
79302 * sysdeps/unix/sysv/linux/configure: Regenerated.
79303 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79304 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79305 Linux kernel version.
79306 (__ASSUME_STD_AUXV): Remove.
79307 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79308 kernel version.
79309 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79310 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79311 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79312 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79313 (__ASSUME_NETLINK_SUPPORT): Likewise.
79314 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79315 (__no_netlink_support): Remove conditional definition.
79316 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79317 Remove.
79318 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79319 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79320 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79321 (if_nameindex_ioctl): Remove.
79322 (if_nameindex_netlink): Do not handle __no_netlink_support.
79323 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79324 code.
79325 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79326 Remove conditional code.
79327 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79328 code.
79329 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79330 unconditional.
79331 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79332 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79333 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79334 Remove.
79335 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79336 [!__ASSUME_STD_AUXV]: Remove conditional code.
79337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79338 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79339 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79341 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79342 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79343 code.
79344 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79346 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79347 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79348 conditional code.
79349 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79351 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79352 code.
79353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79354 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79355 conditional code.
79356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79357 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79358 code unconditional.
79359 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79360 conditional code.
79361 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79362 unconditional.
79363 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79364 conditional code.
79365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79366 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79367 unconditional.
79368 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79369 conditional code.
92c3af3c 79370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
edf66db1
SP
79371 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79372 code unconditional.
79373 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79374 conditional code.
79375 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79376 unconditional.
79377 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79378 conditional code.
92c3af3c 79379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
edf66db1
SP
79380 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79381 code unconditional.
79382 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79383 conditional code.
79384 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79385 unconditional.
79386 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79387 conditional code.
79388
793892012-07-25 Andreas Schwab <schwab@linux-m68k.org>
79390
79391 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79392 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79393 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79394 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79395 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79396 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79397 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79398 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79399 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79400 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79401 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79402 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79403 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79404 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79405 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79406 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79407 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79408 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79409 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79411 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79412 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79413 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79414
794152012-07-25 Florian Weimer <fweimer@redhat.com>
79416
79417 * Versions.def: Add GLIBC_2.17.
79418 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79419 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79420 Introduce __libc_secure_getenv.
79421 * stdlib/Versions (2.17): Add secure_getenv
79422 (GLIBC_PRIVATE): Add __libc_secure_getenv.
79423 * stdlib/secure-getenv.c: Rename __secure_getenv to
79424 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
79425 symbol __secure_getenv for GLIBC_2.0.
79426 * stdlib/tst-secure-getenv.c: New.
79427 * stdlib/Makefile (tests): Add testcase.
79428 * manual/startup.texi (Environment Access): Document
79429 secure_getenv.
79430 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79431 __libc_secure_getenv.
79432 * inet/ruserpass.c (ruserpass): Likewise.
79433 * malloc/mtrace.c (mtrace): Likewise.
79434 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79435 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79436 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79437 * sysdeps/posix/tempname.c: Likewise. Evaluate
79438 HAVE_SECURE_GETENV.
79439 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79440 __secure_getenv to __libc_secure_getenv.
79441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79443 Likewise.
79444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79445 Likewise.
79446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79453
794542012-07-25 Joseph Myers <joseph@codesourcery.com>
79455
79456 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79457 (struct La_i86_retval): Likewise.
79458 (struct La_x86_64_regs): Likewise.
79459 (struct La_x86_64_retval): Likewise.
79460 (struct La_x32_regs): Likewise.
79461 (struct La_x32_retval): Likewise.
79462 (struct La_ppc32_regs): Likewise.
79463 (struct La_ppc32_retval): Likewise.
79464 (struct La_ppc64_regs): Likewise.
79465 (struct La_ppc64_retval): Likewise.
79466 (struct La_sh_regs): Likewise.
79467 (struct La_sh_retval): Likewise.
79468 (struct La_s390_32_regs): Likewise.
79469 (struct La_s390_32_retval): Likewise.
79470 (struct La_s390_64_regs): Likewise.
79471 (struct La_s390_64_retval): Likewise.
79472 (struct La_sparc32_regs): Likewise.
79473 (struct La_sparc32_retval): Likewise.
79474 (struct La_sparc64_regs): Likewise.
79475 (struct La_sparc64_retval): Likewise.
79476 (struct audit_ifaces): Remove architecture-specific pltenter and
79477 pltexit members.
79478 * sysdeps/i386/ldsodefs.h: New file.
79479 * sysdeps/powerpc/ldsodefs.h: Likewise.
79480 * sysdeps/s390/ldsodefs.h: Likewise.
79481 * sysdeps/sh/ldsodefs.h: Likewise.
79482 * sysdeps/sparc/ldsodefs.h: Likewise.
79483 * sysdeps/x86_64/ldsodefs.h: Likewise.
79484
794852012-07-25 Marek Polacek <polacek@redhat.com>
79486
79487 [BZ #6808]
79488 * math/libm-test.inc (yn_test): Add another test.
79489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79490 to ERANGE when the result is +-Inf.
79491 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79492 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79493 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79494 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79495
794962012-07-24 Joseph Myers <joseph@codesourcery.com>
79497
79498 * conform/data/time.h-data (NULL): Use macro-constant. Require
79499 equal to 0.
79500 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79501 clock_t.
79502 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79503
795042012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79505
79506 * configure.in <sysdeps resolving>: Correct printing
79507 Implies_before.
79508 * configure: Regenerate.
92c3af3c 79509
edf66db1
SP
795102012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79511
79512 * math/w_ilogb.c: Include <limits.h>.
79513 * math/w_ilogbl.c: Likewise.
79514
795152012-07-20 Joseph Myers <joseph@codesourcery.com>
79516
79517 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79518 va_copy. Document allowing for unavailable va_copy only as
79519 pre-C99 compatibility.
79520 * manual/string.texi (Copying and Concatenation): Use va_copy
79521 instead of __va_copy in concat example.
79522
795232012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79524
79525 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79526 (__sendto): Use create_address_port. Initialize APORT and deallocate
79527 it if not null.
79528
79529 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79530 with O_NOLINK passed to __file_name_lookup.
79531
79532 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79533 with O_NOLINK passed to __file_name_lookup.
79534
79535 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79536 negative N or less than NGIDS.
79537
79538 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79539 type to string_t. Set ERANGE as errno and return it if NAME is not big
79540 enough. Use memcpy instead of strncpy.
79541
795422012-07-20 Joseph Myers <joseph@codesourcery.com>
79543
79544 * elf/Makefile (check-data): Remove.
79545 (localplt.data): New vpath directive.
79546 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79547 instead of $(check-data).
79548 * scripts/data/localplt-generic.data: Move to ...
79549 * sysdeps/generic/localplt.data: ... here.
79550 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79551 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79552 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79554 ... here.
79555 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79557 ... here.
79558 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79560 ... here.
79561 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79563 ... here.
79564 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79566 ... here.
79567 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79569 ... here.
79570
795712012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79572
79573 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79574 PPC32 and PPC64 files.
79575 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79576 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79577
795782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79579
79580 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79581 __makecontext_ret to ...
79582 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79583 ... here and call exit if uc_link is NULL. New file.
79584 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79585 __makecontext_ret.S.
79586 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79587 __makecontext_ret to ...
79588 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79589 ... here and call exit if uc_link is NULL. New file.
79590 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79591 __makecontext_ret.S.
79592
795932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79594
79595 * elf/elf.h (R_390_IRELATIVE): New definition.
79596 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79597 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79598 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79599 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79600 (elf_machine_lazy_rel): Likewise.
79601 * sysdeps/s390/dl-irel.h: New file.
79602 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79603 * sysdeps/s390/s390-64/memset.S: New asm code.
79604 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79605 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79606 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79607 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79608 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79609 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79610 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79611 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79612 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79613 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79614 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79615 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79616 * sysdeps/s390/s390-32/memset.S: New asm code.
79617 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79618
796192012-07-17 Marek Polacek <polacek@redhat.com>
79620
79621 [BZ #14349]
79622 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79623 * sysdeps/s390/s390-64/configure.in: Likewise.
79624 * sysdeps/sparc/configure.in: Likewise.
79625 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79626 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79627 * sysdeps/i386/configure.in: Likewise.
79628 * sysdeps/x86_64/configure.in: Likewise.
79629 * sysdeps/sh/configure.in: Likewise.
79630 * sysdeps/s390/s390-32/configure: Regenerated.
79631 * sysdeps/s390/s390-64/configure: Likewise.
79632 * sysdeps/x86_64/configure: Likewise.
79633 * sysdeps/sh/configure: Likewise.
79634 * sysdeps/powerpc/powerpc64/configure: Likewise.
79635 * sysdeps/powerpc/powerpc32/configure: Likewise.
79636 * sysdeps/sparc/configure: Likewise.
79637 * sysdeps/i386/configure: Likewise.
79638
79639 * elf/dl-open.c: Comment fixes.
79640
796412012-07-17 Joseph Myers <joseph@codesourcery.com>
79642
79643 * Makefile [CXX] (check-data): Remove.
79644 [CXX] (c++-types.data): New vpath directive.
79645 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79646 vpath. Do not allow for C++ type data being missing.
79647 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79648 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79649 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79650 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79651 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79652 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79653 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79655 ... here.
79656 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79658 ... here.
79659 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79661 ... here.
79662 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79664 ... here.
79665 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79667 ... here.
79668 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79670 ... here.
79671 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79673 ... here.
79674 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79676
79677 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79678 definitions to architecture-specific files.
79679 (TLS_IE): Likewise.
79680 (TLS_LD): Likewise.
79681 (TLS_GD): Likewise.
79682 * sysdeps/i386/tls-macros.h: New file.
79683 * sysdeps/powerpc/tls-macros.h: Likewise.
79684 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79685 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79686 * sysdeps/sh/tls-macros.h: Likewise.
79687 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79688 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79689 * sysdeps/x86_64/tls-macros.h: Likewise.
79690
796912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79692
79693 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79694 zero value for regular exit case.
79695
79696 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79697 (__start_context): Preserve zero value for regular exit case.
79698
796992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79700 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79701
79702 * manual/setjmp.texi (setcontext): Clarify normal process
79703 termination when uc_link is the null pointer.
79704 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79705 exit call.
79706
797072012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79708
79709 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79710 preprocessor. Test for each exception mask separately.
79711
797122012-07-16 Andreas Jaeger <aj@suse.de>
92c3af3c 79713
edf66db1 79714 * po/ru.po: Update from translation team.
92c3af3c 79715
edf66db1 797162012-07-15 Joseph Myers <joseph@codesourcery.com>
92c3af3c 79717
edf66db1
SP
79718 * conform/data/string.h-data (NULL): Use macro-constant. Require
79719 equal to 0.
79720 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79721 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79722 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79723 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
92c3af3c 79725
edf66db1 797262012-07-13 Andreas Jaeger <aj@suse.de>
92c3af3c 79727
edf66db1 79728 * po/fr.po: Update from translation team.
92c3af3c 79729
edf66db1 797302012-07-12 Marek Polacek <polacek@redhat.com>
92c3af3c 79731
edf66db1
SP
79732 [BZ #14173]
79733 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79734 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79735 loop condition.
92c3af3c 79736
edf66db1 797372012-07-12 Joseph Myers <joseph@codesourcery.com>
92c3af3c 79738
edf66db1
SP
79739 [BZ #13717]
79740 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79741 Change to 2.4.1 where previously 2.4.0.
79742 * sysdeps/unix/sysv/linux/configure: Regenerated.
79743 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79744 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79745 version.
79746 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79747 (__ASSUME_AT_CLKTCK): Remove.
79748 (__ASSUME_AT_PAGESIZE): Likewise.
79749 (__ASSUME_AT_XID): Likewise.
79750 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79751 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79752 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79753 unconditionally.
79754 (HAVE_AUX_PAGESIZE): Likewise.
79755 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79756 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79757 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79758
797592012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79760
79761 [BZ #14307]
79762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79763 the temporary buffer used to invoke __gethostbyname2_r,
79764 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79765 host_data / struct gaih_addrtuple.
79766 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79767 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79768 header file nss/nsswitch.h.
79769 * nss/nsswitch.h (global scope): Add definition of implementation
79770 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79771 resolv/nss_dns/dns-host.c).
79772
797732012-07-11 Andreas Jaeger <aj@suse.de>
92c3af3c 79774
edf66db1 79775 * po/fr.po: Update from translation team.
92c3af3c 79776
edf66db1
SP
79777 * po/sv.po: Update from translation team
79778 * po/fr.po: Another update from translation team.
92c3af3c 79779
edf66db1 797802012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 79781
edf66db1
SP
79782 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79783 for subnormals or multiply small sinh result by itself.
79784 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 79786
edf66db1 797872012-07-11 David S. Miller <davem@davemloft.net>
92c3af3c 79788
edf66db1 79789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 79790
edf66db1 797912012-07-10 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 79792
edf66db1
SP
79793 [BZ #14347]
79794 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79795 (INTERNAL_MARK): Shift it here.
92c3af3c 79796
edf66db1 797972012-07-10 Marek Polacek <polacek@redhat.com>
92c3af3c 79798
edf66db1
SP
79799 [BZ #14151]
79800 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79801 libc_cv_asm_global_directive with .globl.
79802 * configure: Regenerated.
79803 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79804 with .globl.
79805 * sysdeps/i386/configure: Regenerated.
79806 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79807 with .globl.
79808 * sysdeps/x86_64/configure: Regenerated.
79809 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79810 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79811 * elf/tst-unique2mod2.c: Likewise.
79812 * elf/tst-unique2mod1.c: Likewise.
79813 * elf/tst-unique1mod2.c: Likewise.
79814 * elf/tst-unique1mod1.c: Likewise.
79815 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79816 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79818 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79819 * sysdeps/mach/sysdep.h: Likewise.
79820 * sysdeps/i386/sysdep.h: Likewise.
79821 * sysdeps/i386/i386-mcount.S: Likewise.
79822 * sysdeps/x86_64/_mcount.S: Likewise.
79823 * sysdeps/x86_64/sysdep.h: Likewise.
79824 * sysdeps/sh/_mcount.S: Likewise.
79825 * sysdeps/sh/sysdep.h: Likewise.
79826 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79827 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79828 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79829 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79830 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79831 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79832 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79833 * locale/localeinfo.h: Likewise.
79834 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79835 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79836
798372012-07-09 Roland McGrath <roland@hack.frob.com>
79838
79839 [BZ #14336]
79840 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79841 system".
79842 * manual/message.texi (The Uniforum approach): Likewise.
79843 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79844 (glibc iconv Implementation): Likewise.
79845
798462012-07-09 Joseph Myers <joseph@codesourcery.com>
79847
79848 [BZ #14337]
79849 * math/s_clog.c (__clog): Avoid scaling a value down where that
79850 could result in underflow.
79851 * math/s_clog10.c (__clog10): Likewise.
79852 * math/s_clog10f.c (__clog10f): Likewise.
79853 * math/s_clog10l.c (__clog10l): Likewise.
79854 * math/s_clogf.c (__clogf): Likewise.
79855 * math/s_clogl.c (__clogl): Likewise.
79856 * math/libm-test.inc (clog_test): Add more tests.
79857 (clog10_test): Likewise.
79858 * sysdeps/i386/fpu/libm-test-ulps: Update.
79859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79860
798612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79862
79863 [BZ #14283]
79864 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79865 by 7 not 8 to examine high bit of fractional part.
79866
79867 [BZ #14042]
79868 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79869 for call to __mcount_internal.
79870 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79871 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79872 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79873
798742012-07-06 Joseph Myers <joseph@codesourcery.com>
79875
79876 [BZ #14154]
79877 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79878 approximation for values within 0x1p-13f of an odd multiple of
79879 pi/4.
79880 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79881 exception. Add more tests.
79882 * sysdeps/i386/fpu/libm-test-ulps: Update.
79883
79884 [BZ #6778]
79885 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79886 inputs and return -1 for them. Do not check for +Inf in case not
79887 reachable for +Inf.
79888 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79889 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79890 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79891 and return -1 for them. Do not check for +Inf in case not
79892 reachable for +Inf.
79893 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79894 define.
79895 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79896 and return -1 for them. Do not check for +Inf in case not
79897 reachable for +Inf.
79898 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79899 spurious underflow.
79900 * sysdeps/i386/fpu/libm-test-ulps: Update.
79901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79902
799032012-07-06 Mike Frysinger <vapier@gentoo.org>
79904
79905 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79906
799072012-07-05 Joseph Myers <joseph@codesourcery.com>
79908
79909 [BZ #14157]
79910 [BZ #14331]
79911 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79912 could result in spurious underflow. Scale down values above
79913 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79914 * math/s_csqrtf.c (__csqrtf): Likewise.
79915 * math/s_csqrtl.c (__csqrtl): Likewise.
79916 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79917 spurious underflow.
79918 * sysdeps/i386/fpu/libm-test-ulps: Update.
79919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79920
799212012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79922
79923 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79924 xopen-msg.sed.
79925 * catgets/xopen-msg.awk: New file.
79926 * catgets/xopen-msg.sed: Removed.
79927
79928 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79929 po2text.sed.
79930 * intl/po2test.awk: New file.
79931 * intl/po2test.sed: Removed.
79932
799332012-07-04 Joseph Myers <joseph@codesourcery.com>
79934
79935 [BZ #14328]
79936 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79937 or multiply small sinh result by itself.
79938 * math/s_ctanf.c (__ctanf): Likewise.
79939 * math/s_ctanh.c (__ctanh): Likewise.
79940 * math/s_ctanhf.c (__ctanhf): Likewise.
79941 * math/s_ctanhl.c (__ctanhl): Likewise.
79942 * math/s_ctanl.c (__ctanl): Likewise.
79943 * math/libm-test.inc (ctan_test_tonearest): New function.
79944 (ctan_test_towardzero): Likewise.
79945 (ctan_test_downward): Likewise.
79946 (ctan_test_upward): Likewise.
79947 (ctanh_test_tonearest): Likewise.
79948 (ctanh_test_towardzero): Likewise.
79949 (ctanh_test_downward): Likewise.
79950 (ctanh_test_upward): Likewise.
79951 (main): Call these new functions.
79952 * sysdeps/i386/fpu/libm-test-ulps: Update.
79953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79954
799552012-07-03 Mike Frysinger <vapier@gentoo.org>
79956
79957 * .gitignore: Delete /ports entry.
79958
799592012-07-03 Andreas Jaeger <aj@suse.de>
92c3af3c 79960
edf66db1
SP
79961 * po/bg.po: Update from translation team.
79962 * po/cs.po: Likewise.
79963 * po/de.po: Likewise.
79964 * po/hr.po: Likewise.
79965 * po/nl.pl: Likewise.
79966 * po/pl.po: Likewise.
79967 * po/vi.po: Likewise.
92c3af3c 79968
edf66db1
SP
799692012-07-03 Joseph Myers <joseph@codesourcery.com>
79970
79971 * Makeconfig [!+link] (+link-before-libc): New variable.
79972 [!+link] (+link-after-libc): Likewise.
79973 [!+link] (+link-tests): Likewise.
79974 [!+link] (+link): Define in terms of $(+link-before-libc) and
79975 $(+link-after-libc).
79976 [!+link-static] (+link-static-before-libc): New variable.
79977 [!+link-static] (+link-static-after-libc): Likewise.
79978 [!+link-static] (+link-static-tests): Likewise.
79979 [!+link-static] (+link-static): Define in terms of
79980 $(+link-static-before-libc) and $(+link-static-after-libc).
79981 [build-shared] (link-libc-before-gnulib): New variable.
79982 [build-shared] (link-libc-tests): Likewise.
79983 [build-shared] (link-libc): Define in terms of
79984 $(link-libc-before-gnulib).
79985 [!build-shared] (link-libc-tests): New variable.
79986 (link-libc-static-tests): New variable.
79987 [!gnulib] (gnulib-arch): New variable.
79988 [!gnulib] (gnulib-tests): Likewise.
79989 [!gnulib] (static-gnulib-arch): Likewise.
79990 [!gnulib] (static-gnulib-tests): Likewise.
79991 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79992 Define with "=" instead of ":=".
79993 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79994 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79995 * Rules (binaries-all-notests): New variable.
79996 (binaries-all-tests): Likewise.
79997 (binaries-static-notests): Likewise.
79998 (binaries-static-tests): Likewise.
79999 (binaries-all): Define using $(binaries-all-notests) and
80000 $(binaries-all-tests).
80001 (binaries-static): Define using $(binaries-static-notests) and
80002 $(binaries-static-tests).
80003 (binaries-shared-tests): New variable.
80004 (binaries-shared-notests): Likewise.
80005 (binaries-shared): Remove variable.
80006 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
80007 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
80008 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
80009 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
80010 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
80011 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
80012 * elf/Makefile (sln-modules): New variable.
80013 (extra-objs): Add $(sln-modules:=.o).
80014 (ldconfig-modules): Add static-stubs.
80015 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
80016 * elf/static-stubs.c: New file.
80017
80018 [BZ #14283]
80019 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
80020 by 7 not 8 to examine high bit of fractional part. Use volatile
80021 variables when splitting into final array of floats if
80022 __FLT_EVAL_METHOD__ != 0.
80023 * math/libm-test.inc (cos_test): Add another test.
80024 (sin_test): Likewise.
80025 * sysdeps/i386/fpu/libm-test-ulps: Update.
80026
80027 [BZ #14273]
80028 * math/libm-test.inc (cosh_test): Add more tests.
80029
80030 * version.h (RELEASE): Set to "development".
80031 (VERSION): Set to "2.16.90".
80032
800332012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
80034
80035 * NEWS: Update copyright. Remove last-updated date.
80036 Mention math library bug fixes and timezone data changes.
80037 * README: Mention GNU/Hurd, x32, and HPPA support status.
80038
800392012-06-28 Thomas Schwinge <thomas@codesourcery.com>
80040
80041 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
80042
800432012-06-27 Andreas Jaeger <aj@suse.de>
80044
80045 * manual/contrib.texi (Contributors): Add Samuel Thibault.
80046
800472012-06-25 Andreas Jaeger <aj@suse.de>
92c3af3c 80048
edf66db1 80049 * sysdeps/s390/fpu/libm-test-ulps: Update.
92c3af3c 80050
edf66db1
SP
800512012-06-23 Andreas Schwab <schwab@linux-m68k.org>
80052 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 80053
edf66db1
SP
80054 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
80055 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
80056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
80057 fanotify_mark.
92c3af3c 80058
edf66db1 800592012-06-23 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 80060
edf66db1
SP
80061 * sysdeps/mach/start.c: Remove file.
80062 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
80063 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
80064 * sysdeps/sh/init-first.c: Likewise.
92c3af3c 80065
edf66db1
SP
80066 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
80067 registers for frame unwinding purposes, add CFI directives.
80068 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80069 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
80070 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
80071 Likewise.
92c3af3c 80072
edf66db1
SP
80073 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
80074 __fortify_fail returning.
80075 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80076
80077 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
80078 sysdeps/sh/____longjmp_chk.S.
80079 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
80080 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
80081 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
80082 (gen-as-const-headers): Append sigaltstack-offsets.sym.
80083
80084 * sysdeps/sh/abort-instr.h: New file.
80085 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
80086 process in case exit returns.
80087
80088 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
80089 initialize the GOT register before use.
80090
80091 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
80092 calculation of ARGC > 4.
80093
80094 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
80095 meaningful names to some local labels.
80096
800972012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
80098 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80099
80100 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
80101 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
80102 (__arch_compare_and_exchange_val_16_acq): Likewise.
80103 (__arch_compare_and_exchange_val_32_acq): Likewise.
80104 (atomic_exchange_and_add): Fix gUSA sequence.
80105 (atomic_add): Likewise.
80106 (atomic_add_negative): Likewise.
80107 (atomic_add_zero): Likewise.
80108 (atomic_bit_test_set): Likewise.
80109
801102012-06-22 Andreas Schwab <schwab@redhat.com>
80111
80112 [BZ #13579]
80113 * include/link.h (struct link_map): Add l_free_initfini.
80114 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
80115 l_initfini.
80116 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
80117 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
80118 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
80119 set.
80120
801212012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
80122
80123 * configure.in: Use AC_LANG_SOURCE.
80124 * configure: Regenerate.
92c3af3c 80125
edf66db1 801262012-06-22 Roland McGrath <roland@hack.frob.com>
92c3af3c 80127
edf66db1
SP
80128 * configure.in (libc_cv_localstatedir): New substituted variable.
80129 * configure: Regenerated.
80130 * config.make.in (localstatedir): New variable, substituted from
80131 libc_cv_localstatedir.
80132 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
80133 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
80134 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
80135 * sysdeps/gnu/configure: Regenerated.
92c3af3c 80136
edf66db1 801372012-06-21 Jeff Law <law@redhat.com>
92c3af3c 80138
edf66db1
SP
80139 [BZ #14277]
80140 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
80141 free. Simplify list management for _LIBC case.
92c3af3c 80142
edf66db1 801432012-06-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 80144
edf66db1
SP
80145 [BZ #14273]
80146 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
80147 Clear sign bit of 64-bit integer value before comparing against
80148 overflow value.
92c3af3c 80149
edf66db1 80150 * sysdeps/mach/configure: Regenerated.
92c3af3c 80151
edf66db1 801522012-06-21 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80153
edf66db1
SP
80154 [BZ #14278]
80155 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
92c3af3c 80156
edf66db1 801572012-06-21 Jeff Law <law@redhat.com>
92c3af3c 80158
edf66db1
SP
80159 [BZ #13882]
80160 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
80161 uint16_t for elements in the "seen" array to avoid char overflows.
80162 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80163 * elf/dl-open.c (dl_open_worker): Likewise.
92c3af3c 80164
edf66db1 801652012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
92c3af3c 80166
edf66db1
SP
80167 * scripts/list-sources.sh: Scan PORTS for translations.
80168 * po/libc.pot: Regenerated.
92c3af3c 80169
edf66db1 801702012-06-21 Andreas Jaeger <aj@suse.de>
92c3af3c 80171
edf66db1
SP
80172 [BZ #12194]
80173 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
80174 warning.
80175 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80176 * bits/byteswap-16.h (__bswap_16): Likewise.
80177 * bits/byteswap.h (__bswap_constant_16): Likewise.
92c3af3c 80178
edf66db1 801792012-06-18 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80180
edf66db1
SP
80181 [BZ #14117]
80182 * sysdeps/i386/fpu_control.h: Removed.
80183 * sysdeps/x86_64/fpu_control.h: Moved to ...
80184 * sysdeps/x86/fpu_control.h: Here.
92c3af3c 80185
edf66db1
SP
80186 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80187 (_FPU_SETCW): Likewise.
92c3af3c 80188
edf66db1 801892012-06-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80190
edf66db1
SP
80191 [BZ #14117]
80192 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80193 * sysdeps/x86/fpu/bits/mathinline.h: This.
80194 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
92c3af3c 80195
edf66db1
SP
80196 [BZ #14050]
80197 [BZ #14117]
80198 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80199 functions if __x86_64__ is defined.
92c3af3c 80200
edf66db1 802012012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
92c3af3c 80202
edf66db1
SP
80203 * string/endian.h: Add !__ASSEMBLER__ condition for including
80204 conversion interfaces.
92c3af3c 80205
edf66db1 802062012-06-15 Joseph Myers <joseph@codesourcery.com>
92c3af3c 80207
edf66db1
SP
80208 [BZ #14241]
80209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80210 of ABS(x) in calculating zero to negative powers other than odd
80211 integers.
80212 * math/libm-test.inc (pow_test): Add more tests.
92c3af3c 80213
edf66db1 802142012-06-15 Andreas Jaeger <aj@suse.de>
92c3af3c 80215
edf66db1
SP
80216 * manual/contrib.texi (Contributors): Update entry of Liubov
80217 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80218 Machado Filho.
92c3af3c 80219
edf66db1 802202012-06-15 Cyril Hrubis <metan@ucw.cz>
92c3af3c 80221
edf66db1 80222 * string/string.h: Add __wur to GNU version of strerror_r.
92c3af3c 80223
edf66db1 802242012-06-14 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80225
edf66db1
SP
80226 [BZ #14229]
80227 * string/Makefile (tests): Add tst-strtok_r.
80228 * string/tst-strtok_r.c: New file.
80229 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80230 RAX_LP/RDX_LP on SAVE_PTR.
92c3af3c 80231
edf66db1 802322012-06-14 Roland McGrath <roland@hack.frob.com>
92c3af3c 80233
edf66db1 80234 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
92c3af3c 80235
edf66db1 802362012-06-14 Joseph Myers <joseph@codesourcery.com>
92c3af3c 80237
edf66db1
SP
80238 * libm_test.inc (csqrt_test): Allow more spurious underflow
80239 exceptions.
80240 (j0_test): Likewise.
80241 (j1_test): Likewise.
80242 (y0_test): Likewise.
80243 (y1_test): Likewise.
80244
802452012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
80246
80247 * po/Makefile (libc.pot): Use UTF-8 charset.
80248
802492012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
80250
80251 [BZ #14210]
80252 Suppress sign-conversion warning from FD_SET.
80253 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80254 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80255 not unsigned long int.
80256 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80257
802582012-06-12 H.J. Lu <hongjiu.lu@intel.com>
80259
80260 [BZ #14050]
80261 [BZ #14117]
80262 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80263 __extern_always_inline instead of __extern_inline.
80264 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80265 (__signbit): Likewise.
80266 (__signbitl): Support C++ namespace.
80267 (lrintf): New inline function.
80268 (lrint): Likewise.
80269 (llrintf): Likewise.
80270 (llrint): Likewise.
80271 (fmaxf): Likewise.
80272 (fmax): Likewise.
80273 (fminf): Likewise.
80274 (fmin): Likewise.
80275 (rint): Likewise.
80276 (rintf): Likewise.
80277 (ceil): Likewise.
80278 (ceilf): Likewise.
80279 (floor): Likewise.
80280 (floorf): Likewise.
80281 (nearbyint): Likewise.
80282 (nearbyintf): Likewise.
92c3af3c 80283
edf66db1 802842012-06-12 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 80285
edf66db1
SP
80286 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80287 non-default versions.
92c3af3c 80288
edf66db1 802892012-06-11 Roland McGrath <roland@hack.frob.com>
92c3af3c 80290
edf66db1
SP
80291 [BZ #14218]
80292 * manual/argp.texi (Argp): Reword argp_parse description slightly.
92c3af3c 80293
edf66db1 802942012-06-09 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 80295
edf66db1
SP
80296 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80297 (FE_UPWARD, FE_DOWNWARD): Don't define.
80298 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80299 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
92c3af3c 80300
edf66db1
SP
80301 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80302 reading it.
80303 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80304 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92c3af3c 80305
edf66db1 803062012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
92c3af3c 80307
edf66db1
SP
80308 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80309 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80310 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80311 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
92c3af3c 80312
edf66db1 803132012-06-06 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80314
edf66db1
SP
80315 [BZ #14117]
80316 * sysdeps/i386/fpu/bits/fenv.h: Removed.
80317 * sysdeps/i386/fpu/Implies: New file.
80318 * sysdeps/x86_64/fpu/Implies: Likewise.
80319 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80320 * sysdeps/x86/fpu/bits/fenv.h: This.
92c3af3c 80321
edf66db1
SP
80322 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80323 __SSE_MATH__.
92c3af3c 80324
edf66db1 803252012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 80326
edf66db1
SP
80327 [BZ #14134]
80328 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80329 character 0xffff that matches the last element of the
80330 conversion table.
92c3af3c 80331
edf66db1 803322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 80333
edf66db1
SP
80334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80335 fmodl commit.
92c3af3c 80336
edf66db1 803372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 80338
edf66db1
SP
80339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80340 values higher than 25.6283.
92c3af3c 80341
edf66db1 803422012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 80343
edf66db1
SP
80344 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80345 subnormal exponent extraction and add some __builtin_expect.
80346 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80347 Fix for subnormal mantissa calculation.
92c3af3c 80348
edf66db1 803492012-06-04 Mike Frysinger <vapier@gentoo.org>
92c3af3c 80350
edf66db1
SP
80351 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80352 cpu2 is -1 and errno is not ENOSYS.
92c3af3c 80353
edf66db1 803542012-06-04 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80355
edf66db1
SP
80356 [BZ #14117]
80357 * sysdeps/i386/i486/bits/string.h: Renamed to ...
80358 * sysdeps/x86/bits/string.h: This.
80359 * sysdeps/x86_64/bits/string.h: Removed.
92c3af3c 80360
edf66db1
SP
80361 * sysdeps/i386/i486/bits/string.h: Define inline functions only
80362 if not compiling for x86-64, but compiling for >= i486.
92c3af3c 80363
edf66db1
SP
80364 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80365 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
92c3af3c 80366
edf66db1
SP
80367 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80368 New macro from Linux kernel 3.4.0.
80369 (FP_XSTATE_MAGIC2): Likewise.
80370 (FP_XSTATE_MAGIC2_SIZE): Likewise.
80371 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80372 (struct _fpx_sw_bytes): New struct.
80373 (struct _xsave_hdr): Likewise.
80374 (struct _ymmh_state): Likewise.
80375 (struct _xstate): Likewise.
92c3af3c 80376
edf66db1
SP
80377 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80378 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80379 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80380 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80381 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80382 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
92c3af3c 80383
edf66db1
SP
80384 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80385 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80386 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80387 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80388 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80389 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
92c3af3c 80390
edf66db1 803912012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 80392
edf66db1
SP
80393 [BZ #13743]
80394 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80395 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80396 (sysdep_headers): Include sys/platform/ppc.h.
80397 * sysdeps/powerpc/test-gettimebase.c: Test for
80398 __ppc_get_timebase() to catch future ISA opcode/insn changes.
80399 * manual/Makefile (appendices): Include platform.texi.
80400 * manual/contrib.texi (Contributors): Update @node pointers.
80401 * manual/maint.texi (Maintenance): Likewise.
80402 (Platform): New node.
80403 * manual/platform.texi: New file. Document the new features.
92c3af3c 80404
edf66db1
SP
804052012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
80406 Jakub Jelinek <jakub@redhat.com>
92c3af3c 80407
edf66db1
SP
80408 [BZ #14188]
80409 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80410 where __builtin_expect is unavailable.
92c3af3c 80411
edf66db1 804122012-06-03 David S. Miller <davem@davemloft.net>
92c3af3c 80413
edf66db1 80414 * stdlib/longlong.h: Updated from GCC.
92c3af3c 80415
edf66db1 804162012-06-02 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 80417
edf66db1
SP
80418 [BZ #14042]
80419 * sysdeps/powerpc/powerpc32/mcount.c: New file.
80420 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80421 __mcount_internal.
80422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80423 (GLIBC_2.16): Likewise.
92c3af3c 80424
edf66db1 804252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80426
edf66db1 80427 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
92c3af3c 80428
edf66db1 804292012-06-01 Joseph Myers <joseph@codesourcery.com>
92c3af3c 80430
edf66db1
SP
80431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80432 (default-abi): New variable.
80433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80434 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80435 variable.
80436 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80437 Likewise.
80438 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80439 Likewise.
80440 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80441 Likewise.
92c3af3c 80442
edf66db1
SP
80443 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80444 definition. Document in comment.
92c3af3c 80445
edf66db1 804462012-06-01 David S. Miller <davem@davemloft.net>
92c3af3c 80447
edf66db1 80448 * stdlib/longlong.h: Updated from GCC.
92c3af3c 80449
edf66db1 804502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80451
edf66db1
SP
80452 [BZ #14117]
80453 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80454 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80455 sys/debugreg.h sys/io.h here.
80456 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80457 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80458 sys/io.h.
80459 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80460 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80461 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80462 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80463 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80464 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
92c3af3c 80465
edf66db1
SP
80466 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80467 Define only if __x86_64__ is defined.
92c3af3c 80468
edf66db1 804692012-06-01 Joseph Myers <joseph@codesourcery.com>
92c3af3c 80470
edf66db1
SP
80471 [BZ #14048]
80472 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80473 Use int64_t for variable i.
80474 * math/libm-test.inc (fmod_test): Add more tests.
92c3af3c 80475
edf66db1
SP
80476 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80477 z computation is not scheduled after fetestexcept.
80478 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80479 Use math_force_eval instead of asm to ensure calculation scheduled
80480 before exception test.
80481 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80482 Ensure a1 + u.d computation is not scheduled after fetestexcept.
92c3af3c 80483
edf66db1 804842012-06-01 Aurelien Jarno <aurelien@aurel32.net>
92c3af3c 80485
edf66db1
SP
80486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80487 computation is not scheduled after fetestexcept.
92c3af3c 80488
edf66db1 804892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80490
edf66db1
SP
80491 [BZ #14117]
80492 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80493 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
92c3af3c 80494
edf66db1 804952012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 80496
edf66db1
SP
80497 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80498 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
92c3af3c 80499
edf66db1 805002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80501
edf66db1
SP
80502 [BZ #14117]
80503 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80504 <bits/wordsize.h>.
80505 (__WCHAR_MIN): Support __WORDSIZE == 64.
80506 (__WCHAR_MAX): Likewise.
92c3af3c 80507
edf66db1
SP
80508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
92c3af3c 80510
edf66db1
SP
80511 [BZ #14183]
80512 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80513 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
92c3af3c 80514
edf66db1
SP
80515 [BZ #14117]
80516 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80517 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
92c3af3c 80518
edf66db1
SP
80519 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80520 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
92c3af3c 80521
edf66db1
SP
80522 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80523 Defined to 1 if __x86_64__ isn't defined.
80524 (_STAT_VER_LINUX_OLD): New.
80525 (st_atime): Remove duplicate.
80526 (st_mtime): Likewise.
80527 (st_ctime): Likewise.
92c3af3c 80528
edf66db1 805292012-05-31 David S. Miller <davem@davemloft.net>
92c3af3c 80530
edf66db1
SP
80531 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80532 entries.
92c3af3c 80533
edf66db1
SP
805342012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80535
80536 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80537 gen-libm-test.pl.
80538
80539 [BZ #14132]
80540 * elf/dl-reloc.c: Include <_itoa.h>.
80541 (_dl_reloc_bad_type): Remove use of INTUSE.
80542 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80543 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80544 * stdio-common/psiginfo.c (psiginfo): Likewise.
80545 * stdio-common/psignal.c (psignal): Likewise.
80546 * string/strsignal.c (strsignal): Likewise.
80547 * include/signal.h (_sys_siglist): Declare hidden proto.
80548 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80549 INTVARDEF with libc_hidden_data_def.
80550 * stdio-common/itoa-udigits.c: Likewise.
80551 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80552 (_itoa_lower_digits_internal): Remove declaration.
80553 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80554 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80555 (_sys_sigabbrev_internal): Remove aliases.
80556 (_sys_siglist): Define hidden alias.
80557
805582012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80559
80560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80561 bits/sysctl.h.
80562
805632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80564
80565 [BZ #14117]
80566 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80567 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80568
80569 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80570 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80571 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80572 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80573 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80574 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80575
80576 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80577 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80578 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80579
80580 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80581 with __addr.
80582 (insw): Likewise.
80583 (insl): Likewise.
80584 (outsb): Likewise.
80585 (outsw): Likewise.
80586 (outsl): Likewise.
80587
80588 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80589 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80590 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80591
80592 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80593 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80595 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80596 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80597 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80598
80599 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80600 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80601
80602 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80603 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80604
80605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80607 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80608
80609 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80610 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80611 to ...
80612 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80613
80614 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80615 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80616 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80617
80618 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80619 for x86-64.
80620 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80621
806222012-05-31 Joseph Myers <joseph@codesourcery.com>
80623
80624 * math/math.h (M_El): Use two more decimal places.
80625 (M_LOG2El): Likewise.
80626 (M_LOG10El): Likewise.
80627 (M_LN2l): Likewise.
80628 (M_LN10l): Likewise.
80629 (M_PIl): Likewise.
80630 (M_PI_2l): Likewise.
80631 (M_PI_4l): Likewise.
80632 (M_1_PIl): Likewise.
80633 (M_2_PIl): Likewise.
80634 (M_2_SQRTPIl): Likewise.
80635 (M_SQRT2l): Likewise.
80636 (M_SQRT1_2l): Likewise.
80637
806382012-05-31 David S. Miller <davem@davemloft.net>
80639
80640 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80641 values between float registers.
80642 * sysdeps/sparc/sparc64/memset.S: Likewise.
80643 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80644
806452012-05-31 Mike Frysinger <vapier@gentoo.org>
80646
80647 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80648 -D_FORTIFY_SOURCE=1.
80649 (CPPFLAGS-tst-longjmp_chk.c): Define.
80650 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80651 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80652 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80653 CFLAGS-tst-wchar-h.c.
80654
806552012-05-31 Marek Polacek <polacek@redhat.com>
80656
80657 [BZ #14132]
80658 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80659 __endmntent_internal): Remove declaration.
80660 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80661 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80662 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80663
806642012-05-30 David S. Miller <davem@davemloft.net>
80665
80666 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80667 (___Q_simulate_exceptions): Use real FP ops rather than writing
80668 into the %fsr.
80669 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80670 Likewise.
92c3af3c 80671
edf66db1 806722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80673
edf66db1
SP
80674 [BZ #14117]
80675 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80676 * sysdeps/x86/bits/xtitypes.h: This.
92c3af3c 80677
edf66db1
SP
80678 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80679 * sysdeps/x86/bits/wordsize.h: This.
92c3af3c 80680
edf66db1
SP
80681 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80682 * sysdeps/x86/bits/huge_vall.h: This.
92c3af3c 80683
edf66db1
SP
80684 * sysdeps/i386/bits/select.h: Removed.
80685 * sysdeps/x86_64/bits/select.h: Renamed to ...
80686 * sysdeps/x86/bits/select.h: This.
92c3af3c 80687
edf66db1
SP
80688 * sysdeps/i386/bits/setjmp.h: Removed.
80689 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80690 * sysdeps/x86/bits/setjmp.h: This.
92c3af3c 80691
edf66db1
SP
80692 * sysdeps/i386/bits/mathdef.h: Removed.
80693 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80694 * sysdeps/x86/bits/mathdef.h: This.
92c3af3c 80695
edf66db1 806962012-05-30 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 80697
edf66db1
SP
80698 [BZ #14132]
80699 * include/sys/socket.h (__connect_internal)
80700 (__libc_sa_len_internal): Remove declaration.
80701 (__connect, __libc_sa_len): Declare hidden_proto.
80702 (SA_LEN): Remove use of INTUSE.
80703 * socket/connect.c: Add libc_hidden_def.
80704 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80705 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80706 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80707 alias.
80708 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80709 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80710 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80711 of adding _internal alias.
80712
807132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80714
80715 [BZ #14117]
80716 * sysdeps/i386/bits/link.h: Removed.
80717 * sysdeps/i386/bits/linkmap.h: Likewise.
80718 * sysdeps/x86_64/bits/link.h: Renamed to ...
80719 * sysdeps/x86/bits/link.h: This.
80720 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80721 * sysdeps/x86/bits/linkmap.h: This.
80722
80723 * sysdeps/i386/bits/endian.h: Removed.
80724 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80725 * sysdeps/x86/bits/endian.h: This.
80726
80727 * sysdeps/i386/bits/byteswap.h: Removed.
80728 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80729 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80730 * sysdeps/x86/bits/byteswap.h: This.
80731 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80732 * sysdeps/x86/bits/byteswap-16.h: This.
80733 * sysdeps/i386/Implies: Add x86.
80734 * sysdeps/x86_64/Implies: Likewise.
80735
807362012-05-30 David S. Miller <davem@davemloft.net>
80737
80738 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80739 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80740 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80741 (FP_TRAPPING_EXCEPTIONS): Define.
80742 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80743 (FP_TRAPPING_EXCEPTIONS): Define.
80744 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80745 subnormals only when inexact has been signalled or underflow
80746 exceptions are enabled.
80747 (_FP_PACK_CANONICAL): Likewise.
80748
807492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80750
80751 [BZ #14183]
80752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80753 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80754
807552012-05-30 Richard Henderson <rth@twiddle.net>
80756
80757 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80758 with #ifndef NOT_IN_libc.
80759
80760 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80761 marked to avoid plt entry.
80762
807632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80764
80765 [BZ #14112]
80766 * Makeconfig (default-abi): New macro.
80767 (abi-includes): Likewise.
80768 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80769 $(abi-$(default-abi)-lib-soname) for soname if defined.
80770 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80771 abi-variants.
80772 * Makefile (installed-stubs): Likewise.
80773 * include/stubs-biarch.h: Removed.
80774 * scripts/lib-names.awk: Only handle one library at a time.
80775 * scripts/soversions.awk: Remove WORDSIZE support.
80776 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80777 entries.
80778 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80779 Removed.
80780 (syscall-list-default-condition): Likewise.
80781 (syscall-list-default-condition): Likewise.
80782 (syscall-list-includes): Likewise.
80783 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80784 syscall-list-* with abi-*. Handle undefined abi-variants.
80785 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80786 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80787 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80788 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80789 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80790 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80791 Removed.
80792 (syscall-list-32-options): Likewise.
80793 (syscall-list-32-condition): Likewise.
80794 (syscall-list-64-options): Likewise.
80795 (syscall-list-64-condition): Likewise.
80796 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80797 macro.
80798 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80799 Renamed to ...
80800 (abi-*): This.
80801 (abi-64-ld-soname): New macro.
80802 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80803 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80804 Renamed to ...
80805 (abi-*): This.
80806 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80807 * sysdeps/x86_64/x32/shlib-versions: Likewise.
92c3af3c 80808
edf66db1 808092012-05-30 Joseph Myers <joseph@codesourcery.com>
92c3af3c 80810
edf66db1
SP
80811 * sysdeps/unix/sysv/linux/kernel-features.h
80812 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80813 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80814 include <kernel-features.h>.
80815 [!__NR_ftruncate64]: Remove conditional code.
80816 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80817 [__NR_ftruncate64]: Make code unconditional.
80818 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80819 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80820 include <kernel-features.h>.
80821 [!__NR_ftruncate64]: Remove conditional code.
80822 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80823 [__NR_ftruncate64]: Make code unconditional.
80824 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80826 include <kernel-features.h>.
80827 [!__NR_ftruncate64]: Remove conditional code.
80828 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80829 [__NR_ftruncate64]: Make code unconditional.
80830 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80832 include <kernel-features.h>.
80833 [!__NR_ftruncate64]: Remove conditional code.
80834 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80835 [__NR_ftruncate64]: Make code unconditional.
80836 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80837
80838 * configure.in (libc_cv_fpie): Weaken to a compile test using
80839 LIBC_TRY_CC_OPTION.
80840 * configure: Regenerated.
92c3af3c 80841
edf66db1
SP
808422012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80843
80844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80848 Refreshed.
80849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80855 Refreshed.
80856
808572012-05-27 David S. Miller <davem@davemloft.net>
80858
80859 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80860 (___Q_zero): New.
80861 (__Q_simulate_exceptions): Return void. Change to simulate
80862 exceptions by writing into the %fsr.
80863 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80864 (__Qp_handle_exceptions): Likewise.
80865 (numbers): Delete.
80866 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80867 __Qp_handle_exceptions.
80868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80869 __Qp_handle_exceptions.
80870 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80871 as unused and give dummy FP_RND_NEAREST initializer.
80872 (FP_INHIBIT_RESULTS): Define.
80873 (___Q_simulate_exceptions): Update declaration.
80874 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80875 formatting.
80876 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80877 as unused and give dummy FP_RND_NEAREST initializer.
80878 (__Qp_handle_exceptions): Update declaration.
80879 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80880 formatting.
80881
808822012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80883
80884 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80885 the temporary FPU control word.
80886 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80887 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80888 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80889 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80890 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80891 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80892 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80893 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80894 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80895 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80896 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80897
808982012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80899
80900 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80901 fields.
92c3af3c 80902
edf66db1 809032012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
92c3af3c 80904
edf66db1
SP
80905 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80906 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80907 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80908 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80909 Likewise.
80910 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80911 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80912 Likewise.
92c3af3c 80913
edf66db1 809142012-05-27 Ulrich Drepper <drepper@gmail.com>
92c3af3c 80915
edf66db1 80916 * po/h.po: Update from translation team.
92c3af3c 80917
edf66db1 809182012-05-26 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 80919
edf66db1 80920 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
92c3af3c 80921
edf66db1
SP
80922 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80923 handling of denormals.
80924 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80925 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80926 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80927 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80931 Likewise.
92c3af3c 80932
edf66db1 809332012-05-26 Marek Polacek <polacek@redhat.com>
92c3af3c 80934
edf66db1
SP
80935 [BZ #14152]
80936 * math/libm-test.inc (fma_test): Don't always expect underflow
80937 exception.
92c3af3c 80938
edf66db1 809392012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 80940
edf66db1
SP
80941 [BZ #12416]
80942 * elf/tst-execstack.c: Include stackinfo.h.
80943 (do_test): Adjust test case to ensure that pthread_getattr_np
80944 behaviour remains the same after marking stack executable.
92c3af3c 80945
edf66db1 809462012-05-25 Joseph Myers <joseph@codesourcery.com>
92c3af3c 80947
edf66db1
SP
80948 * sysdeps/unix/sysv/linux/kernel-features.h
80949 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80950 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80951 kernel-features.h.
80952 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80953 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80954 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80955 kernel-features.h.
80956 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80957 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
92c3af3c 80958
edf66db1 809592012-05-25 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 80960
edf66db1
SP
80961 * configure.in: Define the default includes to being none.
80962 * configure: Regenerated.
92c3af3c 80963
edf66db1 809642012-05-25 Roland McGrath <roland@hack.frob.com>
92c3af3c 80965
edf66db1
SP
80966 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80967 * sysdeps/x86_64/setjmp.S: Likewise.
80968 * sysdeps/i386/bsd-setjmp.S: Likewise.
80969 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80970 * sysdeps/i386/setjmp.S: Likewise.
80971 * sysdeps/i386/__longjmp.S: Likewise.
80972 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80973 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
92c3af3c 80974
edf66db1
SP
80975 * include/stap-probe.h: New file.
80976 * configure.in: Handle --enable-systemtap.
80977 * configure: Regenerated.
80978 * config.h.in (USE_STAP_PROBE): New #undef.
80979 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80980 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80981 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
92c3af3c 80982
edf66db1 809832012-05-25 Joseph Myers <joseph@codesourcery.com>
92c3af3c 80984
edf66db1
SP
80985 [BZ #13717]
80986 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80987 to 2.4.0 where earlier.
80988 * sysdeps/unix/sysv/linux/configure: Regenerated.
80989 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
80998 [__ASSUME_32BITUIDS]: Make code unconditional.
80999 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
81000 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
81001 <kernel-features.h>.
81002 [__ASSUME_32BITUIDS]: Make code unconditional.
81003 [!__ASSUME_32BITUIDS]: Remove conditional code.
81004 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
81005 <kernel-features.h>.
81006 [__ASSUME_32BITUIDS]: Make code unconditional.
81007 [!__ASSUME_32BITUIDS]: Remove conditional code.
81008 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
81009 <kernel-features.h>.
81010 [__ASSUME_32BITUIDS]: Make code unconditional.
81011 [!__ASSUME_32BITUIDS]: Remove conditional code.
81012 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
81013 <kernel-features.h>.
81014 [__ASSUME_32BITUIDS]: Make code unconditional.
81015 [!__ASSUME_32BITUIDS]: Remove conditional code.
81016 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
81017 <kernel-features.h>.
81018 [__ASSUME_32BITUIDS]: Make code unconditional.
81019 [!__ASSUME_32BITUIDS]: Remove conditional code.
81020 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
81021 <kernel-features.h>.
81022 [__ASSUME_32BITUIDS]: Make code unconditional.
81023 [!__ASSUME_32BITUIDS]: Remove conditional code.
81024 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
81025 <kernel-features.h>.
81026 [__ASSUME_32BITUIDS]: Make code unconditional.
81027 [!__ASSUME_32BITUIDS]: Remove conditional code.
81028 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
81029 <kernel-features.h>.
81030 [__ASSUME_32BITUIDS]: Make code unconditional.
81031 [!__ASSUME_32BITUIDS]: Remove conditional code.
81032 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
81033 <kernel-features.h>.
81034 [__ASSUME_32BITUIDS]: Make code unconditional.
81035 [!__ASSUME_32BITUIDS]: Remove conditional code.
81036 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
81037 <kernel-features.h>.
81038 [__ASSUME_32BITUIDS]: Make code unconditional.
81039 [!__ASSUME_32BITUIDS]: Remove conditional code.
81040 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
81041 <kernel-features.h>.
81042 [__NR_setresgid] (__setresgid): Do not declare.
81043 [__ASSUME_32BITUIDS]: Make code unconditional.
81044 [!__ASSUME_32BITUIDS]: Remove conditional code.
81045 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
81046 <kernel-features.h>.
81047 [__NR_setresuid] (__setresuid): Do not declare.
81048 [__ASSUME_32BITUIDS]: Make code unconditional.
81049 [!__ASSUME_32BITUIDS]: Remove conditional code.
81050 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
81051 <kernel-features.h>.
81052 [__ASSUME_32BITUIDS]: Make code unconditional.
81053 [!__ASSUME_32BITUIDS]: Remove conditional code.
81054 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
81055 <kernel-features.h>.
81056 [__ASSUME_32BITUIDS]: Make code unconditional.
81057 [!__ASSUME_32BITUIDS]: Remove conditional code.
81058 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
81059 <kernel-features.h>.
81060 [__ASSUME_32BITUIDS]: Make code unconditional.
81061 [!__ASSUME_32BITUIDS]: Remove conditional code.
81062 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
81063 <kernel-features.h>.
81064 [__ASSUME_32BITUIDS]: Make code unconditional.
81065 [!__ASSUME_32BITUIDS]: Remove conditional code.
81066 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
81067 <kernel-features.h>.
81068 [__ASSUME_32BITUIDS]: Make code unconditional.
81069 [!__ASSUME_32BITUIDS]: Remove conditional code.
81070 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
81071 <kernel-features.h>.
81072 [__ASSUME_32BITUIDS]: Make code unconditional.
81073 [!__ASSUME_32BITUIDS]: Remove conditional code.
81074 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
81075 <kernel-features.h>.
81076 [__ASSUME_32BITUIDS]: Make code unconditional.
81077 [!__ASSUME_32BITUIDS]: Remove conditional code.
81078 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
81079 <kernel-features.h>.
81080 [__ASSUME_32BITUIDS]: Make code unconditional.
81081 [!__ASSUME_32BITUIDS]: Remove conditional code.
81082 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
81083 <kernel-features.h>.
81084 [__ASSUME_32BITUIDS]: Make code unconditional.
81085 [!__ASSUME_32BITUIDS]: Remove conditional code.
81086 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
81087 <kernel-features.h>.
81088 [__ASSUME_32BITUIDS]: Make code unconditional.
81089 [!__ASSUME_32BITUIDS]: Remove conditional code.
81090 * sysdeps/unix/sysv/linux/kernel-features.h
81091 (__ASSUME_SETRESUID_SYSCALL): Remove.
81092 (__ASSUME_SETRESGID_SYSCALL): Likewise.
81093 (__ASSUME_32BITUIDS): Likewise.
81094 (__ASSUME_LDT_WORKS): Likewise.
81095 (__ASSUME_O_DIRECTORY): Likewise.
81096 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
81097 architecture but not kernel version.
81098 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
81099 (__ASSUME_MMAP2_SYSCALL): Likewise.
81100 (__ASSUME_STAT64_SYSCALL): Likewise.
81101 (__ASSUME_IPC64): Likewise.
81102 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
81103 <kernel-features.h>.
81104 [__ASSUME_32BITUIDS]: Make code unconditional.
81105 [!__ASSUME_32BITUIDS]: Remove conditional code.
81106 * sysdeps/unix/sysv/linux/opendir.c: Do not include
81107 <kernel-features.h>.
81108 [__ASSUME_O_DIRECTORY]: Make code unconditional.
81109 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
81110 132096]: Remove conditional code.
81111 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
81112 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
81113 <kernel-features.h>.
81114 [__ASSUME_32BITUIDS]: Make code unconditional.
81115 [!__ASSUME_32BITUIDS]: Remove conditional code.
81116 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
81117 <kernel-features.h>.
81118 [__ASSUME_32BITUIDS]: Make code unconditional.
81119 [!__ASSUME_32BITUIDS]: Remove conditional code.
81120 * sysdeps/unix/sysv/linux/setegid.c: Do not include
81121 <kernel-features.h>.
81122 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
81123 unconditional.
81124 (__setresgid): Do not declare.
81125 [__ASSUME_32BITUIDS]: Make code unconditional.
81126 [!__ASSUME_32BITUIDS]: Remove conditional code.
81127 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
81128 <kernel-features.h>.
81129 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
81130 unconditional.
81131 (__setresuid): Do not declare.
81132 [__ASSUME_32BITUIDS]: Make code unconditional.
81133 [!__ASSUME_32BITUIDS]: Remove conditional code.
81134 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
81135 <kernel-features.h>.
81136 [__ASSUME_32BITUIDS]: Make code unconditional.
81137 [!__ASSUME_32BITUIDS]: Remove conditional code.
81138 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
81139 <kernel-features.h>.
81140 [__ASSUME_32BITUIDS]: Make code unconditional.
81141 [!__ASSUME_32BITUIDS]: Remove conditional code.
81142
811432012-05-25 Richard Henderson <rth@twiddle.net>
81144
81145 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
81146 dl_hwcap to ifunc resolver.
81147 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
81148 elf_ifunc_invoke.
81149 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
81150 dl_hwcap to ifunc resolver.
81151 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
81152
811532012-05-24 Joseph Myers <joseph@codesourcery.com>
81154
81155 [BZ #14153]
81156 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
81157 for |x| <= 2**-26, not 2**-57.
81158 * math/libm-test.inc (acos_test): Do not allow spurious underflow
81159 exception.
81160
811612012-05-24 Jeff Law <law@redhat.com>
81162
81163 * stdio-common/Makefile (tests): Add bug25.
81164 * stdio-common/bug25.c: New test.
81165
811662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81167
81168 [BZ #13576]
81169 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
81170 multiple of MALLOC_ALIGNMENT in size.
81171 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
81172
811732012-05-24 Joseph Myers <joseph@codesourcery.com>
81174
81175 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
81176 Require >= 256.
81177 (FILENAME_MAX): Use macro-int-constant.
81178 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
81179 (_IOFBF): Use macro-int-constant.
81180 (_IOLBF): Likewise.
81181 (_IONBF): Likewise.
81182 (SEEK_CUR): Likewise.
81183 (SEEK_END): Likewise.
81184 (SEEK_SET): Likewise.
81185 (TMP_MAX): Likewise.
81186 (EOF): Use macro-int-constant. Require < 0.
81187 (NULL): Use macro-constant. Require == 0.
81188 (stdin): Require type to be FILE *.
81189 (stdout): Likewise.
81190 (stderr): Likewise.
81191 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81192 macro-int-constant.
81193 (EXIT_SUCCESS): Likewise.
81194 (NULL): Use macro-constant. Require == 0.
81195 (RAND_MAX): Use macro-int-constant.
81196 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81197 [C99-based standards] (strtof): Require function.
81198 [C99-based standards] (strtold): Likewise.
81199 [C99-based standards] (strtoll): Likewise.
81200 [C99-based standards] (strtoull): Likewise.
81201 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81202 [ISO || ISO99 || ISO11] (limits.h): Likewise.
81203 [ISO || ISO99 || ISO11] (math.h): Likewise.
81204 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81205 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81207
812082012-05-24 Andreas Schwab <schwab@linux-m68k.org>
81209
81210 [BZ #14132]
81211 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81212 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81213 * intl/dgettext.c (DCGETTEXT): Likewise.
81214 * intl/gettext.c (DCGETTEXT): Likewise.
81215 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81216 * posix/regex_internal.h (gettext): Likewise.
81217 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81218 Remove declaration.
81219 * include/argz.h (__argz_count_internal)
81220 (__argz_stringify_internal): Remove declaration.
81221 (__argz_count, __argz_stringify): Declare hidden proto.
81222 * intl/dcgettext.c: Remove use of INTDEF.
81223 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81224 * string/argz-stringify.c: Likewise.
81225 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81226 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81227 Declare hidden proto.
81228 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81229 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81230 Declare hidden proto.
81231 * include/stdio.h (__asprintf_internal): Don't declare.
81232 (__asprintf): Don't define as macro. Declare hidden proto.
81233 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81234 (__fsetlocking): Declare hidden proto.
81235 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81236 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81237 hidden proto.
81238 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81239 (_IO_setlinebuf): Remove use of INTUSE.
81240 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81241 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81242 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81243 Remove declaration.
81244 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81245 (_IO_do_flush): Remove use of INTUSE.
81246 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81247 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81248 (_IO_adjust_column, _IO_least_wmarker)
81249 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81250 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81251 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81252 (_IO_default_doallocate, _IO_wdefault_doallocate)
81253 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81254 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81255 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81256 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81257 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81258 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81259 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81260 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81261 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81262 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81263 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81264 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81265 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81266 proto.
81267 (_IO_flush_all_internal, _IO_adjust_column_internal)
81268 (_IO_default_uflow_internal, _IO_default_finish_internal)
81269 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81270 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81271 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81272 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81273 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81274 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81275 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81276 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81277 (_IO_file_close_internal, _IO_file_close_it_internal)
81278 (_IO_file_underflow_internal, _IO_file_overflow_internal)
81279 (_IO_file_init_internal, _IO_file_attach_internal)
81280 (_IO_file_fopen_internal, _IO_file_read_internal)
81281 (_IO_file_sync_internal, _IO_file_seek_internal)
81282 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81283 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81284 (_IO_str_underflow_internal, _IO_str_overflow_internal)
81285 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81286 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81287 (_IO_list_all_internal, _IO_link_in_internal)
81288 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81289 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81290 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81291 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81292 (_IO_do_write_internal, _IO_padn_internal)
81293 (_IO_getline_info_internal, _IO_getline_internal)
81294 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81295 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81296 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81297 (_IO_vfscanf_internal, _IO_vfprintf_internal)
81298 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81299 (_IO_init_internal, _IO_un_link_internal): Don't declare.
81300 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81301 with libc_hidden_ver, remove use of INTUSE.
81302 * libio/genops.c: Likewise.
81303 * libio/freopen.c: Likewise.
81304 * libio/freopen64.c: Likewise.
81305 * libio/iofclose.c: Likewise.
81306 * libio/iofdopen.c: Likewise.
81307 * libio/iofflush.c: Likewise.
81308 * libio/iofflush_u.c: Likewise.
81309 * libio/iofgets.c: Likewise.
81310 * libio/iofgets_u.c: Likewise.
81311 * libio/iofopen.c: Likewise.
81312 * libio/iofopncook.c: Likewise.
81313 * libio/iofread.c: Likewise.
81314 * libio/iofread_u.c: Likewise.
81315 * libio/ioftell.c: Likewise.
81316 * libio/iofwrite.c: Likewise.
81317 * libio/iogetline.c: Likewise.
81318 * libio/iogets.c: Likewise.
81319 * libio/iogetwline.c: Likewise.
81320 * libio/iopadn.c: Likewise.
81321 * libio/iopopen.c: Likewise.
81322 * libio/ioseekoff.c: Likewise.
81323 * libio/ioseekpos.c: Likewise.
81324 * libio/iosetbuffer.c: Likewise.
81325 * libio/iosetvbuf.c: Likewise.
81326 * libio/ioungetc.c: Likewise.
81327 * libio/ioungetwc.c: Likewise.
81328 * libio/iovdprintf.c: Likewise.
81329 * libio/iovsprintf.c: Likewise.
81330 * libio/iovsscanf.c: Likewise.
81331 * libio/memstream.c: Likewise.
81332 * libio/obprintf.c: Likewise.
81333 * libio/oldfileops.c: Likewise.
81334 * libio/oldiofclose.c: Likewise.
81335 * libio/oldiofdopen.c: Likewise.
81336 * libio/oldiofopen.c: Likewise.
81337 * libio/oldiopopen.c: Likewise.
81338 * libio/oldstdfiles.c: Likewise.
81339 * libio/putc.c: Likewise.
81340 * libio/setbuf.c: Likewise.
81341 * libio/setlinebuf.c: Likewise.
81342 * libio/stdfiles.c: Likewise.
81343 * libio/strops.c: Likewise.
81344 * libio/vasprintf.c: Likewise.
81345 * libio/vscanf.c: Likewise.
81346 * libio/vsnprintf.c: Likewise.
81347 * libio/vswprintf.c: Likewise.
81348 * libio/wfiledoalloc.c: Likewise.
81349 * libio/wfileops.c: Likewise.
81350 * libio/wgenops.c: Likewise.
81351 * libio/wmemstream.c: Likewise.
81352 * libio/wstrops.c: Likewise.
81353 * libio/__fpurge.c: Likewise.
81354 * libio/__fsetlocking.c: Likewise.
81355 * assert/assert.c: Likewise.
81356 * debug/fgets_chk.c: Likewise.
81357 * debug/fgets_u_chk.c: Likewise.
81358 * debug/fread_chk.c: Likewise.
81359 * debug/fread_u_chk.c: Likewise.
81360 * debug/gets_chk.c: Likewise.
81361 * debug/obprintf_chk.c: Likewise.
81362 * debug/vasprintf_chk.c: Likewise.
81363 * debug/vdprintf_chk.c: Likewise.
81364 * debug/vsnprintf_chk.c: Likewise.
81365 * debug/vsprintf_chk.c: Likewise.
81366 * malloc/mtrace.c: Likewise.
81367 * misc/error.c: Likewise.
81368 * misc/syslog.c: Likewise.
81369 * stdio-common/asprintf.c: Likewise.
81370 * stdio-common/fxprintf.c: Likewise.
81371 * stdio-common/getw.c: Likewise.
81372 * stdio-common/isoc99_fscanf.c: Likewise.
81373 * stdio-common/isoc99_scanf.c: Likewise.
81374 * stdio-common/isoc99_vfscanf.c: Likewise.
81375 * stdio-common/isoc99_vscanf.c: Likewise.
81376 * stdio-common/isoc99_vsscanf.c: Likewise.
81377 * stdio-common/printf-prs.c: Likewise.
81378 * stdio-common/printf_fp.c: Likewise.
81379 * stdio-common/printf_fphex.c: Likewise.
81380 * stdio-common/printf_size.c: Likewise.
81381 * stdio-common/putw.c: Likewise.
81382 * stdio-common/scanf.c: Likewise.
81383 * stdio-common/sprintf.c: Likewise.
81384 * stdio-common/tmpfile.c: Likewise.
81385 * stdio-common/vfprintf.c: Likewise.
81386 * stdio-common/vfscanf.c: Likewise.
81387 * stdlib/strfmon_l.c: Likewise.
81388 * sunrpc/openchild.c: Likewise.
81389 * sunrpc/xdr_stdio.c: Likewise.
81390 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81391 * sysdeps/mach/hurd/tmpfile.c: Likewise.
81392
813932012-05-24 Roland McGrath <roland@hack.frob.com>
81394
81395 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81396
81397 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81398 in the third column, to generate for the shared library an IFUNC
81399 that uses _dl_vdso_vsym.
81400 * Makerules (COMPILE.c, compile-stdin.c): New variables.
81401 * Makeconfig (object-suffixes-noshared): New variable.
81402
81403 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81404 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81405 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81406 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81407
81408 [BZ #14132]
81409 * include/sys/time.h (__gettimeofday): Remove macro.
81410 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81411 * time/gettimeofday.c (__gettimeofday): Remove #undef.
81412 Remove INTDEF.
81413 (__gettimeofday): Add libc_hidden_def.
81414 (gettimeofday): Add libc_hidden_weak.
81415 * sysdeps/mach/gettimeofday.c: Likewise.
81416 * sysdeps/posix/gettimeofday.c: Likewise.
81417 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81418 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81420 (__gettimeofday_internal): Remove strong_alias.
81421 (__gettimeofday): Add libc_hidden_def.
81422 (gettimeofday): Add libc_hidden_weak.
81423 * sysdeps/unix/syscalls.list (gettimeofday):
81424 Remove __gettimeofday_internal alias.
81425
814262012-05-24 Daniel Jacobowitz <drow@false.org>
81427 H.J. Lu <hongjiu.lu@intel.com>
81428
81429 [BZ #12495]
81430 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81431 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81432 (largebin_index_32_big): New.
81433 (largebin_index): Use it for 16-byte alignment.
81434 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81435 correction with front_misalign.
81436
814372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81438
81439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81441 Likewise.
81442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81443 Likewise.
81444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81445 Likewise.
81446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81447 Likewise.
81448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81449 Likewise.
81450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81451 Likewise.
81452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81453 Likewise.
81454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81455 Likewise.
81456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81457 Likewise.
81458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81459 Likewise.
81460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81461 Likewise.
81462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81463 Likewise.
92c3af3c 81464
edf66db1
SP
81465 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81466 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
92c3af3c 81467
edf66db1 814682012-05-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 81469
edf66db1
SP
81470 [BZ #10846]
81471 [BZ #14036]
81472 * math/libm-test.inc (exp_test): Add test from bug 14036.
81473 (pow_test): Add test from bug 10846.
92c3af3c 81474
edf66db1
SP
81475 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81476 and other flags.
81477 (special_function): Do not include flags in test name.
81478 (parse_args): Likewise.
81479 * sysdeps/i386/fpu/libm-test-ulps: Update.
81480 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81481 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81482 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 81484
edf66db1
SP
81485 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81486 exceptions.
81487 * math/libm-test.inc ("Philosophy"): Update comment about
81488 exception testing.
81489 (UNDERFLOW_EXCEPTION): New macro.
81490 (UNDERFLOW_EXCEPTION_OK): Likewise.
81491 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81492 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81493 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81494 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81495 (INVALID_EXCEPTION_OK): Update value.
81496 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81497 (OVERFLOW_EXCEPTION_OK): Likewise.
81498 (IGNORE_ZERO_INF_SIGN): Likewise.
81499 (test_exceptions): Handle underflow exceptions.
81500 (acos_test): Update for underflow exception expectations.
81501 (cexp_test): Likewise.
81502 (clog_test): Likewise.
81503 (clog10_test): Likewise.
81504 (csqrt_test): Likewise.
81505 (ctan_test): Likewise.
81506 (ctanh_test): Likewise.
81507 (exp_test): Likewise.
81508 (exp10_test): Likewise.
81509 (exp2_test): Likewise.
81510 (expm1_test): Likewise.
81511 (fma_test): Likewise.
81512 (j0_test): Likewise.
81513 (jn_test): Likewise.
81514 (nexttoward_test): Likewise.
81515 (pow_test): Likewise.
81516 (scalbn_test): Likewise.
81517 (scalbln_test): Likewise.
81518 (tan_test): Likewise.
81519 (y1_test): Likewise.
81520 * sysdeps/i386/fpu/libm-test-ulps: Update.
81521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81522
815232012-05-23 David S. Miller <davem@davemloft.net>
81524
81525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81526 (__libc_sigaction): Remove unused local variables.
81527
815282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81529
81530 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81531
815322012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81533
81534 mktime: avoid signed integer overflow
81535 * time/mktime.c (__mktime_internal): Do not mishandle the case
81536 where diff == INT_MIN.
81537
81538 mktime: simplify computation of average
81539 * time/mktime.c (ranged_convert): Use new time_t_avg function
81540 instead of rolling our own (probably-slower) code.
81541
81542 mktime: do not assume signed right shift propagates sign bit
81543 * time/mktime.c (isdst_differ): New static function.
81544 (__mktime_internal): No need to normalize tm_isdst now.
81545 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81546 tm_isdst values.
81547
81548 mktime: merge another wrapv change from gnulib
81549 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81550 from some compilers.
81551
81552 mktime: remove incorrect attempt at unusual arithmetics
81553 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81554 The code didn't really work on such machines anyway.
81555 (TYPE_MINIMUM): Assume two's complement.
81556 (twos_complement_arithmetic): Verify that long_int and time_t
81557 are two's complement (or unsigned, in the latter case).
81558
81559 mktime: check signed shifts on long_int and time_t, too
81560 * time/mktime.c (SHR): Check that shifts work as desired
81561 on the types long_int and time_t too, as SHR is used on
81562 such types.
81563
81564 mktime: do not assume 'long' is wide enough
81565 * time/mktime.c (verify): Move decl up.
81566 (long_int): New type.
81567 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81568 to remove assumption in the code that 'long' is wide enough to
81569 store year values. This assumption is not true on x32 and on
81570 some non-glibc platforms.
81571
81572 mktime: merge wrapv change from gnulib
81573 * time/mktime.c (WRAPV): New macro.
81574 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81575 (guess_time_tm, __mktime_internal): Do not assume that signed
81576 integer overflow wraps around; modern compilers generate code
81577 where this assumption is no longer valid.
81578
815792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81580
81581 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81582 Replace "jmp L(pseudo_end)" with "ret".
81583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81584 Likewise.
92c3af3c 81585
edf66db1 815862012-05-23 Andreas Jaeger <aj@suse.de>
92c3af3c 81587
edf66db1
SP
81588 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81589 * sysdeps/unix/sysv/linux/poll.c: Remove file.
92c3af3c 81590
edf66db1
SP
815912012-05-23 Andreas Jaeger <aj@suse.de>
81592 Maximilian Attems <max@stro.at>
92c3af3c 81593
edf66db1
SP
81594 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81595 New macros.
92c3af3c 81596
edf66db1 815972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 81598
edf66db1
SP
81599 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81600 code so that pseudo_end is just ret and the stack pointer is
81601 correct also for static library in error case.
92c3af3c 81602
edf66db1 816032012-05-23 Joseph Myers <joseph@codesourcery.com>
92c3af3c 81604
edf66db1
SP
81605 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81606 move to syscalls.list.
81607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
92c3af3c 81611
edf66db1
SP
81612 * manual/install.texi (Running make install): Do not mention Linux
81613 kernel version for which pt_chown is not needed.
81614 (Linux): Do not mention problems with nscd with 2.0 kernels.
81615 * INSTALL: Regenerated.
92c3af3c 81616
edf66db1 816172012-05-23 Andreas Jaeger <aj@suse.de>
92c3af3c 81618
edf66db1
SP
81619 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81620 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81621 macro.
81622 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81623 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81624 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81625 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81626 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81627 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81628 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81629 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81630 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81631 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81632 * sysdeps/unix/sysv/linux/bits/in.h
81633 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81634
816352012-05-22 Roland McGrath <roland@hack.frob.com>
81636
81637 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81638 (PREPARE_VERSION): Just use assert instead, it will be elided
81639 under [NDEBUG] anyway.
81640
816412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81642
81643 * sysdeps/unix/sysv/linux/Makefile: Include
81644 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81645 (sysdep_routines): Remove sysctl.
81646 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81647 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81648 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81649 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81650 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81651
816522012-05-22 Andreas Jaeger <aj@suse.de>
81653
81654 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81655 that pseudo_end is just ret and the stack pointer is correct also
81656 for static library in error case.
81657
816582012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81659
81660 [BZ #14122]
81661 * nss/nsswitch.c (defconfig_entries): New variable.
81662 (__nss_database_lookup): Don't leak defconfig entries.
81663 (nss_parse_service_list): Don't leak on error paths.
81664 (free_database_entries): New function.
81665 (free_defconfig): New function.
81666 (free_mem): Move common code to free_database_entries.
81667
816682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81669
81670 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81671 Add arch_prctl.
81672 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81673
81674 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81675 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81677 New macro.
81678 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81679 (INTERNAL_SYSCALL_TYPES): Likewise.
81680 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81681 (LOAD_REGS_TYPES_[1-6]): Likewise.
81682 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81683 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81684
816852012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81686
81687 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81688 copysignl for GLIBC_2_0.
81689 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81690 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81692 logbl for GLIBC_2_0.
81693 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81694 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81695
816962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81697
81698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81699 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81700
81701 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81702 Use "neg %eax".
81703
81704 * time/mktime.c: Update copyright years.
81705
817062012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81707
81708 mktime: merge comment-quoting-style change from gnulib
81709 * time/mktime.c: Quote 'like this' in comments.
81710 The GNU coding standards suggest that we no longer quote `like this',
81711 as "`" and "'" are typically rendered asymmetrically nowadays.
81712 The typical gnulib style is to quote 'like this' when quoting
81713 code, and "like this" when quoting English.
81714
81715 * time/mktime.c (compile-command): Add "-I.".
81716
81717 mktime: merge mktime-internal.h change from gnulib
81718 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81719
81720 mktime: merge time_r change from gnulib
81721 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81722
81723 mktime: merge DEBUG change from gnulib
81724 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81725 case system <time.h> has a #define.
92c3af3c 81726
edf66db1
SP
81727 mktime: merge <sys/types.h> change from gnulib
81728 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81729 since <time.t> is now guaranteed to define time_t.
92c3af3c 81730
edf66db1
SP
81731 mktime: merge HAVE_CONFIG_H change from gnulib
81732 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
92c3af3c 81733
edf66db1 817342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 81735
edf66db1
SP
81736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81737 Use "neg %eax".
92c3af3c 81738
edf66db1
SP
81739 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81740 __rlim_t cast.
81741 (struct rusage): Use anonymous union to pad each field to
81742 __syscall_slong_t.
92c3af3c 81743
edf66db1 817442012-05-21 David S. Miller <davem@davemloft.net>
92c3af3c 81745
edf66db1
SP
81746 * Makefules (o-iterator): Remove .s cases.
81747 (compile-command.s): Delete.
81748 (COMPILE.s): Delete.
81749 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
92c3af3c 81750
edf66db1 817512012-05-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 81752
edf66db1
SP
81753 * configure.in (libc_cv_predef_stack_protector): Only consider
81754 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81755 * configure: Regenerated.
92c3af3c 81756
edf66db1
SP
817572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81758
81759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81760 New macro. Use R*LP on int and pointer.
81761 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81762 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81763 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81764 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81765
81766 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81767 [__WORDSIZE_TIME64_COMPAT32] instead of
81768 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81769 (struct utmp): Likewise.
81770 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81771 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81772 Renamed to ...
81773 (__WORDSIZE_TIME64_COMPAT32): This.
81774 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81775 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81776 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81777 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81778 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81779 (__WORDSIZE_TIME64_COMPAT32): New macro.
81780
817812012-05-21 Andreas Jaeger <aj@suse.de>
81782
81783 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81784 only if [SHARED]. Add prototype for __wcschr_ia32.
81785
817862012-05-21 Roland McGrath <roland@hack.frob.com>
92c3af3c 81787
edf66db1
SP
81788 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81789 of %rbp unmolested in the jmp_buf while mangling the low bits.
81790 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81791 unmolested high bits of %rbp while demangling the low bits.
81792 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81793
817942012-05-21 Andreas Jaeger <aj@suse.de>
81795
81796 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81797 * sunrpc/svc_simple.c: Use it for registerrpc.
81798 * sunrpc/xcrypt.c: Use it for passwd2des.
81799
81800 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81801
818022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81803
81804 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81805 Don't define if [__SYSCALL_WORDSIZE != 32].
81806 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81807 New macro.
81808
818092012-05-21 Bruno Haible <bruno@clisp.org>
81810 Andreas Jaeger <aj@suse.de>
81811
81812 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81813 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81814 inptr and inend for must_buffer_ch.
81815 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81816 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81817 * stdio-common/Makefile (tests): Remove bug15.
81818 (bug15-ENV): Remove macro.
81819 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81820 anymore.
81821
818222012-05-19 Andreas Jaeger <aj@suse.de>
81823 Roland McGrath <roland@hack.frob.com>
81824
81825 * manual/contrib.texi: Completely rewritten. It contains now an
81826 alphabetical list of contributors and their contributions.
81827
818282012-05-21 Richard Henderson <rth@twiddle.net>
81829
81830 * misc/getauxval.c (__getauxval): Use unsigned long int.
81831 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81832 (getauxval): Use unsigned long int.
81833
818342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81835
81836 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81837
818382012-05-21 Roland McGrath <roland@hack.frob.com>
81839
81840 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81841 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81842 __alignof__ (long double).
81843
818442012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81845
81846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81847
818482012-05-20 Richard Henderson <rth@twiddle.net>
81849
81850 * misc/getauxval.c: New file.
81851 * misc/sys/auxv.h: New file.
81852 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81853 (routines): Add getauxval.
81854 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81855 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81856 * elf/dl-sysdep.c (_dl_auxv): Remove.
81857 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81858 * elf/dl-support.c (_dl_auxv): New variable.
81859 (_dl_aux_init): Initialize it.
81860 * manual/startup.texi (Auxiliary Vector): New node.
81861 * sysdeps/generic/bits/hwcap.h: New file.
81862 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81863 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81864 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81865 * sysdeps/sparc/sysdep.h: ... here. Include it.
81866 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81867 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81869 Update.
81870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81878
818792012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81880
81881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81882
818832012-05-19 David S. Miller <davem@davemloft.net>
81884
81885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81886
818872012-05-19 Joseph Myers <joseph@codesourcery.com>
81888
81889 [BZ #14123]
81890 * math/s_ccosh.c: Include <float.h>
81891 (__ccosh): Avoid internal overflow calculating sinh and cosh
81892 values before multiplying by sin and cos values.
81893 * math/s_ccoshf.c: Likewise.
81894 * math/s_ccoshl.c: Likewise.
81895 * math/s_csin.c: Likewise.
81896 * math/s_csinf.c: Likewise.
81897 * math/s_csinl.c: Likewise.
81898 * math/s_csinh.c: Likewise.
81899 * math/s_csinhf.c: Likewise.
81900 * math/s_csinhl.c: Likewise.
81901 * math/libm-test.inc (ccos_test): Add more tests.
81902 (ccosh_test): Likewise.
81903 (csin_test): Likewise.
81904 (csinh_test): Likewise.
81905 * sysdeps/i386/fpu/libm-test-ulps: Update.
81906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81907
819082012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81909
81910 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81911 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81912
81913 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81914
819152012-05-19 Joseph Myers <joseph@codesourcery.com>
81916
81917 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81918 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81919 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81920 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81921 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81922 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81923 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81924 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81925 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81926 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81927 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81928 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81929 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81930 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81931 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81932 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81933 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81934 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81935 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81936 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81937 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81938 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81939 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81940 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81941 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81942 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81943 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81944 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81945 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81946 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81947 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81948
819492012-05-18 Andreas Jaeger <aj@suse.de>
81950
81951 * csu/.gitignore: Delete.
81952
819532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81954
81955 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81956 (timex): Use __syscall_slong_t.
81957
819582012-05-18 Andreas Jaeger <aj@suse.de>
81959 Carlos O'Donell <carlos_odonell@mentor.com>
81960
81961 * manual/install.texi (Configuring and compiling): Update
81962 description about files modified in the source directory.
81963 * INSTALL: Regenerated.
81964
819652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81966
81967 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81968 value. Use "or" to set return value to -1.
81969 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81970 negate return value.
81971
819722012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81973
81974 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81975 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81976 failure if the compiler has Graphite support disabled.
81977 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81978 Likewise.
81979 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81980 (CFLAGS-memmove.c): Likewise.
81981 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81982 Likewise.
92c3af3c 81983
edf66db1 819842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 81985
edf66db1 81986 * sysdeps/x86_64/x32/_itoa.h: New file.
92c3af3c 81987
edf66db1
SP
81988 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81989 getdents system call only if kernel and user dirents have the
81990 same d_ino and d_off.
92c3af3c 81991
edf66db1
SP
81992 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81993 LLONG_MAX != LONG_MAX.
81994 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81995 (_fitoa_word): Likewise.
92c3af3c 81996
edf66db1
SP
81997 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81998 years.
81999 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
82000 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
82001 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
92c3af3c 82002
edf66db1
SP
82003 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
82004 include <bits/wordsize.h>. Check __x86_64__ instead of
82005 __WORDSIZE.
82006 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
82007 if __x86_64__ is defined. Use anonymous union on fpstate.
92c3af3c 82008
edf66db1
SP
82009 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
82010 anonymous union.
92c3af3c 82011
edf66db1 820122012-05-18 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 82013
edf66db1
SP
82014 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
82015 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
82016 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
82017 Refer to _rtld_local_ro instead of _rtld_global_ro.
82018 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
82019 Likewise.
82020 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
82021 Likewise.
82022 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
82023 Likewise.
82024 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
82025 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
82026 of _rtld_global, and rtld_progname instead of _dl_argv[0].
82027
82028 [BZ #10882]
82029 * sysdeps/powerpc/powerpc32/dl-machine.c
82030 (__elf_machine_runtime_setup) [PROF]: Don't reference
82031 _dl_prof_resolve.
82032
820332012-05-18 Andreas Jaeger <aj@suse.de>
82034
82035 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
82036 function only available for GCCs before 3.4 since GCC 3.4
82037 introduced a builtin.
82038 (lrint): Likewise.
82039 (llrintf): Likewise.
82040 (llrint): Likewise.
82041 (fmaxf): Likewise.
82042 (fmax): Likewise.
82043 (fminf): Likewise.
82044 (fmin): Likewise.
82045 (rint): Likewise.
82046 (rintf): Likewise.
82047 (nearbyint): Likewise.
82048 (nearbyintf): Likewise.
82049 (ceil): Likewise.
82050 (ceilf): Likewise.
82051 (floor): Likewise.
82052 (floorf): Likewise.
92c3af3c 82053
edf66db1 820542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82055
edf66db1
SP
82056 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
82057 on both fields and cast pointer to __syscall_ulong_t.
92c3af3c 82058
edf66db1
SP
82059 * bits/types.h (__fsword_t): New type.
82060 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
82061 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
82062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82063 (__FSWORD_T_TYPE): Likewise.
82064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82065 (__FSWORD_T_TYPE): Likewise.
82066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82067 (__FSWORD_T_TYPE): Likewise.
82068 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
82069 (__FSWORD_T_TYPE): Likewise.
82070 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
82071 __SWORD_TYPE with __fsword_t.
82072 (statfs64): Likewise.
92c3af3c 82073
edf66db1 820742012-05-17 David S. Miller <davem@davemloft.net>
92c3af3c 82075
edf66db1 82076 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
92c3af3c 82077
edf66db1 820782012-05-17 Andreas Jaeger <aj@suse.de>
92c3af3c 82079
edf66db1
SP
82080 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
82081 warning.
92c3af3c 82082
edf66db1 820832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82084
edf66db1 82085 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
92c3af3c 82086
edf66db1 820872012-05-17 Andreas Jaeger <aj@suse.de>
92c3af3c 82088
edf66db1
SP
82089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
82090 when it is used.
92c3af3c 82091
edf66db1 820922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
92c3af3c 82093
edf66db1 82094 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
92c3af3c 82095
edf66db1 820962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82097
edf66db1
SP
82098 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
82099 * sysdeps/x86_64/tst-mallocalign1.c: New file.
92c3af3c 82100
edf66db1
SP
821012012-05-17 Andreas Jaeger <aj@suse.de>
82102 Carlos O'Donell <carlos_odonell@mentor.com>
92c3af3c 82103
edf66db1
SP
82104 [BZ #14059]
82105 * sysdeps/x86_64/multiarch/init-arch.h
82106 (bit_YMM_Usable): Rename to...
82107 (bit_AVX_Usable): ... this.
82108 (bit_FMA4_Usable): New macro.
82109 (bit_XMM_state): New macro.
82110 (bit_YMM_state): New macro.
82111 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
82112 [__ASSEMBLER__] (index_AVX_Usable): ... this.
82113 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
82114 (CPUID_OSXSAVE): New macro.
82115 (CPUID_AVX): New macro.
82116 (CPUID_FMA4): New macro.
82117 (index_YMM_Usable): Rename to...
82118 (index_AVX_Usable): ... this.
82119 (HAS_AVX): Use HAS_ARCH_FEATURE.
82120 (HAS_FMA4): Likewise.
82121 (HAS_YMM_USABLE): Remove.
82122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82123 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
82124 are present.
82125 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
82126 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
82127 * sysdeps/x86_64/multiarch/Makefile: Likewise.
82128 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
82129 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
82130
821312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
82132
82133 * math/libm-test.c: Support platforms without multiple rounding modes.
82134 * math/bug-nextafter.c: Support platforms without FP exceptions.
82135 * math/bug-nexttoward.c: Likewise.
82136 * math/test-fenv.c: Likewise.
82137 * math/test-misc.c: Likewise.
82138 * stdlib/bug-getcontext.c: Likewise.
82139
821402012-05-17 Andreas Jaeger <aj@suse.de>
82141
82142 * manual/examples/search.c (critter_cmp): Change signature to
82143 avoid warnings.
82144 * manual/string.texi (Collation Functions): Likewise.
82145
821462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82147
82148 * bits/types.h: Fold copyright years.
82149 * bits/typesizes.h: Likewise.
82150 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
82151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
82152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
82153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
82154 * time/time.h: Likewise.
82155
821562012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
82157
82158 [BZ #208]
82159 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
82160 in instead of returning them. Return void.
82161 (__libc_mallinfo): Accumulate over all arenas.
82162 (__malloc_stats): Adjust for change in int_mallinfo interface.
82163
821642012-05-16 Roland McGrath <roland@hack.frob.com>
82165
82166 [BZ #10375]
82167 * configure.in (NM): Add AC_CHECK_TOOL for it.
82168 (libc_extra_cflags): New substituted variable.
82169 Check for -fstack-protector being used implicitly.
82170 * configure: Regenerated.
82171 * config.make.in (config-extra-cflags): New variable,
82172 gets @libc_extra_cflags@.
82173 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
92c3af3c 82174
edf66db1
SP
82175 [BZ #10375]
82176 * configure.in: Check for _FORTIFY_SOURCE being predefined.
82177 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
82178 * configure: Regenerated.
82179 * config.make.in (CPPUNDEFS): New substituted variable.
82180 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
82181 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82182 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
92c3af3c 82183
edf66db1 821842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82185
edf66db1
SP
82186 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82187 (mq_attr): Use __syscall_slong_t.
92c3af3c 82188
edf66db1 821892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82190
edf66db1
SP
82191 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82192 Check __x86_64__ instead of __WORDSIZE.
82193 (_STAT_VER_LINUX): Likewise.
82194 (stat): Check __x86_64__ instead of __WORDSIZE. Use
82195 __syscall_ulong_t and __syscall_slong_t.
82196 (stat64): Likewise.
92c3af3c 82197
edf66db1 821982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82199
edf66db1 82200 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
92c3af3c 82201
edf66db1 822022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82203
edf66db1 82204 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
92c3af3c 82205
edf66db1 822062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82207
edf66db1
SP
82208 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82209 __syscall_ulong_t.
92c3af3c 82210
edf66db1
SP
82211 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82212 include <bits/wordsize.h>. Check __x86_64__ instead of
82213 __WORDSIZE.
82214 (greg_t): Use "__extension__ long long int" if __x86_64__ is
82215 defined.
82216 (mcontext_t): Replace "unsigned long" with "unsigned long long".
82217
82218 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82219 include <bits/wordsize.h>. Check __x86_64__ instead of
82220 __WORDSIZE.
82221 (user_regs_struct): Use "__extension__ unsigned long long"
82222 instead of "unsigned long" if __x86_64__ is defined.
82223 (user): Likewise. Pad after pointer field if __ILP32__ is
82224 defined.
92c3af3c 82225
edf66db1 822262012-05-16 Joseph Myers <joseph@codesourcery.com>
92c3af3c 82227
edf66db1
SP
82228 * configure.in (makeinfo): Require version 4.5 or later. Allow
82229 versions 5 to 9.
82230 * configure: Regenerated.
82231 * manual/install.texi (texinfo): Increase version requirement to
82232 4.5 or later.
82233 * INSTALL: Regenerated.
82234
82235 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82236
822372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82238
82239 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82240
82241 * sysdeps/x86_64/x32/ffs.c: New file.
82242
82243 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82244 __syscall_ulong_t.
82245 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82246 defined. Use __syscall_ulong_t.
82247 (shminfo): Use __syscall_ulong_t.
82248 (shm_info): Likewise.
82249
82250 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82251 __syscall_ulong_t.
82252
82253 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82254 <bits/wordsize.h>.
82255 (msgqnum_t): Use __syscall_ulong_t.
82256 (msglen_t): Likewise.
82257 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
82258 __syscall_ulong_t.
82259
82260 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82261 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82262
82263 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82264
82265 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82266 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82267
82268 * sysvipc/sys/msg.h (msgbuf): Replace long int with
82269 __syscall_slong_t.
82270
82271 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82272 include <bits/wordsize.h>. Check __x86_64__ instead of
82273 __WORDSIZE.
82274
82275 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82276 "unsigned long long int" if __x86_64__ is defined.
82277 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82278
82279 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82280 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82281 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82282
82283 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82284 <stdint.h>.
82285 (GET_PC): Cast to uintptr_t first.
82286 (GET_FRAME): Likewise.
82287 (GET_STACK): Likewise.
82288
82289 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82290 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82291 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82292 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82293 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82294 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82295 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82296 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82297 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82298 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82299 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82301 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82302 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82303 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82304 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82305 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82306 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82307 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82308 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82309 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82310 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82311 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82312 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82313 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82314 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82315 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82316 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82317 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82318
823192012-05-16 Andreas Schwab <schwab@linux-m68k.org>
82320
82321 * Makerules (+depfiles): Also collect depfiles from .oS in
82322 $(extra-objs).
82323 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82324 .oS, $(libnldbl-routines)).
82325
82326 * Makerules (native-compile-mkdep-flags): Define.
82327 * sunrpc/Makefile (extra-objs): Add $(addprefix
82328 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82329 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82330 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
82331 calling $(make-target-directory).
82332
823332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82334
82335 * bits/types.h (__snseconds_t): Removed.
82336 * time/time.h (struct timespec): Replace __snseconds_t with
82337 __syscall_slong_t.
82338 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82339 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82340 Likewise.
82341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82342 (__SNSECONDS_T_TYPE): Likewise.
82343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82344 (__SNSECONDS_T_TYPE): Likewise.
82345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82346 (__SNSECONDS_T_TYPE): Likewise.
92c3af3c 82347
edf66db1 823482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82349
edf66db1
SP
82350 * sysdeps/mach/hurd/bits/typesizes.h
82351 (__SYSCALL_SLONG_TYPE): New macro.
82352 (__SYSCALL_ULONG_TYPE): Likewise.
92c3af3c 82353
edf66db1 823542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82355
edf66db1
SP
82356 * bits/types.h (__syscall_slong_t): New type.
82357 (__syscall_ulong_t): Likewise.
92c3af3c 82358
edf66db1
SP
82359 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82360 (__SYSCALL_ULONG_TYPE): Likewise.
82361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82362 (__SYSCALL_SLONG_TYPE): Likewise.
82363 (__SYSCALL_ULONG_TYPE): Likewise.
82364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82365 (__SYSCALL_SLONG_TYPE): Likewise.
82366 (__SYSCALL_ULONG_TYPE): Likewise.
82367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82368 (__SYSCALL_SLONG_TYPE): Likewise.
82369 (__SYSCALL_ULONG_TYPE): Likewise.
92c3af3c 82370
edf66db1 823712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82372
edf66db1
SP
82373 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82374 Add sigaltstack-offsets.sym.
82375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82376 <sigaltstack-offsets.h>.
82377 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
82378 longjmp_msg pointer.
82379 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
82380 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82381 signal stack.
82382 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
92c3af3c 82383
edf66db1 823842012-05-15 Joseph Myers <joseph@codesourcery.com>
92c3af3c 82385
edf66db1
SP
82386 * elf/stackguard-macros.h: Remove file.
82387 * sysdeps/generic/stackguard-macros.h: New file.
82388 * sysdeps/i386/stackguard-macros.h: Likewise.
82389 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82390 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82391 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82392 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82393 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82394 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82395 * sysdeps/x86_64/stackguard-macros.h: Likewise.
82396 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82397 <elf/stackguard-macros.h>.
92c3af3c 82398
edf66db1
SP
82399 [BZ #14109]
82400 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82401 __aligned__ in attribute.
82402 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82403 (gregset_t): Likewise.
92c3af3c 82404
edf66db1 824052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82406
edf66db1
SP
82407 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82408 * sysdeps/x86_64/64/Implies-after: Here. New file.
82409 * sysdeps/x86_64/x32/Implies-after: New file.
92c3af3c 82410
edf66db1 824112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82412
edf66db1
SP
82413 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82414 and access return value for _dl_profile_fixup. Use R10_LP to
82415 load frame size.
92c3af3c 82416
edf66db1 824172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82418
edf66db1 82419 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
92c3af3c 82420
edf66db1 824212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82422
edf66db1
SP
82423 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82424 * sysdeps/x86_64/x32/sysdep.h: New file.
92c3af3c 82425
edf66db1 824262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82427
edf66db1
SP
82428 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82429 * sysdeps/x86_64/setjmp.S: Likewise.
92c3af3c 82430
edf66db1 824312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 82432
edf66db1
SP
82433 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82434 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82435 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82436 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82437 remove unused global constant.
92c3af3c 82438
edf66db1 824392012-05-15 Chris Metcalf <cmetcalf@tilera.com>
92c3af3c 82440
edf66db1
SP
82441 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82442 include of <not-cancel.h>.
92c3af3c 82443
edf66db1 824442012-05-15 Roland McGrath <roland@hack.frob.com>
92c3af3c 82445
edf66db1 82446 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
92c3af3c 82447
edf66db1
SP
824482012-05-15 Jeff Law <law@redhat.com>
82449 Andreas Jaeger <aj@suse.de>
92c3af3c 82450
edf66db1
SP
82451 [BZ #13594]
82452 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82453 out from...
82454 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82455 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82456 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82457 code changing __hst_map_handle.map.
92c3af3c 82458
edf66db1 824592012-05-15 Roland McGrath <roland@hack.frob.com>
92c3af3c 82460
edf66db1
SP
82461 * configure.in (sysnames): Look for Implies-before and Implies-after
82462 files.
82463 * configure: Regenerated.
92c3af3c 82464
edf66db1 824652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82466
edf66db1
SP
82467 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82468 8-byte data alignment with LP_SIZE alignment.
92c3af3c 82469
edf66db1 824702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82471
edf66db1
SP
82472 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82473 into R10_LP.
92c3af3c 82474
edf66db1 824752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82476
edf66db1 82477 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
92c3af3c 82478
edf66db1 824792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82480
edf66db1
SP
82481 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82482 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82483 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82484 Likewise.
82485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
92c3af3c 82486
edf66db1 824872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82488
edf66db1
SP
82489 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82490 (stackinfo_sub_sp): Likewise.
92c3af3c 82491
edf66db1 824922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82493
edf66db1
SP
82494 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82495 RAX_LP.
92c3af3c 82496
edf66db1 824972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82498
edf66db1
SP
82499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82500 into R*_LP.
92c3af3c 82501
edf66db1 825022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82503
edf66db1
SP
82504 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82505 sizes into R*_LP.
92c3af3c 82506
edf66db1 825072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82508
edf66db1 82509 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
92c3af3c 82510
edf66db1 825112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82512
edf66db1
SP
82513 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82514 into R11_LP and load __x86_64_shared_cache_size_half into
82515 R8_LP.
92c3af3c 82516
edf66db1 825172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82518
edf66db1
SP
82519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82520 R8_LP.
92c3af3c 82521
edf66db1 825222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 82523
edf66db1
SP
82524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82525 logb for POWER7.
82526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82527 logbf for POWER7.
82528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82529 logbl for POWER7.
82530 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82531 powerpc32/power7/fpu/s_logb.c via #include.
82532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82533 powerpc32/power7/fpu/s_logbf.c via #include.
82534 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82535 powerpc32/power7/fpu/s_logbl.c via #include.
92c3af3c 82536
edf66db1 825372012-05-15 Joseph Myers <joseph@codesourcery.com>
92c3af3c 82538
edf66db1 82539 * README.libm: Remove file.
92c3af3c 82540
edf66db1 825412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82542
edf66db1
SP
82543 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82544 count for x32. Use R*_LP and omit operand-size suffix.
92c3af3c 82545
edf66db1 825462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82547
edf66db1
SP
82548 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82549 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82550 * sysdeps/x86_64/x32/shlib-versions: New file.
92c3af3c 82551
edf66db1 825522012-05-14 Roland McGrath <roland@hack.frob.com>
92c3af3c 82553
edf66db1
SP
82554 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82555 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82556 Use _dl_fatal_printf instead.
92c3af3c 82557
edf66db1 825582012-05-14 Joseph Myers <joseph@codesourcery.com>
92c3af3c 82559
edf66db1
SP
82560 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82561 set if not set by the user. Do not allow for being unset.
82562 * sysdeps/unix/sysv/linux/configure: Regenerated.
92c3af3c 82563
edf66db1
SP
825642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82565
82566 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82567 the `q' suffix from lea and replace .quad with ASM_ADDR.
82568
825692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82570
82571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82572 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82573 instead of $17.
82574 (PTR_DEMANGLE): Likewise.
82575
825762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82577
82578 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82579 (LP_OP): Likewise.
82580 (ASM_ADDR): Likewise.
82581 (RAX_LP): Likewise.
82582 (RBP_LP): Likewise.
82583 (RBX_LP): Likewise.
82584 (RCX_LP): Likewise.
82585 (RDI_LP): Likewise.
82586 (RSI_LP): Likewise.
82587 (RSP_LP): Likewise.
82588 (R8_LP): Likewise.
82589 (R9_LP): Likewise.
82590 (R10_LP): Likewise.
82591 (R10_LP): Likewise.
82592 (R11_LP): Likewise.
82593 (R12_LP): Likewise.
82594 (R13_LP): Likewise.
82595 (R14_LP): Likewise.
82596 (R15_LP): Likewise.
82597
825982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82599
82600 * sysdeps/x86_64/x32/dl-machine.h: New file.
82601
826022012-05-14 Andreas Jaeger <aj@suse.de>
82603
82604 * manual/Makefile (subdir): Remove export of subdir.
82605 (all): Remove target.
82606 (.PHONY): Remove all from list.
82607 (mkinstalldirs): Remove.
82608 (.PHONY): Remove installdirs from list.
82609 ($(inst_infodir)/libc.info): Use make-target-directory.
82610 (installdirs): Remove.
82611 (subdir_%): Remove.
82612 (glibc-targets): Remove.
82613 (lib): Remove.
82614 (stubs): Remove.
82615 ($(objpfx)stubs ../po/manual.pot): Remove.
82616 ($(objpfx)stamp%): Remove.
82617 (make-target-directory): Remove.
82618 (subdir_install): Remove.
82619 (routines): Remove.
82620 (aux): Remove.
82621 (sources): Remove.
82622 (objects): Remove.
82623 (headers): Remove.
82624
82625 [BZ #13750]
82626 * manual/.gitignore: Remove, it's not needed anymore.
82627 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82628 all files in it.
82629 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82630 directory.
82631 (texis): Renamed to $(objpfx)texis.
82632 (texis-path): New, contains path to generated files.
82633 (chapters.%): Use texis-path for complete path, add extra argument
82634 libc-texinfo.sh.
82635 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82636 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82637 (summary,texi, stamp-summary): Use complete path of
82638 files. Generate files in build dir.
82639 (dir-add.texi): Build in build dir.
82640 (libm-err.texi,stamp-libm-err): Likewise.
82641 (version.texi, stamp-version): Likewise.
82642 (.%c.texi): Likewise.
82643 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82644 (mostlyclean): Remove target.
82645 (realclean): Remove target.
82646 (generated): Add new variable with contents from mostlyclean and
82647 realclean, remove entries duplicated in common-mostlyclean, add
82648 stamp-libm-err and stamp-version.
82649 (generated-dirs): Add libc directory.
82650 ($(inst_infodir)/libc.info): Install files from build dir.
82651
82652 * manual/install.texi (Configuring and compiling): Adjust since
82653 the info files are not part of the tar ball anymore.
82654
826552012-05-14 Andreas Jaeger <aj@suse.de>
82656
82657 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82658 variable.
92c3af3c 82659
edf66db1 826602012-05-14 Joseph Myers <joseph@codesourcery.com>
92c3af3c 82661
edf66db1
SP
82662 [BZ #13717]
82663 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82664 to 2.2.0 where earlier.
82665 * sysdeps/unix/sysv/linux/configure: Regenerated.
82666 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82667 Remove conditional code.
82668 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82669 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82670 Remove conditional code.
82671 [!__NR_lchown]: Likewise.
82672 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82673 [__NR_lchown]: Likewise.
82674 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82675 comment referencing __ASSUME_LCHOWN_SYSCALL.
82676 * sysdeps/unix/sysv/linux/i386/sigaction.c
82677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82679 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82680 Remove conditional code.
82681 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82682 (__protocol_available): Remove #if 0 code.
82683 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82684 conditional code.
82685 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82686 * sysdeps/unix/sysv/linux/kernel-features.h
82687 (__ASSUME_GETCWD_SYSCALL): Don't define.
82688 (__ASSUME_REALTIME_SIGNALS): Likewise.
82689 (__ASSUME_PREAD_SYSCALL): Likewise.
82690 (__ASSUME_PWRITE_SYSCALL): Likewise.
82691 (__ASSUME_POLL_SYSCALL): Likewise.
82692 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82693 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82694 non-SPARC.
82695 (__ASSUME_SIOCGIFNAME): Don't define.
82696 (__ASSUME_MSG_NOSIGNAL): Likewise.
82697 (__ASSUME_SENDFILE): Define unconditionally.
82698 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82699 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82700 conditional code.
82701 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82702 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82703 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82704 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82705 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82706 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82707 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82709 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82712 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82715 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82718 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82721 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82724 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82727 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82732 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82733 Remove conditional code.
82734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82735 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82736 Remove conditional code.
82737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82738 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82739 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82740 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82741 Remove conditional code.
82742 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82743 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82744 Remove conditional code.
82745 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82746 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82747 Remove conditional code.
82748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82749 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82750 Remove conditional code.
82751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82752 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82753 Remove conditional code.
82754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82755 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82756 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82758 * sysdeps/unix/sysv/linux/sigaction.c
82759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82761 * sysdeps/unix/sysv/linux/sigpending.c
82762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82764 * sysdeps/unix/sysv/linux/sigprocmask.c
82765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82767 * sysdeps/unix/sysv/linux/sigsuspend.c
82768 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82769 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82770 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82771 (__libc_missing_rt_sigs): Remove.
82772 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82773 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82774 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82775 Remove conditional code.
82776 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82777 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82778 return 1.
82779 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82780 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82781 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82782 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82783
827842012-05-14 Andreas Jaeger <aj@suse.de>
82785
82786 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82787 it's not used in glibc.
82788 (__coshm1): Likewise.
82789 (__acosh1p): Likewise.
82790 (__sgn): Likewise.
82791
82792 * manual/string.texi (Copying and Concatenation): Add missing
82793 variable in concat example.
82794 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82795
827962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82797
82798 [BZ #14103]
82799 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82800 __builtin_clzl with __builtin_clzll.
82801
828022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82803
82804 [BZ #14104]
82805 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82806 libc_freeres_ptr.
82807
828082012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82809
82810 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82811 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82812 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82813 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82814
828152012-05-14 Mike Frysinger <vapier@gentoo.org>
82816
82817 * NEWS: Update ia64 info.
82818
828192012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82820
82821 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82822 used as bcopy.
82823
828242012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82825
82826 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82827 * sysdeps/unix/syscalls.list (dup3): Likewise.
82828 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82829 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82830
828312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82832
82833 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82834 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82835
828362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82837
82838 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82839 thread pointer.
82840 (TLS_IE): Use mov/add instead of movq/addq to load thread
82841 pointer.
82842 (TLS_GD_PREFIX): New.
82843 (TLS_GD): Use it.
82844
828452012-05-11 David S. Miller <davem@davemloft.net>
82846
82847 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82848 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82849 (_FPU_SETCW): Likewise.
82850
828512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82852
82853 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82854 is 32-byte aligned.
92c3af3c 82855
edf66db1 828562012-05-11 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 82857
edf66db1
SP
82858 [BZ #11837]
82859 * iconvdata/gb18030.c: Update tables.
82860 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82861 characters specially.
82862 (BODY for TO_LOOP): Add encoding of missing ranges.
92c3af3c 82863
edf66db1 828642012-05-11 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 82865
edf66db1
SP
82866 [BZ #13673]
82867 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82868 * sysdeps/mach/hurd/dup3.c: Likewise.
82869 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82870 * sysdeps/powerpc/memmove.c:: Likewise.
92c3af3c 82871
edf66db1 828722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82873
edf66db1
SP
82874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82875 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
92c3af3c 82876
edf66db1 828772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 82878
edf66db1
SP
82879 * elf/elf.h (R_X86_64_RELATIVE64): New.
82880 (R_X86_64_NUM): Updated.
82881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82882 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82883 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82884 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82885 tst-quad1pie tst-quad2pie
82886 (modules-names): Add tst-quadmod1 tst-quadmod2.
82887 ($(objpfx)tst-quad1): New dependency.
82888 ($(objpfx)tst-quad2): Likewise.
82889 ($(objpfx)tst-quad1pie): Likewise.
82890 ($(objpfx)tst-quad2pie): Likewise.
82891 * sysdeps/x86_64/tst-quad1.c: New file.
82892 * sysdeps/x86_64/tst-quad1pie.c: New file.
82893 * sysdeps/x86_64/tst-quad2.c: Likewise.
82894 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82895 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82896 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82897 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82898 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82899
829002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82901
82902 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82903 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82904 * streams/stropts.h (t_scalar_t): Define type.
82905
82906 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82907 (_PATH_PRESERVE): Set to "/var/lib".
82908 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82909
82910 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82911 instead of int.
82912
82913 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82914 if __dir_mkfile succeeded.
82915
82916 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82917 checking for _hurd_dtablesize. Unlock it right after having
82918 finished _hurd_dtable allocation.
82919
829202012-05-10 Thomas Schwinge <thomas@schwinge.name>
82921
82922 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82923 * sysdeps/mach/hurd/configure: Regenerated.
82924 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82925 special-casing to...
82926 * sysdeps/gnu/configure.in: ... this new file.
82927 * sysdeps/unix/sysv/linux/configure: Regenerated.
82928 * sysdeps/gnu/configure: New generated file.
92c3af3c 82929
edf66db1
SP
82930 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82931 for Linux: use nsec instead of usec, as well as:
82932 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82933 members of type struct timespec.
82934 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82935 New macros.
82936 (struct stat64): Likewise.
82937 (_STATBUF_ST_NSEC): New macro.
82938 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
92c3af3c 82939
edf66db1
SP
82940 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82941 __strtoul_internal rather than strtoul.
92c3af3c 82942
edf66db1 829432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 82944
edf66db1
SP
82945 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82946 and reject them.
92c3af3c 82947
edf66db1 829482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 82949
edf66db1
SP
82950 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82951 which preserves existing values.
82952 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
92c3af3c 82953
edf66db1 829542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 82955
edf66db1
SP
82956 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82957 TIMEOUT values. Return EINVAL for NFDS values either negative or
82958 greater than FD_SETSIZE.
92c3af3c 82959
edf66db1 829602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 82961
edf66db1
SP
82962 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82963 allocated, call __vm_protect to finish enabling the existing space, and
82964 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82965 allocate the remainder.
92c3af3c 82966
edf66db1 829672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 82968
edf66db1
SP
82969 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82970 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
92c3af3c 82971
edf66db1 829722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 82973
edf66db1
SP
82974 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82975 sysdeps/mach/hurd/readlink.c.
92c3af3c 82976
edf66db1
SP
82977 * posix/tst-sysconf.c (posix_options): Only use
82978 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82979 _POSIX_SYNCHRONIZED_IO when they are defined
82980 * sysdeps/mach/hurd/bits/posix_opt.h:
82981 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82982 (_XOPEN_REALTIME): Undefine macro.
82983 (_XOPEN_REALTIME_THREADS): Undefine macro.
82984 (_XOPEN_SHM): Undefine macro.
82985 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82986 macro to -1.
82987 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82988 macro to -1.
82989 (_POSIX_ASYNC_IO): Undefine macro.
82990 (_POSIX_PRIORITIZED_IO): Undefine macro.
82991 (_POSIX_SPIN_LOCKS): Define macro to -1.
92c3af3c 82992
edf66db1
SP
82993 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82994 SA_NODEFER, SA_RESETHAND.
82995 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82996 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82997 F_DUPFD_CLOEXEC.
92c3af3c 82998
edf66db1 829992012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83000
edf66db1 83001 * elf/Makefile (pldd-modules): Define unconditionally.
92c3af3c 83002
edf66db1 830032012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83004
edf66db1 83005 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
92c3af3c 83006
edf66db1 830072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 83008
edf66db1
SP
83009 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
83010 Return ENOENT when name is empty.
83011 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
92c3af3c 83012
edf66db1 830132012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83014
edf66db1 83015 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
92c3af3c 83016
edf66db1 83017 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
92c3af3c 83018
edf66db1 830192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 83020
edf66db1
SP
83021 Fix mlock in all cases except non-readable pages.
83022 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
83023 instead of VM_PROT_ALL as parameter to __vm_wire function.
92c3af3c 83024
edf66db1
SP
83025 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
83026 (__mkdir): When path is `/', just fail with EEXIST.
83027 * sysdeps/mach/hurd/mkdirat.c: Likewise.
92c3af3c 83028
edf66db1 830292012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83030
edf66db1
SP
83031 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
83032 <sys/uio.h> (for writev).
83033 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
83034 and <sys/param.h> (for MIN).
92c3af3c 83035
edf66db1 830362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 83037
edf66db1
SP
83038 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
83039 REQUESTED_TIME. Properly set the remaining time and return EINTR
83040 if interrupted.
92c3af3c 83041
edf66db1 830422012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83043
edf66db1
SP
83044 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
83045 Depend on against $(link-rpcuserlibs).
92c3af3c 83046
edf66db1 830472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 83048
edf66db1
SP
83049 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
83050 (__libc_stack_end): Do not use attribute_relro.
83051 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
83052 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
83053 to libthread-provided value.
83054 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
83055 attribute_relro.
92c3af3c 83056
edf66db1 830572012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83058
edf66db1
SP
83059 [BZ #3748]
83060 * bits/libc-lock.h (__libc_once_get): New macro.
83061 * sysdeps/mach/bits/libc-lock.h: Likewise.
83062 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
83063 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
83064 instead of using implementation details.
92c3af3c 83065
edf66db1
SP
83066 * libio/fileops.c: Unconditionally include <kernel-features.h>.
83067 * libio/freopen.c: Likewise.
83068 * libio/freopen64.c: Likewise.
83069 * misc/syslog.c: Likewise.
83070 * nscd/connections.c: Likewise.
83071 * nscd/netgroupcache.c: Likewise.
83072 * sysdeps/posix/getcwd.c: Likewise.
92c3af3c 83073
edf66db1 830742012-05-10 Roland McGrath <roland@hack.frob.com>
92c3af3c 83075
edf66db1 83076 * math/w_ilogbf.c: Add #include <limits.h>.
92c3af3c 83077
edf66db1 830782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 83079
edf66db1
SP
83080 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
83081 path instead of returning without unlocking.
92c3af3c 83082
edf66db1
SP
83083 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
83084 immediate-write ioctls.
83085 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
92c3af3c 83086
edf66db1 830872012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83088
edf66db1
SP
83089 * sysdeps/mach/hurd/i386/init-first.c (init): Use
83090 __builtin_frame_address instead of making assumptions about the
83091 location of the return address relative to DATA. Force early load of
83092 the return address.
83093 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
83094 __builtin_frame_address.
92c3af3c 83095
edf66db1
SP
83096 dup3 for GNU Hurd.
83097 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
83098 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
83099 implement dup3 and do some further code clean-ups.
83100 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
83101 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
92c3af3c 83102
edf66db1 831032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 83104
edf66db1 83105 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
92c3af3c 83106
edf66db1
SP
83107 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
83108 HURD_CRITICAL_END around holding _hurd_dtable_lock.
83109 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
83110 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
83111 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
83112 d->port.lock.
92c3af3c 83113
edf66db1
SP
83114 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
83115 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
83116 when handler == SIG_ERR, not when handler != SIG_ERR.
92c3af3c 83117
edf66db1 831182012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83119
edf66db1
SP
83120 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
83121 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
83122 definitions.
92c3af3c 83123
edf66db1
SP
83124 accept4 for GNU Hurd.
83125 * include/sys/socket.h (__libc_accept4): New prototype.
83126 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
83127 to implement __libc_accept4.
83128 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
83129 __libc_accept4.
83130 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
92c3af3c 83131
edf66db1
SP
83132 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
83133 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
83134 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
83135 signal-defines.sym.
92c3af3c 83136
edf66db1 831372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 83138
edf66db1 83139 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
92c3af3c 83140
edf66db1 831412012-05-10 Thomas Schwinge <thomas@schwinge.name>
92c3af3c 83142
edf66db1
SP
83143 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
83144 assertion on O_CLOEXEC flag.
83145 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
83146 * hurd/intern-fd.c: Likewise.
83147 * hurd/port2fd.c: Likewise.
92c3af3c 83148
edf66db1 831492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 83150
edf66db1
SP
83151 [BZ #3906]
83152 * bits/in.h (IPV6_PKTINFO): Define new macro.
83153 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
92c3af3c 83154
edf66db1 831552012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 83156
edf66db1
SP
83157 [BZ #13954]
83158 [BZ #13955]
83159 [BZ #13956]
83160 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
83161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
83162 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
83163 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
83164 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
83165 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
83166 * math/libm-test.inc (logb_test) : Additional logb tests.
92c3af3c 83167
edf66db1
SP
831682012-05-09 Andreas Schwab <schwab@linux-m68k.org>
83169 Andreas Jaeger <aj@suse.de>
92c3af3c 83170
edf66db1
SP
83171 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
83172 * configure: Regenerated.
83173 * config.h.in (LINK_OBSOLETE_RPC): New macro.
83174 * config.make.in (link-obsolete-rpc): New substituted variable.
83175 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83176 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
83177 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83178 (shared-only-routines): Don't set it under [link-obsolete-rpc],
83179 so that libc.a contains the symbols.
83180 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83181 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
83182 * sunrpc/auth_none.c: Likewise.
83183 * sunrpc/auth_unix.c: Likewise.
83184 * sunrpc/authdes_prot.c: Likewise.
83185 * sunrpc/authuxprot.c: Likewise.
83186 * sunrpc/clnt_gen.c: Likewise.
83187 * sunrpc/clnt_perr.c: Likewise.
83188 * sunrpc/clnt_raw.c: Likewise.
83189 * sunrpc/clnt_simp.c: Likewise.
83190 * sunrpc/clnt_tcp.c: Likewise.
83191 * sunrpc/clnt_udp.c: Likewise.
83192 * sunrpc/clnt_unix.c: Likewise.
83193 * sunrpc/des_crypt.c: Likewise.
83194 * sunrpc/des_soft.c: Likewise.
83195 * sunrpc/get_myaddr.c: Likewise.
83196 * sunrpc/key_call.c: Likewise.
83197 * sunrpc/key_prot.c: Likewise.
83198 * sunrpc/netname.c: Likewise.
83199 * sunrpc/pm_getmaps.c: Likewise.
83200 * sunrpc/pm_getport.c: Likewise.
83201 * sunrpc/pmap_clnt.c: Likewise.
83202 * sunrpc/pmap_prot.c: Likewise.
83203 * sunrpc/pmap_prot2.c: Likewise.
83204 * sunrpc/pmap_rmt.c: Likewise.
83205 * sunrpc/publickey.c: Likewise.
83206 * sunrpc/rpc_cmsg.c: Likewise.
83207 * sunrpc/rpc_common.c: Likewise.
83208 * sunrpc/rpc_dtable.c: Likewise.
83209 * sunrpc/rpc_prot.c: Likewise.
83210 * sunrpc/rpc_thread.c: Likewise.
83211 * sunrpc/rtime.c: Likewise.
83212 * sunrpc/svc.c: Likewise.
83213 * sunrpc/svc_auth.c: Likewise.
83214 * sunrpc/svc_raw.c: Likewise.
83215 * sunrpc/svc_run.c: Likewise.
83216 * sunrpc/svc_tcp.c: Likewise.
83217 * sunrpc/svc_udp.c: Likewise.
83218 * sunrpc/svc_unix.c: Likewise.
83219 * sunrpc/svcauth_des.c: Likewise.
83220 * sunrpc/xcrypt.c: Likewise.
83221 * sunrpc/xdr.c: Likewise.
83222 * sunrpc/xdr_array.c: Likewise.
83223 * sunrpc/xdr_float.c: Likewise.
83224 * sunrpc/xdr_intXX_t.c: Likewise.
83225 * sunrpc/xdr_mem.c: Likewise.
83226 * sunrpc/xdr_rec.c: Likewise.
83227 * sunrpc/xdr_ref.c: Likewise.
83228 * sunrpc/xdr_sizeof.c: Likewise.
83229 * sunrpc/xdr_stdio.c: Likewise.
83230
832312012-05-10 Roland McGrath <roland@hack.frob.com>
83232
83233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83234 change. Update copyright years.
83235
832362012-05-10 Joseph Myers <joseph@codesourcery.com>
83237
83238 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83239
832402012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
83241 Joseph Myers <joseph@codesourcery.com>
83242 Paul Pluzhnikov <ppluzhnikov@google.com>
83243
83244 [BZ #14012]
83245 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83246 requiring rpcgen.
83247 [cross-compiling] (extra-libs): Likewise.
83248 [cross-compiling] (extra-libs-others): Likewise.
83249 [cross-compiling] (librpcsvc-routines): Likewise.
83250 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83251 [cross-compiling] (omit-deps): Likewise.
83252 (sunrpc-CPPFLAGS): New variable.
83253 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83254 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83255 (cross-rpcgen-objs): New variable.
83256 (extra-objs): Append $(cross-rpcgen-objs).
83257 ($(cross-rpcgen-objs)): New rule.
83258 ($(objpfx)cross-rpcgen): Likewise.
83259 (rpcgen-cmd): Define to use $(built-program-file). Expand
83260 comment.
83261 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83262 ($(objpfx)x%.stmp): Likewise.
83263 * sunrpc/proto.h [IS_IN_build] (_): Define.
83264 [IS_IN_build] (_libc_intl_domainname): Likewise.
83265
832662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
83267
83268 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83269 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83270 and R_X86_64_TPOFF64.
83271
832722012-05-10 Joseph Myers <joseph@codesourcery.com>
83273
83274 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83275 sysdeps/unix/sysv/syscalls.list.
83276 (stime): Likewise.
83277 (utime): Likewise.
83278 * sysdeps/unix/sysv/syscalls.list: Remove file.
83279
832802012-05-10 Paul Eggert <eggert@cs.ucla.edu>
83281
83282 [BZ #3440]
83283 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83284 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83285 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83286 (__LC_IDENTIFICATION): Make these macros useful in #if
83287 expressions, as required by C99.
83288
832892012-05-10 Andreas Schwab <schwab@linux-m68k.org>
83290
83291 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83292 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
83293 after this.
83294
832952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
83296
83297 * stdlib/longlong.h: Updated from GCC.
83298
832992012-05-09 Andreas Jaeger <aj@suse.de>
83300
83301 * nscd/nscd.c (run_modes): Make named enum, reorder so that
83302 default is first entry.
83303 (run_mode): Set type.
83304 (main): Remove informal message about syslog.
83305 (options): Fix typo.
83306
83307 [BZ #14053]
83308 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83309 to asm.
83310 (lrint): Likewise.
83311 (llrintf): Likewise.
83312 (llrint): Likewise.
83313 (rint): Likewise.
83314 (rintf): Likewise.
83315 (nearbyint): Likewise.
83316 (nearbyintf): Likewise.
83317
833182012-05-09 Andreas Jaeger <aj@suse.de>
83319 Pedro Alves <palves@redhat.com>
83320
83321 * nscd/nscd.c (run_mode): Use enum.
83322 (main): Cleanup coding style issue.
83323
833242012-05-09 Alexandre Oliva <aoliva@redhat.com>
83325 Andreas Jaeger <aj@suse.de>
83326
83327 * nscd/nscd.c (go_background): Replaced with...
83328 (run_mode): ... this.
83329 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83330 (options): Add -F --foreground.
83331 (main): Implement it.
83332 (parse_opt): Parse it.
83333
833342012-05-09 Andreas Jaeger <aj@suse.de>
83335
83336 [BZ #14083]
83337 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83338 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83339 -Wconversion warning.
83340 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83341 Likewise.
92c3af3c 83342
edf66db1
SP
833432012-05-09 Joseph Myers <joseph@codesourcery.com>
83344
83345 * conform/data/locale.h-data (NULL): Use macro-constant. Require
83346 == 0.
83347 (LC_ALL): Use macro-int-constant.
83348 (LC_COLLATE): Likewise.
83349 (LC_CTYPE): Likewise.
83350 (LC_MESSAGES): Likewise.
83351 (LC_MONETARY): Likewise.
83352 (LC_NUMERIC): Likewise.
83353 (LC_TIME): Likewise.
83354 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83355 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83356 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83357 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83358 Specify type.
83359 [C99-based standards] (float_t): Expect type.
83360 [C99-based standards] (double_t): Expect type.
83361 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
83362 type.
83363 [C99-based standards] (HUGE_VALL): Likewise.
83364 [C99-based standards] (INFINITY): Likewise.
83365 [C99-based standards] (NAN): Likewise.
83366 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83367 [C99-based standards] (FP_NAN): Likewise.
83368 [C99-based standards] (FP_NORMAL): Likewise.
83369 [C99-based standards] (FP_SUBNORMAL): Likewise.
83370 [C99-based standards] (FP_ZERO): Likewise.
83371 [C99-based standards] (FP_FAST_FMA): Use
83372 optional-macro-int-constant. Specify type. Require == 1.
83373 [C99-based standards] (FP_FAST_FMAF): Likewise.
83374 [C99-based standards] (FP_FAST_FMAL): Likewise.
83375 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83376 [C99-based standards] (FP_ILOGBNAN): Likewise.
83377 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83378 Specify type.
83379 [C99-based standards] (MATH_ERREXCEPT): Likewise.
83380 [C99-based standards] (math_errhandling): Specify type.
83381 [ISO99 || ISO11] (signgam): Do not allow.
83382 [non-C99-based standards] (copysignf): Do not allow.
83383 [non-C99-based standards] (exp2f): Likewise.
83384 [non-C99-based standards] (log2f): Likewise.
83385 [non-C99-based standards] (modff): Allow.
83386 [non-C99-based standards] (erff): Do not allow.
83387 [non-C99-based standards] (erfcf): Likewise.
83388 [non-C99-based standards] (gammaf): Likewise.
83389 [non-C99-based standards] (hypotf): Likewise.
83390 [non-C99-based standards] (j0f): Likewise.
83391 [non-C99-based standards] (j1f): Likewise.
83392 [non-C99-based standards] (jnf): Likewise.
83393 [non-C99-based standards] (lgammaf): Likewise.
83394 [non-C99-based standards] (tgammaf): Likewise.
83395 [non-C99-based standards] (y0f): Likewise.
83396 [non-C99-based standards] (y1f): Likewise.
83397 [non-C99-based standards] (ynf): Likewise.
83398 [non-C99-based standards] (isnanf): Likewise.
83399 [non-C99-based standards] (acoshf): Likewise.
83400 [non-C99-based standards] (asinhf): Likewise.
83401 [non-C99-based standards] (atanhf): Likewise.
83402 [non-C99-based standards] (cbrtf): Likewise.
83403 [non-C99-based standards] (expm1f): Likewise.
83404 [non-C99-based standards] (ilogbf): Likewise.
83405 [non-C99-based standards] (log1pf): Likewise.
83406 [non-C99-based standards] (logbf): Likewise.
83407 [non-C99-based standards] (nextafterf): Likewise.
83408 [non-C99-based standards] (remainderf): Likewise.
83409 [non-C99-based standards] (rintf): Likewise.
83410 [non-C99-based standards] (scalbf): Likewise.
83411 [non-C99-based standards] (copysignl): Likewise.
83412 [non-C99-based standards] (exp2l): Likewise.
83413 [non-C99-based standards] (log2l): Likewise.
83414 [non-C99-based standards] (modfl): Allow.
83415 [non-C99-based standards] (erfl): Do not allow.
83416 [non-C99-based standards] (erfcl): Likewise.
83417 [non-C99-based standards] (gammal): Likewise.
83418 [non-C99-based standards] (hypotl): Likewise.
83419 [non-C99-based standards] (j0l): Likewise.
83420 [non-C99-based standards] (j1l): Likewise.
83421 [non-C99-based standards] (jnl): Likewise.
83422 [non-C99-based standards] (lgammal): Likewise.
83423 [non-C99-based standards] (tgammal): Likewise.
83424 [non-C99-based standards] (y0l): Likewise.
83425 [non-C99-based standards] (y1l): Likewise.
83426 [non-C99-based standards] (ynl): Likewise.
83427 [non-C99-based standards] (isnanl): Likewise.
83428 [non-C99-based standards] (acoshl): Likewise.
83429 [non-C99-based standards] (asinhl): Likewise.
83430 [non-C99-based standards] (atanhl): Likewise.
83431 [non-C99-based standards] (cbrtl): Likewise.
83432 [non-C99-based standards] (expm1l): Likewise.
83433 [non-C99-based standards] (ilogbl): Likewise.
83434 [non-C99-based standards] (log1pl): Likewise.
83435 [non-C99-based standards] (logbl): Likewise.
83436 [non-C99-based standards] (nextafterl): Likewise.
83437 [non-C99-based standards] (remainderl): Likewise.
83438 [non-C99-based standards] (rintl): Likewise.
83439 [non-C99-based standards] (scalbl): Likewise.
83440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83441 [non-C99-based standards] (FP_*): Do not allow.
83442 [C99-based standards] (FP_*): Change to
83443 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83444 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83445 allow.
83446 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83447 (SIG_ERR): Likewise.
83448 [X/Open-based standards] (SIG_HOLD): Likewise.
83449 (SIG_IGN): Likewise.
83450 (SIGABRT): Use macro-int-constant. Specify type. Require
83451 positive value.
83452 (SIGFPE): Likewise.
83453 (SIGILL): Likewise.
83454 (SIGINT): Likewise.
83455 (SIGSEGV): Likewise.
83456 (SIGTER): Likewise.
83457 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83458 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83459 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83460 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83461 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83462 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83463 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83464 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83465 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83466 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83467 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83468 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83469 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83470 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83471 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83472 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83473 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83474 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83475 [X/Open-based standards] (SIGTRAP): Likewise.
83476 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83477 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83478 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83479 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83480 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83481 allow.
83482
834832012-05-08 Ian Wienand <ianw@vmware.com>
83484
83485 [BZ #14080]
83486 * time/tzset.c (__tzset_parse_tz): Update default rules for
83487 daylight time changes in the Energy Policy Act of 2005.
83488
834892012-05-09 Andreas Jaeger <aj@suse.de>
83490
83491 [BZ #13983]
83492 * elf/ldconfig.c (parse_conf): Change string to make clear that
83493 ldconfig only issued a warning if ld.so.conf does not exist.
83494
834952012-05-08 David S. Miller <davem@davemloft.net>
83496
83497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83498 movxtod instead of popping the value on the stack.
83499
83500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83501
835022012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83503
83504 * config.h.in: Add HAVE_ARM_PCS_VFP.
83505
835062012-05-08 Roland Mc Grath <roland@hack.frob.com>
83507
83508 [BZ #13979]
83509 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83510 checking but the checks are disabled for any reason.
83511
835122012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83513
83514 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83515 and ELF64_R_TYPE with ELFW(R_TYPE).
83516
835172012-05-08 Joseph Myers <joseph@codesourcery.com>
83518
83519 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83520 (ulimit): Likewise.
83521
83522 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83523 (settimeofday): Likewise.
83524
835252012-05-08 Mike Frysinger <vapier@gentoo.org>
83526
83527 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83528 a struct th_u2 inside the union, and move tu_block/tu_code into
83529 a new th_u3 union of tu_block/tu_code inside of that. Move
83530 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83531 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83532 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83533 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83534 (th_stuff): Change to th_u1.tu_stuff.
83535 (th_data): Define.
83536 (th_msg): Change to th_u1.th_u2.tu_data.
83537
835382012-05-07 David S. Miller <davem@davemloft.net>
83539
83540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83541
83542 [BZ #14074]
83543 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83544 (SETUP_PIC_REG): Use it.
83545 (SETUP_PIC_REG_LEAF): Use it.
83546
835472012-05-07 Joseph Myers <joseph@codesourcery.com>
83548
83549 [BZ #13885]
83550 [BZ #13923]
83551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83552 USE_AS_EXPM1L.
83553 (EXPL_FINITE): Likewise.
83554 (FLDLOG): Likewise.
83555 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83556 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83557 e_expl.S.
83558 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83559 USE_AS_EXPM1L.
83560 (EXPL_FINITE): Likewise.
83561 (FLDLOG): Likewise.
83562 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83563 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83564 e_expl.S.
83565 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83566 test of -max_value argument for long double.
83567 * sysdeps/i386/fpu/libm-test-ulps: Update.
83568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83569
835702012-05-06 David S. Miller <davem@davemloft.net>
83571
83572 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83573 quad soft-float symbols whose references which are compiler
83574 generated.
83575 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83576
835772012-05-06 Joseph Myers <joseph@codesourcery.com>
83578
83579 [BZ #13884]
83580 [BZ #13914]
83581 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83582 USE_AS_EXP10L.
83583 (EXPL_FINITE): Likewise.
83584 (FLDLOG): Likewise.
83585 (c0): Likewise.
83586 (c1): Likewise.
83587 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83588 Adjust comments for base varying.
83589 (__expl_finite): Change alias to EXPL_FINITE.
83590 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83591 e_expl.S.
83592 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83593 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83594 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83595 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83596 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83597 USE_AS_EXP10L.
83598 (EXPL_FINITE): Likewise.
83599 (FLDLOG): Likewise.
83600 (c0): Likewise.
83601 (c1): Likewise.
83602 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83603 Adjust comments for base varying.
83604 (__expl_finite): Change alias to EXPL_FINITE.
83605 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83606 tests for bugs.
83607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83608
83609 [BZ #14064]
83610 * math/libm-test.inc (check_float_internal): Correct ulp
83611 calculation for subnormal expected results.
83612
836132012-05-06 Andreas Jaeger <aj@suse.de>
83614
83615 * Makeconfig (+math-flags): New, set to -frounding-math.
83616 (+cflags): Add +math-flags so that all of glibc gets compiled with
83617 it.
83618
83619 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83620
836212012-05-05 Joseph Myers <joseph@codesourcery.com>
83622
83623 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83624 Disable one test.
83625
83626 [BZ #13787]
83627 [BZ #13922]
83628 [BZ #14036]
83629 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83630 (__ieee754_expl): Allow for and saturate large arguments.
83631 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83632 (u_threshold): Likewise.
83633 (__exp): Call __ieee754_exp before checking for overflow and
83634 underflow.
83635 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83636 (u_threshold): Likewise.
83637 (__expf): Call __ieee754_expf before checking for overflow and
83638 underflow.
83639 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83640 (u_threshold): Likewise.
83641 (__expl): Call __ieee754_expl before checking for overflow and
83642 underflow.
83643 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83644 (__ieee754_expl): Allow for and saturate large arguments.
83645 * math/libm-test.inc (exp_test): Add another test. Do not allow
83646 missing overflow exception on overflow.
83647 (expm1_test): Do not allow missing overflow exception on overflow.
83648
83649 * sysdeps/i386/fpu/e_expl.c: Move to ...
83650 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83651 rather than using inline asm.
83652 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83653 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83654 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83655
83656 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83657 (nice): Likewise.
83658 (poll): Likewise.
83659 (signal): Likewise.
83660 (time): Likewise.
83661 (times): Likewise.
83662
836632012-05-04 Joseph Myers <joseph@codesourcery.com>
83664
83665 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83666 sysdeps/unix/common/syscalls.list.
83667 (fchmod): Likewise.
83668 (fchown): Likewise.
83669 (ftruncate): Likewise.
83670 (getrusage): Likewise.
83671 (gettimeofday): Likewise.
83672 (setpgid): Likewise.
83673 (setregid): Likewise.
83674 (setreuid): Likewise.
83675 (sigaction): Likewise.
83676 (truncate): Likewise.
83677 (vhangup): Likewise.
83678 * sysdeps/unix/common/syscalls.list: Remove file.
83679 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83680 * sysdeps/unix/sysv/linux/Implies: Likewise.
83681
836822012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83683
83684 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83686 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83687 Moved to ...
83688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83689 Here.
83690 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83691 to ...
83692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83693 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83694 to ...
83695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83696 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83697 to ...
83698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83699 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83700 to ...
83701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83702 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83703 to ...
83704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83705 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83706 to ...
83707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83708 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83709 to ...
83710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83711 Here.
83712 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83713 to ...
83714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83715 Here.
83716 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83717 to ...
83718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83719 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83720 Moved to ...
83721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83722 Here.
83723 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83724 to ...
83725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
92c3af3c 83726
edf66db1 837272012-05-04 Joseph Myers <joseph@codesourcery.com>
92c3af3c 83728
edf66db1
SP
83729 * sysdeps/unix/common/bits/dirent.h: Remove file.
83730 * sysdeps/unix/common/bits/fcntl.h: Likewise.
92c3af3c 83731
edf66db1
SP
83732 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83733 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83734 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83735 * sysdeps/unix/bsd/isatty.c: Likewise.
83736 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83737 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83738 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
92c3af3c 83739
edf66db1 837402012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 83741
edf66db1
SP
83742 [BZ #13563]
83743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83744 long double comparison inaccuracies.
83745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 83747
edf66db1 837482012-05-04 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 83749
edf66db1
SP
83750 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83751 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
92c3af3c 83752
edf66db1 837532012-05-04 Joseph Myers <joseph@codesourcery.com>
92c3af3c 83754
edf66db1
SP
83755 [BZ #14049]
83756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83757 nonzero digits before rounding a hex value.
83758 * stdlib/tst-strtod.c (tests): Add another test.
92c3af3c 83759
edf66db1 837602012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 83761
edf66db1 83762 * sysdeps/s390/fpu/libm-test-ulps: Update.
92c3af3c 83763
edf66db1
SP
837642012-05-03 Andreas Jaeger <aj@suse.de>
83765
83766 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83767 does not get optimized out.
83768 (malloc_opt_barrier): New.
83769
837702012-05-03 Andreas Jaeger <aj@suse.de>
83771 Roland McGrath <roland@hack.frob.com>
83772
83773 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83774 intermediate file deletion.
83775 (generated): Add .symlist files.
83776
837772012-05-03 Joseph Myers <joseph@codesourcery.com>
83778
83779 [BZ #13775]
83780 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83781 Redirect under this condition.
83782 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83783 [__USE_GNU] (__dprintf_chk): Not under this condition.
83784 [__USE_GNU] (__vdprintf_chk): Likewise.
83785 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83786 under this condition.
83787 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83788 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83789 [__USE_XOPEN2K8] (vdprintf): Likewise.
83790 [__USE_GNU] (__dprintf_chk): Not under this condition.
83791 [__USE_GNU] (__vdprintf_chk): Likewise.
83792 [__USE_GNU] (dprintf): Likewise.
83793 [__USE_GNU] (vdprintf): Likewise.
83794
837952012-05-03 Roland McGrath <roland@hack.frob.com>
83796
83797 * elf/Makefile (common-generated): Set this instead of generated for
83798 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83799 $(all-built-dso)-derived lists.
83800
838012012-05-03 Andreas Jaeger <aj@suse.de>
83802
83803 * sysdeps/i386/fpu/libm-test-ulps: Update.
83804
83805 * FAQ: Removed.
83806 * FAQ.in: Likewise.
83807 * scripts/gen-FAQ.pl: Likewise.
83808 * manual/install.texi (Installation): Point to online location of
83809 FAQ.
83810 * Makefile (files-for-dist): Remove FAQ.
83811 (FAQ): Remove.
83812
838132012-05-02 Allan McRae <allan@archlinux.org>
83814
83815 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83816 (LDFLAGS-reldepmod5.so): Likewise.
83817 (LDFLAGS-reldep6mod1.so): Likewise.
83818 (LDFLAGS-reldep6mod4.so): Likewise.
83819 (LDFLAGS-reldep8mod3.so): Likewise.
83820 (LDFLAGS-unload4mod1.so): Likewise.
83821 (LDFLAGS-unload4mod2.so): Likewise.
83822 (LDFLAGS-tst-initorder): Likewise.
83823 (LDFLAGS-tst-initordera2.so): Likewise.
83824 (LDFLAGS-tst-initordera3.so): Likewise.
83825 (LDFLAGS-tst-initordera4.so): Likewise.
83826 (LDFLAGS-tst-initorderb2.so): Likewise.
83827 (LDFLAGS-noload): Likewise.
83828 (LDFLAGS-next): Likewise.
83829 (LDFLAGS-order2mod1.so): Likewise.
83830 (LDFLAGS-order2mod2.so): Likewise.
83831 (LDFLAGS-tst-initorder2): Likewise.
83832 (LDFLAGS-tst-initorder2a.so): Likewise.
83833 (LDFLAGS-tst-initorder2b.so): Likewise.
83834 (LDFLAGS-tst-initorder2c.so): Likewise.
83835 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83836
838372012-05-02 David S. Miller <davem@davemloft.net>
83838
83839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83840
838412012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83842
83843 [BZ #14055]
83844 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83845
838462012-05-02 Andreas Jaeger <aj@suse.de>
83847
83848 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83849 since we manipulate rounding mode.
83850 (CPPFLAGS-test-idouble.c): Likewise.
83851 (CPPFLAGS-test-ifloat.c): Likewise.
83852 (CFLAGS-test-ldouble.c): Likewise.
83853 (CFLAGS-test-double.c): Likewise.
83854 (CFLAGS-test-float.c): Likewise.
83855 (CFLAGS-test-misc.c): Likewise.
83856 (CFLAGS-test-test-fenv.c): Likewise.
83857
838582012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83859
83860 [BZ #2550]
83861 [BZ #2570]
83862 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83863 comparisons to determine direction to adjust input.
83864
838652012-05-01 Roland McGrath <roland@hack.frob.com>
83866
83867 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83868 output to the target.
83869
83870 * scripts/localplt.awk: New file.
83871 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83872 (check-localplt-CFLAGS): Variable removed.
83873 ($(all-built-dso:=.jmprel)): New static pattern rule.
83874 (generated): Add those targets.
83875 (localplt-built-dso): New variable.
83876 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83877
83878 * elf/check-localplt.c: File removed.
83879
83880 * scripts/check-execstack.awk: New file.
83881 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83882 (check-execstack-CFLAGS): Variable removed.
83883 ($(objpfx)check-execstack.h): Target removed.
83884 ($(objpfx)execstack-default): New target.
83885 (generated): Add that instead of check-execstack.h.
83886 ($(all-built-dso:=.phdr)): New static pattern rule.
83887 (generated): Add those targets.
83888 * elf/check-execstack.c: File removed.
83889
83890 * scripts/check-textrel.awk: New file.
83891 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83892 (check-textrel-CFLAGS): Variable removed.
83893 (all-built-dso): Use := to define.o
83894 ($(all-built-dso:=.dyn)): New static pattern rule.
83895 (generated): Add those targets.
83896 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83897 * config.make.in (READELF): New substituted variable.
83898 * elf/check-textrel.c: File removed.
83899
839002012-05-01 Joseph Myers <joseph@codesourcery.com>
83901
83902 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83903 allow.
83904 * conform/data/ctype.h-data [C99-based standards] (isblank):
83905 Expect function.
83906 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83907 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83909 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83910 Specify type. Require positive value.
83911 (EILSEQ): Likewise.
83912 (ERANGE): Likewise.
83913 [ISO || POSIX] (EILSEQ): Do not expect.
83914 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83915 Specify type. Require positive value.
83916 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83917 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83918 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83919 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83920 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83921 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83922 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83923 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83924 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83925 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83926 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83927 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83928 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83929 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83930 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83931 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83932 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83933 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83934 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83935 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83936 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83937 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83938 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83939 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83940 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83941 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83942 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83943 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83944 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83945 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83946 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83947 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83948 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83949 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83950 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83951 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83952 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83953 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83954 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83955 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83956 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83957 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83958 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83959 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83960 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83961 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83962 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83963 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83964 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83965 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83966 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83967 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83968 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83969 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83970 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83971 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83972 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83973 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83974 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83975 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83976 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83977 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83978 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83979 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83980 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83981 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83982 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83983 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83984 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83985 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83986 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83987 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83988 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83989 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83990 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83991 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83992 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83993 Require >= 2.
83994 (FLT_ROUNDS): Expect as macro, not constant.
83995 (FLT_MANT_DIG): Use macro-int-constant.
83996 (DBL_MANT_DIG): Likewise.
83997 (LDBL_MANT_DIG): Likewise.
83998 (FLT_DIG): Likewise.
83999 (DBL_DIG): Likewise.
84000 (LDBL_DIG): Likewise.
84001 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
84002 (DBL_MIN_EXP): Likewise.
84003 (LDBL_MIN_EXP): Likewise.
84004 (FLT_MAX_EXP): Use macro-int-constant.
84005 (DBL_MAX_EXP): Likewise.
84006 (LDBL_MAX_EXP): Likewise.
84007 (FLT_MAX_10_EXP): Likewise.
84008 (DBL_MAX_10_EXP): Likewise.
84009 (LDBL_MAX_10_EXP): Likewise.
84010 (FLT_MAX): Use macro-constant.
84011 (DBL_MAX): Likewise.
84012 (LDBL_MAX): Likewise.
84013 (FLT_EPSILON): Use macro-constant. Give upper bound.
84014 (DBL_EPSILON): Likewise.
84015 (LDBL_EPSILON): Likewise.
84016 (FLT_MIN): Likewise.
84017 (DBL_MIN): Likewise.
84018 (LDBL_MIN): Likewise.
84019 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
84020 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
84021 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
84022 [ISO11] (FLT_HAS_SUBNORM): Likewise.
84023 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
84024 [ISO11] (DBL_DECIMAL_DIG): Likewise.
84025 [ISO11] (FLT_DECIMAL_DIG): Likewise.
84026 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
84027 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
84028 [ISO11] (FLT_TRUE_MIN): Likewise.
84029 [ISO11] (LDBL_TRUE_MIN): Likewise.
84030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
84031 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
84032 (SCHAR_MIN): Use macro-int-constant. Specify type.
84033 (SCHAR_MAX): Likewise.
84034 (UCHAR_MAX): Likewise.
84035 (CHAR_MIN): Likewise.
84036 (CHAR_MAX): Likewise.
84037 (MB_LEN_MAX): Use macro-int-constant.
84038 (SHRT_MIN): Use macro-int-constant. Specify type.
84039 (SHRT_MAX): Likewise.
84040 (USHRT_MAX): Likewise.
84041 (INT_MAX): Likewise.
84042 (INT_MIN): Use macro-int-constant. Specify type. Make upper
84043 bound negative.
84044 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
84045 bound with "U".
84046 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
84047 bound with "L".
84048 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
84049 bound negative. Suffix upper bound with "L".
84050 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
84051 bound with "UL".
84052 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
84053 Specify type.
84054 [C99-based standards] (LLONG_MAX): Likewise.
84055 [C99-based standards] (ULLONG_MAX): Likewise.
84056 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
84057 == 0.
84058 [ISO11] (max_align_t): Require type.
84059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
84060
84061 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
84062 from $CFLAGS, without defining away __attribute__ calls.
84063 (checknamespace): Use $CFLAGS_namespace.
84064
84065 * conform/conformtest.pl (@keywords): Only include C99 keywords
84066 for standards based on C99 or C11.
84067
84068 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
84069 Disable tests.
84070 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
84071 UNIX98]: Likewise.
84072
84073 * conform/conformtest.pl: Handle "macro-int-constant" and test for
84074 usability of symbols in #if.
84075
84076 * conform/conformtest.pl: If macro or constant types start
84077 "promoted:", expect the symbol to be of the following type
84078 promoted by the integer promotions.
84079
84080 * conform/conformtest.pl: Parse all "constant" and "macro" lines
84081 in one place. Also handle "macro-constant".
84082
84083 * conform/conformtest.pl: Only accept expected macro values with
84084 "==". Parse all "macro" lines in one place.
84085 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
84086
84087 * conform/conformtest.pl: Handle braced types on "constant" lines
84088 instead of handling "typed-constant".
84089 * conform/data/signal.h-data: Use "constant" instead of
84090 "typed-constant".
84091
84092 * conform/conformtest.pl: Handle "optional-" at start of lines in
84093 one place rather than duplicating several cases. Handle each
84094 format of "macro" line with initial "optional-".
84095
84096 * conform/conformtest.pl: Only accept expected constant or
84097 optional-constant values with "==". Parse all "constant" lines in
84098 one place. Parse all "optional-constant" lines in one place.
84099 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
84100 * conform/data/fmtmsg.h-data: Likewise.
84101 * conform/data/netinet/in.h-data: Likewise.
84102 * conform/data/tar.h-data: Likewise.
84103 * conform/data/limits.h-data: Use "==" form on "constant" and
84104 "optional-constant" lines.
84105
84106 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
84107 Use -std=c99 for XOPEN2K.
84108 (@knownproblems): Remove.
84109 (newtoken): Don't check %isknown.
84110
84111 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
84112 Do not expect macro.
84113 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
84114 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
84115 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
84116 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
84117 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
84118 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
84119 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
84120 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
84121 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
84122 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
84123 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
84124 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
84125 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
84126 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
84127 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
84128 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
84129 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
84130 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
84131 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
84132 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
84133 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
84134 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
84135 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
84136 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
84137 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
84138 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
84139 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
84140 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
84141 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
84142 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
84143 [XPG3] (acosh): Likewise.
84144 [XPG3] (asinh): Likewise.
84145 [XPG3] (atanh): Likewise.
84146 [XPG3] (cbrt): Likewise.
84147 [XPG3] (expm1): Likewise.
84148 [XPG3] (ilogb): Likewise.
84149 [XPG3] (log1p): Likewise.
84150 [XPG3] (logb): Likewise.
84151 [XPG3] (nextafter): Likewise.
84152 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
84153 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
84154 [XPG3] (remainder): Likewise.
84155 [XPG3] (rint): Likewise.
84156 [XPG3 || XPG4 || UNIX98] (round): Likewise.
84157 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
84158 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
84159 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
84160 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
84161 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
84162 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
84163 [UNIX98 || XOPEN2K] (scalb): Expect.
84164 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
84165 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
84166 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
84167 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
84168 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
84169 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
84170 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
84171 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
84172 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84173 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
84174 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
84175 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
84176 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84177 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
84178 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
84179 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
84180 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
84181 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
84182 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
84183 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
84184 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84185 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84186 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84187 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84188 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84189 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84190 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84191 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84192 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84193 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84194 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84195 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84196 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84197 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84198 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84199 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84200 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84201 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84202 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84203 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84204 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84205 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84206 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84207 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84208 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84209 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84210 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84211 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84212 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84213 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84214 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84215 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84216 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84217 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84218 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84219 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84220 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84221 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84222 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84223 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84224 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84225 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84226 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84227 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84228 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84229 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84230 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84231 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84232 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84233 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84234 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84235 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84236 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84237 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84238 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84239 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84240 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84241 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84242 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84243 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84244 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84245 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84246 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84247 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84248 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84249 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84250 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84251 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84252 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84253 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84254 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84255 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84256 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84257 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84258 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84259 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84260 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84261 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84262 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84263 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84264 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84265 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84266 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84267 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84268 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84269 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84270 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84271 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84272 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84273 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84274 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84275 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84276 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84277 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84278 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84279 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84280 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84281 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84282 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84283 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84284 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84285 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84286 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84287 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84288 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84289 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84290 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84291 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84292 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84293 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84294 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84295 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84296 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84297 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84298 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84299 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84300 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84301
84302 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84303 _XOPEN_SOURCE_EXTENDED for XPG4.
84304
84305 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84306
84307 * Makeconfig (localtime): Remove variable.
84308 (inst_localtime-file): Likewise.
84309
843102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84311
84312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84313 Update.
84314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84315 Update.
84316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84317 Update.
84318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84319 Update.
84320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84321 Update.
84322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84323 Update.
84324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84325 Update.
84326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84327 Update.
84328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84329 Update.
84330
843312012-05-01 Joseph Myers <joseph@codesourcery.com>
84332
84333 [BZ #2550]
84334 [BZ #2570]
84335 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84336 comparisons to determine direction to adjust input.
84337 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84338 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84340 Likewise.
84341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84342 Likewise.
84343 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84344 Likewise.
84345 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84346 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84347 Likewise.
84348 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84349 Likewise.
84350 * math/libm-test.inc (nexttoward_test): Add more tests.
92c3af3c 84351
edf66db1 843522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 84353
edf66db1
SP
84354 [BZ #14040]
84355 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84356 in version GLIBC_2.1, not GLIBC_2.0.
84357 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84358 Likewise.
92c3af3c 84359
edf66db1
SP
843602012-04-30 Joseph Myers <joseph@codesourcery.com>
84361
84362 [BZ #13942]
84363 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84364 (1 - x) * (1 + x).
84365 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84366 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84367 * math/libm-test.inc (acos_test): Add more tests.
84368 (asin_test): Likewise.
84369 * sysdeps/i386/fpu/libm-test-ulps: Update.
84370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84371
84372 [BZ #14034]
84373 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84374 of square root.
84375 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84376 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84377 * math/libm-test.inc (acos_test_tonearest): New function.
84378 (acos_test_towardzero): Likewise.
84379 (acos_test_downward): Likewise.
84380 (acos_test_upward): Likewise.
84381 (asin_test_tonearest): Likewise.
84382 (asin_test_towardzero): Likewise.
84383 (asin_test_downward): Likewise.
84384 (asin_test_upward): Likewise.
84385 (main): Call the new functions.
84386 * sysdeps/i386/fpu/libm-test-ulps: Update.
84387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84388
84389 [BZ #13884]
84390 [BZ #13924]
84391 * math/e_exp10.c: Include <float.h>.
84392 (__ieee754_exp10): Handle underflow here rather than multiplying
84393 large negative argument by M_LN10.
84394 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84395 of __ieee754_expf.
84396 * math/e_exp10l.c: Include <float.h>.
84397 (__ieee754_exp10l): Handle underflow here rather than multiplying
84398 large negative argument by M_LN10l.
84399 * math/libm-test.inc (exp10_test): Add another test. Do not allow
84400 spurious overflow exception on underflow.
84401
844022012-04-29 Marek Polacek <polacek@redhat.com>
84403
84404 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84405 (__fortify_function): New macro.
84406 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84407 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84408 __extern_always_inline.
84409 * libio/bits/stdio2.h: Likewise.
84410 * libio/bits/stdio.h: Likewise.
84411 * string/string.h: Likewise.
84412 * string/bits/string3.h: Likewise.
84413 * include/stdio.h: Likewise.
84414 * stdlib/bits/stdlib.h: Likewise.
84415 * stdlib/stdlib.h: Likewise.
84416 * rt/bits/mqueue2.h: Likewise.
84417 * rt/mqueue.h: Likewise.
84418 * posix/bits/unistd.h: Likewise.
84419 * posix/unistd.h: Likewise.
84420 * io/bits/poll2.h: Likewise.
84421 * io/bits/fcntl2.h: Likewise.
84422 * io/fcntl.h: Likewise.
84423 * io/sys/poll.h: Likewise.
84424 * misc/bits/syslog.h: Likewise.
84425 * misc/bits/syslog-ldbl.h: Likewise.
84426 * misc/sys/syslog.h: Likewise.
84427 * socket/bits/socket2.h: Likewise.
84428 * socket/sys/socket.h: Likewise.
84429 * debug/tst-chk1.c: Likewise.
84430 * wcsmbs/bits/wchar2.h: Likewise.
84431 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84432 * wcsmbs/wchar.h: Likewise.
92c3af3c 84433
edf66db1 844342012-04-29 Andreas Jaeger <aj@suse.de>
92c3af3c 84435
edf66db1
SP
84436 * Makerules (tests): Remove enable-check-abi protection.
84437 (check-abi-warn): Remove.
84438 (check-abi-%): Remove check-abi-warn usage.
92c3af3c 84439
edf66db1
SP
84440 * configure.in: Remove check-abi configure option.
84441 * configure: Regenerated.
84442 * config.make.in (enable-check-abi): Remove.
92c3af3c 84443
edf66db1 844442012-04-28 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 84445
edf66db1
SP
84446 [BZ #14033]
84447 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84448 double functions to double *_finite functions.
92c3af3c 84449
edf66db1
SP
84450 [BZ #13941]
84451 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84452 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84453 LDBL_MIN_EXP.
84454 * stdio-common/Makefile (tests): Add tst-sprintf3.
84455 * stdio-common/tst-sprintf3.c: New file.
92c3af3c 84456
edf66db1
SP
84457 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84458 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
92c3af3c 84459
edf66db1 844602012-04-28 Joseph Myers <joseph@codesourcery.com>
92c3af3c 84461
edf66db1
SP
84462 * conform/conformtest.pl: Remove duplicate typed-constant
84463 handling.
92c3af3c 84464
edf66db1
SP
844652012-04-28 David S. Miller <davem@davemloft.net>
84466
84467 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84468 (check-abi-%): Remove AWK script prerequisite and explicit
84469 abilist directory.
84470 (check-abi): Rewrite to just diff the symlist with the abilist.
84471 (config-tls, config-abi-config): Delete, no longer used.
84472 (update-abi-%): Remove AWK script and explicit abilist directory.
84473 (update-abi): Rewrite to simply compare and conditionally copy the
84474 symlist and the sysdep abilist file. Remove update-abi-config
84475 checks.
84476 * abilist/ld.abilist: Remove.
84477 * abilist/libBrokenLocale.abilist: Remove.
84478 * abilist/libanl.abilist: Remove.
84479 * abilist/libcrypt.abilist: Remove.
84480 * abilist/libdl.abilist: Remove.
84481 * abilist/librt.abilist: Remove.
84482 * abilist/libthread_db.abilist: Remove.
84483 * abilist/libutil.abilist: Remove.
84484 * scripts/extract-abilist.awk: Remove.
84485 * scripts/merge-abilist.awk: Remove.
84486 * sysdeps/generic/libcidn.abilist: New file.
84487 * sysdeps/generic/libnss_compat.abilist: New file.
84488 * sysdeps/generic/libnss_db.abilist: New file.
84489 * sysdeps/generic/libnss_dns.abilist: New file.
84490 * sysdeps/generic/libnss_files.abilist: New file.
84491 * sysdeps/generic/libnss_hesiod.abilist: New file.
84492 * sysdeps/generic/libnss_nis.abilist: New file.
84493 * sysdeps/generic/libnss_nisplus.abilist: New file.
84494 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84495 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84496 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84497 file.
84498 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84499 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84500 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84501 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84502 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84503 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84504 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84505 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84506 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84507 file.
84508 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84509 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84510 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84511 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84512 file.
84513 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84514 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84515 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84516 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84517 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84518 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84519 file.
84520 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84521 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84522 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84523 file.
84524 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84526 New file.
84527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84528 New file.
84529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84530 New file.
84531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84532 New file.
84533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84534 New file.
84535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84536 New file.
84537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84538 New file.
84539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84540 New file.
84541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84542 New file.
84543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84544 New file.
84545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84546 New file.
84547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84548 New file.
84549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84550 New file.
84551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84552 file.
84553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84554 New file.
84555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84556 New file.
84557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84558 file.
84559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84560 New file.
84561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84562 New file.
84563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84564 file.
84565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84566 New file.
84567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84568 New file.
84569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84570 New file.
84571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84572 New file.
84573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84574 New file.
84575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84576 New file.
84577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84579 file.
84580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84581 New file.
84582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84583 file.
84584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84585 file.
84586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84587 file.
84588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84589 file.
84590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84591 file.
84592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84593 New file.
84594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84595 file.
84596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84597 file.
84598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84599 New file.
84600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84601 file.
84602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84604 file.
84605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84606 New file.
84607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84608 file.
84609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84610 file.
84611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84612 file.
84613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84614 file.
84615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84616 file.
84617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84618 New file.
84619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84620 file.
84621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84622 file.
84623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84624 New file.
84625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84626 file.
84627 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84628 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84629 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84630 file.
84631 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84632 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84633 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84634 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84635 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84636 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84637 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84638 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84639 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84640 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84643 file.
84644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84645 New file.
84646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84647 file.
84648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84649 file.
84650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84651 file.
84652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84653 file.
84654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84655 file.
84656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84657 New file.
84658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84659 New file.
84660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84661 file.
84662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84663 New file.
84664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84665 file.
84666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84668 file.
84669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84670 New file.
84671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84672 file.
84673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84674 file.
84675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84676 file.
84677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84678 file.
84679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84680 file.
84681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84682 New file.
84683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84684 New file.
84685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84686 file.
84687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84688 New file.
84689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84690 file.
92c3af3c 84691
edf66db1
SP
846922012-04-28 Joseph Myers <joseph@codesourcery.com>
84693
84694 * conform/conformtest.pl: Fix typo in handling typed-constant from
84695 allow-header.
84696
846972012-04-27 Joseph Myers <joseph@codesourcery.com>
84698
84699 * README: Cut down references to pre-2.6 Linux kernels and
84700 Linuxthreads. Update lists of configurations in libc and ports
84701 and sort alphabetically. Say "or newer" with Linux kernel version
84702 requirements.
84703
84704 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84705
847062012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84707
84708 [BZ #887]
84709 * math/libm-test.inc (logb_test_downward): New test to expose
84710 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84711 rounding mode.
84712
847132012-04-27 Joseph Myers <joseph@codesourcery.com>
84714
84715 [BZ #14027]
84716 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84717 to be done.
84718 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84719 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84720
847212012-04-26 Joseph Myers <joseph@codesourcery.com>
84722
84723 * sysdeps/unix/i386/brk.S: Remove file.
84724 * sysdeps/unix/i386/dl-brk.S: Likewise.
84725 * sysdeps/unix/i386/pipe.S: Likewise.
84726 * sysdeps/unix/i386/sigreturn.S: Likewise.
84727 * sysdeps/unix/i386/syscall.S: Likewise.
84728 * sysdeps/unix/i386/vfork.S: Likewise.
84729 * sysdeps/unix/i386/wait.S: Likewise.
84730
84731 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84732 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84733
84734 * configure.in (arm*-none*): Do not allow without
84735 --enable-hacker-mode.
84736 (netbsd*): Remove case setting base_os.
84737 (386bsd*): Likewise.
84738 (freebsd*): Likewise.
84739 (bsdi*): Likewise.
84740 (osf*): Likewise.
84741 (sunos*): Likewise.
84742 (ultrix*): Likewise.
84743 (newsos*): Likewise.
84744 (dynix*): Likewise.
84745 (*bsd*): Likewise.
84746 (sysv*): Likewise.
84747 (isc*): Likewise.
84748 (esix*): Likewise.
84749 (sco*): Likewise.
84750 (minix*): Likewise.
84751 (irix4*): Likewise.
84752 (irix6*): Likewise.
84753 (solaris[2-9]*): Likewise.
84754 (none): Likewise.
84755 * configure: Regenerated.
92c3af3c 84756
edf66db1
SP
847572012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84758
84759 [BZ #11521]
84760 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84761 overflow or cancellation in calculating denominator.
84762 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84764 down expression to avoid unexpected rounding in newer GCCs.
84765 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84766
847672012-04-26 David S. Miller <davem@davemloft.net>
84768
84769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84770 long-double compat symbols.
84771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84784
847852012-04-25 David S. Miller <davem@davemloft.net>
84786
84787 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84788 HWCAP_* values only after the memory barriers have been defined.
84789 (atomic_full_barrier): Define.
84790 (atomic_read_barrier): Define.
84791 (atomic_write_barrier): Define.
84792
847932012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84794
84795 * shlib-versions: Add libgcc_s version information.
84796 * sysdeps/generic/libgcc_s.h: Remove.
84797 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84798 libgcc_s.h.
84799 * sysdeps/gnu/unwind-resume.c: Likewise.
84800 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84801
848022012-04-25 David S. Miller <davem@davemloft.net>
84803
84804 * sysdeps/unix/sparc/brk.S: Delete.
84805 * sysdeps/unix/sparc/dl-brk.S: Delete.
84806 * sysdeps/unix/sparc/pipe.S: Delete.
84807 * sysdeps/unix/sparc/sysdep.S: Delete.
84808 * sysdeps/unix/sparc/sysdep.h: Delete.
84809 * sysdeps/unix/sparc/vfork.S: Delete.
84810 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84811 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84813 (ret_ERRVAL, r0, r1, MOVE): Define.
84814 (JUMPTARGET): Remove.
84815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84816 sysdeps/unix/sparc/sysdep.h
84817 (ENTRY, END): Remove.
84818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84819
848202012-04-25 Joseph Myers <joseph@codesourcery.com>
84821
84822 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84823 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84824 -DIS_IN_build.
84825
84826 * timezone/README: Update upstream location and email address for
84827 tzcode and tzdata.
84828 * timezone/zdump.c: Update from tzcode 2012b.
84829 * timezone/zic.c: Likewise.
92c3af3c 84830
edf66db1
SP
84831 * configure.in (libc_cv_as_needed): Remove test.
84832 * configure: Regenerated.
84833 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84834 conditional definition.
84835 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84836 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84837 * config.make.in (have-as-needed): Remove variable.
92c3af3c 84838
edf66db1
SP
848392012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84840 Paul Pluzhnikov <ppluzhnikov@google.com>
92c3af3c 84841
edf66db1
SP
84842 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84843 strings correctly.
92c3af3c 84844
edf66db1 848452012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
92c3af3c 84846
edf66db1
SP
84847 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84848 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84849 * sysdeps/sh/strlen.S: Likewise.
92c3af3c 84850
edf66db1 848512012-04-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 84852
edf66db1
SP
84853 * sysdeps/unix/fork.S: Remove file.
84854 * sysdeps/unix/i386/fork.S: Likewise.
84855 * sysdeps/unix/sparc/fork.S: Likewise.
92c3af3c 84856
edf66db1
SP
84857 * sysdeps/unix/system.c: Remove file.
84858 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
92c3af3c 84859
edf66db1
SP
84860 * sysdeps/unix/getegid.S: Remove file.
84861 * sysdeps/unix/geteuid.S: Likewise.
92c3af3c 84862
edf66db1 848632012-04-24 Roland McGrath <roland@hack.frob.com>
92c3af3c 84864
edf66db1
SP
84865 * scripts/check-localplt.awk: New file.
84866 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84867 of diff.
84868 * scripts/data/localplt-generic.data: Add a comment.
92c3af3c 84869
edf66db1
SP
84870 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84871 NODE when __dir_mkfile failed.
84872 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84873 Reported by Ludovic Courtès <ludo@gnu.org>.
92c3af3c 84874
edf66db1 848752012-04-24 Andreas Jaeger <aj@suse.de>
92c3af3c 84876
edf66db1
SP
84877 * Makerules (common-clean): Also remove gen-as-const-headers
84878 files.
92c3af3c 84879
edf66db1 848802012-04-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 84881
edf66db1
SP
84882 * Makerules (native-compile): Do not change working directory for
84883 build. Use $(OUTPUT_OPTION) in command.
84884 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
92c3af3c 84885
edf66db1 848862012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 84887
edf66db1
SP
84888 [BZ #13886]
84889 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84890 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84891 * math/libm-test.inc (floor_test): Add more tests.
84892 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
92c3af3c 84893
edf66db1 848942012-04-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 84895
edf66db1
SP
84896 * sysdeps/unix/getdents.c: Remove file.
84897 * sysdeps/unix/sysv/getdents.c: Likewise.
84898 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
92c3af3c 84899
edf66db1
SP
84900 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84901 sysdeps/unix/mman/syscalls.list.
84902 (mmap): Likewise.
84903 (mprotect): Likewise.
84904 (msync): Likewise.
84905 (munmap): Likewise.
84906 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84907 * sysdeps/unix/mman/syscalls.list: Remove.
84908 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
92c3af3c 84909
edf66db1
SP
84910 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84911 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84912 * configure: Regenerated.
84913 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84914 $(libgcc_s_suffix).
84915 * config.make.in (libgcc_s_suffix): Remove variable.
92c3af3c 84916
edf66db1 849172012-04-23 Joseph Myers <joseph@codesourcery.com>
92c3af3c 84918
edf66db1
SP
84919 * sysdeps/unix/sysv/gethostname.c: Move to ...
84920 * sysdeps/posix/gethostname.c: ... here.
92c3af3c 84921
edf66db1 84922 * sysdeps/unix/execve.S: Remove file.
92c3af3c 84923
edf66db1 84924 * sysdeps/unix/_exit.S: Remove file.
92c3af3c 84925
edf66db1 849262012-04-23 Andreas Jaeger <aj@suse.de>
92c3af3c 84927
edf66db1
SP
84928 [BZ #13739]
84929 * manual/Makefile: Remove make dist support, there's no
84930 need for a stand-alone documentation tar ball.
84931 (TEXI2DVI): Define always, it's not in Makeconfig.
84932 (dist): Removed.
84933 (tar-it): Removed.
84934 (edition): Removed.
84935 (glibc-doc-$(edition).tar): Removed
84936 (%.Z): Removed.
84937 (%.gz): Removed.
84938 (%.uu): Removed.
84939 (ETAGS): Remove, it's in Makeconfig.
84940 (move-if-change): Remove, it's in Makeconfig.
92c3af3c 84941
edf66db1 849422012-04-23 Paul Eggert <eggert@cs.ucla.edu>
92c3af3c 84943
edf66db1
SP
84944 [BZ #13970]
84945 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84946 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84947 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84948 (strtod_l, strtof_l, strtold_l): Remove __wur.
84949 It is not necessarily an error to ignore strtol's return value.
84950 One can reliably look at the stored endptr to decide whether
84951 the number had valid syntax.
92c3af3c 84952
edf66db1 849532012-04-21 Andreas Jaeger <aj@suse.de>
92c3af3c 84954
edf66db1
SP
84955 [BZ #13739]
84956 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
92c3af3c 84957
edf66db1 849582012-04-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 84959
edf66db1
SP
84960 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84961 * sysdeps/unix/sysv/Versions: Remove file.
92c3af3c 84962
edf66db1 849632012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
92c3af3c 84964
edf66db1
SP
84965 [BZ #13927]
84966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
92c3af3c 84967
edf66db1 849682012-04-21 Nick Alcock <nick.alcock@oracle.com>
92c3af3c 84969
edf66db1
SP
84970 [BZ #7064]
84971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84972 version from __vm86.
92c3af3c 84973
edf66db1 849742012-04-20 Joseph Myers <joseph@codesourcery.com>
92c3af3c 84975
edf66db1
SP
84976 * sysdeps/unix/common/lxstat.c: Remove file.
84977 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
92c3af3c 84978
edf66db1 84979 * sysdeps/unix/sysv/Makefile: Remove file.
92c3af3c 84980
edf66db1 84981 * sysdeps/unix/sysv/direct.h: Remove file.
92c3af3c 84982
edf66db1
SP
84983 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84984 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84985 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84986 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84987 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84988 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84989 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
92c3af3c 84990
edf66db1 84991 * sysdeps/unix/sysv/setrlimit.c: Remove file.
92c3af3c 84992
edf66db1
SP
84993 * sysdeps/unix/xmknod.c: Remove file.
84994 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
92c3af3c 84995
edf66db1 84996 * sysdeps/unix/sysv/settimeofday.c: Remove file.
92c3af3c 84997
edf66db1 84998 * sysdeps/unix/sysv/i386/time.S: Remove file.
92c3af3c 84999
edf66db1
SP
85000 * sysdeps/unix/fxstat.c: Remove file.
85001 * sysdeps/unix/xstat.c: Likewise.
85002 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
92c3af3c 85003
edf66db1 85004 * sysdeps/unix/sysv/sigaction.c: Remove file.
92c3af3c 85005
edf66db1
SP
85006 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
85007 (sysdep_headers): Remove variable.
85008 [termio.h not in sysdep_headers] (generated): Likewise.
85009 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
85010 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
85011 * sysdeps/unix/sysv/tcdrain.c: Likewise.
85012 * sysdeps/unix/sysv/tcflow.c: Likewise.
85013 * sysdeps/unix/sysv/tcflush.c: Likewise.
85014 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
85015 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
85016 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
85017 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
85018 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
92c3af3c 85019
edf66db1 85020 * sysdeps/unix/siglist.c: Remove file.
92c3af3c 85021
edf66db1
SP
85022 * sysdeps/unix/getppid.S: Remove file.
85023
85024 * sysdeps/unix/mkdir.c: Remove file.
85025 * sysdeps/unix/rmdir.c: Likewise.
85026
850272012-04-19 Andreas Schwab <schwab@linux-m68k.org>
85028
85029 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
85030 ERR_MAX value.
85031 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
85032 errlist-compat value.
85033
850342012-04-18 David S. Miller <davem@davemloft.net>
85035
85036 * sysdeps/generic/memcopy.h (reg_char): Delete.
85037 * debug/strcat_chk.c: Use char, not reg_char.
85038 * debug/strcpy_chk.c: Likewise.
85039 * debug/strncat_chk.c: Likewise.
85040 * debug/strncpy_chk.c: Likewise.
85041 * string/memchr.c: Likewise.
85042 * string/memrchr.c: Likewise.
85043 * string/rawmemchr.c: Likewise.
85044 * string/strcat.c: Likewise.
85045 * string/strchr.c: Likewise.
85046 * string/strchrnul.c: Likewise.
85047 * string/strcmp.c: Likewise.
85048 * string/strcpy.c: Likewise.
85049 * string/strncat.c: Likewise.
85050 * string/strncmp.c: Likewise.
85051 * string/strncpy.c: Likewise.
85052
850532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85054
85055 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
85056 __builtin_memcopy is called when src and dest ranges are known to not
85057 overlap.
85058
850592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85060
85061 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
85062 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
85063 fwd_align_merge macro call.
85064 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
85065 bwd_align_merge macro call.
85066 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85067
850682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
85069
85070 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
85071 bwd_align_merge macros.
85072 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
85073 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
85074 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85075
850762012-04-18 David S. Miller <davem@davemloft.net>
85077
85078 * sysdeps/sparc/sparc64/memcopy.h: Delete.
85079
850802012-04-18 Andreas Jaeger <aj@suse.de>
85081
85082 [BZ #6794]
85083 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
85084 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
85085 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85086
85087 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
85088 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
85089 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
92c3af3c 85090
edf66db1
SP
85091 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
85092 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
85093 Adjust for changed ldbl-128 files.
85094
85095 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
85096 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
85097 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85098
850992012-04-17 David S. Miller <davem@davemloft.net>
85100
85101 * sysdeps/sparc/sparc32/memcopy.h: Delete.
92c3af3c 85102
edf66db1
SP
851032012-04-17 Andreas Schwab <schwab@linux-m68k.org>
85104
85105 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
85106 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
85107 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
85108 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
85109 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
85110 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
92c3af3c 85111
edf66db1 851122012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 85113
edf66db1
SP
85114 [BZ #6794]
85115 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
85116 * math/libm-test.inc: Add ilogb errno and exception tests.
85117 * math/w_ilogb.c: New file: ilogb wrapper.
85118 * math/w_ilogbf.c: New file: ilogbf wrapper.
85119 * math/w_ilogbl.c: New file: ilogbl wrapper.
85120 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
85121 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
85122 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
85123 exception being thrown with 0.0 as argument.
85124 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
85125 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
85126 exception being thrown with 0.0 as argument.
85127 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
85128 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85129 exception being thrown with 0.0 as argument.
85130 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
85131 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85132 exception being thrown with 0.0 as argument.
85133 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
85134 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
85135 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
85136 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
85137 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
85138 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
85139 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
85140 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
85141 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
92c3af3c 85142
edf66db1 851432012-04-17 Petr Baudis <pasky@ucw.cz>
92c3af3c 85144
edf66db1
SP
85145 * include/sys/uio.h: Change __vector to __iovec to avoid clash
85146 with altivec.
92c3af3c 85147
edf66db1 851482012-04-16 Marek Polacek <polacek@redhat.com>
92c3af3c 85149
edf66db1 85150 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
92c3af3c 85151
edf66db1 851522012-04-16 Marek Polacek <polacek@redhat.com>
92c3af3c 85153
edf66db1
SP
85154 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
85155 operands of fdivp instruction.
92c3af3c 85156
edf66db1 851572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85158
edf66db1
SP
85159 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
85160 * elf/tst-auditmod3b.c: Likewise.
85161 * elf/tst-auditmod4b.c: Likewise.
85162 * elf/tst-auditmod5b.c: Likewise.
85163 * elf/tst-auditmod6b.c: Likewise.
85164 * elf/tst-auditmod6c.c: Likewise.
85165 * elf/tst-auditmod7b.c: Likewise.
85166 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
85167 * sysdeps/x86_64/preconfigure.in: Likewise.
85168 * sysdeps/x86_64/preconfigure: Regenerated.
92c3af3c 85169
edf66db1 851702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85171
edf66db1
SP
85172 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
85173 __ILP32__.
92c3af3c 85174
edf66db1 851752012-04-13 Antoine Balestrat <merkil33@gmail.com>
92c3af3c 85176
edf66db1
SP
85177 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85178 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
92c3af3c 85179
edf66db1 851802012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
92c3af3c 85181
edf66db1
SP
85182 [BZ #13973]
85183 * locale/iso-639.def: Fix gl language name. Spotted by
85184 Yaron Shahrabani.
92c3af3c 85185
edf66db1 851862012-04-12 Roland McGrath <roland@hack.frob.com>
92c3af3c 85187
edf66db1
SP
85188 [BZ #2074]
85189 * libio/libio.h (__io_write_fn): Update comment.
92c3af3c 85190
edf66db1 851912012-04-12 Petr Baudis <pasky@ucw.cz>
92c3af3c 85192
edf66db1
SP
85193 [BZ #2074]
85194 * stdio.texi (Hook Functions): The user provided writer function
85195 is not allowed to return -1.
92c3af3c 85196
edf66db1 851972012-04-11 David S. Miller <davem@davemloft.net>
92c3af3c 85198
edf66db1 85199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 85200
edf66db1 852012012-04-11 Mike Frysinger <vapier@gentoo.org>
92c3af3c 85202
edf66db1
SP
85203 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85204 Add a leading slash to rtkaio.
85205
852062012-04-11 Jim Meyering <meyering@redhat.com>
85207
85208 [BZ #11959]
85209 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85210 It is not necessarily an error to ignore fwrite's return
85211 value. One can reliably use ferror to test for errors after
85212 the fact.
92c3af3c 85213
edf66db1
SP
852142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85215
85216 * bits/types.h (__snseconds_t): New type.
85217 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
92c3af3c 85218
edf66db1
SP
85219 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85221 (__SNSECONDS_T_TYPE): Likewise.
85222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85223 (__SNSECONDS_T_TYPE): Likewise.
85224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85225 (__SNSECONDS_T_TYPE): Likewise.
92c3af3c 85226
edf66db1 852272012-04-10 Andreas Jaeger <aj@suse.de>
92c3af3c 85228
edf66db1
SP
85229 [BZ #2636]
85230 * manual/time.texi (Processor Time): Return type of times is
85231 elapsed real time since an arbitrary point in the past.
85232 (CPU Time): Move CLK_TCK from here...
85233 (Processor Time): ...to here. Correct description.
85234 * manual/conf.texi (Constants for Sysconf): Correct description of
85235 _SC_CLK_TCK.
92c3af3c 85236
edf66db1 852372012-04-10 David S. Miller <davem@davemloft.net>
92c3af3c 85238
edf66db1
SP
85239 [BZ #13967]
85240 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85241 where the is a gap between DT_REL(A) and DT_JMPREL.
92c3af3c 85242
edf66db1 852432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85244
edf66db1
SP
85245 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85246 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85247 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
92c3af3c 85248
edf66db1 852492012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 85250
edf66db1
SP
85251 * elf/dl-support.c (_dl_inhibit_cache): New variable.
85252 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85253 (dl_main): Handle --inhibit-cache.
85254 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85255 _dl_inhibit_cache.
85256 * elf/dl-load.c (_dl_map_object): Use it.
85257 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
92c3af3c 85258
edf66db1 852592012-04-09 Joseph Myers <joseph@codesourcery.com>
92c3af3c 85260
edf66db1
SP
85261 [BZ #13872]
85262 * sysdeps/i386/fpu/e_powl.S (p78): New object.
85263 (__ieee754_powl): Saturate large exponents rather than testing for
85264 overflow of y*log2(x).
85265 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85266 * math/libm-test.inc (pow_test): Do not permit spurious overflow
85267 exceptions.
92c3af3c 85268
edf66db1
SP
85269 [BZ #11521]
85270 * math/s_ctan.c: Include <float.h>.
85271 (__ctan): Avoid internal overflow or cancellation in calculating
85272 denominator.
85273 * math/s_ctanf.c: Likewise.
85274 * math/s_ctanl.c: Likewise.
85275 * math/s_ctanh.c: Likewise.
85276 * math/s_ctanhf.c: Likewise.
85277 * math/s_ctanhl.c: Likewise.
85278 * math/libm-test.inc (ctan_test): Add more tests.
85279 (ctanh_test): Likewise.
85280 * sysdeps/i386/fpu/libm-test-ulps: Update.
85281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85282
852832012-04-09 Andreas Jaeger <aj@suse.de>
85284
85285 [BZ #6894]
85286 * manual/filesys.texi (Directory Entries): Mention that d_namlen
85287 is an optional BSD extension.
85288
85289 [BZ #10254]
85290 * manual/stdio.texi (Opening Streams): Document additional fopen
85291 parameters.
92c3af3c 85292
edf66db1 852932012-04-09 Roland McGrath <roland@hack.frob.com>
92c3af3c 85294
edf66db1
SP
85295 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85296 %eax without telling the compiler.
92c3af3c 85297
edf66db1 852982012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
92c3af3c 85299
edf66db1
SP
85300 [BZ # 13963]
85301 * manual/install.texi: Use sourceware.org.
92c3af3c 85302
edf66db1 853032012-04-09 Joseph Myers <joseph@codesourcery.com>
92c3af3c 85304
edf66db1
SP
85305 [BZ #13873]
85306 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85307 (__ieee754_pow): Generate overflow and underflow using huge*huge
85308 and tiny*tiny rather than just returning constant infinity or zero
85309 for large exponents.
85310 * math/libm-test.inc (pow_test): Require overflow exceptions for
85311 applicable cases of large exponents.
92c3af3c 85312
edf66db1
SP
85313 [BZ #706]
85314 * sysdeps/i386/fpu/e_pow.S (p10): New object.
85315 (__ieee754_pow): Use iterative multiplication algorithm only for
85316 integer exponents with absolute value below 1024. Check for odd
85317 integer exponents when using algorithm for real exponents.
85318 * math/libm-test.inc (pow_test): Add more tests.
85319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
92c3af3c 85320
edf66db1 853212012-04-08 Joseph Myers <joseph@codesourcery.com>
92c3af3c 85322
edf66db1
SP
85323 [BZ #13705]
85324 * math/libm-test.inc (exp_test): Do not allow overflow exception
85325 on underflow test.
92c3af3c 85326
edf66db1 853272012-04-08 Aurelien Jarno <aurelien@aurel32.net>
92c3af3c 85328
edf66db1
SP
85329 [BZ #13705]
85330 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85331 instead of __kernel_standard_f.
92c3af3c 85332
edf66db1 853332012-04-08 Mike Frysinger <vapier@gentoo.org>
92c3af3c 85334
edf66db1
SP
85335 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85336 * sysdeps/x86_64/memset_chk.S: Likewise.
92c3af3c 85337
edf66db1 853382012-04-08 Andreas Jaeger <aj@suse.de>
92c3af3c 85339
edf66db1
SP
85340 [BZ #10153]
85341 * manual/startup.texi (Environment Access): Describe return value
85342 for putenv and setenv.
92c3af3c 85343
edf66db1
SP
85344 [BZ #6895]
85345 * manual/filesys.texi (Directory Entries): Add description for
85346 DT_LNK.
92c3af3c 85347
edf66db1
SP
85348 [BZ #6890]
85349 * manual/filesys.texi (Directory Entries): Clarify that it's file
85350 system not operating system in the description of DT_UNKNOWN.
92c3af3c 85351
edf66db1
SP
85352 [BZ #6578]
85353 * manual/syslog.texi (closelog): Fix reference, it's openlog.
92c3af3c 85354
edf66db1 853552012-04-08 Stephen Compall <s11@member.fsf.org>
92c3af3c 85356
edf66db1
SP
85357 [BZ #6649]
85358 * manual/llio.texi (Opening and Closing Files): Add cross
85359 reference to explain mode argument.
92c3af3c 85360
edf66db1 853612012-04-07 Mike Frysinger <vapier@gentoo.org>
92c3af3c 85362
edf66db1
SP
85363 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85364 * sysdeps/x86_64/memset_chk.S: Likewise.
92c3af3c 85365
edf66db1 853662012-04-07 David S. Miller <davem@davemloft.net>
92c3af3c 85367
edf66db1
SP
85368 * elf/elf.h (R_SPARC_WDISP10): Define.
85369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85370 R_SPARC_SIZE32.
85371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85372 R_SPARC_SIZE64 and R_SPARC_H34.
92c3af3c 85373
edf66db1 853742012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
92c3af3c 85375
edf66db1
SP
85376 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85377 conditions and remove no longer applicable assertion.
92c3af3c 85378
edf66db1 853792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85380
edf66db1
SP
85381 * bits/byteswap.h: Include <features.h>.
85382 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85383 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
92c3af3c 85384
edf66db1 853852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85386
edf66db1
SP
85387 * bits/byteswap.h (__bswap_16): Removed.
85388 Include <bits/byteswap-16.h> to get __bswap_16.
85389 * sysdeps/i386/bits/byteswap.h: Likewise.
85390 * sysdeps/s390/bits/byteswap.h: Likewise.
85391 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85392 * bits/byteswap-16.h: New file.
85393 * sysdeps/i386/bits/byteswap-16.h: Likewise.
85394 * sysdeps/s390/bits/byteswap-16.h: Likewise.
85395 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85396 * string/Makefile (headers): Add bits/byteswap-16.h.
92c3af3c 85397
edf66db1 853982012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
92c3af3c 85399
edf66db1
SP
85400 [BZ #13895]
85401 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85402 extra indirection.
85403 * nss/Makefile (tests-static, tests): Add tst-nss-static.
85404 * nss/tst-nss-static.c: New.
92c3af3c 85405
edf66db1 854062012-04-06 Robert Millan <rmh@gnu.org>
92c3af3c 85407
edf66db1
SP
85408 [BZ #6486]
85409 * manual/llio.texi (File Position Primitive): lseek
85410 refers to WHENCE when it really means OFFSET.
92c3af3c 85411
edf66db1 854122012-04-06 Andreas Jaeger <aj@suse.de>
92c3af3c 85413
edf66db1
SP
85414 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85415 strncmp declarations.
92c3af3c 85416
edf66db1 85417 * abilist/libc.abilist: Add __poll and __ppoll.
92c3af3c 85418
edf66db1 854192012-04-05 David S. Miller <davem@davemloft.net>
92c3af3c 85420
edf66db1
SP
85421 * scripts/check-local-headers.sh: Accept a host triplet in the
85422 path matched by the exclude regexp.
92c3af3c 85423
edf66db1
SP
85424 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85425 definition.
85426 * sysdeps/powerpc/powerpc32/dl-machine.h
85427 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85428 * sysdeps/s390/s390-32/dl-machine.h
85429 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85430 * sysdeps/sparc/sparc32/dl-machine.h
85431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85432 * sysdeps/sparc/sparc64/dl-machine.h
85433 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
92c3af3c 85434
edf66db1
SP
85435 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85436 lazy binding.
85437 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85438 undefined symbol errors.
92c3af3c 85439
edf66db1
SP
85440 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85441 DT_NEEDED entries.
92c3af3c 85442
edf66db1 854432012-04-05 Michael Matz <matz@suse.de>
92c3af3c 85444
edf66db1
SP
85445 [BZ #13592]
85446 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
92c3af3c 85447
edf66db1 854482012-04-05 Andreas Jaeger <aj@suse.de>
92c3af3c 85449
edf66db1
SP
85450 [BZ #13908]
85451 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85452 comment.
92c3af3c 85453
edf66db1 854542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
92c3af3c 85455
edf66db1
SP
85456 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85457 which ROUND is no valid rounding mode.
92c3af3c 85458
edf66db1 854592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
92c3af3c 85460
edf66db1
SP
85461 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85462 read again.
85463 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
92c3af3c 85464
edf66db1 854652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
92c3af3c 85466
edf66db1
SP
85467 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85468 an exception using FPU order intentionally.
92c3af3c 85469
edf66db1 854702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
92c3af3c 85471
edf66db1
SP
85472 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85473 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85474 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85475 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
92c3af3c 85476
edf66db1 854772012-04-05 Simon Josefsson <simon@josefsson.org>
92c3af3c 85478
edf66db1
SP
85479 [BZ #12340]
85480 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85481 EINVAL when BUFLEN is too smal.
92c3af3c 85482
edf66db1 854832012-04-05 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 85484
edf66db1
SP
85485 [BZ #13553]
85486 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85487 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
92c3af3c 85488
edf66db1 854892012-04-03 Andreas Jaeger <aj@suse.de>
92c3af3c 85490
edf66db1
SP
85491 [BZ #13938]
85492 * manual/setjmp.texi (System V contexts): Fix sentence.
92c3af3c 85493
edf66db1
SP
85494 [BZ #13926]
85495 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85496 New macro for this case.
85497 [!__GNUC__] (__bswap_64): New inline function for this case.
85498 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85499 * bits/byteswap.h: Likewise.
85500 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85501 ull, guard with __GLIBC_HAVE_LONG_LONG.
85502
85503 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85504 __GLIBC_HAVE_LONG_LONG.
85505
85506 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85507 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85508
855092012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85510
85511 [BZ #13691]
85512 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85513 inptr and inend, rather than using last_ch.
85514
855152012-04-02 David S. Miller <davem@davemloft.net>
85516
85517 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85518 * stdio-common/printf-parse.h (read_int): Change return type to
85519 'int', return -1 on INT_MAX overflow.
85520 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85521 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85522 overflows INT_MAX. Check for overflow of in-format-string precision
85523 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85524 SIZE_MAX not INT_MAX for integer overflow test.
85525 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85526 skip the construct in the format string but do not record anything.
85527 * stdio-common/bug22.c: Adjust to test both width/prevision
85528 INT_MAX overflow as well as total length INT_MAX overflow. Check
85529 explicitly for proper errno values.
85530
855312012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85532
85533 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85534 CHAR_MAX.
85535 * string/test-strcmp.c [! WIDE]: Likewise.
85536 * time/tst-mktime2.c: Likewise for INT_MAX.
85537 * string/test-string.h: #include <sys/param.h> for MIN.
85538
85539 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85540 * sysdeps/i386/init-first.c (init): Likewise.
85541 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85542 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85543 * sysdeps/sh/init-first.c (init): Likewise.
85544
855452012-04-01 Ulrich Drepper <drepper@gmail.com>
92c3af3c 85546
edf66db1
SP
85547 * po/ru.po: Update from translation team.
85548 * po/vi.po: Likewise.
92c3af3c 85549
edf66db1 855502012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 85551
edf66db1 85552 * resolv/nss_dns/dns-host.c: Merge copyright years.
92c3af3c 85553
edf66db1 855542012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 85555
edf66db1
SP
85556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85557 Optimize memcpy with prefetch if
85558 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85559 src, dst pointers have unequal 16 byte alignments.
92c3af3c 85560
edf66db1 855612012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 85562
edf66db1
SP
85563 [BZ #13928]
85564 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85565 from a CNAME entry and return the minimum ttl for the query.
85566 (gaih_getanswer_slice): Likewise.
92c3af3c 85567
edf66db1 855682012-03-30 Jeff Law <law@redhat.com>
92c3af3c 85569
edf66db1
SP
85570 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85571 due to long keys.
85572 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85573 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
92c3af3c 85574
edf66db1 85575 * resolv/nss_dns/dns-host.c: Update copyright year.
92c3af3c 85576
edf66db1 855772012-03-30 Ulrich Drepper <drepper@gmail.com>
92c3af3c 85578
edf66db1
SP
85579 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85580 requests to save a system call. Fix check that all bytes are sent.
92c3af3c 85581
edf66db1
SP
85582 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85583 comments for sendmmsg.
92c3af3c 85584
edf66db1 855852012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
92c3af3c 85586
edf66db1
SP
85587 [BZ #13691]
85588 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85589 with only 1 character between 0x0041 and 0x01b0.
85590 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85591 * wcsmbs/tst-mbsnrtowcs.c: New file.
92c3af3c 85592
edf66db1 855932012-03-29 David S. Miller <davem@davemloft.net>
92c3af3c 85594
edf66db1
SP
85595 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85596 small copies by hand.
92c3af3c 85597
edf66db1 855982012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
92c3af3c 85599
edf66db1
SP
85600 [BZ #13761]
85601 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85602 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85603 group memberships.
92c3af3c 85604
edf66db1 856052012-03-28 David S. Miller <davem@davemloft.net>
92c3af3c 85606
edf66db1
SP
85607 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85608 that branches into memcpy.
85609 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85612 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85614 bits.
85615 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85616 implementation too.
85617 * sysdeps/sparc/mempcpy.S: New file.
85618
85619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85620 the IFUNC routine in the libc case.
85621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85622
85623 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85624 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85625 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85626 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85627 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85628 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85629 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85630 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85631
85632 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85633 loop to 256 bytes instead of 64 bytes and fix test signedness.
85634
85635 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85636 * sysdeps/sparc/sparc32/Makefile: rather than here...
85637 * sysdeps/sparc/sparc64/Makefile: and here.
85638
856392012-03-28 Ulrich Drepper <drepper@gmail.com>
85640
85641 * malloc/mallocbug.c: Avoid warnings about unused variables.
85642
856432012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85644
85645 [BZ #13760]
85646 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85647 in the right place. Discard and retry query if response is
85648 larger than input buffer size.
85649
856502012-03-28 Joseph Myers <joseph@codesourcery.com>
85651
85652 [BZ #369]
85653 [BZ #2678]
85654 [BZ #3866]
85655 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85656 x for large integer exponent.
85657 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85658 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85659 sign of result as needed afterwards.
85660 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85661 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85662 result for underflowing pow the same as for overflow.
85663 (__kernel_standard_l): Handle powl overflow and underflow here
85664 rather than calling __kernel_standard.
85665 * math/libm-test.inc (pow_test): Add more tests.
85666
85667 [BZ #3868]
85668 [BZ #13879]
85669 [BZ #13910]
85670 [BZ #13911]
85671 [BZ #13912]
85672 [BZ #13913]
85673 [BZ #13915]
85674 [BZ #13916]
85675 [BZ #13917]
85676 [BZ #13918]
85677 [BZ #13919]
85678 [BZ #13920]
85679 [BZ #13921]
85680 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85681 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85682 (__kernel_standard_l): New function.
85683 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85684 __kernel_standard.
85685 * math/w_acosl.c (__acosl): Likewise.
85686 * math/w_asinl.c (__asinl): Likewise.
85687 * math/w_atan2l.c (__atan2l): Likewise.
85688 * math/w_atanhl.c (__atanhl): Likewise.
85689 * math/w_coshl.c (__coshl): Likewise.
85690 * math/w_exp10l.c (__exp10l): Likewise.
85691 * math/w_exp2l.c (__exp2l): Likewise.
85692 * math/w_fmodl.c (__fmodl): Likewise.
85693 * math/w_hypotl.c (__hypotl): Likewise.
85694 * math/w_j0l.c (__j0l, __y0l): Likewise.
85695 * math/w_j1l.c (__j1l, __y1l): Likewise.
85696 * math/w_jnl.c (__jnl, __ynl): Likewise.
85697 * math/w_lgammal.c (__lgammal): Likewise.
85698 * math/w_log10l.c (__log10l): Likewise.
85699 * math/w_log2l.c (__log2l): Likewise.
85700 * math/w_logl.c (__logl): Likewise.
85701 * math/w_powl.c (__powl): Likewise.
85702 * math/w_remainderl.c (__remainderl): Likewise.
85703 * math/w_scalbl.c (sysv_scalbl): Likewise.
85704 * math/w_sinhl.c (__sinhl): Likewise.
85705 * math/w_sqrtl.c (__sqrtl): Likewise.
85706 * math/w_tgammal.c (__tgammal): Likewise.
85707 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85708 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85709 * math/libm-test.inc (acos_test): Add more tests.
85710 (acosh_test): Likewise.
85711 (asin_test): Likewise.
85712 (atanh_test): Likewise.
85713 (exp_test): Likewise.
85714 (exp10_test): Likewise.
85715 (exp2_test): Likewise.
85716 (expm1_test): Likewise.
85717 (lgamma_test): Likewise.
85718 (log_test): Likewise.
85719 (log10_test): Likewise.
85720 (log1p_test): Likewise.
85721 (log2_test): Likewise.
85722 (pow_test): Do not allow some spurious overflow exceptions.
85723 (sqrt_test): Add more tests.
85724 (tgamma_test): Likewise.
85725 (y0_test): Likewise.
85726 (y1_test): Likewise.
85727 (yn_test): Likewise.
85728
857292012-03-27 Anton Blanchard <anton@samba.org>
85730
85731 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85732 MAP_HUGETLB.
85733 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85734 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85735 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
92c3af3c 85736
edf66db1 857372012-03-27 David S. Miller <davem@davemloft.net>
92c3af3c 85738
edf66db1 85739 * conform/Makefile: Run run-conformtest.sh using $(BASH).
92c3af3c 85740
edf66db1
SP
85741 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85742 have-as-vis3 check.
92c3af3c 85743
edf66db1 857442012-03-27 Andreas Jaeger <aj@suse.de>
92c3af3c 85745
edf66db1
SP
85746 * sysdeps/x86_64/elf/configure.in: Moved to ...
85747 * sysdeps/x86_64/configure.in: ... here.
85748 * sysdeps/x86_64/elf/start.S: Moved to ...
85749 * sysdeps/x86_64/start.S: ... here.
85750 * sysdeps/x86_64/elf/configure: Delete.
92c3af3c 85751
edf66db1
SP
85752 * sysdeps/x86_64/configure.in: Merge contents from
85753 sysdeps/i386/configure.in (without i686 check).
92c3af3c 85754
edf66db1
SP
85755 * sysdeps/i386/elf/Versions: Merge into ...
85756 * sysdeps/i386/Versions: ... this.
85757 * sysdeps/i386/elf/Versions: Delete file.
85758 * sysdeps/i386/elf/start.S: Moved to ...
85759 * sysdeps/i386/start.S: ...here.
85760 * sysdeps/i386/elf/configure.in: Merge into...
85761 * sysdeps/i386/configure.in: ...here.
85762 * sysdeps/i386/elf/configure.in: Delete file.
85763 * sysdeps/i386/elf/configure: Delete file.
85764
85765 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85766 * debug/backtracesyms.c: ... here.
85767 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85768 * debug/backtracesymsfd.c: ... here.
85769 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85770 * sysdeps/generic/ifunc-sel.h: ... here.
85771
85772 * sysdeps/unix/i386/start.c: Delete file.
85773 * sysdeps/unix/sparc/start.c: Delete file.
85774 * sysdeps/unix/start.c: Delete file.
85775
85776 * sysdeps/sh/elf/configure.in: Moved to ...
85777 * sysdeps/sh/configure.in: ... here.
85778 * sysdeps/sh/elf/start.S: Moved to ...
85779 * sysdeps/sh/start.S: ... here.
85780 * sysdeps/sh/elf/configure: Delete file.
85781
85782 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85783 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85784 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85785 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85786 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85787 * sysdeps/powerpc/powerpc64/start.S: here.
85788 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85789 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85790 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85791 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85792 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85793
85794 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85795 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85796 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85797 * sysdeps/powerpc/powerpc32/start.S: ... here.
85798 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85799 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85800 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85801
85802 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85803 * sysdeps/powerpc/ifunc-sel.h: ... here.
85804 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85805 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85806
85807 * sysdeps/sparc/elf/configure.in: Moved to ...
85808 * sysdeps/sparc/configure.in: ... here.
85809 * sysdeps/sparc/elf/configure: Delete file.
85810 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85811 * sysdeps/sparc/sparc32/start.S: ... here.
85812 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85813 * sysdeps/sparc/sparc64/start.S: ... here.
85814 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85815 * sysdeps/sparc/sparc32/Makefile: ... this.
85816 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85817 * sysdeps/sparc/sparc64/Makefile: ... this.
85818
85819 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85820 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85821 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85822 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85823 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85824 * sysdeps/s390/s390-32/setjmp.S: ... here.
85825 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85826 * sysdeps/s390/s390-32/configure.in: ... here.
85827 * sysdeps/s390/s390-32/elf/configure: Delete file.
85828 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85829 * sysdeps/s390/s390-32/start.S: ... here.
85830
85831 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85832 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85833 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85834 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85835 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85836 * sysdeps/s390/s390-64/setjmp.S: ... here.
85837 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85838 * sysdeps/s390/s390-64/configure.in: ... here
85839 * sysdeps/s390/s390-64/elf/configure: Delete file.
85840 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85841 * sysdeps/s390/s390-64/start.S: ... here.
85842 * sysdeps/s390/s390-64/elf/configure: Delete.
85843
85844 * configure.in: Remove support for elf directories in sysdeps.
92c3af3c 85845
edf66db1
SP
85846 * configure: Regenerated.
85847 * sysdeps/i386/configure: Regenerated.
85848 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85849 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85850 * sysdeps/s390/s390-32/configure: Regenerated.
85851 * sysdeps/s390/s390-64/configure: Regenerated.
85852 * sysdeps/sh/configure: Regenerated.
85853 * sysdeps/sparc/configure: Regenerated.
85854 * sysdeps/x86_64/configure: Regenerated.
92c3af3c 85855
edf66db1 858562012-03-26 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 85857
edf66db1 85858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 85859
edf66db1
SP
85860 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85861 denormal result into account.
92c3af3c 85862
edf66db1 858632012-03-25 Roland McGrath <roland@hack.frob.com>
92c3af3c 85864
edf66db1
SP
85865 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85866 Reported by Allan McRae <allan@archlinux.org>.
92c3af3c 85867
edf66db1 858682012-03-23 Jeff Law <law@redhat.com>
92c3af3c 85869
edf66db1 85870 * nss/getnssent.c (__nss_getent): Fix typo.
92c3af3c 85871
edf66db1 858722012-03-23 David S. Miller <davem@davemloft.net>
92c3af3c 85873
edf66db1 85874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 85875
edf66db1 858762012-03-23 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85877
edf66db1
SP
85878 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85879 to pad to uint64_t for each field.
85880 (dl_tls_index): Replace unsigned long with uint64_t.
92c3af3c 85881
edf66db1
SP
858822012-03-23 Daniel Jacobowitz <dmj@google.com>
85883 Paul Pluzhnikov <ppluzhnikov@google.com>
92c3af3c 85884
edf66db1
SP
85885 [BZ #6528]
85886 * grp/Makefile (otherlibs): Don't set it.
85887 * inet/Makefile (otherlibs): Likewise.
85888 * login/Makefile (otherlibs): Likewise.
85889 * nscd/Makefile (otherlibs): Likewise.
85890 * posix/Makefile (otherlibs): Likewise.
85891 * pwd/Makefile (otherlibs): Likewise.
85892 * rt/Makefile (otherlibs): Likewise.
85893 * sunrpc/Makefile (otherlibs): Likewise.
85894 * nss/Makefile (otherlibs): Likewise.
85895 Add libnss_files to routines and static-only-routines.
85896 ($(objpfx)getent): Remove rule.
85897 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85898 static-only-routines.
92c3af3c 85899
edf66db1 859002012-03-22 Joseph Myers <joseph@codesourcery.com>
92c3af3c 85901
edf66db1
SP
85902 [BZ #13892]
85903 * math/s_cexp.c: Include <float.h>.
85904 (__cexp): Handle exp result overflowing not necessarily
85905 overflowing both real and imaginary parts of result.
85906 * math/s_cexpf.c: Likewise.
85907 * math/s_cexpl.c: Likewise.
85908 * math/libm-test.inc (cexp_test): Add more tests.
85909 * sysdeps/i386/fpu/libm-test-ulps: Update.
85910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 85911
edf66db1 859122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85913
edf66db1
SP
85914 * include/link.h (ELFW): New macro.
85915 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85916 Replace ELF64_R_TYPE with ELFW(R_TYPE).
92c3af3c 85917
edf66db1 859182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85919
edf66db1
SP
85920 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85921 with uint64_t.
92c3af3c 85922
edf66db1 859232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85924
edf66db1
SP
85925 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85926 declaration.
85927 (struct La_x32_retval): Likewise.
92c3af3c 85928
edf66db1 859292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85930
edf66db1
SP
85931 * sysdeps/x86_64/preconfigure.in: New file.
85932 * sysdeps/x86_64/preconfigure: New generated file.
92c3af3c 85933
edf66db1 859342012-03-22 Joseph Myers <joseph@codesourcery.com>
92c3af3c 85935
edf66db1
SP
85936 [BZ #13824]
85937 * math/e_exp2l.c: Include <float.h>.
85938 (__ieee754_exp2l): Handle overflow and underflow cases
85939 separately. Only pass fractional part of argument to
85940 __ieee754_expl.
85941 * math/libm-test.inc (exp2_test): Add more tests.
92c3af3c 85942
edf66db1
SP
85943 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85944 negating x to take absolute value.
85945 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85946 Likewise.
85947 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85948 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85949 Likewise.
85950 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85951 computing low part if x was negated.
85952 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
92c3af3c 85953
edf66db1 859542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85955
edf66db1
SP
85956 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85957 la_x32_gnu_pltexit.
85958 (pltexit): Cast int_retval to ptrdiff_t.
85959 * elf/tst-auditmod3b.c: Likewise.
85960 * elf/tst-auditmod4b.c: Likewise.
85961 * elf/tst-auditmod5b.c: Likewise.
85962 * elf/tst-auditmod6b.c: Likewise.
85963 * elf/tst-auditmod6c.c: Likewise.
85964 * elf/tst-auditmod7b.c: Likewise.
92c3af3c 85965
edf66db1
SP
85966 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85967 and x32_gnu_pltexit.
92c3af3c 85968
edf66db1
SP
85969 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85970 __ELF_NATIVE_CLASS.
85971 (La_x32_regs): New macro.
85972 (La_x32_retval): Likewise.
85973 (la_x32_gnu_pltenter): New function prototype.
85974 (la_x32_gnu_pltexit): Likewise.
92c3af3c 85975
edf66db1 859762012-03-21 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 85977
edf66db1
SP
85978 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85979 exponent.
92c3af3c 85980
edf66db1 85981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 85982
edf66db1
SP
85983 * configure.in (libc_cv_cc_nofma): Check for option to disable
85984 generation of FMA instructions.
85985 * configure: Regenerate.
85986 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85987 * sysdeps/ieee754/dbl-64/Makefile: New file.
85988 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85989 Remove brandred-fma4.
85990 (CFLAGS-brandred-fma4.c): Remove.
85991 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85992 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85993 define.
85994 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85995 define.
92c3af3c 85996
edf66db1 859972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 85998
edf66db1
SP
85999 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
86000 LLONG_MAX != LONG_MAX.
86001 (_itoa_word): Use _ITOA_WORD_TYPE on value.
86002 (_fitoa_word): Likewise.
86003 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
86004 LLONG_MAX != LONG_MAX.
86005 * stdio-common/_itowa.h: Include <_itoa.h>.
86006 (_itowa_word): Use _ITOA_WORD_TYPE on value.
86007 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
86008 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
86009 only if not defined.
86010 (_ITOA_WORD_TYPE): Likewise.
86011 (_itoa_word): Use _ITOA_WORD_TYPE on value.
86012 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
92c3af3c 86013
edf66db1 860142012-03-21 David S. Miller <davem@davemloft.net>
92c3af3c 86015
edf66db1 86016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 86017
edf66db1 860182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 86019
edf66db1
SP
86020 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
86021 of x86_64 when setting libc_cv_slibdir, libdir and
86022 libc_cv_localedir.
86023 * sysdeps/unix/sysv/linux/configure: Regenerated.
92c3af3c 86024
edf66db1 860252012-03-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 86026
edf66db1
SP
86027 * manual/lang.texi (Old Varargs): Remove section.
86028 (How Variadic): Update menu.
86029 (va_start): Do not mention varargs.h.
92c3af3c 86030
edf66db1
SP
860312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
86032 Joseph Myers <joseph@codesourcery.com>
92c3af3c 86033
edf66db1
SP
86034 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
86035 link test.
86036 * configure: Regenerated.
92c3af3c 86037
edf66db1 860382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 86039
edf66db1
SP
86040 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
86041 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
86042 conformtest.pl
92c3af3c 86043
edf66db1 860442012-03-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 86045
edf66db1
SP
86046 * NOTES: Remove.
86047 * Makefile (files-for-dist): Remove NOTES.
86048 (NOTES): Remove rule.
86049 * README: Don't refer to NOTES.
86050 * manual/creature.texi: Don't include macros.texi.
86051 * manual/intro.texi (creature.texi): Remove comment referring to
86052 NOTES.
92c3af3c 86053
edf66db1
SP
86054 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
86055 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
86056 * configure: Regenerated.
86057 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
86058 LIBC_TRY_CC_OPTION.
86059 (libc_cv_as_i686): Likewise.
86060 (libc_cv_cc_avx): Likewise.
86061 (libc_cv_cc_sse2avx): Likewise.
86062 (libc_cv_cc_fma4): Likewise.
86063 (libc_cv_cc_novzeroupper): Likewise.
86064 * sysdeps/i386/configure: Regenerated.
86065
86066 [BZ #13883]
86067 * sysdeps/i386/fpu/s_cexp.S: Remove.
86068 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86069 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86070 * math/libm-test.inc (cexp_test): Add more tests.
86071 * sysdeps/i386/fpu/libm-test-ulps: Update.
86072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86073
860742012-03-21 Allan McRae <allan@archlinux.org>
86075
86076 * timezone/Makefile: Do not install iso3166.tab and zone.tab
86077
860782012-03-21 Joseph Myers <joseph@codesourcery.com>
86079
86080 [BZ #13871]
86081 * math/w_exp2.c: Do not include <float.h>.
86082 (o_threshold, u_threshold): Remove.
86083 (__exp2): Calculate result before checking finiteness and calling
86084 __kernel_standard.
86085 * math/w_exp2f.c: Likewise.
86086 * math/w_exp2l.c: Likewise.
86087 * math/libm-test.inc (exp2_test): Require overflow exception for
86088 1e6 input.
86089
86090 [BZ #3866]
86091 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
86092 range of signed 64-bit integers before using fistpll. Remove
86093 checks for whether integers fit in mantissa bits.
86094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
86095 the range of signed 32-bit integers before using fistpl. Remove
86096 checks for whether integers fit in mantissa bits.
86097 * sysdeps/i386/fpu/e_powl.S (p64): New object.
86098 (__ieee754_powl): Test for y outside the range of signed 64-bit
86099 integers before using fistpll. Reduce 64-bit values to 63-bit
86100 ones as needed.
86101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
86102 divide-by-zero is raised for zero to large negative powers.
86103 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
86104 (__ieee754_powl): Test for y outside the range of signed 64-bit
86105 integers before using fistpll. Reduce 64-bit values to 63-bit
86106 ones as needed.
86107 * math/libm-test.inc (pow_test): Add more tests.
86108
861092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86110
86111 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
86112 <stdio-common/_itoa.h>.
86113 * debug/segfault.c: Likewise.
86114 * elf/dl-cache.c: Likewise.
86115 * elf/dl-minimal.c: Likewise.
86116 * elf/dl-misc.c: Likewise.
86117 * elf/dl-sysdep.c: Likewise.
86118 * elf/dl-version.c: Likewise.
86119 * elf/rtld.c: Likewise.
86120 * hurd/hurdsock.c: Likewise.
86121 * hurd/lookup-retry.c: Likewise.
86122 * malloc/malloc.c: Likewise.
86123 * malloc/mtrace.c: Likewise.
86124 * nscd/nscd_getgr_r.c: Likewise.
86125 * nscd/nscd_getpw_r.c: Likewise.
86126 * nscd/nscd_getserv_r.c: Likewise.
86127 * posix/getopt_init.c: Likewise.
86128 * posix/wordexp.c: Likewise.
86129 * stdio-common/_itoa.c: Likewise.
86130 * stdio-common/printf_fphex.c: Likewise.
86131 * stdio-common/vfprintf.c: Likewise.
86132 * string/_strerror.c: Likewise.
86133 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
86134 * sysdeps/i386/i686/hp-timing.h: Likewise.
86135 * sysdeps/mach/_strerror.c: Likewise.
86136 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
86137 * sysdeps/mach/hurd/sethostid.c: Likewise.
86138 * sysdeps/mach/hurd/xmknodat.c: Likewise.
86139 * sysdeps/mach/xpg-strerror.c: Likewise.
86140 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
86141 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
86142 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
86143 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
86144 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
86145 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
86146 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
86147 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
86148 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
86149 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
86150 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
86151 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
86152 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
86153 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
86154 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
86155 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
86156 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
86157 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
86158 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
86159 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
86160 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
86161
86162 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
86163
86164 * stdio-common/_itoa.h: Moved to ...
86165 * sysdeps/generic/_itoa.h: Here.
86166
86167 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
86168
86169 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
86170 instead of "_itoa.h" and "_itowa.h".
86171 * stdio-common/vfprintf.: Likewise.
86172
861732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86174
86175 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
86176 <bits/wordsize.h>.
86177 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
86178 (__signbit): Likewise.
86179 (llrintf): Likewise.
86180 (llrint): Likewise.
86181
861822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86183
86184 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86185 __WORDSIZE != 64.
86186
861872012-03-20 Joseph Myers <joseph@codesourcery.com>
86188
86189 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86190 OVERFLOW_EXCEPTION_OK.
86191 * math/libm-test.inc ("Philosophy"): Update comment about
86192 exception testing.
86193 (OVERFLOW_EXCEPTION): Define.
86194 (OVERFLOW_EXCEPTION_OK): Likewise.
86195 (INVALID_EXCEPTION_OK): Renumber.
86196 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86197 (IGNORE_ZERO_INF_SIGN): Likewise.
86198 (test_exceptions): Handle FE_OVERFLOW.
86199 (exp10_test): Expect overflow exceptions.
86200 (exp2_test): Likewise.
86201 (expm1_test): Likewise.
86202 (nextafter_test): Likewise.
86203 (pow_test): Likewise.
86204 (scalbn_test): Likewise.
86205 (scalbln_test): Likewise.
86206
862072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 86208
edf66db1
SP
86209 * sysdeps/x86_64/bits/atomic.h
86210 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86211 64bit integer.
86212 (atomic_exchange_acq): Likewise.
86213 (__arch_exchange_and_add_body): Likewise.
86214 (__arch_add_body): Likewise.
86215 (atomic_add_negative): Likewise.
86216 (atomic_add_zero): Likewise.
92c3af3c 86217
edf66db1 862182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 86219
edf66db1
SP
86220 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86221 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
92c3af3c 86222
edf66db1 862232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 86224
edf66db1
SP
86225 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86226 Check __x86_64__ instead of __WORDSIZE.
92c3af3c 86227
edf66db1 862282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 86229
edf66db1 86230 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
92c3af3c 86231
edf66db1 862322012-03-19 David S. Miller <davem@davemloft.net>
92c3af3c 86233
edf66db1 86234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 86235
edf66db1
SP
86236 * sysdeps/sparc/fpu/fenv_private.h: New file.
86237 * sysdeps/sparc/fpu/math_private.h: Use it.
86238 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86239 Remove.
86240 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86241 (libc_feholdexcept_setroundl): Remove.
86242 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86243 Remove.
86244 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86245 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86246
862472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86248
86249 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86250 int64_t instead of long int.
86251 (INSERT_WORDS64): Likewise.
86252
862532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86254
86255 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86256 _Unwind_GetCFA return to _Unwind_Ptr first.
86257
862582012-03-19 Joseph Myers <joseph@codesourcery.com>
86259
86260 [BZ #13629]
86261 * math/s_clog.c: Include <float.h>.
86262 (__clog): Scale large or subnormal inputs.
86263 * math/s_clogf.c: Likewise.
86264 * math/s_clogl.c: Likewise.
86265 * math/s_clog10.c: Include <float.h>.
86266 (M_LOG10_2): Define.
86267 (__clog10): Scale large or subnormal inputs.
86268 * math/s_clog10f.c: Likewise.
86269 * math/s_clog10l.c: Likewise.
86270 * math/libm-test.inc (clog_test): Add more tests.
86271 (clog10_test): Likewise.
86272 * sysdeps/i386/fpu/libm-test-ulps: Update.
86273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86274
86275 [BZ #11451]
86276 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86277 x and y.
86278 * math/libm-test.inc (atan2_test): Add another test.
86279
86280 * Makerules (common-objdir-compile): Remove.
86281 * sysdeps/unix/Makefile (config-generated): Do not add
86282 $(unix-generated) to variable.
86283 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86284 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86285 Remove rule.
86286 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86287 Likewise.
86288 [generic bits/local_lim.h] (before-compile): Do not append to
86289 variable.
86290 [generic bits/local_lim.h] (common-generated): Likewise.
86291 [generic sys/param.h] (before-compile): Do not append to variable.
86292 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86293 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86294 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86295 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86296 include.
86297 [generic sys/param.h] (sys/param.h-includes): Remove variable.
86298 [generic sys/param.h] (sys/param.h-includes): Remove rule.
86299 [generic sys/param.h] ($(addprefix
86300 $(common-objpfx),$(sys/param.h-includes))): Likewise.
86301 [generic sys/param.h] (common-generated): Do not append to
86302 variable.
86303 [generic sys/param.h] (sysdep_headers): Likewise.
86304 [generic bits/errno.h] (before-compile): Do not append to
86305 variable.
86306 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86307 rule.
86308 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86309 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86310 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86311 [generic bits/errno.h] (common-generated): Do not append to
86312 variable.
86313 [generic bits/ioctls.h] (before-compile): Do not append to
86314 variable.
86315 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86316 rule.
86317 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86318 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86319 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86320 rule.
86321 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86322 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86323 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86324 [generic bits/ioctls.h] (common-generated): Do not append to
86325 variable.
86326 [generic sys/syscall.h] (syscall.h): Remove variable.
86327 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86328 rule.
86329 [generic sys/syscall.h] (before-compile): Do not append to
86330 variable.
86331 [generic sys/syscall.h] (common-generated): Likewise.
86332 * sysdeps/unix/errnos-tmpl.c: Remove file.
86333 * sysdeps/unix/errnos.awk: Likewise.
86334 * sysdeps/unix/ioctls-tmpl.c: Likewise.
86335 * sysdeps/unix/ioctls.awk: Likewise.
86336 * sysdeps/unix/mk-local_lim.c: Likewise.
86337 * sysdeps/unix/snarf-ioctls: Likewise.
86338
863392012-03-19 Richard Henderson <rth@twiddle.net>
86340
86341 * sysdeps/i386/fpu/fenv_private.h: New file.
86342 * sysdeps/i386/fpu/math_private.h: Use it.
86343 (math_opt_barrier, math_force_eval): Remove.
86344 (libc_feholdexcept_setround_53bit): Remove.
86345 (libc_feupdateenv_53bit): Remove.
86346 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86347 (math_opt_barrier, math_force_eval): Remove.
86348 (libc_feholdexcept): Remove.
86349 (libc_feholdexcept_setround): Remove.
86350 (libc_fetestexcept, libc_fesetenv): Remove.
86351 (libc_feupdateenv_test): Remove.
86352 (libc_feupdateenv, libc_feholdsetround): Remove.
86353 (libc_feresetround): Remove.
86354
86355 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86356 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86357
86358 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86359 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86360 (libc_feupdateenv_testl): New.
86361 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86362 (libc_feupdateenv_testf): New.
86363 (libc_feupdateenv): Use libc_feupdateenv_test.
86364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86366
86367 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86368 (libc_feholdsetroundf, libc_feholdsetroundl): New.
86369 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86370 (libc_feresetround_noex): New.
86371 (libc_feresetround_noexf): New.
86372 (libc_feresetround_noexl): New.
86373 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86374 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86375 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86376 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86377 SET_RESTORE_ROUND.
86378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86379 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86380 (__cos): Likewise.
86381 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86382 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86383 SET_RESTORE_ROUND_NOEX.
86384 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86385 SET_RESTORE_ROUND_NOEXF.
86386 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86387 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86388 (libc_feholdsetroundf): New.
86389 (libc_feresetround, libc_feresetroundf): New.
86390
86391 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86392 (libc_feholdexcept_setround_53bit): Convert from macro to function.
86393 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
86394
86395 * sysdeps/generic/math_private.h: Include <fenv.h>.
86396 (default_libc_feholdexcept): New.
86397 (default_libc_feholdexcept_setround): New.
86398 (default_libc_fesetenv, default_libc_feupdateenv): New.
86399 (libc_feholdexcept): Only define if undefined.
86400 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86401 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86402 (libc_feholdexcept_setroundl): Likewise.
86403 (libc_feholdexcept_setround_53bit): Likewise.
86404 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86405 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86406 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86407 (libc_feupdateenv_53bit): Likewise.
86408 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86409 (libc_feholdexcept): Convert from macro to inline function.
86410 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86411 (libc_fesetenv, libc_feupdateenv): Likewise.
86412
86413 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86414 not previously defined.
86415 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86416 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86417 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86418 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86419 * sysdeps/ieee754/flt-32/math_private.h: New file.
86420 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86421 math_private.h below SET_FLOAT_WORD.
86422 (__isnan, __isinf_ns, __finite): Remove.
86423 (__isnanf, __isinf_nsf, __finitef): Remove.
86424
864252012-03-18 Andreas Schwab <schwab@linux-m68k.org>
86426
86427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86428
864292012-03-17 David S. Miller <davem@davemloft.net>
86430
86431 [BZ #6471]
86432 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86433 for 2.16.
86434
864352012-03-16 David S. Miller <davem@davemloft.net>
86436
86437 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86438 warnings.
86439
86440 [BZ #6471]
86441 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86442 properly.
86443 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86444 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86445 sysdep_routines when subdir is sysvipc.
86446 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86447 __getshmlba helper.
86448
86449 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86450
864512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86452
86453 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86454 [__LP64__].
86455
864562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86457
86458 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86459 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86460 (__lround): Renamed to ...
86461 (__llround): This. Replace long int with long long int.
86462 Define lround functions as aliases of llround functions.
86463 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86464
864652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 86466
edf66db1
SP
86467 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86468 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86469 adresses to uintptr_t. Replace "long int" and "unsigned long
86470 int" with "greg_t" on va_arg.
86471
864722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86473
86474 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86475 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86476
86477 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86478 Move e_machine check before EI_CLASS check. Handle x32
86479 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86480 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86481 SKIP_EM_IA_64 and include
86482 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86483
86484 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86485 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86486 (add_system_dir): New macro.
86487
86488 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86489 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86490
864912012-03-16 Joseph Myers <joseph@codesourcery.com>
86492
86493 [BZ #2551]
86494 [BZ #2552]
86495 [BZ #2553]
86496 [BZ #2554]
86497 [BZ #2562]
86498 [BZ #2563]
86499 [BZ #2565]
86500 [BZ #2566]
86501 [BZ #2576]
86502 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86503 (y0): Likewise.
86504 * math/w_j0f.c (j0f): Likewise.
86505 (y0f): Likewise.
86506 * math/w_j0l.c (__j0l): Likewise.
86507 (__y0l): Likewise.
86508 * math/w_j1.c (j1): Likewise.
86509 (y1): Likewise.
86510 * math/w_j1f.c (j1f): Likewise.
86511 (y1f): Likewise.
86512 * math/w_j1l.c (__j1l): Likewise.
86513 (__y1l): Likewise.
86514 * math/w_jn.c (jn): Likewise.
86515 (yn): Likewise.
86516 * math/w_jnf.c (jnf): Likewise.
86517 (ynf): Likewise.
86518 * math/w_jnl.c (__jnl): Likewise.
86519 (__ynl): Likewise.
86520 * math/libm-test.inc (j0_test): Add more tests.
86521 (j1_test): Likewise.
86522 (jn_test): Likewise. Add trailing semicolon to existing test.
86523 (y0_test): Likewise.
86524 (y1_test): Likewise.
86525 * sysdeps/i386/fpu/libm-test-ulps: Update.
86526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86527
86528 [BZ #13851]
86529 [BZ #13854]
86530 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86531 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86532 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86533 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86534 (__tanl): Set errno for infinite argument.
86535 * sysdeps/i386/fpu/mptan.c: Remove.
86536 * sysdeps/i386/fpu/s_tan.S: Likewise.
86537 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86538 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86539 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86540 * math/libm-test.inc (tan_test): Add more tests and enable more
86541 tests for double and long double.
86542 * sysdeps/i386/fpu/libm-test-ulps: Update.
86543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 86544
edf66db1 865452012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
92c3af3c 86546
edf66db1
SP
86547 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86548 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
92c3af3c 86549
edf66db1 865502012-03-16 Roland McGrath <roland@hack.frob.com>
92c3af3c 86551
edf66db1
SP
86552 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86553 * configure.in: Use it for both main tree and add-ons.
86554 * configure: Regenerated.
92c3af3c 86555
edf66db1 865562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 86557
edf66db1 86558 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
92c3af3c 86559
edf66db1 865602012-03-16 Joseph Myers <joseph@codesourcery.com>
92c3af3c 86561
edf66db1
SP
86562 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86563 in comment.
92c3af3c 86564
edf66db1
SP
86565 [BZ #13851]
86566 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86567 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86568 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86569 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86570 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86571 infinite argument.
86572 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86574 != 0 for prec == 2.
86575 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86576 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86577 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86578 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86579 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86580 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86581 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86582 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86583 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86584 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86585 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86586 * math/libm-test.inc (cos_test): Add more tests and enable more
86587 tests for long double.
86588 (sin_test): Likewise.
86589 (sincos_test): Likewise.
86590 * sysdeps/i386/fpu/libm-test-ulps: Update.
86591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 86592
edf66db1 865932012-03-16 David S. Miller <davem@davemloft.net>
92c3af3c 86594
edf66db1 86595 * sysdeps/sparc/fpu/math_private.h: New file.
92c3af3c 86596
edf66db1 865972012-03-15 David S. Miller <davem@davemloft.net>
92c3af3c 86598
edf66db1
SP
86599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86600 file.
86601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86603 file.
86604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86609 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86610 sysdep routines.
86611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86612
86613 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86614 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86615
86616 * sysdeps/sparc/sparc-ifunc.h: New file.
86617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86618 sparc-ifunc.h
86619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86621 Likewise.
86622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86623 Likewise.
86624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86628 Likewise.
86629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86634 Likewise.
86635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86636 Likewise.
86637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86644 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86655 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86656 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86657 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86661
866622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86663
86664 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86665 scaling.
86666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86667
866682012-03-15 Andreas Jaeger <aj@suse.de>
86669
86670 [BZ #13852]
86671 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86672 ieee754/flt-32 implementation for sin, cos and sincos.
86673 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86674 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86675 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86676 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86677 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86678 ieee754/flt-32 implementation for tan.
92c3af3c 86679
edf66db1
SP
86680 * math/libm-test.inc (cos_test): Enable some large input tests for
86681 float as well
86682 (sin_test): Likewise.
86683 (sincos_test): Likewise.
86684 (tan_test): Add tests for large input.
92c3af3c 86685
edf66db1 86686 * sysdeps/i386/fpu/libm-test-ulps: Update.
92c3af3c 86687
edf66db1 866882012-03-15 Andreas Jaeger <aj@suse.de>
92c3af3c 86689
edf66db1
SP
86690 [BZ #13658]
86691 * math/libm-test.inc (cos_test): Add more test cases.
86692 (sin_test): Likewise.
86693 (sincos_test): Likewise.
92c3af3c 86694
edf66db1 866952012-03-15 Andreas Jaeger <aj@suse.de>
92c3af3c 86696
edf66db1
SP
86697 [BZ #13837]
86698 * math/libm-test.inc (cos_test): Add a test case for large input
86699 value.
86700 (sin_test): Likewise.
86701 (sincos_test): Likewise.
86702
867032012-03-15 Andreas Jaeger <aj@suse.de>
86704 Joseph Myers <joseph@codesourcery.com>
86705
86706 [BZ #13658]
86707 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86708 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86709 * sysdeps/i386/fpu/branred.c: Likewise.
86710 * sysdeps/i386/fpu/dosincos.c: Likewise.
86711 * sysdeps/i386/fpu/mpa.c: Likewise.
86712 * sysdeps/i386/fpu/s_cos.S: Likewise.
86713 * sysdeps/i386/fpu/s_sin.S: Likewise.
86714 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86715 * sysdeps/i386/fpu/sincos32.c: Likewise.
92c3af3c 86716
edf66db1
SP
86717 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86718 Define.
86719 (libc_feupdateenv_53bit): Define.
86720 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86721 Define.
86722 (libc_feupdateenv_53bit): Define.
86723
86724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86725 53 bit (without extend i386 double precision).
86726
86727 * math/libm-test.inc (sincos_test): Add tests for large input.
86728 (sin): Likewise.
86729 (cos): Likewise.
86730
86731 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86732
867332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86734
86735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86736
867372012-03-15 David S. Miller <davem@davemloft.net>
86738
86739 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86740 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86741 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86742 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86755 file.
86756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86758 file.
86759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86761 file.
86762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86764 file.
86765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86767 fmin/fmax sysdep routines.
86768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86769
867702012-03-14 David S. Miller <davem@davemloft.net>
86771
86772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86801 routines.
86802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86803 file.
86804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86806 file.
86807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86809 file.
86810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86812 file.
86813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86815 file.
86816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86818 file.
86819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86820 file.
86821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86822 file.
86823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86824 file.
86825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86826 New file.
86827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86828 file.
86829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86830 file.
86831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86833 file.
86834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86836 file.
86837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86839 file.
86840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86842 VIS3 routines.
92c3af3c 86843
edf66db1
SP
86844 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86845 New file.
92c3af3c 86846
edf66db1 86847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 86848
edf66db1
SP
86849 * sysdeps/sparc/configure.in: New file.
86850 * sysdeps/sparc/configure: Generate.
86851 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86852 * configure: Regenerate.
86853 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86854 * config.make.in (have-as-vis3): New.
86855 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86856 available use -Av9d instead of -Av9a.
86857 * sysdeps/sparc/sparc64/Makefile: Likewise.
86858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86860 New file.
86861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86862 file.
86863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86864 New file.
86865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86866 file.
86867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86872
86873 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86874 fzeros/fnegs to load 0x80000000 into a float register instead of
86875 using the stack.
86876 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86877
868782012-03-14 Joseph Myers <joseph@codesourcery.com>
86879
86880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86881 bits/syscall.h.
86882 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86883 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86884 ($(inst_includedir)/bits/syscall.h): Remove rule.
86885 ($(objpfx)bits/syscall.d): Include instead of
86886 $(objpfx)syscall-list.d.
86887 (generated): Change syscall-list.h and syscall-list.d to
86888 bits/syscall.h and bits/syscall.d.
86889
868902012-03-14 Roland McGrath <roland@hack.frob.com>
86891
86892 [BZ #13846]
86893 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86894
868952012-03-14 Joseph Myers <joseph@codesourcery.com>
86896
86897 [BZ #13841]
86898 * math/s_csqrt.c: Include <float.h>.
86899 (__csqrt): Scale large or subnormal inputs.
86900 * math/s_csqrtf.c: Likewise.
86901 * math/s_csqrtl.c: Likewise.
86902 * math/libm-test.inc (csqrt_test): Add more tests.
86903 * sysdeps/i386/fpu/libm-test-ulps: Update.
86904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86905
86906 [BZ #13840]
86907 * math/libm-test.inc (hypot_test): Add more tests.
86908
869092012-03-13 David S. Miller <davem@davemloft.net>
86910
86911 [BZ #13840]
86912 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86913 double-precision for the calculation instead of scaling.
86914
869152012-03-13 Joseph Myers <joseph@codesourcery.com>
86916
86917 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86918 manipulate bits before adding and subtracting TWO52[sx].
86919 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86921 Likewise.
86922 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
92c3af3c 86923
edf66db1 869242012-03-13 David S. Miller <davem@davemloft.net>
92c3af3c 86925
edf66db1
SP
86926 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86927 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86929 rtld-global-offsets.h
86930 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92c3af3c 86931
edf66db1
SP
86932 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86933 large parameters.
92c3af3c 86934
edf66db1 86935 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
92c3af3c 86936
edf66db1
SP
86937 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86938 'err' in the ifdef scope in which it is actually used.
92c3af3c 86939
edf66db1 86940 * nss/nss_db/db-init.c: Include string.h
92c3af3c 86941
edf66db1 869422012-03-12 David S. Miller <davem@davemloft.net>
92c3af3c 86943
edf66db1
SP
86944 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86945 masking out of the most significant byte of random value used.
86946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86947 Fix coding style in previous change.
92c3af3c 86948
edf66db1
SP
86949 * sysdeps/unix/sysv/linux/kernel-features.h
86950 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86951 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86952 expression.
86953 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86954 later.
92c3af3c 86955
edf66db1 869562012-03-11 David S. Miller <davem@davemloft.net>
92c3af3c 86957
edf66db1
SP
86958 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86959 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86960 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86961 for 'resultvar' otherwise things get truncated on 64-bit.
92c3af3c 86962
edf66db1
SP
86963 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86964 Fix masking out of the most significant byte of random value used.
92c3af3c 86965
edf66db1 86966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 86967
edf66db1 869682012-03-10 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 86969
edf66db1 86970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 86971
edf66db1 869722012-03-09 David S. Miller <davem@davemloft.net>
92c3af3c 86973
edf66db1
SP
86974 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86975 variables with appropriate CPP guards.
86976 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86977 from the frame pointer, not the stack pointer. Correct layout
86978 comments. Fix test on resulting framesize and the management of
86979 the outregs buffer for pltexit. Preserve floating point return
86980 values across _dl_call_pltexit call.
86981 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86982 framesize and the management of the outregs buffer for pltexit.
86983 Preserve floating point return values across _dl_call_pltexit
86984 call.
86985 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86986 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86987 (la_sparc64_gnu_pltexit): New functions.
86988 (print_exit): Fix format string for return register value.
86989
869902012-03-10 Joseph Myers <joseph@codesourcery.com>
86991
86992 * sunrpc/Makefile (others): Add rpcgen.
86993 ($(objpfx)rpcgen): Remove special build rule and dependency on
86994 libc.
86995 * sunrpc/rpcgen.c: New file.
86996
869972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86998
86999 [BZ #13673]
87000 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
87001 * stdio-common/bug-vfprintf-nargs.c: Likewise.
87002 * sysdeps/i386/crti.S: Likewise.
87003 * sysdeps/i386/crtn.S: Likewise.
87004 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
87005 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
87006 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
87007 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
87008 * sysdeps/sh/crti.S: Likewise.
87009 * sysdeps/sh/crtn.S: Likewise.
87010 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
87011
87012 [BZ #13673]
87013 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
87014 with URL.
87015 * locale/programs/locfile-kw.gperf: Likewise.
87016 * locale/programs/charmap-kw.h: Regenerated.
87017 * locale/programs/locfile-kw.h: Likewise.
92c3af3c 87018
edf66db1
SP
87019 [BZ #13673]
87020 * intl/plural.y: Replace FSF snail mail address with URL.
87021 * intl/plural.c: Regenerated.
87022
870232012-03-09 Richard Henderson <rth@twiddle.net>
87024
87025 * include/math_private.h: Remove file.
87026 * math/math_private.h: Move file ...
87027 * sysdeps/generic/math_private.h: ... here.
87028
87029 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
87030 * sysdeps/powerpc/fpu/math_private.h: Likewise.
87031 * sysdeps/x86_64/fpu/math_private.h: Likewise.
87032
87033 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
87034 and <math_private.h>.
87035 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87036 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87037 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87038 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87039 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87040 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
87041 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87043 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87044 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87046 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87047 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87048 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87049 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87054 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87056 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87057 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87059 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
87060 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87061 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87065 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87067 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
87068 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87069 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87070 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87071 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87072 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87073 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87075 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
87076 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87077 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87078 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
87079 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
87080 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87081 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
87082 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
87083 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87084 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87085 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
87086 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
87087 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
87088 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87089 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
87090 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87091 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87092 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
87093 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
87094 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
87095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87096 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
87097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87098 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87099 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
87100 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87101 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87102 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87103 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
87104 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
87105 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
87106 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87107 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
87108 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87109 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
87110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
87111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
87112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
87114 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
87115 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
87116 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
87117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
87118 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87119 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
87121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
87122 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
87123 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87124 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87125 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87126 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87127 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87128 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87129 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87130 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87131 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87132 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87133 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87134 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87135 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87136 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87137 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87138 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87139 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87140 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87141 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87142 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87143 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87145 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87146 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87147 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87148 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87149 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
87150 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87151 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87152 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87153 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87154 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87155 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87156 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87157 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87158 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
87159 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87160 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87161 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87162 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
87163 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87164 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
87165 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
87166 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87168 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
87169 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
87170 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87171 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87172 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87173 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
87174 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87175 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87176 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87177 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87178 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
87179 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
87180 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87181 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87182 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87183 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
87184 * sysdeps/ieee754/k_standard.c: Likewise.
87185 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87186 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87187 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87188 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87189 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87190 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87191 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87192 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87193 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87194 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87195 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87196 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87197 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87198 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87199 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87200 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87201 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87202 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87203 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87204 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87205 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87206 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87209 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87210 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87211 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87212 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87213 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87215 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87216 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87217 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87218 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87219 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87220 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87221 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87222 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87223 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87224 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87225 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87226 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87227 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87228 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87229 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87230 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87231 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87232 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87233 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87234 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87235 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87236 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87237 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87238 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87241 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87242 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87243 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87244 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87245 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87246 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87247 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87252 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87257 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87258 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87261 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87262 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87266 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87267 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87271 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87273 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87275 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87276 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87277 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87278 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87280 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87281 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87282 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87283 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87284 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87286 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87287 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87288 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87289 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87290 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87291 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87292 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87293 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87294 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87295 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87296 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87297 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87298 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87299 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87300 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87301 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87303 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87304 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87306 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87307 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87308 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87309 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87310 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87311 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87312 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87313 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87314 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87315 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87316 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87317 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87318 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87319 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87320 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87321 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87322 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87323 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87324 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87325 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87326 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87327 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87328 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87329 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87330 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87331 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87332 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87333 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87334 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87335 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87336 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87337 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87338 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87339 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87340 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87341 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87342 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87343 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87344 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87345 * sysdeps/ieee754/s_lib_version.c: Likewise.
87346 * sysdeps/ieee754/s_matherr.c: Likewise.
87347 * sysdeps/ieee754/s_signgam.c: Likewise.
87348 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87349 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87350 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87351 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87352 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87353 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87354 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87355 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87356 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87357 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87358 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87359 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87360 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87361 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87362 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87363 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87364 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87365 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87366 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87369
873702012-03-09 Joseph Myers <joseph@codesourcery.com>
87371
87372 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87373 * sunrpc/rpc_main.c: Likewise.
87374 * sunrpc/rpc_svcout.c: Likewise.
92c3af3c 87375
edf66db1 873762012-03-09 David S. Miller <davem@davemloft.net>
92c3af3c 87377
edf66db1 87378 * include/math_private.h: New file.
92c3af3c 87379
edf66db1 873802012-03-09 Joseph Myers <joseph@codesourcery.com>
92c3af3c 87381
edf66db1
SP
87382 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87383 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87384 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87385 from <bits/socket_type.h>.
87386 (enum __socket_type): Don't define here.
87387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87389 bits/socket_type.h.
92c3af3c 87390
edf66db1
SP
87391 [BZ #13566]
87392 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87393 checking __USE_GNU.
92c3af3c 87394
edf66db1
SP
87395 * Makerules ($(inst_includedir)/%.h): New rule.
87396 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87397 (install-others): Remove variable setting.
87398 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
92c3af3c 87399
edf66db1 874002012-03-08 Richard Henderson <rth@twiddle.net>
92c3af3c 87401
edf66db1
SP
87402 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87403 from macro to inline function; merge with the
87404 !__LIBC_INTERNAL_MATH_INLINES version.
87405 (__ieee754_sqrtf): Likewise.
92c3af3c 87406
edf66db1
SP
87407 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87408 to inline function.
87409 (__rintf, __floor, __floorf): Likewise.
92c3af3c 87410
edf66db1
SP
87411 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87412 macro to inline function.
87413 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
92c3af3c 87414
edf66db1
SP
87415 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87416 not <math/math_private.h>.
92c3af3c 87417
edf66db1 874182012-03-08 David S. Miller <davem@davemloft.net>
92c3af3c 87419
edf66db1
SP
87420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87421 copyright year.
87422 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
92c3af3c 87423
edf66db1 874242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 87425
edf66db1
SP
87426 * resolv/gai_misc.c (handle_requests): Fix struct timespec
87427 normalization.
87428 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87429 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
92c3af3c 87430
edf66db1 874312012-03-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 87432
edf66db1
SP
87433 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87434 be defined individually, they must be defined as a block. Define
87435 S for printing a string instead of hidint the different by using a
87436 macro for adding the 'l'.
87437 * stdio-common/tst-fphex-wide.c: Adjust.
92c3af3c 87438
edf66db1 874392012-03-07 Marek Polacek <polacek@redhat.com>
92c3af3c 87440
edf66db1 87441 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
92c3af3c 87442
edf66db1 874432012-03-08 Marek Polacek <polacek@redhat.com>
92c3af3c 87444
edf66db1
SP
87445 [BZ #13806]
87446 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87447 * stdio-common/tst-fphex.c: Define a few macros to make the
87448 test reusable. Use them.
87449 * stdio-common/tst-fphex-wide.c: New file.
92c3af3c 87450
edf66db1 874512012-03-08 Joseph Myers <joseph@codesourcery.com>
92c3af3c 87452
edf66db1
SP
87453 [BZ #6911]
87454 * manual/macros.texi (gnusystems): New macro.
87455 (nongnusystems): Likewise.
87456 (gnulinuxhurdsystems): Likewise.
87457 (gnuhurdsystems): Likewise..
87458 (gnulinuxsystems): Likewise.
87459 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87460 variants of the GNU system, not "GNU system".
87461 * manual/conf.texi: Likewise.
87462 * manual/errno.texi: Likewise. Update example of errno macro
87463 expansion.
87464 * manual/filesys.texi: Likewise.
87465 (getumask): Document as specific to GNU/Hurd.
87466 * manual/install.texi: Likewise. Reword some references to
87467 GNU/Linux.
87468 * manual/intro.texi: Likewise.
87469 * manual/io.texi: Likewise.
87470 (File Name Portability): Detail which constraints are inapplicable
87471 to all GNU systems and which are only inapplicable to GNU/Hurd.
87472 * manual/job.texi: Likewise.
87473 * manual/llio.texi: Likewise.
87474 (O_NOCTTY): Document as present on GNU/Linux.
87475 * manual/maint.texi: Likewise.
87476 * manual/memory.texi: Likewise.
87477 * manual/pattern.texi: Likewise.
87478 * manual/pipe.texi: Likewise.
87479 * manual/process.texi: Likewise.
87480 * manual/resource.texi: Likewise.
87481 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87482 child on GNU/Hurd.
87483 * manual/setjmp.texi: Likewise.
87484 * manual/signal.texi: Likewise.
87485 * manual/startup.texi: Likewise.
87486 * manual/stdio.texi: Likewise.
87487 * manual/terminal.texi: Likewise.
87488 (ONLCR): Document as POSIX.
87489 (OXTABS): Document availability on GNU/Linux as XTABS.
87490 (ONOEOT): Document availability separately from other bits.
87491 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87492 * manual/time.texi: Likewise.
87493 * manual/users.texi: Likewise.
87494 * INSTALL: Regenerated.
87495 * sysdeps/gnu/errlist.c: Regenerated.
87496
87497 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87498 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87499 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87500 puts.
87501 * configure: Regenerated.
92c3af3c 87502
edf66db1
SP
875032012-03-07 Joseph Myers <joseph@codesourcery.com>
87504
87505 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87506 default includes instead of AC_HEADER_CHECK.
87507 * sysdeps/i386/configure: Regenerated.
87508
87509 [BZ #10716]
87510 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87511 * math/s_cacoshf.c (__cacoshf): Likewise.
87512 * math/s_cacoshl.c (__cacoshl): Likewise.
87513 * math/s_casinh.c (__casinh): Set signs of result from argument.
87514 * math/s_casinhf.c (__casinhf): Likewise.
87515 * math/s_casinhl.c (__casinhl): Likewise.
87516 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87517 (casinh_test): Add more tests.
87518 * sysdeps/i386/fpu/libm-test-ulps: Update.
87519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87520
875212012-03-07 Ulrich Drepper <drepper@gmail.com>
87522
87523 * po/zh_TW.po: Update from translation team.
87524
87525 * login/Makefile (distribute): Remove variable.
87526 * catgets/Makefile: Likewise.
87527 * mach/Makefile: Likewise.
87528 * malloc/Makefile: Likewise.
87529 * misc/Makefile: Likewise.
87530 * iconv/Makefile: Likewise.
87531 * nscd/Makefile: Likewise.
87532 * hurd/Makefile: Likewise.
87533 * manual/Makefile: Likewise.
87534 * locale/Makefile: Likewise.
87535 * intl/Makefile: Likewise.
87536 * conform/Makefile: Likewise.
87537 * nss/Makefile: Likewise.
87538 * time/Makefile: Likewise.
87539 * soft-fp/Makefile: Likewise.
87540 * dirent/Makefile: Likewise.
87541 * gmon/Makefile: Likewise.
87542 * po/Makefile: Likewise.
87543 * rt/Makefile: Likewise.
87544 * socket/Makefile: Likewise.
87545 * math/Makefile: Likewise.
87546 * signal/Makefile: Likewise.
87547 * debug/Makefile: Likewise.
87548 * elf/Makefile: Likewise.
87549 * timezone/Makefile: Likewise.
87550 * stdlib/Makefile: Likewise.
87551 * iconvdata/Makefile: Likewise.
87552 * sunrpc/Makefile: Likewise.
87553 * io/Makefile: Likewise.
87554 * argp/Makefile: Likewise.
87555 * inet/Makefile: Likewise.
87556 * hesiod/Makefile: Likewise.
87557 * grp/Makefile: Likewise.
87558 * csu/Makefile: Likewise.
87559 * wctype/Makefile: Likewise.
87560 * crypt/Makefile: Likewise.
87561 * libio/Makefile: Likewise.
87562 * string/Makefile: Likewise.
87563 * nis/Makefile: Likewise.
87564 * resolv/Makefile: Likewise.
87565 * stdio-common/Makefile: Likewise.
87566 * wcsmbs/Makefile: Likewise.
87567 * dlfcn/Makefile: Likewise.
87568 * posix/Makefile: Likewise.
92c3af3c 87569
edf66db1
SP
87570 [BZ #6959]
87571 * timezone/Makefile: Don't install timezone files, just the programs
87572 and scripts.
92c3af3c 87573
edf66db1 875742012-03-06 Ulrich Drepper <drepper@gmail.com>
92c3af3c 87575
edf66db1 87576 * nss/databases.def: Add missing gshadow entry.
92c3af3c 87577
edf66db1 87578 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
92c3af3c 87579
edf66db1 875802012-03-06 Marek Polacek <polacek@redhat.com>
92c3af3c 87581
edf66db1
SP
87582 [BZ #13726]
87583 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87584 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87585 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87586 * stdio-common/tst-long-dbl-fphex.c: New file.
92c3af3c 87587
edf66db1 875882012-03-06 David S. Miller <davem@davemloft.net>
92c3af3c 87589
edf66db1
SP
87590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87591 (set_obp_int): New function.
87592 (get_obp_int): New function.
87593 (__get_clockfreq_via_dev_openprom): Likewise.
87594 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87595 Avoid unused variable warnings on 'val' and use builtin_expect.
87596 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87597 __builtin_expect.
87598 (INLINE_CLONE_SYSCALL): Likewise.
92c3af3c 87599
edf66db1 876002012-03-05 David S. Miller <davem@davemloft.net>
92c3af3c 87601
edf66db1 87602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92c3af3c 87603
edf66db1 876042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 87605
edf66db1 87606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 87607
edf66db1
SP
87608 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87609 only for |x| >= 40.
87610 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
92c3af3c 87611
edf66db1 876122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 87613
edf66db1
SP
87614 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87615 Replace gettimeofday with __vdso_gettimeofday.
92c3af3c 87616
edf66db1
SP
87617 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87618 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87619 __vdso_clock_gettime and __vdso_getcpu.
92c3af3c 87620
edf66db1
SP
87621 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87622 time with __vdso_time.
92c3af3c 87623
edf66db1 876242012-03-05 Joseph Myers <joseph@codesourcery.com>
92c3af3c 87625
edf66db1
SP
87626 * manual/lang.texi (size_t): Note types to which size_t may be
87627 equivalent with the GNU C Library, but do not describe when
87628 differences between them are significant.
92c3af3c 87629
edf66db1 876302012-03-05 Andreas Jaeger <aj@suse.de>
92c3af3c 87631
edf66db1 87632 * sysdeps/i386/fpu/libm-test-ulps: Update.
92c3af3c 87633
edf66db1 876342012-03-05 Joseph Myers <joseph@codesourcery.com>
92c3af3c 87635
edf66db1
SP
87636 [BZ #3976]
87637 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87638 (__ieee754_pow): Save and restore rounding mode and use
87639 round-to-nearest for main computations.
87640 * math/libm-test.inc (pow_test_tonearest): New function.
87641 (pow_test_towardzero): Likewise.
87642 (pow_test_downward): Likewise.
87643 (pow_test_upward): Likewise.
87644 (main): Call the new functions.
87645 * sysdeps/i386/fpu/libm-test-ulps: Update.
87646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 87647
edf66db1
SP
87648 [BZ #3976]
87649 * math/libm-test.inc (cosh_test_tonearest): New function.
87650 (cosh_test_towardzero): Likewise.
87651 (cosh_test_downward): Likewise.
87652 (cosh_test_upward): Likewise.
87653 (sinh_test_tonearest): Likewise.
87654 (sinh_test_towardzero): Likewise.
87655 (sinh_test_downward): Likewise.
87656 (sinh_test_upward): Likewise.
87657 (main): Call the new functions.
87658 * sysdeps/i386/fpu/libm-test-ulps: Update.
87659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 87660
edf66db1 876612012-03-05 Tom de Vries <tom@codesourcery.com>
92c3af3c 87662
edf66db1
SP
87663 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87664 default stack guard is set in last bytes.
87665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
92c3af3c 87666
edf66db1 876672012-03-05 Kees Cook <keescook@chromium.org>
92c3af3c 87668
edf66db1 87669 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
92c3af3c 87670
edf66db1
SP
87671 [BZ #13656]
87672 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87673 possibly allocate from heap instead of stack.
87674 * stdio-common/bug-vfprintf-nargs.c: New file.
87675 * stdio-common/Makefile (tests): Add nargs overflow test.
92c3af3c 87676
edf66db1 876772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 87678
edf66db1 87679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92c3af3c 87680
edf66db1 876812012-03-03 Marek Polacek <polacek@redhat.com>
92c3af3c 87682
edf66db1
SP
87683 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87684 * math/math_private.h: Likewise.
87685 * stdlib/tst-strtod.c: Likewise.
87686 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87687 * sysdeps/x86_64/bits/atomic.h: Likewise.
92c3af3c 87688
edf66db1
SP
876892012-03-02 David S. Miller <davem@davemloft.net>
87690
87691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87695 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87696 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87697 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87698 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87699
877002012-03-02 Roland McGrath <roland@hack.frob.com>
87701
87702 [BZ #13792]
87703 * manual/examples/README: New file, says the example source files
87704 can be used under GPL>=2.
87705 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87706 line containing just "*/".
87707 * manual/examples/add.c: Add copyright header (GPL>=2).
87708 * manual/examples/argp-ex1.c: Likewise.
87709 * manual/examples/argp-ex2.c: Likewise.
87710 * manual/examples/argp-ex3.c: Likewise.
87711 * manual/examples/argp-ex4.c: Likewise.
87712 * manual/examples/atexit.c: Likewise.
87713 * manual/examples/db.c: Likewise.
87714 * manual/examples/dir.c: Likewise.
87715 * manual/examples/dir2.c: Likewise.
87716 * manual/examples/execinfo.c: Likewise.
87717 * manual/examples/filecli.c: Likewise.
87718 * manual/examples/filesrv.c: Likewise.
87719 * manual/examples/fmtmsgexpl.c: Likewise.
87720 * manual/examples/genpass.c: Likewise.
87721 * manual/examples/inetcli.c: Likewise.
87722 * manual/examples/inetsrv.c: Likewise.
87723 * manual/examples/isockad.c: Likewise.
87724 * manual/examples/longopt.c: Likewise.
87725 * manual/examples/memopen.c: Likewise.
87726 * manual/examples/memstrm.c: Likewise.
87727 * manual/examples/mkfsock.c: Likewise.
87728 * manual/examples/mkisock.c: Likewise.
87729 * manual/examples/mygetpass.c: Likewise.
87730 * manual/examples/pipe.c: Likewise.
87731 * manual/examples/popen.c: Likewise.
87732 * manual/examples/rprintf.c: Likewise.
87733 * manual/examples/search.c: Likewise.
87734 * manual/examples/select.c: Likewise.
87735 * manual/examples/setjmp.c: Likewise.
87736 * manual/examples/sigh1.c: Likewise.
87737 * manual/examples/sigusr.c: Likewise.
87738 * manual/examples/stpcpy.c: Likewise.
87739 * manual/examples/strdupa.c: Likewise.
87740 * manual/examples/strftim.c: Likewise.
87741 * manual/examples/strncat.c: Likewise.
87742 * manual/examples/subopt.c: Likewise.
87743 * manual/examples/swapcontext.c: Likewise.
87744 * manual/examples/termios.c: Likewise.
87745 * manual/examples/testopt.c: Likewise.
87746 * manual/examples/testpass.c: Likewise.
87747 * manual/examples/timeval_subtract.c: Likewise.
87748
87749 [BZ #13792]
87750 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87751 function to ...
87752 * manual/timeval_subtract.c.texi: ... here, new file.
87753
877542012-03-02 David S. Miller <davem@davemloft.net>
87755
87756 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87757
877582012-03-02 Joseph Myers <joseph@codesourcery.com>
87759
87760 [BZ #3976]
87761 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87762 (__sin): Save and restore rounding mode and use round-to-nearest
87763 for all computations.
87764 (__cos): Save and restore rounding mode and use round-to-nearest
87765 for all computations.
87766 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87767 <fenv.h>.
87768 (tan): Save and restore rounding mode and use round-to-nearest for
87769 all computations.
87770 * math/libm-test.inc (cos_test_tonearest): New function.
87771 (cos_test_towardzero): Likewise.
87772 (cos_test_downward): Likewise.
87773 (cos_test_upward): Likewise.
87774 (sin_test_tonearest): Likewise.
87775 (sin_test_towardzero): Likewise.
87776 (sin_test_downward): Likewise.
87777 (sin_test_upward): Likewise.
87778 (tan_test_tonearest): Likewise.
87779 (tan_test_towardzero): Likewise.
87780 (tan_test_downward): Likewise.
87781 (tan_test_upward): Likewise.
87782 (main): Call the new functions.
87783 * sysdeps/i386/fpu/libm-test-ulps: Update.
87784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87785
87786 [BZ #10135]
87787 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87788 small n, then large n, before computing and testing k+n.
87789 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87791 Likewise.
87792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87793 Likewise.
87794 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87795 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87796 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87797 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87800 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87801 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87802 * math/libm-test.inc (scalbn_test): Add more tests.
87803 (scalbln_test): Likewise.
87804
87805 * manual/filesys.texi (mode_t): Describe constraints on size and
87806 signedness, not exact equivalence to a particular type.
87807 (ino_t): Likewise.
87808 (ino64_t): Likewise.
87809 (dev_t): Likewise.
87810 (nlink_t): Likewise.
87811 (blkcnt_t): Likewise.
87812 (blkcnt64_t): Likewise.
87813 * manual/llio.texi (off_t): Likewise.
87814
87815 [BZ #3976]
87816 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87817 (__ieee754_exp): Save and restore rounding mode and use
87818 round-to-nearest for all computations.
87819 * math/libm-test.inc (exp_test_tonearest): New function.
87820 (exp_test_towardzero): Likewise.
87821 (exp_test_downward): Likewise.
87822 (exp_test_upward): Likewise.
87823 (main): Call the new functions.
87824 * sysdeps/i386/fpu/libm-test-ulps: Update.
87825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87826
878272012-03-01 Chris Demetriou <cgd@google.com>
87828
87829 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87830 have predictable order.
87831
878322012-03-01 David S. Miller <davem@davemloft.net>
87833
87834 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87835
87836 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87837 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87838 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87839 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87840
87841 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87842 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87843 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87845 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87846 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87847 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87848 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87849 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87850
87851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87852
87853 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87854 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87855 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87856
87857 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87858 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87859 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87860 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87861 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87864 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87865 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87866 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87867 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87868 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87870 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87871 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87873 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87874 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87875 * sysdeps/sparc/elf/configure: Regenerated.
87876
878772012-03-01 Joseph Myers <joseph@codesourcery.com>
87878
87879 * configure.in (AS, LD): Require binutils 2.20 or later.
87880 * configure: Regenerated.
87881 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87882 as required minimum version.
87883 * INSTALL: Regenerated.
87884
87885 [BZ #2541]
87886 [BZ #4108]
87887 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87888 before squaring exponent.
87889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87890 bottom long double and 27 bits of top long double before squaring
87891 exponent.
87892 * math/libm-test.inc (erfc_test): Add more tests.
87893 * sysdeps/i386/fpu/libm-test-ulps: Update.
87894 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87896
878972012-03-01 Kai Tietz <ktietz@redhat.com>
87898
87899 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87900 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87901 containing bit-fields.
87902 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87903 * soft-fp/single.h (_FP_UNION_S): Likewise.
87904 * soft-fp/double.h (_FP_UNION_D): Likewise.
92c3af3c 87905
edf66db1 879062012-02-29 Joseph Myers <joseph@codesourcery.com>
92c3af3c 87907
edf66db1
SP
87908 [BZ #13786]
87909 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87910 not include ../strcmp.S.
87911 [USE_AS_STRNCASECMP_L]: Likewise.
87912 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87913 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87914 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87915 (__strncasecmp_l_ia32): Define as alias to
87916 __strncasecmp_l_nonascii.
92c3af3c 87917
edf66db1
SP
87918 [BZ #5794]
87919 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87920 * sysdeps/i386/fpu/libm-test-ulps: Update.
87921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 87922
edf66db1
SP
87923 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92c3af3c 87925
edf66db1 879262012-02-29 Jeff Law <law@redhat.com>
92c3af3c 87927
edf66db1
SP
87928 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87929 out of bounds read.
92c3af3c 87930
edf66db1 879312012-02-29 Marek Polacek <polacek@redhat.com>
92c3af3c 87932
edf66db1
SP
87933 [BZ #13706]
87934 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87935 * elf/Makefile: Add rules to run tst-unused-dep.out.
92c3af3c 87936
edf66db1 879372012-02-28 David S. Miller <davem@davemloft.net>
92c3af3c 87938
edf66db1
SP
87939 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87940 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87943 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87944 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
92c3af3c 87945
edf66db1 879462012-02-29 Joseph Myers <joseph@codesourcery.com>
92c3af3c 87947
edf66db1
SP
87948 * math/libm-test.inc (llround_test): Move one test from
87949 lround_test. Use TEST_f_L in moved test.
87950 (lround_test): Move misplaced test to llround_test. Add testcase
87951 from bug 2561.
92c3af3c 87952
edf66db1 879532012-02-28 Ulrich Drepper <drepper@gmail.com>
92c3af3c 87954
edf66db1
SP
87955 * sysdeps/x86_64/fpu/e_expf.S: New file.
87956 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
92c3af3c 87957
edf66db1 879582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
92c3af3c 87959
edf66db1
SP
87960 [BZ #13637]
87961 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87962 of remain_len that may cause incomplete multi-byte character and
87963 false match.
87964 * posix/bug-regex33.c: New file.
87965 * posix/Makefile (tests): Add bug-regex33.
92c3af3c 87966
edf66db1 879672012-02-28 Joseph Myers <joseph@codesourcery.com>
92c3af3c 87968
edf66db1
SP
87969 * manual/macros.texi: New file.
87970 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87971 * manual/libc.texinfo: Include macros.texi.
87972 * manual/creatute.texi: Likewise.
87973 * manual/install.texi: Likewise.
87974 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87975 @glibcadj{} in references to the GNU C Library.
87976 * manual/charset.texi: Likewise.
87977 * manual/conf.texi: Likewise.
87978 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87979 when not using those macros.
87980 * manual/creature.texi: Likewise.
87981 * manual/crypt.texi: Likewise.
87982 * manual/errno.texi: Likewise.
87983 * manual/filesys.texi: Likewise.
87984 * manual/header.texi: Likewise.
87985 * manual/install.texi: Likewise.
87986 * manual/intro.texi: Likewise.
87987 * manual/io.texi: Likewise.
87988 * manual/job.texi: Likewise.
87989 * manual/lang.texi: Likewise.
87990 * manual/libc.texiinfo: Likewise.
87991 * manual/llio.texi: Likewise.
87992 * manual/locale.texi: Likewise.
87993 * manual/maint.texi: Likewise.
87994 * manual/math.texi: Likewise.
87995 * manual/memory.texi: Likewise.
87996 * manual/message.texi: Likewise.
87997 * manual/nss.texi: Likewise.
87998 * manual/pattern.texi: Likewise.
87999 * manual/process.texi: Likewise.
88000 * manual/resource.texi: Likewise.
88001 * manual/search.texi: Likewise.
88002 * manual/setjmp.texi: Likewise.
88003 * manual/signal.texi: Likewise.
88004 * manual/socket.texi: Likewise.
88005 * manual/startup.texi: Likewise.
88006 * manual/stdio.texi: Likewise.
88007 * manual/string.texi: Likewise.
88008 * manual/sysinfo.texi: Likewise.
88009 * manual/syslog.texi: Likewise.
88010 * manual/terminal.texi: Likewise.
88011 * manual/time.texi: Likewise.
88012 * manual/users.texi: Likewise.
88013 * INSTALL: Regenerated.
88014 * NOTES: Regenerated.
88015 * sysdeps/gnu/errlist.c: Regenerated.
92c3af3c 88016
edf66db1 880172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 88018
edf66db1
SP
88019 * include/dirent.h: Include <dirstream.h> before
88020 <dirent/dirent.h>.
92c3af3c 88021
edf66db1 880222012-02-28 David S. Miller <davem@davemloft.net>
92c3af3c 88023
edf66db1
SP
88024 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
88025 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
88026 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
88027 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
92c3af3c 88028
edf66db1 880292012-02-27 David S. Miller <davem@davemloft.net>
92c3af3c 88030
edf66db1
SP
88031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
88032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
88033 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
88034 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
92c3af3c 88035
edf66db1
SP
88036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
88037 frame pointer instead of stack pointer relative arg slot.
88038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88039 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88040 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
92c3af3c 88041
edf66db1 880422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
92c3af3c 88043
edf66db1
SP
88044 [BZ #3992]
88045 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
92c3af3c 88046
edf66db1 880472012-02-27 David S. Miller <davem@davemloft.net>
92c3af3c 88048
edf66db1
SP
88049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
88050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
88052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
88053 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88054 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88055 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
88056 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
92c3af3c 88057
edf66db1 880582012-02-27 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88059
edf66db1
SP
88060 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
88061 later. Allow versions 5-9.
88062 * configure: Regenerated.
88063 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
88064 required minimum version and 4.6 as recommended version. Do not
88065 mention bugs in GCC 2.7 and 2.8.
88066 * INSTALL: Regenerated.
88067
880682012-02-27 David S. Miller <davem@davemloft.net>
88069
88070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
88071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
88072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
88073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
88074 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
88075 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
88076 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
88077 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
88078
88079 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
88080 manipulate bits before adding and subtracting TWO112[sx].
88081 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
88082
880832012-02-27 Roland McGrath <roland@hack.frob.com>
88084
88085 [BZ #13775]
88086 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
88087 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
88088 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
88089 being in POSIX, because they are in 1003.1-2008.
88090
88091 * rt/tst-aio.c: Include <fcntl.h>.
88092 * rt/tst-aio7.c: Likewise.
88093 * rt/tst-aio64.c: Likewise.
88094
88095 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
88096
880972012-02-27 Joseph Myers <joseph@codesourcery.com>
88098
88099 * manual/install.texi (--with-headers): Describe headers as
88100 interface headers, not private headers.
88101 (Specific advice for GNU/Linux systems): Describe use of headers
88102 from "make headers_install", not private headers from older
88103 kernels.
88104 * INSTALL: Regenerated.
88105 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
88106 Change to 2.6.19.
88107 * sysdeps/unix/sysv/linux/configure: Regenerated.
92c3af3c 88108
edf66db1
SP
88109 * manual/llio.texi (fclean): Remove documentation.
88110
88111 * manual/Makefile (libc-texi-generated): New variable. Include
88112 version.texi.
88113 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
88114 $(libc-texi-generated), not duplicated list of files.
88115 (version.texi, stamp-version): New rules.
88116 (realclean): Remove $(libc-texi-generated), not individual files
88117 from that list. Do not remove dir-add.texinfo.
88118 * manual/libc.texinfo: Comment out uses of edition numbers and
88119 references to printed manual. Remove last-updated dates.
88120 (EDITION): Comment out.
88121 (ISBN): Likewise.
88122 (VERSION, UPDATED): Remove.
88123 (version.texi): Include.
88124
881252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
88126
88127 * sysdeps/posix/spawni.c: Include <signal.h>.
88128 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
88129 * sysdeps/pthread/aio_fsync.c: Likewise.
88130
881312012-02-26 Ulrich Drepper <drepper@gmail.com>
88132
88133 * conform/Makefile (tests): Run only when not cross-compiling and
88134 when fast-check is not defined.
88135
88136 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
88137 * conform/data/limits.h-data: Fixes for POSIX2008.
88138 * conform/run-conformtest.sh: Run all tests.
88139 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
88140 headers.
88141 * include/bits/dlfcn.h: Likewise.
88142 * include/langinfo.h: Likewise.
88143 * include/monetary.h: Likewise.
88144 * include/sys/poll.h: Likewise.
88145
88146 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
88147 for __USE_GNU.
88148 * posix/spawn.h: Define __need_sigset_t.
88149 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
88150 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
88151 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
88152 to get sigevent_t only.
88153 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
88154 only for __USE_GNU.
88155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88156 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88157 process_vm_writev only for __USE_GNU.
88158 * termios/termios.h: Declare tcgetsid also for POSIX2008.
88159
88160 * conform/Makefile: For now ignore errors from run-conformtest.
88161 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
88162 POSIX to avoid namespace pollution. Don't prepend headers.
88163 * conform/data/aio.h-data: Fixes for POSIX testing.
88164 * conform/data/fcntl.h-data: Likewise.
88165 * conform/data/glob.h-data: Likewise.
88166 * conform/data/grp.h-data: Likewise.
88167 * conform/data/pthread.h-data: Likewise.
88168 * conform/data/pwd.h-data: Likewise.
88169 * conform/data/signal.h-data: Likewise.
88170 * conform/data/spawn.h-data: Likewise.
88171 * conform/data/stdio.h-data: Likewise.
88172 * conform/data/stdlib.h-data: Likewise.
88173 * conform/data/stropts.h-data: Likewise.
88174 * conform/data/sys/mman.h-data: Likewise.
88175 * conform/data/sys/stat.h-data: Likewise.
88176 * conform/data/sys/types.h-data: Likewise.
88177 * conform/data/sys/wait.h-data: Likewise.
88178 * conform/data/time.h-data: Likewise.
88179 * conform/data/unistd.h-data: Likewise.
88180 * conform/data/utime.h-data: Likewise.
88181
88182 * io/sys/stat.h: fchmod was always in POSIX.
88183 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
88184 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88185 * rt/aio.h: Define __need_timespec before including <time.h>.
88186 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88187 struct. Add forward declaration of pthread_attr_t and use it in
88188 sigevent.
88189 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88190 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88191 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88192 always remove CLK_TCK definition.
92c3af3c 88193
edf66db1 881942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 88195
edf66db1 88196 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
92c3af3c 88197
edf66db1 881982012-02-25 Ulrich Drepper <drepper@gmail.com>
92c3af3c 88199
edf66db1
SP
88200 * conform/run-conformtest.sh: New file.
88201 * conform/Makefile: Run run-conformtest for tests.
88202 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
88203 support.
92c3af3c 88204
edf66db1
SP
88205 * conform/data/uchar.h-data: New file.
88206 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88207 * conform/data/arpa/inet.h-data: Likewise.
88208 * conform/data/assert.h-data: Likewise.
88209 * conform/data/complex.h-data: Likewise.
88210 * conform/data/cpio.h-data: Likewise.
88211 * conform/data/ctype.h-data: Likewise.
88212 * conform/data/dirent.h-data: Likewise.
88213 * conform/data/dlfcn.h-data: Likewise.
88214 * conform/data/errno.h-data: Likewise.
88215 * conform/data/fcntl.h-data: Likewise.
88216 * conform/data/float.h-data: Likewise.
88217 * conform/data/fmtmsg.h-data: Likewise.
88218 * conform/data/fnmatch.h-data: Likewise.
88219 * conform/data/ftw.h-data: Likewise.
88220 * conform/data/glob.h-data: Likewise.
88221 * conform/data/grp.h-data: Likewise.
88222 * conform/data/iconv.h-data: Likewise.
88223 * conform/data/inttypes.h-data: Likewise.
88224 * conform/data/langinfo.h-data: Likewise.
88225 * conform/data/libgen.h-data: Likewise.
88226 * conform/data/limits.h-data: Likewise.
88227 * conform/data/locale.h-data: Likewise.
88228 * conform/data/math.h-data: Likewise.
88229 * conform/data/monetary.h-data: Likewise.
88230 * conform/data/mqueue.h-data: Likewise.
88231 * conform/data/ndbm.h-data: Likewise.
88232 * conform/data/net/if.h-data: Likewise.
88233 * conform/data/netdb.h-data: Likewise.
88234 * conform/data/netinet/in.h-data: Likewise.
88235 * conform/data/nl_types.h-data: Likewise.
88236 * conform/data/poll.h-data: Likewise.
88237 * conform/data/pthread.h-data: Likewise.
88238 * conform/data/pwd.h-data: Likewise.
88239 * conform/data/regex.h-data: Likewise.
88240 * conform/data/sched.h-data: Likewise.
88241 * conform/data/search.h-data: Likewise.
88242 * conform/data/semaphore.h-data: Likewise.
88243 * conform/data/setjmp.h-data: Likewise.
88244 * conform/data/signal.h-data: Likewise.
88245 * conform/data/spawn.h-data: Likewise.
88246 * conform/data/stdarg.h-data: Likewise.
88247 * conform/data/stdio.h-data: Likewise.
88248 * conform/data/stdlib.h-data: Likewise.
88249 * conform/data/string.h-data: Likewise.
88250 * conform/data/strings.h-data: Likewise.
88251 * conform/data/stropts.h-data: Likewise.
88252 * conform/data/sys/ipc.h-data: Likewise.
88253 * conform/data/sys/mman.h-data: Likewise.
88254 * conform/data/sys/msg.h-data: Likewise.
88255 * conform/data/sys/resource.h-data: Likewise.
88256 * conform/data/sys/select.h-data: Likewise.
88257 * conform/data/sys/sem.h-data: Likewise.
88258 * conform/data/sys/shm.h-data: Likewise.
88259 * conform/data/sys/socket.h-data: Likewise.
88260 * conform/data/sys/stat.h-data: Likewise.
88261 * conform/data/sys/statvfs.h-data: Likewise.
88262 * conform/data/sys/time.h-data: Likewise.
88263 * conform/data/sys/timeb.h-data: Likewise.
88264 * conform/data/sys/times.h-data: Likewise.
88265 * conform/data/sys/types.h-data: Likewise.
88266 * conform/data/sys/uio.h-data: Likewise.
88267 * conform/data/sys/un.h-data: Likewise.
88268 * conform/data/sys/utsname.h-data: Likewise.
88269 * conform/data/sys/wait.h-data: Likewise.
88270 * conform/data/syslog.h-data: Likewise.
88271 * conform/data/tar.h-data: Likewise.
88272 * conform/data/termios.h-data: Likewise.
88273 * conform/data/utime.h-data: Likewise.
88274 * conform/data/utmpx.h-data: Likewise.
88275 * conform/data/varargs.h-data: Likewise.
88276 * conform/data/wchar.h-data: Likewise.
88277 * conform/data/wctype.h-data: Likewise.
88278 * conform/data/wordexp.h-data: Likewise.
92c3af3c 88279
edf66db1
SP
88280 * include/stropts.h: New file.
88281 * include/uchar.h: New file.
88282 * include/aio.h: Changes to allow conformtest.pl to use the headers.
88283 * include/assert.h: Likewise.
88284 * include/ctype.h: Likewise.
88285 * include/dirent.h: Likewise.
88286 * include/dlfcn.h: Likewise.
88287 * include/fcntl.h: Likewise.
88288 * include/fnmatch.h: Likewise.
88289 * include/glob.h: Likewise.
88290 * include/grp.h: Likewise.
88291 * include/libio.h: Likewise.
88292 * include/locale.h: Likewise.
88293 * include/math.h: Likewise.
88294 * include/net/if.h: Likewise.
88295 * include/netdb.h: Likewise.
88296 * include/netinet/in.h: Likewise.
88297 * include/pthread.h: Likewise.
88298 * include/pwd.h: Likewise.
88299 * include/regex.h: Likewise.
88300 * include/sched.h: Likewise.
88301 * include/search.h: Likewise.
88302 * include/setjmp.h: Likewise.
88303 * include/signal.h: Likewise.
88304 * include/stdio.h: Likewise.
88305 * include/stdlib.h: Likewise.
88306 * include/string.h: Likewise.
88307 * include/sys/cdefs.h: Likewise.
88308 * include/sys/mman.h: Likewise.
88309 * include/sys/msg.h: Likewise.
88310 * include/sys/resource.h: Likewise.
88311 * include/sys/select.h: Likewise.
88312 * include/sys/socket.h: Likewise.
88313 * include/sys/stat.h: Likewise.
88314 * include/sys/statvfs.h: Likewise.
88315 * include/sys/time.h: Likewise.
88316 * include/sys/times.h: Likewise.
88317 * include/sys/uio.h: Likewise.
88318 * include/sys/utsname.h: Likewise.
88319 * include/sys/wait.h: Likewise.
88320 * include/termios.h: Likewise.
88321 * include/time.h: Likewise.
88322 * include/ulimit.h: Likewise.
88323 * include/unistd.h: Likewise.
88324 * include/utime.h: Likewise.
88325 * include/wchar.h: Likewise.
88326 * include/wctype.h: Likewise.
88327 * include/wordexp.h: Likewise.
92c3af3c 88328
edf66db1 88329 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
92c3af3c 88330
edf66db1
SP
88331 * time/time.h: TIME_UTC must be a macro.
88332 Make timespec_get available for ISO C11 only as well.
92c3af3c 88333
edf66db1 883342012-02-24 Ulrich Drepper <drepper@gmail.com>
92c3af3c 88335
edf66db1
SP
88336 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88337 Reported by Peng Haitao <penght@cn.fujitsu.com>.
92c3af3c 88338
edf66db1 883392012-02-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88340
edf66db1 88341 * configure.in: Use -o not -a in test for unsupported multi-arch.
92c3af3c 88342
edf66db1 883432012-02-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88344
edf66db1 88345 * manual/texinfo.tex: Update to version 2012-01-19.16.
92c3af3c 88346
edf66db1 883472012-02-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88348
edf66db1 88349 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
92c3af3c 88350
edf66db1 883512012-02-24 Roland McGrath <roland@hack.frob.com>
92c3af3c 88352
edf66db1
SP
88353 [BZ #13738]
88354 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88355 * manual/fdl-1.3.texi: New file.
88356 * manual/fdl-1.1.texi: File removed.
92c3af3c 88357
edf66db1
SP
88358 [BZ #13738]
88359 * manual/libc.texinfo (FDL_VERSION): New @set.
88360 Use it for mention of FDL in cover text.
88361 (Documentation License): Use it in @include file name.
92c3af3c 88362
edf66db1
SP
883632012-02-22 Joseph Myers <joseph@codesourcery.com>
88364 Roland McGrath <roland@hack.frob.com>
92c3af3c 88365
edf66db1
SP
88366 [BZ #5461]
88367 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88368 (not LONG_LONG_MAX and LONG_LONG_MIN.
88369 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88370 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
88371 name.
88372 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
92c3af3c 88373
edf66db1 883742012-02-22 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88375
edf66db1
SP
88376 [BZ #2547]
88377 [BZ #11365]
88378 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88379 manipulate bits before adding and subtracting TWO23[sx].
88380 * math/libm-test.inc (nearbyint_test): Add more tests.
92c3af3c 88381
edf66db1 883822012-02-22 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88383
edf66db1
SP
88384 [BZ #2548]
88385 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88386 bits before adding and subtracting TWO23[sx].
88387 * math/libm-test.inc (rint_test): Add more tests.
88388 (rint_test_tonearest): Likewise.
88389 (rint_test_towardzero): Likewise.
88390 (rint_test_downward): Likewise.
88391 (rint_test_upward: Likewise.
92c3af3c 88392
edf66db1 883932012-02-22 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88394
edf66db1
SP
88395 [BZ #10110]
88396 * include/stdc-predef.h: New file. Extracted from features.h.
88397 * include/features.h: Include stdc-predef.h.
88398 * Makefile (headers): Add stdc-predef.h.
88399 * CONFORMANCE (Compiler limitations): Update.
92c3af3c 88400
edf66db1 884012012-02-22 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88402
edf66db1 88403 * manual/libc.texinfo (VERSION, UPDATED): Revert.
92c3af3c 88404
edf66db1 884052012-02-21 David S. Miller <davem@davemloft.net>
92c3af3c 88406
edf66db1
SP
88407 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88408 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
92c3af3c 88409
edf66db1 884102012-02-20 David S. Miller <davem@davemloft.net>
92c3af3c 88411
edf66db1
SP
88412 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88413 using a normal save/restore sequence, rather than allocating a
88414 dummy stack frame just to store a frame pointer and restore.
88415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
92c3af3c 88416
edf66db1 884172012-02-21 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88418
edf66db1 88419 * manual/install.texi: Fix stray word in line-wrapped comment.
92c3af3c 88420
edf66db1 884212012-02-20 David S. Miller <davem@davemloft.net>
92c3af3c 88422
edf66db1
SP
88423 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88424 both binutils and gcc support GOTDATA.
92c3af3c 88425
edf66db1
SP
88426 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88427 "rd %pc" in the PIC register setup sequences.
92c3af3c 88428
edf66db1
SP
88429 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88430 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88431 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88432 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88433 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88436 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88438 (SYSCALL_ERROR_HANDLER): Likewise.
88439 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88440 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88442 (SYSCALL_ERROR_HANDLER): Likewise.
88443
88444 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88445 (HAVE_GCC_GOTDATA): New.
88446 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88447 relocation support in both binutils and gcc.
88448 * sysdeps/sparc/elf/configure: Regenerate.
88449
88450 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88451 * sysdeps/sparc/sparc32/elf/configure: Delete.
88452 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88453 * sysdeps/sparc/sparc64/elf/configure: Delete.
88454 * sysdeps/sparc/elf/configure.in: New file.
88455 * sysdeps/sparc/elf/configure: Generate.
88456
88457 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88458 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88459 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88460 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88461 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88462
884632012-02-21 Joseph Myers <joseph@codesourcery.com>
88464
88465 * manual/install.texi: Do not mention specific glibc version
88466 numbers.
88467 * manual/libc.texinfo (VERSION, UPDATED): Update.
88468 (@copying): Use @copyright{} and range of years.
88469
884702012-02-21 Joseph Myers <joseph@codesourcery.com>
88471
88472 [BZ #13695]
88473 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88474 [crti.S not in sysdirs] (generated): Do not append.
88475 [crti.S not in sysdirs] (omit-deps): Likewise.
88476 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88477 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88478 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88479 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88480 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88481 Likewise.
88482 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88483 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88484 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88485 * csu/defs.awk: Remove file.
88486 * sysdeps/generic/initfini.c: Likewise.
88487 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88488 variable.
88489 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88490 Likewise.
92c3af3c 88491
edf66db1 884922012-02-20 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88493
edf66db1
SP
88494 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88495 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88496 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88497 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88499 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88500 <bits/epoll.h>.
88501 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88502 (__EPOLL_PACKED): Define to empty if not defined by
88503 <bits/epoll.h>.
88504 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88506 bits/epoll.h.
88507
885082012-02-20 Joseph Myers <joseph@codesourcery.com>
88509
88510 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88511 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88512 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88513 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88514 <bits/timerfd.h>.
88515 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88517 bits/timerfd.h.
88518
885192012-02-20 Joseph Myers <joseph@codesourcery.com>
88520
88521 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88522 in C locale.
88523 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88524 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88525 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88527
885282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88529
88530 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88531 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88532
885332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88534
88535 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88536 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88537 defined.
88538 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88539 Likewise.
88540 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88541 entry for 2.16.
88542
885432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88544
88545 * math/w_acos.c: Use non-signaling floating-point comparisons.
88546 * math/w_acosf.c: Likewise.
88547 * math/w_acosh.c: Likewise.
88548 * math/w_acoshf.c: Likewise.
88549 * math/w_acoshl.c: Likewise.
88550 * math/w_acosl.c: Likewise.
88551 * math/w_asin.c: Likewise.
88552 * math/w_asinf.c: Likewise.
88553 * math/w_asinl.c: Likewise.
88554 * math/w_atanh.c: Likewise.
88555 * math/w_atanhf.c: Likewise.
88556 * math/w_atanhl.c: Likewise.
88557 * math/w_exp2.c: Likewise.
88558 * math/w_exp2f.c: Likewise.
88559 * math/w_exp2l.c: Likewise.
88560 * math/w_j0.c: Likewise.
88561 * math/w_j0f.c: Likewise.
88562 * math/w_j0l.c: Likewise.
88563 * math/w_j1.c: Likewise.
88564 * math/w_j1f.c: Likewise.
88565 * math/w_j1l.c: Likewise.
88566 * math/w_jn.c: Likewise.
88567 * math/w_jnf.c: Likewise.
88568 * math/w_log.c: Likewise.
88569 * math/w_log10.c: Likewise.
88570 * math/w_log10f.c: Likewise.
88571 * math/w_log10l.c: Likewise.
88572 * math/w_log2.c: Likewise.
88573 * math/w_log2f.c: Likewise.
88574 * math/w_log2l.c: Likewise.
88575 * math/w_logf.c: Likewise.
88576 * math/w_logl.c: Likewise.
88577 * math/w_sqrt.c: Likewise.
88578 * math/w_sqrtf.c: Likewise.
88579 * math/w_sqrtl.c: Likewise.
88580 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88581 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88583 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88584 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
92c3af3c 88585
edf66db1 885862012-02-19 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88587
edf66db1
SP
88588 [BZ #9739]
88589 * manual/string.texi (strnlen): Use correct parameter name in
88590 equivalent expression.
92c3af3c 88591
edf66db1 885922012-02-19 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88593
edf66db1
SP
88594 [BZ #11174]
88595 * manual/users.texi (seteuid): Consistently use neweuid for
88596 argument name.
92c3af3c 88597
edf66db1 885982012-02-19 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88599
edf66db1
SP
88600 [BZ #13704]
88601 * manual/nss.texi (Services in the NSS configuration): Correct
88602 list of services in example configuration file.
92c3af3c 88603
edf66db1 886042012-02-19 Nick Bowler <nbowler@draconx.ca>
92c3af3c 88605
edf66db1
SP
88606 [BZ #11322]
88607 * manual/arith.texi: Remove statements about negative zero
88608 behaving identically to zero.
92c3af3c 88609
edf66db1 886102012-02-18 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88611
edf66db1
SP
88612 [BZ #5993]
88613 * manual/install.texi: Do not document upgrading from libc5.
92c3af3c 88614
edf66db1 886152012-02-18 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88616
edf66db1
SP
88617 [BZ #4596]
88618 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
92c3af3c 88619
edf66db1 886202012-02-18 David S. Miller <davem@davemloft.net>
92c3af3c 88621
edf66db1
SP
88622 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88623 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88624 %o7 across the call.
88625 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88626 instead.
88627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88628 SETUP_PIC_REG_LEAF.
88629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88630 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88631 * sysdeps/sparc/crtn.S: Likewise.
92c3af3c 88632
edf66db1 886332012-02-17 Ulrich Drepper <drepper@gmail.com>
92c3af3c 88634
edf66db1 88635 * aout/Makefile: Remove.
92c3af3c 88636
edf66db1 886372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
92c3af3c 88638
edf66db1
SP
88639 [BZ #13058]
88640 * manual/examples/argp-ex1.c (main): Format definition in GNU
88641 style.
88642 * manual/examples/argp-ex2.c (main): Likewise.
88643 * manual/examples/argp-ex3.c (main): Likewise.
88644 * manual/examples/argp-ex4.c (main): Likewise.
88645 * manual/examples/longopt.c (main): Use new-style prototype
88646 definition.
88647 * manual/examples/strncat.c (main): Specify return type and use
88648 (void) for arguments.
88649 * manual/examples/subopt.c (main): Use char **argv argument.
88650
886512012-02-17 Joseph Myers <joseph@codesourcery.com>
88652
88653 [BZ #5077]
88654 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88655 rounding modes.
88656
886572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88658
88659 [BZ #6907]
88660 * manual/string.texi (strchr): Change when strchrnul is
88661 recommended.
88662
886632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88664
88665 [BZ #174]
88666 * manual/locale.texi (setlocale): Document LOCPATH.
88667
886682012-02-17 Joseph Myers <joseph@codesourcery.com>
88669
88670 [BZ #10210]
88671 * manual/process.texi (execle): Move @dots{} before last argument.
88672
886732012-02-17 Paul Bolle <pebolle@tiscali.nl>
88674
88675 [BZ #12047]
88676 * manual/charset.texi (Generic Charset Conversion): Fix typo
88677 (LC_TYPE -> LC_CTYPE).
88678
886792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88680
88681 [BZ #5805]
88682 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88683 (scalbnf): Likewise.
88684 (scalbnl): Likewise.
88685 (scalbln): Likewise.
88686 (scalblnf): Likewise.
88687 (scalblnl): Likewise.
88688 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88689 (vwarnx): Likewise.
88690 (verr): Likewise.
88691 (verrx): Likewise.
88692 * manual/filesys.texi (telldir): Use braces around return type.
88693 * manual/llio.texi (mmap): Add space after comma.
88694 (mmap64): Likewise.
88695 * manual/math.texi (jn): Use @var{} on parameter names.
88696 (jnf): Likewise.
88697 (jnl): Likewise.
88698 (yn): Likewise.
88699 (ynf): Likewise.
88700 (ynl): Likewise.
88701 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88702 line.
88703 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88704 "...".
88705 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88706 (sched_get_priority_max): Likewise.
88707 * manual/signal.texi (sigvec): Add space after comma.
88708 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88709 names.
88710 (if_indextoname): Likewise.
88711 (if_freenameindex): Likewise.
88712 (sendto): Use ',' instead of '.' in prototype.
88713 * manual/startup.texi (syscall): Use @dots{} instead of literal
88714 "...".
88715 * manual/stdio.texi (__fpending): Separate initial words of
88716 paragraph from @deftypefun line.
88717 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88718 "...".
88719 (vsyslog): Use @var{} on parameter names.
88720 * manual/terminal.texi (stty): Use @var{} on parameter names.
88721 * manual/users.texi (getutmp): Use @var{} on parameter names.
88722 (getutmpx): Likewise.
88723
887242012-02-17 Joseph Myers <joseph@codesourcery.com>
88725
88726 [BZ #6884]
88727 * manual/stdio.texi (fopen): Fix typos in description of
88728 ",ccs=STRING".
88729
887302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88731
88732 [BZ #4026]
88733 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88734 get clock_id definition.
88735
887362012-02-17 Thomas Schwinge <thomas@schwinge.name>
88737
88738 [BZ #4822]
88739 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88740 (madvise): Cast every argument to void on its own.
88741
887422012-02-17 Joseph Myers <joseph@codesourcery.com>
88743
88744 [BZ #9902]
88745 * manual/startup.texi (Exit Status): Fix typo.
88746
887472012-02-17 Joseph Myers <joseph@codesourcery.com>
88748
88749 [BZ #10140]
88750 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88751 * manual/examples/argp-ex2.c: Likewise.
88752 * manual/examples/argp-ex3.c: Likewise.
88753
887542012-02-16 Richard Henderson <rth@redhat.com>
88755
88756 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88757 * sysdeps/s390/s390-32/initfini.c: Remove.
88758 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88759 * sysdeps/s390/s390-64/initfini.c: Remove.
88760
887612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88762
88763 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88764 compiler output for sysdeps/generic/initfini.c.
88765 * sysdeps/sh/elf/initfini.c: Remove file.
88766
887672012-02-16 David S. Miller <davem@davemloft.net>
88768
88769 [BZ #11494]
88770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88771
88772 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88773 * sysdeps/sparc/crti.S: New file.
88774 * sysdeps/sparc/crtn.S: New file.
88775 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88776 * sysdeps/sparc/sparc64/Makefile: Likewise.
88777
887782012-02-15 Mike Frysinger <vapier@gentoo.org>
88779
88780 [BZ #3335]
88781 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88782
887832012-02-15 Roland McGrath <roland@hack.frob.com>
88784
88785 [BZ #4822]
88786 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88787
88788 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88789 (write, read, close): Likewise.
88790 Patch by Aurelien Jarno <aurelien@aurel32.net>.
92c3af3c 88791
edf66db1 887922012-02-15 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88793
edf66db1
SP
88794 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88795 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88796 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88797 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88798 <bits/signalfd.h>.
88799 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88801 bits/signalfd.h.
92c3af3c 88802
edf66db1 888032012-02-14 Marek Polacek <polacek@redhat.com>
92c3af3c 88804
edf66db1
SP
88805 * sysdeps/x86_64/crti.S: New file.
88806 * sysdeps/x86_64/crtn.S: New file.
88807 * sysdeps/x86_64/elf/initfini.c: Remove file.
92c3af3c 88808
edf66db1 888092012-02-13 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88810
edf66db1
SP
88811 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88812 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88813 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88814 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88815 <bits/inotify.h>.
88816 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88818 bits/inotify.h.
92c3af3c 88819
edf66db1 888202012-02-13 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88821
edf66db1
SP
88822 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88823 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88824 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88825 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88826 <bits/eventfd.h>.
88827 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88829 bits/eventfd.h.
92c3af3c 88830
edf66db1 888312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
92c3af3c 88832
edf66db1
SP
88833 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88834 __feraiseexcept instead of feraiseexcept.
92c3af3c 88835
edf66db1
SP
88836 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88837 nanosleep invocations.
88838 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88839 strings, and add error checking for a nanosleep invocations.
92c3af3c 88840
edf66db1 888412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
92c3af3c 88842
edf66db1
SP
88843 Replace FSF snail mail address with URLs, as per GNU coding standards.
88844 Most of the snail mail addresses were wrong anyway, and omitting
88845 them makes the source code easier to maintain. Almost all of the
88846 changes are to license notices and to locale LC_IDENTIFICATION
88847 addresses, except for this one:
88848 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88849 not its snail mail address.
92c3af3c 88850
edf66db1 888512012-02-09 Richard Henderson <rth@twiddle.net>
92c3af3c 88852
edf66db1
SP
88853 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88854 of kernel-features.h.
92c3af3c 88855
edf66db1 88856 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
92c3af3c 88857
edf66db1 888582012-02-08 Marek Polacek <polacek@redhat.com>
92c3af3c 88859
edf66db1
SP
88860 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88861 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88862 * sysdeps/gnu/_G_config.h: Likewise.
88863 * sysdeps/generic/_G_config.h: Likewise.
92c3af3c 88864
edf66db1 888652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 88866
edf66db1
SP
88867 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88868 tests.
88869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88870
88871 * sysdeps/powerpc/powerpc32/crti.S: New file.
88872 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88873 * sysdeps/powerpc/powerpc64/crti.S: New file.
88874 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88875
88876 * Makeconfig (have-initfini): Don't set.
88877 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88878 * configure.in (nopic_initfini): Don't substitute.
88879 * config.h.in (HAVE_INITFINI): Don't #undef.
88880 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88881 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88882
888832012-02-08 Joseph Myers <joseph@codesourcery.com>
88884
88885 Support crti.S and crtn.S provided directly by architectures.
88886 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88887 [crti.S in sysdirs] (omit-deps): Likewise.
88888 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88889 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88890 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88891 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88892 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88893 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88894 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88895 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88896 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88897 compiler output for sysdeps/generic/initfini.c.
88898 * sysdeps/i386/elf/Makefile: Remove file.
88899 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88900
889012012-02-07 Marek Polacek <polacek@redhat.com>
88902
88903 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88904 * sysdeps/gnu/_G_config.h: Likewise.
88905 * sysdeps/mach/hurd/_G_config.h: Likewise.
92c3af3c 88906
edf66db1
SP
889072012-02-07 Marek Polacek <polacek@redhat.com>
88908
88909 * math/Makefile (tests): Add tst-CMPLX2.
88910 * math/tst-CMPLX2.c: New file.
88911
889122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88913
88914 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88915
88916 * math/libm-test.inc (jn_test): Add missing L suffix.
88917
889182012-02-06 Marek Polacek <polacek@redhat.com>
88919
88920 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88921 * sysdeps/i386/fpu/e_powf.S: Likewise.
88922 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88923 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88924 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88925 * sysdeps/i386/fpu/e_pow.S: Likewise.
88926 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88927 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88928 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88929 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88930 * sysdeps/i386/fpu/e_log2.S: Likewise.
88931 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88932 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88933 * sysdeps/i386/fpu/e_powl.S: Likewise.
88934 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88935 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88936 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88937 * sysdeps/i386/fpu/e_logl.S: Likewise.
88938 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88939 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88940 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88941 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88942 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88944 * sysdeps/i386/fpu/e_log.S: Likewise.
88945 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88946 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88947 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88948 * sysdeps/i386/fpu/e_logf.S: Likewise.
88949 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88950 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88951 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88952 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88953 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88954 * sysdeps/i386/fpu/e_log10.S: Likewise.
88955 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88956 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88957 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88958 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88959 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88960 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88961 * sysdeps/i386/asm-syntax.h: Likewise.
88962 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88963 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88964 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88965 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88966 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88967 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88968 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88969 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88970 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88971 * sysdeps/powerpc/sysdep.h: Likewise.
88972 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88973 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
92c3af3c 88974
edf66db1 889752012-02-06 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88976
edf66db1
SP
88977 [BZ #411]
88978 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
92c3af3c 88979
edf66db1 889802012-02-06 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88981
edf66db1
SP
88982 * sysdeps/i386/sysdep.h: Include <features.h>.
88983 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88984 version.
92c3af3c 88985
edf66db1 889862012-02-05 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88987
edf66db1
SP
88988 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88989 Define.
88990 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88991 LOAD_PIC_REG_STR.
92c3af3c 88992
edf66db1 889932012-02-03 Joseph Myers <joseph@codesourcery.com>
92c3af3c 88994
edf66db1
SP
88995 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88996 (SETUP_PIC_REG): Use GET_PC_THUNK.
88997 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88998 macro.
92c3af3c 88999
edf66db1
SP
890002012-02-03 Joseph Myers <joseph@codesourcery.com>
89001
89002 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
89003 for non-PIC compilation.
89004 (SETUP_PIC_REG): Add .p2align directive.
89005 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
89006 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
89007 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
89008 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
89009 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
89010 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
89011 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
89012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
89013 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
89014 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
89015 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
89016 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
89017 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
89018 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
89019 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
89020 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
89021 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
89022 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
89023 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
89024 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
89025 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
89026 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
89027 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
89028 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
89029 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
89030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
89031 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89032 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
89033 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
89034 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
89035 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
89036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89037 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
89038 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
89039 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
89040 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
89041 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
89042 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
89043 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
89044 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
89045 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
92c3af3c 89046
edf66db1 890472012-02-03 Joseph Myers <joseph@codesourcery.com>
92c3af3c 89048
edf66db1 89049 * math/tst-CMPLX.c: Include <stdio.h>.
92c3af3c 89050
edf66db1 890512012-01-31 Joseph Myers <joseph@codesourcery.com>
92c3af3c 89052
edf66db1
SP
89053 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
89054 float.
89055 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89056 * sysdeps/sparc/bits/mathdef.h: Likewise.
92c3af3c 89057
edf66db1 890582012-01-31 Marek Polacek <polacek@redhat.com>
92c3af3c 89059
edf66db1
SP
89060 * libio/libio.h: Don't define _PARAMS.
89061 * locale/programs/config.h: Don't define PARAMS.
89062 * stdlib/strtol_l.c: Likewise.
89063 (__strtol_l): Remove PARAMS from the prototype.
92c3af3c 89064
edf66db1 890652012-01-31 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89066
edf66db1
SP
89067 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
89068 names. Just use the correct names. Remove unnecessary wrapper
89069 functions.
89070 * malloc/arena.c: Likewise.
89071 * malloc/hooks.c: Likewise.
92c3af3c 89072
edf66db1
SP
89073 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
89074 ARENA_TEST says not to. Simplify test for creation of a new arena.
89075 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
89076
890772012-01-30 Ulrich Drepper <drepper@gmail.com>
89078
89079 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
89080 into tail calls.
89081 (update_get_addr): New function.
89082 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
89083 GET_ADDR_MODULE parameter.
89084
890852012-01-30 Joseph Myers <joseph@codesourcery.com>
89086
89087 * crypt/cert.c: Remove __STDC__ conditionals.
89088 * crypt/crypt-entry.c: Likewise.
89089 * crypt/crypt_util.c: Likewise.
89090 * libio/filedoalloc.c: Likewise.
89091 * libio/fileops.c: Likewise.
89092 * libio/genops.c: Likewise.
89093 * libio/iofclose.c: Likewise.
89094 * libio/iofdopen.c: Likewise.
89095 * libio/iofopen.c: Likewise.
89096 * libio/iofopen64.c: Likewise.
89097 * libio/iogetdelim.c: Likewise.
89098 * libio/iopopen.c: Likewise.
89099 * libio/obprintf.c: Likewise.
89100 * libio/oldfileops.c: Likewise.
89101 * libio/oldiofclose.c: Likewise.
89102 * libio/oldiofdopen.c: Likewise.
89103 * libio/oldiofopen.c: Likewise.
89104 * libio/oldiopopen.c: Likewise.
89105 * libio/wfiledoalloc.c: Likewise.
89106 * libio/wgenops.c: Likewise.
89107 * locale/programs/xmalloc.c: Likewise.
89108 * misc/syslog.c: Likewise.
89109 * stdio-common/xbug.c: Likewise.
89110 * string/memchr.c: Likewise.
89111 * string/memcmp.c: Likewise.
89112 * string/memrchr.c: Likewise.
89113 * string/rawmemchr.c: Likewise.
89114 * sysdeps/posix/getcwd.c: Likewise.
89115 * time/strftime_l.c: Likewise.
92c3af3c 89116
edf66db1 891172012-01-30 Joseph Myers <joseph@codesourcery.com>
92c3af3c 89118
edf66db1
SP
89119 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
89120 * config.make.in (config-cflags-sse2avx): Define.
89121 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
89122 Fix typo.
92c3af3c 89123
edf66db1 891242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
92c3af3c 89125
edf66db1
SP
89126 * scripts/config.guess: Update from upstream config git repository.
89127 * scripts/config.sub: Likewise.
92c3af3c 89128
edf66db1
SP
891292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
89130
89131 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
89132 (EM_NUM): Update.
89133 (R_TILEPRO_*, R_TILEGX_*): New macros.
89134
89135 * scripts/firstversions.awk: Fix bug in version range handling.
89136
89137 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
89138
89139 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
89140
89141 * include/sys/epoll.h: New file.
89142 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
89143 libc_hidden_def.
89144
891452012-01-28 Ulrich Drepper <drepper@gmail.com>
89146
89147 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
89148 Avoid unnecessary __WORDSIZE == 64 test.
89149 (fmaxf): Use VEX format if possible.
89150 (fmax): Likewise.
89151 (fminf): Likewise.
89152 (fmin): Likewise.
89153
89154 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
89155 * math/math_private.h: Remove libc_fegetround* and
89156 libc_fesetround*.
89157 * sysdeps/i386/configure.in: Check for -msse2avx.
89158 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
89159 also if SSE2AVX is defined.
89160 Remove libc_fegetround* and libc_fesetround*.
89161 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
89162 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
89163 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
89164 of HAS_YMM_USABLE.
89165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89166 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89167 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89170
89171 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
89172
891732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89174
89175 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
89176 size is not set.
89177 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89178
891792012-01-27 Ulrich Drepper <drepper@gmail.com>
89180
89181 [BZ #13618]
89182 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
89183 relocation.
89184 * Makeconfig (libm): Define.
89185 * elf/Makefile: Add rules to build and run tst-relsort1.
89186 * elf/tst-relsort1.c: New file.
89187 * elf/tst-relsort1mod1.c: New file.
89188 * elf/tst-relsort1mod2.c: New file.
89189
891902012-01-27 Joseph Myers <joseph@codesourcery.com>
89191
89192 * math/s_ldexp.c: Remove __STDC__ conditionals.
89193 * math/s_ldexpf.c: Likewise.
89194 * math/s_ldexpl.c: Likewise.
89195 * math/s_nextafter.c: Likewise.
89196 * math/s_nexttowardf.c: Likewise.
89197 * math/s_significand.c: Likewise.
89198 * math/s_significandf.c: Likewise.
89199 * math/s_significandl.c: Likewise.
89200 * math/w_jnl.c: Likewise.
89201 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89202 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89203 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89204 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89205 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89207 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89208 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89209 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89210 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89211 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89213 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89214 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89215 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89216 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89217 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89218 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89219 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89220 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89221 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89222 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89223 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89225 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89226 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89227 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89228 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89229 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89230 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89231 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89232 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89233 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89234 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89235 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89236 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89237 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89238 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89239 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89240 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89241 * sysdeps/ieee754/k_standard.c: Likewise.
89242 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89243 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89244 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89245 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89246 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89247 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89248 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89249 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89250 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89251 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89252 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89253 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89254 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89255 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89256 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89257 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89258 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89259 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89260 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89261 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89262 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89263 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89264 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89265 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89266 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89267 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89271 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89273 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89274 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89275 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89276 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89277 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89278 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89280 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89281 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89282 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89283 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89284 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89285 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89286 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89287 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89288 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89291 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89292 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89295 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89296 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89297 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89298 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89300 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89302 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89303 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89304 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89306 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89307 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89308 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89309 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89310 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89311 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89312 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89313 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89314 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89315 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89316 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89317 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89318 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89319 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89321 * sysdeps/ieee754/s_matherr.c: Likewise.
89322 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89323 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89325 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89326
893272012-01-26 Joseph Myers <joseph@codesourcery.com>
89328
89329 * crypt/md5.h: Remove __STDC__ conditionals.
89330 * libio/libioP.h: Likewise.
89331 * locale/programs/config.h: Likewise.
89332 * sysdeps/generic/sysdep.h: Likewise.
89333 * sysdeps/i386/asm-syntax.h: Likewise.
89334 * sysdeps/s390/asm-syntax.h: Likewise.
89335 * sysdeps/unix/sysdep.h: Likewise.
89336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
92c3af3c 89338
edf66db1 893392012-01-26 Joseph Myers <joseph@codesourcery.com>
92c3af3c 89340
edf66db1
SP
89341 * libio/libio.h: Remove __STDC__ conditionals.
89342 * malloc/obstack.h: Likewise.
89343 * math/complex.h: Likewise.
89344 * math/math.h: Likewise.
89345 * sysdeps/generic/_G_config.h: Likewise.
89346 * sysdeps/gnu/_G_config.h: Likewise.
89347 * sysdeps/mach/hurd/_G_config.h: Likewise.
89348 * sysdeps/powerpc/bits/mathdef.h: Likewise.
89349 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89350 * sysdeps/sparc/bits/mathdef.h: Likewise.
92c3af3c 89351
edf66db1 893522012-01-26 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89353
edf66db1
SP
89354 [BZ #13583]
89355 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89356 Clean up HAS_* macros.
89357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89358 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89359 possible.
89360 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89361 HAS_AVX.
89362 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89363 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89364 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89365 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89366 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
92c3af3c 89367
edf66db1 893682012-01-25 Joseph Myers <joseph@codesourcery.com>
92c3af3c 89369
edf66db1
SP
89370 * elf/tst-unique3.cc (gets): Remove declaration.
89371 * elf/tst-unique3lib.cc (gets): Likewise.
89372 * elf/tst-unique3lib2.cc (gets): Likewise.
89373 * elf/tst-unique4.cc (gets): Likewise.
92c3af3c 89374
edf66db1 893752012-01-24 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89376
edf66db1
SP
89377 * include/stdio.h: Add C++ protection. Add gets declarations and
89378 definitions.
89379 * debug/tst-chk1.c: Don't declare gets here.
89380 * stdio-common/tst-gets.c: Likewise.
92c3af3c 89381
edf66db1 893822012-01-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 89383
edf66db1 89384 * posix/glob: Remove directory.
92c3af3c 89385
edf66db1 893862012-01-24 Joseph Myers <joseph@codesourcery.com>
92c3af3c 89387
edf66db1 89388 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
92c3af3c 89389
edf66db1 893902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
92c3af3c 89391
edf66db1
SP
89392 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89393 of the non-standard EPFNOSUPPORT.
92c3af3c 89394
edf66db1 893952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 89396
edf66db1
SP
89397 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89398 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89399 ANYWHERE set to 1 only on KERN_NO_SPACE error.
92c3af3c 89400
edf66db1 894012012-01-21 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89402
edf66db1 89403 * wcsmbs/uchar.h: Test __STDC_VERSION__.
92c3af3c 89404
edf66db1 894052012-01-20 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89406
edf66db1
SP
89407 * nscd/aicache.c (addhstaiX): Do not cache negative results of
89408 transient errors.
89409 * nscd/grpcache.c (cache_addgr): Likewise.
89410 * nscd/hstcache.c (cache_addhst): Likewise.
89411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89412 * nscd/pwdcache.c (cache_addpw): Likewise.
89413 * nscd/servicescache.c (cache_addserv): Likewise.
92c3af3c 89414
edf66db1 894152012-01-16 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89416
edf66db1
SP
89417 * malloc/malloc.c: Various cleanups.
89418 * malloc/hooks.c: Likewise.
92c3af3c 89419
edf66db1
SP
89420 * stdlib/Makefile (tests): Add bug-fmtmsg1.
89421 * stdlib/bug-fmtmsg1.c: New file.
92c3af3c 89422
edf66db1
SP
89423 * stdlib/fmtmsg.c (init): Add missing unlock.
89424 Patch by Peng Haitao <penght@cn.fujitsu.com>.
92c3af3c 89425
edf66db1 894262012-01-12 Marek Polacek <polacek@redhat.com>
92c3af3c 89427
edf66db1
SP
89428 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89429 and _GNU_SOURCE.
92c3af3c 89430
edf66db1 894312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92c3af3c 89432
edf66db1
SP
89433 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89434 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89435 macro to ensure uniqueness of label name.
89436 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89437 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
92c3af3c 89438
edf66db1 894392012-01-11 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89440
edf66db1 89441 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
92c3af3c 89442
edf66db1
SP
89443 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89444 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89445 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
92c3af3c 89447
edf66db1 894482012-01-10 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89449
edf66db1 89450 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
92c3af3c 89451
edf66db1
SP
89452 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89453 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89454 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
92c3af3c 89455
edf66db1 89456 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
92c3af3c 89457
edf66db1
SP
89458 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89459 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
92c3af3c 89462
edf66db1 89463 * math/bits/math-finite.h: Add ldexp support.
92c3af3c 89464
edf66db1 894652012-01-10 Marek Polacek <polacek@redhat.com>
92c3af3c 89466
edf66db1
SP
89467 * locale/programs/localedef.h (show_archive_content): Add noreturn
89468 attribute.
92c3af3c 89469
edf66db1 894702012-01-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89471
edf66db1 89472 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
92c3af3c 89473
edf66db1 894742012-01-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89475
edf66db1 89476 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
92c3af3c 89477
edf66db1 89478 * io/Makefile (headers): Add bits/poll2.h.
92c3af3c 89479
edf66db1 894802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
92c3af3c 89481
edf66db1
SP
89482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89483 typo #include statement.
92c3af3c 89484
edf66db1 894852012-01-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89486
edf66db1
SP
89487 * include/sys/cdefs.h: Define __attribute_alloc_size.
89488 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89489 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89490 * elf/pldd.c: Likewise.
89491 * iconv/iconv_charmap.c: Likewise.
89492 * iconv/iconvconfig.c: Likewise.
89493 * iconv/strtab.c: Likewise.
89494 * locale/programs/locale.c: Likewise.
89495 * locale/programs/localedef.h: Likewise.
89496 * locale/programs/simple-hash.c: Likewise.
89497 * nscd/nscd.h: Likewise.
89498 * nss/makedb.c: Likewise.
89499 * sysdeps/generic/ldconfig.h: Likewise.
89500 * locale/programs/localedef.c: Remove xmalloc prototype.
89501 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
92c3af3c 89502
edf66db1 895032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
92c3af3c 89504
edf66db1
SP
89505 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89506 appropriate.
92c3af3c 89507
edf66db1
SP
895082012-01-08 Ulrich Drepper <drepper@gmail.com>
89509
89510 * math/Makefile (tests): Add tst-CMPLX.
89511 * math/tst-CMPLX.c: New file.
89512
89513 * math/complex.h (CMPLXL): Fix typo.
89514
89515 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89516 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89517 GLIBC_2.16.
89518 * debug/tst-chk1.c: Add poll and ppoll tests.
89519 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89520 * include/sys/poll.h: Add hidden proto for ppoll.
89521 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89522 * sysdeps/mach/hurd/ppoll.c: Likewise.
89523 * io/ppoll.c: Likewise.
89524 * debug/poll_chk.c: New file.
89525 * debug/ppoll_chk.c: New file.
89526 * include/bits/poll2.h: New file.
89527 * io/bits/poll2.h: New file.
89528
89529 [BZ #1350]
89530 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89531
89532 * configure.in: static is always set to yes. Remove.
89533 * config.make.in: Don't set build-static.
89534 * Makeconfig: Remove use of build-static.
89535 * dlfcn/Makefile: Likewise.
89536 * elf/Makefile: Likewise.
89537 * math/Makefile: Likewise.
89538 * misc/Makefile: Likewise.
89539 * nptl/Makefile: Likewise.
89540 * sysdeps/mach/hurd/Makefile: Likewise.
89541
89542 * configure.in: PWD_P is not used anymore.
89543 * config.make.in: Remove PWD_P entry.
89544
89545 * configure.in: Remove last remnants of RANLIB.
89546 No need to check for signed size_t anymore.
89547 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89548 and IA-64.
89549 Remove __builtin_expect test because we require at least gcc 3.4.
89550 * aclocal.m4: Likewise.
89551
89552 * wcsmbs/mbrtoc16.c: Implement using towc function.
89553 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89554 * wcsmbs/wcsmbsload.c: Likewise.
89555 * iconv/gconv_simple.c: Likewise.
89556 * iconv/gconv_int.h: Likewise.
89557 * iconv/gconv_builtin.h: Likewise.
89558 * iconv/iconv_prog.c: Remove CHAR16 handling.
92c3af3c 89559
edf66db1 89560 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
92c3af3c 89561
edf66db1 89562 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
92c3af3c 89563
edf66db1
SP
89564 * configure.in: Remove --with-elf and --enable-bounded options.
89565 Dont set base_machine for ia64. More non-ELF conditions removed.
89566 Remove testing and setting of leading underscore information.
89567 * config.make.in (build-bounded): Set to no.
89568 * config.h.in: Remove NO_UNDERSCORES entry.
89569 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89570 them.
89571 * csu/start.c: Remove !NO_UNDERSCORE code.
89572 * locale/localeinfo.h: Likewise.
89573 * sysdeps/generic/machine-gmon.h: Likewise.
89574 * sysdeps/generic/sysdep.h: Likewise.
89575 * sysdeps/i386/sysdep.h: Likewise.
89576 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89577 * sysdeps/mach/sysdep.h: Likewise.
89578 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89580 * sysdeps/sh/sysdep.h: Likewise.
89581 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89582 * sysdeps/unix/i386/sysdep.S: Likewise.
89583 * sysdeps/unix/sparc/start.c: Likewise.
89584 * sysdeps/unix/sparc/sysdep.S: Likewise.
89585 * sysdeps/unix/sparc/sysdep.h: Likewise.
89586 * sysdeps/unix/start.c: Likewise.
89587 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89588 * sysdeps/x86_64/sysdep.h: Likewise.
89589
895902012-01-07 Ulrich Drepper <drepper@gmail.com>
89591
89592 [BZ #13553]
89593 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89594 for non-gcc.
89595 * argp/argp-fmtstream.h: Use const instead __const.
89596 * argp/argp.h: Likewise.
89597 * assert/assert.h: Likewise.
89598 * bits/fenv.h: Likewise.
89599 * bits/sched.h: Likewise.
89600 * bits/sigset.h: Likewise.
89601 * bits/sigthread.h: Likewise.
89602 * catgets/nl_types.h: Likewise.
89603 * conform/data/pthread.h-data: Likewise.
89604 * crypt/crypt-private.h: Likewise.
89605 * crypt/crypt.h: Likewise.
89606 * crypt/crypt_util.c: Likewise.
89607 * ctype/ctype.h: Likewise.
89608 * debug/execinfo.h: Likewise.
89609 * debug/mbsnrtowcs_chk.c: Likewise.
89610 * debug/mbsrtowcs_chk.c: Likewise.
89611 * debug/wcsnrtombs_chk.c: Likewise.
89612 * debug/wcsrtombs_chk.c: Likewise.
89613 * debug/wcstombs_chk.c: Likewise.
89614 * dirent/dirent.h: Likewise.
89615 * dlfcn/dlfcn.h: Likewise.
89616 * elf/neededtest4.c: Likewise.
89617 * grp/grp.h: Likewise.
89618 * gshadow/gshadow.h: Likewise.
89619 * iconv/gconv.h: Likewise.
89620 * iconv/gconv_int.h: Likewise.
89621 * iconv/gconv_simple.c: Likewise.
89622 * iconv/iconv.h: Likewise.
89623 * iconv/loop.c: Likewise.
89624 * iconv/skeleton.c: Likewise.
89625 * include/aio.h: Likewise.
89626 * include/aliases.h: Likewise.
89627 * include/argz.h: Likewise.
89628 * include/arpa/inet.h: Likewise.
89629 * include/assert.h: Likewise.
89630 * include/dirent.h: Likewise.
89631 * include/dlfcn.h: Likewise.
89632 * include/execinfo.h: Likewise.
89633 * include/fcntl.h: Likewise.
89634 * include/fenv.h: Likewise.
89635 * include/glob.h: Likewise.
89636 * include/grp.h: Likewise.
89637 * include/libintl.h: Likewise.
89638 * include/mntent.h: Likewise.
89639 * include/netdb.h: Likewise.
89640 * include/pwd.h: Likewise.
89641 * include/rpc/netdb.h: Likewise.
89642 * include/sched.h: Likewise.
89643 * include/search.h: Likewise.
89644 * include/shadow.h: Likewise.
89645 * include/signal.h: Likewise.
89646 * include/stdio.h: Likewise.
89647 * include/stdlib.h: Likewise.
89648 * include/string.h: Likewise.
89649 * include/sys/socket.h: Likewise.
89650 * include/sys/stat.h: Likewise.
89651 * include/sys/statfs.h: Likewise.
89652 * include/sys/statvfs.h: Likewise.
89653 * include/sys/syslog.h: Likewise.
89654 * include/sys/time.h: Likewise.
89655 * include/sys/uio.h: Likewise.
89656 * include/time.h: Likewise.
89657 * include/unistd.h: Likewise.
89658 * include/utmp.h: Likewise.
89659 * include/wchar.h: Likewise.
89660 * include/wctype.h: Likewise.
89661 * inet/aliases.h: Likewise.
89662 * inet/arpa/inet.h: Likewise.
89663 * inet/netinet/ether.h: Likewise.
89664 * inet/netinet/in.h: Likewise.
89665 * intl/libintl.h: Likewise.
89666 * io/bits/fcntl2.h: Likewise.
89667 * io/fcntl.h: Likewise.
89668 * io/ftw.h: Likewise.
89669 * io/sys/poll.h: Likewise.
89670 * io/sys/stat.h: Likewise.
89671 * io/sys/statfs.h: Likewise.
89672 * io/sys/statvfs.h: Likewise.
89673 * io/utime.h: Likewise.
89674 * libio/bits/stdio.h: Likewise.
89675 * libio/bits/stdio2.h: Likewise.
89676 * libio/libio.h: Likewise.
89677 * libio/libioP.h: Likewise.
89678 * libio/stdio.h: Likewise.
89679 * locale/lc-ctype.c: Likewise.
89680 * locale/locale.h: Likewise.
89681 * login/utmp.h: Likewise.
89682 * malloc/arena.c: Likewise.
89683 * malloc/malloc.c: Likewise.
89684 * malloc/malloc.h: Likewise.
89685 * malloc/mcheck.c: Likewise.
89686 * malloc/mtrace.c: Likewise.
89687 * math/bits/mathcalls.h: Likewise.
89688 * math/fenv.h: Likewise.
89689 * math/math_private.h: Likewise.
89690 * misc/bits/error.h: Likewise.
89691 * misc/bits/syslog.h: Likewise.
89692 * misc/err.h: Likewise.
89693 * misc/error.h: Likewise.
89694 * misc/fstab.h: Likewise.
89695 * misc/mntent.h: Likewise.
89696 * misc/regexp.h: Likewise.
89697 * misc/search.h: Likewise.
89698 * misc/sgtty.h: Likewise.
89699 * misc/sys/mman.h: Likewise.
89700 * misc/sys/syslog.h: Likewise.
89701 * misc/sys/uio.h: Likewise.
89702 * misc/sys/xattr.h: Likewise.
89703 * misc/ttyent.h: Likewise.
89704 * nis/rpcsvc/ypclnt.h: Likewise.
89705 * nss/nss.h: Likewise.
89706 * posix/bits/unistd.h: Likewise.
89707 * posix/fnmatch.h: Likewise.
89708 * posix/glob.h: Likewise.
89709 * posix/sched.h: Likewise.
89710 * posix/spawn.h: Likewise.
89711 * posix/sys/wait.h: Likewise.
89712 * posix/unistd.h: Likewise.
89713 * posix/wordexp.h: Likewise.
89714 * pwd/pwd.h: Likewise.
89715 * resolv/netdb.h: Likewise.
89716 * resource/sys/resource.h: Likewise.
89717 * rt/aio.h: Likewise.
89718 * rt/bits/mqueue2.h: Likewise.
89719 * rt/mqueue.h: Likewise.
89720 * shadow/shadow.h: Likewise.
89721 * signal/signal.h: Likewise.
89722 * socket/send.c: Likewise.
89723 * socket/sendto.c: Likewise.
89724 * socket/sys/socket.h: Likewise.
89725 * stdio-common/printf.h: Likewise.
89726 * stdlib/bits/stdlib.h: Likewise.
89727 * stdlib/fmtmsg.h: Likewise.
89728 * stdlib/monetary.h: Likewise.
89729 * stdlib/stdlib.h: Likewise.
89730 * stdlib/ucontext.h: Likewise.
89731 * streams/stropts.h: Likewise.
89732 * string/argz.h: Likewise.
89733 * string/bits/string2.h: Likewise.
89734 * string/string.h: Likewise.
89735 * string/strings.h: Likewise.
89736 * sunrpc/rpc/auth.h: Likewise.
89737 * sunrpc/rpc/auth_des.h: Likewise.
89738 * sunrpc/rpc/clnt.h: Likewise.
89739 * sunrpc/rpc/netdb.h: Likewise.
89740 * sunrpc/rpc/pmap_clnt.h: Likewise.
89741 * sunrpc/rpc/xdr.h: Likewise.
89742 * sysdeps/generic/inttypes.h: Likewise.
89743 * sysdeps/generic/net/if.h: Likewise.
89744 * sysdeps/generic/sys/swap.h: Likewise.
89745 * sysdeps/gnu/net/if.h: Likewise.
89746 * sysdeps/gnu/utmpx.h: Likewise.
89747 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89748 * sysdeps/i386/i486/bits/string.h: Likewise.
89749 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89750 * sysdeps/s390/bits/string.h: Likewise.
89751 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89752 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89753 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89754 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89755 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89756 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89757 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89758 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89759 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89760 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89761 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89762 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89763 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89764 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89765 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89766 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89767 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89769 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89770 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89772 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89773 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89774 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89775 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89776 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89777 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89779 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89780 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89781 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89782 * sysvipc/sys/ipc.h: Likewise.
89783 * sysvipc/sys/msg.h: Likewise.
89784 * sysvipc/sys/sem.h: Likewise.
89785 * sysvipc/sys/shm.h: Likewise.
89786 * termios/termios.h: Likewise.
89787 * time/sys/time.h: Likewise.
89788 * time/time.h: Likewise.
89789 * wcsmbs/bits/wchar2.h: Likewise.
89790 * wcsmbs/uchar.h: Likewise.
89791 * wcsmbs/wchar.h: Likewise.
89792 * wctype/wctype.h: Likewise.
92c3af3c 89793
edf66db1
SP
89794 [BZ #13551]
89795 * Makeconfig: Remove all but ELF support including AIX support.
89796 * Makerules: Likewise.
89797 * config.h.in: Likewise.
89798 * config.make.in: Likewise.
89799 * configure: Likewise.
89800 * configure.in: Likewise.
89801 * csu/Makefile: Likewise.
89802 * csu/version.c: Likewise.
89803 * debug/Makefile: Likewise.
89804 * dlfcn/Makefile: Likewise.
89805 * elf/Makefile: Likewise.
89806 * extra-lib.mk: Likewise.
89807 * iconv/Makefile: Likewise.
89808 * include/libc-symbols.h: Likewise.
89809 * include/shlib-compat.h: Likewise.
89810 * resolv/Makefile: Likewise.
89811 * resolv/res_libc.c: Likewise.
89812 * rt/Makefile: Likewise.
89813 * sysdeps/i386/asm-syntax.h: Likewise.
89814 * sysdeps/i386/sysdep.h: Likewise.
89815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89816 * sysdeps/mach/sysdep.h: Likewise.
89817 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89818 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89819 * sysdeps/s390/asm-syntax.h: Likewise.
89820 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89821 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89822 * sysdeps/sh/sysdep.h: Likewise.
89823 * sysdeps/unix/sparc/sysdep.h: Likewise.
89824 * sysdeps/wordsize-32/divdi3.c: Likewise.
89825 * sysdeps/x86_64/sysdep.h: Likewise.
89826
89827 * argp/Versions: Remove _argp_unlock_xxx.
89828
89829 [BZ #13559]
89830 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89831 * abilist/libBrokenLocale.abilist: Likewise.
89832 * abilist/libanl.abilist: Likewise.
89833 * abilist/libc.abilist: Likewise.
89834 * abilist/libcrypt.abilist: Likewise.
89835 * abilist/libdl.abilist: Likewise.
89836 * abilist/libm.abilist: Likewise.
89837 * abilist/libnsl.abilist: Likewise.
89838 * abilist/libpthread.abilist: Likewise.
89839 * abilist/libresolv.abilist: Likewise.
89840 * abilist/librt.abilist: Likewise.
89841 * abilist/libthread_db.abilist: Likewise.
89842 * abilist/libutil.abilist: Likewise.
89843 * abilist/libnss_db.abilist: New file.
89844
89845 * scripts/abilist.awk: Add support for indirect functions.
89846
89847 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89848
89849 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89850
89851 * shlib-versions: Remove entries for ports architectures.
89852
89853 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89854 files in ports.
89855 * elf/stackguard-macros.h: Remove support for IA-64.
89856 * elf/tst-auditmod1.c: Likewise.
89857 * sysdeps/generic/ldsodefs.h: Likewise.
92c3af3c 89858
edf66db1
SP
89859 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89860 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89861 configure files.
92c3af3c 89862
edf66db1
SP
89863 [BZ #13552]
89864 * configure.in: Remove --enable-omitfp support.
89865 * FAQ.in: Adjust.
89866 * config.make.in: Likewise.
89867 * Makeconfig: Likewise.
89868 * manual/install.texi: Likewise.
92c3af3c 89869
edf66db1
SP
89870 In case anyone cares, the IA-64 architecture could move to ports.
89871 * sysdeps/ia64/*: Removed.
89872 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89873 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
92c3af3c 89874
edf66db1
SP
89875 [BZ #13555]
89876 * configure.in: Remove entries for unsupported architectures.
92c3af3c 89877
edf66db1
SP
89878 [BZ #13533]
89879 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89880 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89881 routines.
89882 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89883 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89884 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89885 fall back to using wcrtomb.
89886 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89887 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89888 renaming.
89889 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89890 * wcsmbs/tst-c16c32-1.c: New file.
92c3af3c 89891
edf66db1
SP
89892 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89893 local variable.
92c3af3c 89894
edf66db1 89895 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
92c3af3c 89896
edf66db1
SP
89897 * elf/tst-unique3.cc: Add explicit declaration of gets.
89898 * elf/tst-unique3lib.cc: Likewise.
89899 * elf/tst-unique3lib2.cc: Likewise.
89900 * elf/tst-unique4.cc: Likewise.
92c3af3c 89901
edf66db1 89902 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
92c3af3c 89903
edf66db1 899042012-01-06 Joseph Myers <joseph@codesourcery.com>
92c3af3c 89905
edf66db1
SP
89906 [BZ #13566]
89907 * assert/assert.h (static_assert): Don't define for C++.
89908 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89909 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
92c3af3c 89910
edf66db1 899112012-01-03 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89912
edf66db1
SP
89913 * iconv/loop.c (single loop): Fix assertion in storing of
89914 remaining bytes.
92c3af3c 89915
edf66db1 89916 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
92c3af3c 89917
edf66db1 899182012-01-01 Ulrich Drepper <drepper@gmail.com>
92c3af3c 89919
edf66db1
SP
89920 * posix/getconf.c: Update copyright year.
89921 * nss/getent.c: Likewise.
89922 * nss/makedb.c: Likewise.
89923 * iconv/iconvconfig.c: Likewise.
89924 * iconv/iconv_prog.c: Likewise.
89925 * elf/ldconfig.c: Likewise.
89926 * elf/pldd.c: Likewise.
89927 * elf/sotruss.ksh: Likewise.
89928 * catgets/gencat.c: Likewise.
89929 * csu/version.c: Likewise.
89930 * elf/ldd.bash.in: Likewise.
89931 * elf/sprof.c (print_version): Likewise.
89932 * locale/programs/locale.c: Likewise.
89933 * locale/programs/localedef.c: Likewise.
89934 * login/programs/pt_chown.c: Likewise.
89935 * nscd/nscd.c (print_version): Likewise.
89936 * debug/xtrace.sh: Likewise.
89937 * malloc/memusage.sh: Likewise.
89938 * malloc/mtrace.pl: Likewise.
89939 * debug/catchsegv.sh: Likewise.
92c3af3c 89940
edf66db1
SP
899412011-12-30 Jakub Jelinek <jakub@redhat.com>
89942
89943 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89944 pure attribute.
89945
899462011-12-24 Ulrich Drepper <drepper@gmail.com>
89947
89948 [BZ #13533]
89949 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89950 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89951 transformations.
89952 * iconv/gconv_int.h: Likewise.
89953 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89954 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89955 from libc for GLIBC_2.16.
89956 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89957 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89958 * wcsmbs/uchar.h: Really define mbstate_t.
89959 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89960 * wcsmbs/c16rtomb.c: New file.
89961 * wcsmbs/mbrtoc16.c: New file.
89962 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89963 for C/POSIX locale.
89964 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89965 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89966
89967 * wcsmbs/wchar.h: Add missing __restrict.
89968
899692011-12-23 Ulrich Drepper <drepper@gmail.com>
89970
89971 [BZ #13532]
89972 * time/Makefile (routines): Add timespec_get.
89973 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89974 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89975 timespec for ISO C11.
89976 * time/timespec_get.c: New file.
89977 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89978 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89979
89980 [BZ #13531]
89981 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89982 * stdlib/stdlib.h: Declare aligned_alloc.
89983 * Versions.def: Add GLIBC_2.16 for libc.
89984 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89985
89986 [BZ 13527]
89987 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89988 ISO C11.
89989
89990 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89991 code.
89992
89993 [BZ #13528]
89994 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89995
89996 [BZ #13529]
89997 * assert/assert.h (static_assert): Define.
89998
89999 * version.h: Update for 2.16 development version.
90000
90001 [BZ #13526]
90002 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
90003 _ISOC11_SOURCE.
90004
90005 * version.h (RELEASE): Bump for 2.15 release.
90006 * include/features.h (__GLIBC_MINOR__): Bump to 15.
90007
90008 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
90009 Patch by Marek Polacek <mpolacek@redhat.com>.
90010
90011 * bits/byteswap.h: Protect long long constants with __extension__.
90012 * sysdeps/i386/bits/byteswap.h: Likewise.
90013 * sysdeps/ia64/bits/byteswap.h: Likewise.
90014 * sysdeps/s390/bits/byteswap.h: Likewise.
90015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
92c3af3c 90016
edf66db1 900172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 90018
edf66db1
SP
90019 [BZ #13540]
90020 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
90021 destination buffer.
90022 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
92c3af3c 90023
edf66db1 900242011-12-23 Marek Polacek <polacek@redhat.com>
92c3af3c 90025
edf66db1
SP
90026 * elf/dl-addr.c (determine_info): Add inline keyword.
90027 * elf/tst-auditmod4b.c (check_avx): Likewise.
90028 * elf/tst-auditmod6b.c (check_avx): Likewise.
90029 * elf/tst-auditmod6c.c (check_avx): Likewise.
90030 * elf/tst-auditmod7b.c (check_avx): Likewise.
92c3af3c 90031
edf66db1 900322011-12-23 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90033
edf66db1
SP
90034 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
90035 !__SSE_MATH__.
92c3af3c 90036
edf66db1 900372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 90038
edf66db1
SP
90039 [BZ #13540]
90040 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
90041 processing for last bytes.
92c3af3c 90042
edf66db1 900432011-08-06 Bruno Haible <bruno@clisp.org>
92c3af3c 90044
edf66db1
SP
90045 [BZ #13061]
90046 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
90047 U+0385, not to U+1FEE.
92c3af3c 90048
edf66db1
SP
90049 [BZ #13062]
90050 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
90051 entry for U+00A5 U+0301.
92c3af3c 90052
edf66db1 900532011-12-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90054
edf66db1
SP
90055 [BZ #13166]
90056 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
90057 buffer for the output is too small.
92c3af3c 90058
edf66db1
SP
90059 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
90060 optimization.
92c3af3c 90061
edf66db1
SP
90062 [BZ #13185]
90063 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
90064 SSE flags if possible.
92c3af3c 90065
edf66db1 900662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 90067
edf66db1
SP
90068 [BZ #13540]
90069 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
90070 processing for last bytes.
92c3af3c 90071
edf66db1 900722011-12-22 Joseph Myers <joseph@codesourcery.com>
92c3af3c 90073
edf66db1
SP
90074 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
90075 (syscall-list-default-options, syscall-list-default-condition)
90076 (syscall-list-includes): Define.
90077 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
90078 list of ABIs and options and #if conditions for each ABI. Do not
90079 handle common syscalls between ABIs specially.
90080 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
90081 Remove.
90082 (syscall-list-variants, syscall-list-32bit-options)
90083 (syscall-list-32bit-condition, syscall-list-64bit-options)
90084 (syscall-list-64bit-condition): Define.
90085 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
90086 (syscall-list-variants, syscall-list-32bit-options)
90087 (syscall-list-32bit-condition, syscall-list-64bit-options)
90088 (syscall-list-64bit-condition): Define.
90089 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
90090 Remove.
90091 (syscall-list-variants, syscall-list-32bit-options)
90092 (syscall-list-32bit-condition, syscall-list-64bit-options)
90093 (syscall-list-64bit-condition): Define.
90094 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
90095 Remove.
90096 (syscall-list-variants, syscall-list-32bit-options)
90097 (syscall-list-32bit-condition, syscall-list-64bit-options)
90098 (syscall-list-64bit-condition): Define.
92c3af3c 90099
edf66db1 901002011-12-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90101
edf66db1 90102 * locale/iso-639.def: Add brx entry.
92c3af3c 90103
edf66db1
SP
90104 [BZ #13328]
90105 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
90106 Proposed by Mariusz_Cukr <marcukr@op.pl>.
92c3af3c 90107
edf66db1
SP
90108 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
90109 __feraiseexcept_renamed.
92c3af3c 90110
edf66db1 901112011-12-21 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90112
edf66db1
SP
90113 [BZ #13538]
90114 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
90115 EPOLLET with unsigned values.
90116 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
90117 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
92c3af3c 90118
edf66db1
SP
90119 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
90120 to large cancellation.
90121 * math/s_cacoshf.c: Likewise.
90122 * math/s_cacoshl.c: Likewise.
92c3af3c 90123
edf66db1 901242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
92c3af3c 90125
edf66db1
SP
90126 [BZ #13305]
90127 [BZ #12786]
90128 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
90129 * math/s_cacoshf.c: Likewise.
90130 * math/s_cacoshl.c: Likewise.
92c3af3c 90131
edf66db1
SP
901322011-12-21 Ulrich Drepper <drepper@gmail.com>
90133
90134 [BZ #13439]
90135 * iconv/gconv.h: Define __GCONV_SWAP.
90136 * iconvdata/unicode.c: The swap bit must be stored in __flags.
90137 * iconvdata/utf-16.c: Likewise.
90138 * iconvdata/utf-32.c: Likewise.
90139
901402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
90141
90142 [BZ #13524]
90143 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
90144 numerator after shifting it by one limb.
90145
901462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
90147
90148 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
90149 under [__USE_EXTERN_INLINES].
90150
901512011-12-17 Ulrich Drepper <drepper@gmail.com>
90152
90153 [BZ #13446]
90154 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
90155
901562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90157
90158 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
90159 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
90160 optimized code.
90161 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
90162 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
90163 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
90164 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
90165 for strncasecmp/strncasecmp_l compilation.
90166 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
90167 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
90168
901692011-12-08 Marek Polacek <mpolacek@redhat.com>
90170
90171 [BZ #13484]
90172 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
90173 of __asm__.
90174
901752011-12-17 Ulrich Drepper <drepper@gmail.com>
90176
90177 [BZ #13506]
90178 * time/tzfile.c (__tzfile_read): Check values from file header.
90179
901802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
90181
90182 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
90183 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
90184 * powerpc/powerpc32/dl-start.S: Likewise.
90185 * powerpc/powerpc32/elf/start.S: Likewise.
90186 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90187 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90188 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90189 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90190 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90191 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90192 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90193 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90194 * powerpc/powerpc32/fpu/s_round.S: Likewise.
90195 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90196 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90197 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90198 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90199 * powerpc/powerpc32/memset.S: Likewise.
90200 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90201 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90202 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90203 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90204 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90205 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90206 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90207 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90208 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90209 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90210 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90211 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90212 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90213
902142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90215
90216 * math/libm-test.inc: Added more nearbyint tests.
90217 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90219 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90221
902222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
90223
90224 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90225 FD_CLOEXEC.
90226
902272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90228
90229 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90230 Add wcscpy-ssse3 wcscpy-c.
90231 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90232 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90233 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90234 * sysdeps/x86_64/wcschr.S: New file.
90235 * sysdeps/x86_64/wcsrchr.S: New file.
90236 * string/test-strcmp.c: Remove checking of wcscmp function for
90237 wrong alignments.
90238 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90239 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90240 wcsrchr-sse2 wcsrchr-c.
90241 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90242 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90243 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90244 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90245 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90246 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90247 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90248 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90249 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90250 * wcsmbc/wcschr.c (WCSCHR): New macro.
90251
902522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90253
90254 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90255 * wcsmbs/test-wcsrchr.c: New file.
90256 * string/test-strrchr.c: Add wcsrchr support.
90257 (WIDE): New macro.
90258 * wcsmbs/test-wcscpy.c: New file.
90259 * string/test-strcpy.c: Add wcscpy support.
90260 (WIDE): New macro.
90261
902622011-12-10 Ulrich Drepper <drepper@gmail.com>
90263
90264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90265 the inner loop.
90266
902672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
90268
90269 [BZ #13472]
90270 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90271
902722011-12-04 Ulrich Drepper <drepper@gmail.com>
90273
90274 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90275 Minor optimizations.
90276
90277 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90278 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90279 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90280
902812011-12-03 Ulrich Drepper <drepper@gmail.com>
90282
90283 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90284 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90285 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90286 for gcc to avoid warnings.
90287 * inet/Makefile (tests): Add tst-checks.
90288 * inet/tst-checks.c: New file.
90289
90290 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90291 warning.
92c3af3c 90292
edf66db1
SP
90293 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90294 __wmemcmp_sse2.
92c3af3c 90295
edf66db1
SP
90296 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90297 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
92c3af3c 90298
edf66db1 90299 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
92c3af3c 90300
edf66db1 903012011-12-02 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90302
edf66db1
SP
90303 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90304 problem.
92c3af3c 90305
edf66db1 90306 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
92c3af3c 90307
edf66db1 903082011-11-29 Joseph Myers <joseph@codesourcery.com>
92c3af3c 90309
edf66db1
SP
90310 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90311 conditional on GCC version.
90312 (__arch_compare_and_exchange_val_8_acq)
90313 (__arch_compare_and_exchange_val_16_acq)
90314 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90315 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90316 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
92c3af3c 90317
edf66db1 903182011-12-02 Joseph Myers <joseph@codesourcery.com>
92c3af3c 90319
edf66db1 90320 * sysdeps/sh/backtrace.c: New file.
92c3af3c 90321
edf66db1 903222011-12-02 Andreas Schwab <schwab@redhat.com>
92c3af3c 90323
edf66db1
SP
90324 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
90325 parenthesis.
92c3af3c 90326
edf66db1 903272011-12-01 Andreas Schwab <schwab@redhat.com>
92c3af3c 90328
edf66db1
SP
90329 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90330 falling back to utime.
92c3af3c 90331
edf66db1 903322011-11-30 Andreas Schwab <schwab@redhat.com>
92c3af3c 90333
edf66db1
SP
90334 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90335 expectations for float.
92c3af3c 90336
edf66db1 903372011-11-29 Andreas Schwab <schwab@redhat.com>
92c3af3c 90338
edf66db1
SP
90339 * locale/weight.h (findidx): Add parameter len.
90340 * locale/weightwc.h (findidx): Likewise.
90341 * posix/fnmatch_loop.c (FCT): Adjust caller.
90342 * posix/regcomp.c (build_equiv_class): Likewise.
90343 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90344 * posix/regexec.c (check_node_accept_bytes): Likewise.
90345 * string/strcoll_l.c (STRCOLL): Likewise.
90346 * string/strxfrm_l.c (STRXFRM): Likewise.
92c3af3c 90347
edf66db1 903482011-11-17 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90349
edf66db1
SP
90350 * Makefile.in: Remove CVSOPT handling.
90351 * configure.in: Remove use of AC_REVISION.
90352 * iconvdata/Makefile (distribute): No need to filter out CVS.
90353 * scripts/list-sources.sh: Remove CVS, subversion and monotone
90354 handling.
92c3af3c 90355
edf66db1 903562011-11-16 Andreas Schwab <schwab@redhat.com>
92c3af3c 90357
edf66db1
SP
90358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90359 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90360 [USE_AS_STRNCASECMP_L]: Likewise.
90361 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90362 NO_TLS_DIRECT_SEG_REFS.
90363 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90364 Fix argument offsets for non-PIC.
90365 [USE_AS_STRNCASECMP_L]: Likewise.
90366 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90367 NO_TLS_DIRECT_SEG_REFS.
92c3af3c 90368
edf66db1 903692011-11-15 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90370
edf66db1
SP
90371 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90372 O_CLOEXEC.
90373 * locale/loadlocale.c (_nl_load_locale): Likewise.
92c3af3c 90374
edf66db1 903752011-11-15 Andreas Schwab <schwab@redhat.com>
92c3af3c 90376
edf66db1
SP
90377 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90378 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90379 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90380 (SYSCALL_GETTIME): Set errno on error.
92c3af3c 90381
edf66db1
SP
90382 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90383 count references to noai6ai_cached.
92c3af3c 90384
edf66db1 903852011-11-15 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90386
edf66db1 90387 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
92c3af3c 90388
edf66db1
SP
90389 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90390 FD_CLOEXEC for /proc/self/maps.
92c3af3c 90391
edf66db1
SP
90392 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90393 FD_CLOEXEC for /proc/meminfo.
92c3af3c 90394
edf66db1
SP
90395 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90396 gai.conf.
92c3af3c 90397
edf66db1
SP
90398 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
90399 FD_CLOEXEC for given file.
92c3af3c 90400
edf66db1 90401 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
92c3af3c 90402
edf66db1
SP
90403 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90404 FD_CLOEXEC for /etc/hosts.
90405 (_gethtent): Likewise.
92c3af3c 90406
edf66db1 90407 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
92c3af3c 90408
edf66db1
SP
90409 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90410 cancellation and set FD_CLOEXEC for /etc/netgroup.
92c3af3c 90411
edf66db1
SP
90412 * nss/nss_files/files-key.c (search): Don't allow cancellation when
90413 reading /etc/publickey.
92c3af3c 90414
edf66db1
SP
90415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90416 allow cancellation when reading /etc/group.
92c3af3c 90417
edf66db1
SP
90418 * nss/nss_files/files-alias.c (internal_setent): Don't allow
90419 cancellation.
90420 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
92c3af3c 90421
edf66db1
SP
90422 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90423 when using data file.
92c3af3c 90424
edf66db1 90425 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
92c3af3c 90426
edf66db1
SP
90427 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90428 (write_nis_obj): Use "c" and "e" in fopen.
92c3af3c 90429
edf66db1 90430 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
92c3af3c 90431
edf66db1 90432 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
92c3af3c 90433
edf66db1 90434 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
92c3af3c 90435
edf66db1 90436 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
92c3af3c 90437
edf66db1
SP
90438 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90439 locale.alias.
92c3af3c 90440
edf66db1 90441 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
92c3af3c 90442
edf66db1 90443 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
92c3af3c 90444
edf66db1 90445 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
92c3af3c 90446
edf66db1
SP
90447 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90448 file parsing and set FD_CLOEXEC.
92c3af3c 90449
edf66db1 904502011-11-14 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90451
edf66db1 90452 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
92c3af3c 90453
edf66db1 904542011-11-14 Andreas Schwab <schwab@redhat.com>
92c3af3c 90455
edf66db1
SP
90456 * malloc/arena.c (arena_get2): Don't call reused_arena when
90457 _int_new_arena failed.
92c3af3c 90458
edf66db1 904592011-11-14 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90460
edf66db1
SP
90461 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90462 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90463 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90465 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90466 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90467 to compile strcasecmp and strncasecmp.
90468 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90469 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90470
90471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90472
904732011-11-13 Ulrich Drepper <drepper@gmail.com>
90474
90475 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90476 locale-defines.sym to gen-as-const-headers.
90477 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90478 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90480 to compile strcasecmp and strncasecmp.
90481 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90482 strcasecmp_l and strncasecmp_l.
90483 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90484 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90485 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90486 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90487 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90488 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90489 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90490 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90491 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90492 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90493 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90494
904952011-11-12 Ulrich Drepper <drepper@gmail.com>
90496
90497 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90498 result of SYSDEP_GETTIME_CPU to retval.
90499 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90500 parameter list to macro. Remove trailing semicolon. Adjust users.
90501
90502 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90503 variable.
92c3af3c 90504
edf66db1
SP
90505 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90506 mantissa words.
90507 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
92c3af3c 90508
edf66db1
SP
90509 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90510 from unused variable.
92c3af3c 90511
edf66db1
SP
90512 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90513 DWARF definitions.
90514 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90515 for assembling.
92c3af3c 90516
edf66db1
SP
90517 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90518 over namespaces.
92c3af3c 90519
edf66db1 90520 * sunrpc/rpc_prot.c (rejected): Fix case value.
92c3af3c 90521
edf66db1
SP
90522 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90523 unsigned long long int to avoid warnings in shift.
92c3af3c 90524
edf66db1
SP
90525 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90526 of use of trans.
90527 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90528 variable tmp.
92c3af3c 90529
edf66db1
SP
90530 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90531 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90532 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
92c3af3c 90533
edf66db1
SP
90534 * nis/nis_table.c (nis_list): Use variable of correct type for
90535 result of __follow_path call.
92c3af3c 90536
edf66db1 905372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 90538
edf66db1
SP
90539 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90540 of math functions ceil, trunc, floor, round, and sqrt, when
90541 avaliable on the platform.
90542 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90543 name clash.
90544 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90545 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90546 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
92c3af3c 90547
edf66db1 905482011-10-30 Marek Polacek <mpolacek@redhat.com>
92c3af3c 90549
edf66db1
SP
90550 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90551 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
92c3af3c 90552
edf66db1 905532011-11-11 Roland McGrath <roland@hack.frob.com>
92c3af3c 90554
edf66db1
SP
90555 * include/unistd.h: Fix __readlink return type.
90556 Reported by Chris Metcalf <cmetcalf@tilera.com>.
92c3af3c 90557
edf66db1 905582011-11-11 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90559
edf66db1 90560 * stdlib/ucontext.h: Undo last change for makecontext.
92c3af3c 90561
edf66db1 905622011-11-11 Andreas Schwab <schwab@redhat.com>
92c3af3c 90563
edf66db1 90564 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
92c3af3c 90565
edf66db1
SP
90566 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90567 * setjmp/setjmp.h: Mark functions as non-leaf.
90568 * setjmp/bits/setjmp2.h: Likewise.
90569 * stdlib/ucontext.h: Likewise.
92c3af3c 90570
edf66db1 905712011-11-10 Andreas Schwab <schwab@redhat.com>
92c3af3c 90572
edf66db1
SP
90573 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90574 (reused_arena): Don't check arena limit.
90575 (arena_get2): Atomically check arena limit.
92c3af3c 90576
edf66db1 905772011-11-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90578
edf66db1
SP
90579 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90580 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
92c3af3c 90581
edf66db1
SP
90582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90583 instructions.
92c3af3c 90584
edf66db1 905852011-11-07 Andreas Schwab <schwab@redhat.com>
92c3af3c 90586
edf66db1
SP
90587 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90588 handler when locking.
92c3af3c 90589
edf66db1
SP
90590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90591 Fix size of allocated buffer.
92c3af3c 90592
edf66db1 905932011-11-04 Andreas Schwab <schwab@redhat.com>
92c3af3c 90594
edf66db1
SP
90595 [BZ #10103]
90596 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90597 declarations for long double functions.
90598 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
92c3af3c 90599
edf66db1 90600 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
92c3af3c 90601
edf66db1 906022011-11-03 Andreas Schwab <schwab@redhat.com>
92c3af3c 90603
edf66db1
SP
90604 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90605 installed.
92c3af3c 90606
edf66db1
SP
90607 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90608 is disabled.
92c3af3c 90609
edf66db1 906102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 90611
edf66db1 90612 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
92c3af3c 90613
edf66db1 906142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 90615
edf66db1
SP
90616 * include/alloca.h (stackinfo_alloca_round): Define.
90617 (extend_alloca): Use it.
90618 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90619 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90620 here.
92c3af3c 90621
edf66db1 90622 * scripts/check-local-headers.sh: Ignore libaudit.h.
92c3af3c 90623
edf66db1 90624 * nscd/Makefile (extra-objs): Make recursively expanded.
92c3af3c 90625
edf66db1 906262011-11-01 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90627
edf66db1
SP
90628 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90629 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
92c3af3c 90630
edf66db1
SP
90631 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90632 * posix/tst-rfc3484-2.c: Likewise.
90633 * posix/tst-rfc3484-3.c: Likewise.
92c3af3c 90634
edf66db1
SP
90635 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90636 process_vm_writev.
90637 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90638 process_vm_writev.
90639 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90640 process_vm_writev from libc using GLIBC_2.15 version.
92c3af3c 90641
edf66db1 90642 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
92c3af3c 90643
edf66db1 906442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
92c3af3c 90645
edf66db1
SP
90646 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90647 stack usage.
92c3af3c 90648
edf66db1 906492011-10-31 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90650
edf66db1
SP
90651 [BZ #13367]
90652 * nss/getent.c (initgroups_keys): Show error message in case no group
90653 names are given.
92c3af3c 90654
edf66db1
SP
90655 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90656 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90657 __bump_nl_timestamp.
90658 * nscd/connections (nscd_init): When host database is served open
90659 netlink socket and request notification about configuration changes.
90660 (main_loop_poll): Track netlink file descriptor and bump timestamp
90661 in case data becomes available.
90662 (main_loop_epoll): Likewise.
90663 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90664 (database_pers_head): Add extra_data fileds.
90665 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90666 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90667 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90668 Adjust caller.
90669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90670 in6ai data, call __free_in6ai.
90671 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90672 Add -DHAVE_NETLINK.
90673 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90674 interface information. Reuse previous data if netlink timestamp
90675 is not changed.
90676 (__bump_nl_timestamp): New function.
90677 (__free_in6ai): New function.
92c3af3c 90678
edf66db1 906792011-10-30 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90680
edf66db1
SP
90681 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90682 close_not_cancel_no_status here.
90683 (__check_pf): Reorganize code a bit to not call close twice if OOM.
92c3af3c 90684
edf66db1 906852011-10-29 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90686
edf66db1
SP
90687 [BZ #13276]
90688 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90689 return value.
92c3af3c 90690
edf66db1
SP
90691 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90692 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90693 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
92c3af3c 90694
edf66db1 906952011-07-03 Andreas Jaeger <aj@suse.de>
92c3af3c 90696
edf66db1
SP
90697 [BZ #10709]
90698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90699 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90700 * math/libm-test.inc (sin_test): Add test case.
92c3af3c 90701
edf66db1 907022011-10-29 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90703
edf66db1
SP
90704 [BZ #13337]
90705 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90706 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
92c3af3c 90707
edf66db1 90708 * elf/chroot_canon.c (chroot_canon): Cleanups.
92c3af3c 90709
edf66db1 90710 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
92c3af3c 90711
edf66db1
SP
90712 [BZ #13335]
90713 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90714 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
92c3af3c 90715
edf66db1
SP
90716 * string/test-strchr.c: Make usable for strchrnul testing.
90717 * string/test-strchrnul.c: New file.
90718 * string/Makefile (strop-tests): Add strchrnul.
92c3af3c 90719
edf66db1
SP
90720 * po/it.po: Update from translation team.
90721 * po/es.po: Likewise.
92c3af3c 90722
edf66db1
SP
907232011-10-28 Ulrich Drepper <drepper@gmail.com>
90724
90725 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90726 the three constants needed as parameters. Drop the others.
90727 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90728 __m128i_strloadu_tolower.
90729 Create and initialize variable zero and use it in all the places
90730 where _mm_setzero_si128 was used.
90731
90732 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90733 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90734 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90735 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90736 anymore.
90737 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90738 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90739 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90740 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90741 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90742 __mpranred, __mptan.
90743 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90744 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90745 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90746 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90747 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90748 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90749 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90750 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90751 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90752
907532011-10-28 Andreas Schwab <schwab@redhat.com>
90754
90755 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90756 redefine if SHARED.
90757 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90758
90759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90760 wide char related routines to wcsmbs subdir.
90761
907622011-10-27 Andreas Schwab <schwab@redhat.com>
90763
90764 [BZ #13344]
90765 * misc/sys/cdefs.h (__THROWNL): Define.
90766 * posix/unistd.h: Use __THREADNL instead of __THREAD
90767 for memory synchronization functions.
90768
907692011-10-26 Roland McGrath <roland@hack.frob.com>
90770
90771 [BZ #13349]
90772 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90773 doesn't exist.
90774 * manual/stdio.texi (Obstack Streams): Node removed.
90775
907762011-10-26 Andreas Schwab <schwab@redhat.com>
90777
90778 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90779 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90780 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90781
90782 * math/math_private.h (math_force_eval): Allow non-addressable
90783 arguments.
90784 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90785
907862011-10-25 Ulrich Drepper <drepper@gmail.com>
90787
90788 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90789 file is not needed.
90790
90791 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90792 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90794 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90798 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90799 Add AVX variants.
90800 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90801 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90802 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90803 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90804 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90805 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90806 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90807 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90810 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90811 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90812 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90813 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90814 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90815 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90816 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90817 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90818 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90819
90820 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90821 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90822
90823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90824 place. Use VEX encoding when compiling for AVX.
90825
908262011-10-25 Andreas Schwab <schwab@redhat.com>
90827
90828 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90829 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90830
90831 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90832
908332011-10-25 Ulrich Drepper <drepper@gmail.com>
90834
90835 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90836 useless if() expression.
90837 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90838 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90839 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90841 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90842 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90843 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90845 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90846 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90847 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90848 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90849 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90850 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90851 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90852 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90854 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90855 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90856
90857 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90858
908592011-10-25 Andreas Schwab <schwab@redhat.com>
90860
90861 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90862 condition.
90863 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90864
908652011-10-25 Ulrich Drepper <drepper@gmail.com>
90866
90867 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90868 .text section. Avoid duplicate constants.
90869 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90873 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90877 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90878 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90879 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90880 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90881 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90882 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90883 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90884 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90885 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90886 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90889 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90890 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90891 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90892 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90893 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90894 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90895 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90896 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90897 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90898 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90900 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90901 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90905 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90907 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90909 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90910 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90911 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90912 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90913 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90914
909152011-10-24 Ulrich Drepper <drepper@gmail.com>
90916
90917 * sysdeps/x86_64/dla.h: Move to ...
90918 * sysdeps/x86_64/fpu/dla.h: ...here.
90919 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90920 situations. Use __builtin_fma only for gcc 4.6 and up.
90921
90922 * config.make.in: Add have-mfma4 entry.
90923 * configure.in: Substitute libc_cv_cc_fma4.
90924 * math/Makefile (dbl-only-routines): Add sincostab.
90925 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90926 Use __sincostab not sincos.
90927 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90928 name is a macro.
90929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90930 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90931 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90933 using __copysign.
90934 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90935 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90936 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90937 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90938 and __inv.
90939 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90940 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90941 __copysign.
90942 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90943 define aliases when function name is a macro.
90944 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90945 sysdeps/ieee754/dbl-64/sincos.tbl.
90946 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90947 fma4-enabled routines.
90948 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90949 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90950 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90951 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90952 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90953 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90955 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90957 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90958 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90959 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90960 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90970 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90971 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90973 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90974 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90975 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90977 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90978
90979 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90980 rename.
90981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90983 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90986 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90987 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
92c3af3c 90989
edf66db1 909902011-10-24 Andreas Schwab <schwab@redhat.com>
92c3af3c 90991
edf66db1 90992 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
92c3af3c 90993
edf66db1 909942011-10-23 Ulrich Drepper <drepper@gmail.com>
92c3af3c 90995
edf66db1 90996 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
92c3af3c 90997
edf66db1
SP
90998 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90999 prediction.
91000 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
92c3af3c 91001
edf66db1
SP
91002 * string/strnlen.c: Don't define STRNLEN, reverse logic.
91003 Remove unused variable magic_bits.
91004 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
92c3af3c 91005
edf66db1
SP
91006 * string/strnlen.c: Define and use STRNLEN macro.
91007 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
91008 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
91009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
91010 * wcsmbs/wcslen.c: Define and use WCSLEN.
91011 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
91012 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
91013 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
91014 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
91015 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
91016 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
91017 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
92c3af3c 91018
edf66db1 910192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 91020
edf66db1
SP
91021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91022 strnlen-sse2-no-bsf.
91023 Rename strlen-no-bsf to strlen-sse2-no-bsf.
91024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
91025 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
91026 Add strnlen support.
91027 (USE_AS_STRNLEN): New macro.
91028 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
91029 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
91030 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
91031 * sysdeps/x86_64/wcslen.S: New file.
91032
910332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
91034
91035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
91036 XMM-moves are used for copying on small sizes.
91037
910382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91039
91040 * wcsmbs/Makefile (strop-tests): Add wcschr.
91041 * wcsmbs/test-wcschr.c: New file.
91042 * string/test-strchr.c: Update.
91043 Add wcschr support.
91044 (WIDE): New macro.
91045
910462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91047
91048 * wcsmbs/Makefile (strop-tests): Add wcslen.
91049 * wcsmbs/test-wcslen.c: New file.
91050 * string/test-strlen.c: Update.
91051 Add wcslen support.
91052 (WIDE): New macro.
91053
910542011-10-23 Ulrich Drepper <drepper@gmail.com>
91055
91056 * po/it.po: Update from translation team.
91057
910582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91059
91060 * sysdeps/x86_64/wcscmp.S: Update.
91061 Fix wrong comparison semantics.
91062 wcscmp shall use signed comparison not unsigned.
91063 Don't use substraction to avoid overflow bug.
91064 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
91065 * wcsmbc/wcscmp.c: Likewise.
91066 * string/test-strcmp.c: Likewise.
91067 Add new tests to check cases with negative values.
91068
910692011-10-23 Ulrich Drepper <drepper@gmail.com>
91070
91071 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
91072 * sysdeps/x86_64/dla.h: ...here. New file.
91073 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
91074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91078 * sysdeps/ieee754/dbl-64/e_sqrt.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.
92c3af3c 91082
edf66db1 910832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 91084
edf66db1
SP
91085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
91086 __ynl_finite aliases.
92c3af3c 91087
edf66db1 910882011-10-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 91089
edf66db1 91090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
92c3af3c 91091
edf66db1
SP
91092 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
91093 define DLA_FMA.
91094 [DLA_FMA] (EMULV): Use DLA_FMA.
91095 [DLA_FMA] (MUL12): Use EMULV.
91096 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
91097 that are not needed.
91098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
92c3af3c 91105
edf66db1
SP
911062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
91107
91108 * math/s_nan.c: Undef __nan.
91109 * math/s_nanf.c: Undef __nanf.
91110 * math/s_nanl.c: Undef __nanl.
91111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
91112 "math_private.h".
91113
911142011-10-22 Ulrich Drepper <drepper@gmail.com>
91115
91116 * math/s_catan.c: Add branch predictions.
91117 * math/s_catanf.c: Likewise.
91118 * math/s_catanh.c: Likewise.
91119 * math/s_catanhf.c: Likewise.
91120 * math/s_catanhl.c: Likewise.
91121 * math/s_catanl.c: Likewise.
91122 * math/s_cexp.c: Likewise.
91123 * math/s_cexpf.c: Likewise.
91124 * math/s_cexpl.c: Likewise.
91125 * math/s_clog.c: Likewise.
91126 * math/s_clog10.c: Likewise.
91127 * math/s_clog10f.c: Likewise.
91128 * math/s_clog10l.c: Likewise.
91129 * math/s_clogf.c: Likewise.
91130 * math/s_clogl.c: Likewise.
91131 * math/s_csqrt.c: Likewise.
91132 * math/s_csqrtf.c: Likewise.
91133 * math/s_csqrtl.c: Likewise.
91134 * math/s_ctanf.c: Likewise.
91135 * math/s_ctanh.c: Likewise.
91136 * math/s_ctanhf.c: Likewise.
91137 * math/s_ctanhl.c: Likewise.
91138 * math/s_ctanl.c: Likewise.
91139
91140 * math/math_private.h: Define __nan, __nanf, __nanl.
91141 * math/s_cacosh.c: Include <math_private.h>.
91142 * math/s_cacoshl.c: Likewise.
91143 * math/s_casinh.c: Likewise.
91144 * math/s_casinhf.c: Likewise.
91145 * math/s_casinhl.c: Likewise.
91146 * math/s_ccos.c: Rely entire on ccosh.
91147 * math/s_ccosf.c: Rely entire on ccoshf.
91148 * math/s_ccosl.c: Rely entirely on ccoshl.
91149 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
91150 Remove tests for FE_INVALID.
91151 * math/s_ccoshf.c: Likewise.
91152 * math/s_ccoshl.c: Likewise.
91153 * math/s_csin.c: Likewise.
91154 * math/s_csinf.c: Likewise.
91155 * math/s_csinh.c Likewise.
91156 * math/s_csinhf.c: Likewise.
91157 * math/s_csinhl.c: Likewise.
91158 * math/s_csinl.c: Likewise.
91159 * math/s_ctan.c: Likewise.
91160 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
91161 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
91162 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
91163
911642011-10-21 Ulrich Drepper <drepper@gmail.com>
91165
91166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
91167 compilation problems.
91168
91169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
91170 __builtin_expect.
91171
911722011-10-20 Ulrich Drepper <drepper@gmail.com>
91173
91174 * sysdeps/i386/configure.in: Test for -mfma4 option.
91175 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
91176 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
91177 COMMON_CPUID_INDEX_80000001.
91178 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
91179 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
91180 use it if FMA3 is not supported.
91181 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
91182
91183 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
91184 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91185
911862011-10-20 Andreas Schwab <schwab@redhat.com>
91187
91188 [BZ #12892]
91189 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91190 it would create a cycle with a link time dependency.
91191
911922011-10-19 Ulrich Drepper <drepper@gmail.com>
91193
91194 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91195 instruction.
91196 * string/Makefile (strop-tests): Add rawmemchr.
91197 * string/test-rawmemchr.c: New file.
91198
91199 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
91201 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
91202 when compiling str{,n}casecmp and when AVX is available. Hook up
91203 new optimized code in initializers.
91204
912052011-10-19 Andreas Schwab <schwab@redhat.com>
91206
91207 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91208 __feraiseexcept instead of feraiseexcept.
91209
912102011-10-18 Ulrich Drepper <drepper@gmail.com>
91211
91212 * math/math_private.h: Define defaults for libc_fetestexcept and
91213 libc_feupdateenv.
91214 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91215 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91216 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91217 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91218 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91219 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91220 libc_fetestexcept and libc_feupdateenv.
91221
91222 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91223 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91224 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91225 * sysdeps/x86_64/fpu/math_private.h: Define special version of
91226 libc_feholdexcept_setround.
91227
91228 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91229 Add s_nearbyint-c and s_nearbyintf-c.
91230 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91231 nearbyintf inlines.
91232 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91233 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91234 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91235 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91236
91237 * math/math_private.h: Define defaults for libc_fegetround,
91238 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91239 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91240 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91242 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91243 standard functions.
91244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91245 Remove comments and hacks for old compiler versions.
91246 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91247 libc_fegetround, libc_fesetround, libc_feholdexcept, and
91248 libc_feholdexceptl.
91249
912502011-10-18 Andreas Schwab <schwab@redhat.com>
91251
91252 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91253 (__feraiseexcept_renamed): Add __NTH.
91254 (feraiseexcept): Add __NTH. Rename local variables to fix
91255 namespace violations.
91256
912572011-10-17 Ulrich Drepper <drepper@gmail.com>
91258
91259 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91260
91261 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91262
91263 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91264 recently added interfaces.
91265 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
92c3af3c 91266
edf66db1
SP
91267 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91268 about macro parameter expansion.
91269
91270 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91271 __NO_MATH_INLINES is defined. Cleanups.
91272
91273 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91274 and __floorf is target has SSE4.1.
91275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91276 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91277 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91278 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91279
91280 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91281 name.
91282 (floorf): Likewise.
91283
91284 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91285
912862011-10-17 Andreas Schwab <schwab@redhat.com>
91287
91288 * misc/sys/cdefs.h: Fix last change.
91289
91290 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91291 database lookup.
91292
912932011-10-16 Ulrich Drepper <drepper@gmail.com>
91294
91295 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91296
91297 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91298 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91299 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91300 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91301 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91302 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91303 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91305 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91306 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91307 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91308 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91309 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91310 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91311 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91312 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91313 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91314 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91315 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91316 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91317 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91318 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91319
91320 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91321 ceil, ceilf, floor, floorf.
91322
91323 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91324 Perform IRELATIVE relocations last.
91325
91326 * elf/do-rel.h: Add another parameter nrelative, replacing the
91327 local variable with the same name. Change name of the function
91328 to end in Rel or Rela (uppercase).
91329 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91330 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
91331 elf_dynamic_do_##reloc function.
91332
913332011-10-15 Ulrich Drepper <drepper@gmail.com>
91334
91335 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91336 is sufficient, at least on modern CPUs.
91337
91338 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91339
91340 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91341 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91342
91343 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91344 __expl_finite.
91345 * math/bits/math-finite.h: Add entries for exp.
91346 * math/e_expl.c: Add __*_finite alias.
91347 * sysdeps/i386/fpu/e_exp.S: Likewise.
91348 * sysdeps/i386/fpu/e_expf.S: Likewise.
91349 * sysdeps/i386/fpu/e_expl.c: Likewise.
91350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91351 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91352 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91353 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91354 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91355 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91356 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
92c3af3c 91357
edf66db1
SP
91358 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91359 is sufficient, at least on modern CPUs.
92c3af3c 91360
edf66db1
SP
91361 * ctype/ctype-info.c (__ctype_init): Define.
91362 * include/ctype.h (__ctype_init): Declare.
91363 (__ctype_b_loc): The variable is always initialized.
91364 (__ctype_toupper_loc): Likewise.
91365 (__ctype_tolower_loc): Likewise.
91366 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91367 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
92c3af3c 91368
edf66db1 913692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 91370
edf66db1 91371 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
92c3af3c 91372
edf66db1
SP
91373 * configure.in: Also look in $cxxmachine/include for C++ system
91374 headers.
92c3af3c 91375
edf66db1
SP
913762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91377
91378 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91379 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91380 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91381 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
91382 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91383 (USE_AS_WMEMCMP): New macro.
91384 Fixing indents.
91385 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91386 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91387 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91388 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91390 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91391 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91392 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91393 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91394 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91395 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91396 (USE_AS_WMEMCMP): New macro.
91397 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91398 * sysdeps/string/test-memcmp.c: Update.
91399 Fix simple_wmemcmp.
91400 Add new tests.
91401 * wcsmbs/wmemcmp.c: Update.
91402 (WMEMCMP): New macro.
91403 Fix overflow bug.
92c3af3c 91404
edf66db1 914052011-10-12 Andreas Jaeger <aj@suse.de>
92c3af3c 91406
edf66db1
SP
91407 [BZ #13268]
91408 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
92c3af3c 91409
edf66db1 914102011-10-15 Ulrich Drepper <drepper@gmail.com>
92c3af3c 91411
edf66db1 91412 * libio/iofwide.c (do_length): Avoid warning.
92c3af3c 91413
edf66db1 91414 * ctype/ctype.h (__isctype_f): Add missing __THROW.
92c3af3c 91415
edf66db1 914162011-10-14 Ulrich Drepper <drepper@gmail.com>
92c3af3c 91417
edf66db1 91418 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
92c3af3c 91419
edf66db1
SP
91420 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91421 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91422 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91423 * sysdeps/i386/i686/fpu/e_log.S: New file.
91424 * sysdeps/i386/i686/fpu/e_logf.S: New file.
91425 * sysdeps/i386/i686/fpu/e_logl.S: New file.
92c3af3c 91426
edf66db1
SP
91427 * ctype/ctype.h: Add support for inlined isXXX functions when
91428 compiling C++ code.
92c3af3c 91429
edf66db1 914302011-10-14 Andreas Schwab <schwab@redhat.com>
92c3af3c 91431
edf66db1 91432 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92c3af3c 91433
edf66db1 91434 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
92c3af3c 91435
edf66db1 914362011-10-13 Roland McGrath <roland@hack.frob.com>
92c3af3c 91437
edf66db1
SP
91438 [BZ #13291]
91439 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
92c3af3c 91440
edf66db1 914412011-10-13 Andreas Schwab <schwab@redhat.com>
92c3af3c 91442
edf66db1
SP
91443 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91444 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91445 feraiseexcept.
92c3af3c 91446
edf66db1 91447 * sysdeps/x86_64/memrchr.S: Check for zero size.
92c3af3c 91448
edf66db1 91449 * string/stratcliff.c: Add memrchr tests.
92c3af3c 91450
edf66db1 914512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 91452
edf66db1
SP
91453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91454 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91455 rawmemchr-sse2 rawmemchr-sse2-bsf.
91456 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91457 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91458 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91459 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91460 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91461 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91462 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91463 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91464 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91465 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91466 * string/memrchr.c (MEMRCHR): New macro.
91467
914682011-10-12 Ulrich Drepper <drepper@gmail.com>
91469
91470 Add integration with gcc's -ffinite-math-only and optimize wrapper
91471 functions in libm.
91472 * Versions.def: Define GLIBC_2.15 version for libm.
91473 * math/Makefile (headers): Add bits/math-finite.h.
91474 * math/bits/math-finite.h: New file.
91475 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91476 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91477 * math/e_acoshl.c: Add __*_finite alias.
91478 * math/e_acosl.c: Likewise.
91479 * math/e_asinl.c: Likewise.
91480 * math/e_atan2l.c: Likewise.
91481 * math/e_atanhl.c: Likewise.
91482 * math/e_coshl.c: Likewise.
91483 * math/e_exp10.c: Likewise.
91484 * math/e_exp10f.c: Likewise.
91485 * math/e_exp10l.c: Likewise.
91486 * math/e_exp2l.c: Likewise.
91487 * math/e_fmodl.c: Likewise.
91488 * math/e_gammal_r.c: Likewise.
91489 * math/e_hypotl.c: Likewise.
91490 * math/e_j0l.c: Likewise.
91491 * math/e_j1l.c: Likewise.
91492 * math/e_jnl.c: Likewise.
91493 * math/e_lgammal_r.c: Likewise.
91494 * math/e_log10l.c: Likewise.
91495 * math/e_log2l.c: Likewise.
91496 * math/e_logl.c: Likewise.
91497 * math/e_powl.c: Likewise.
91498 * math/e_sinhl.c: Likewise.
91499 * math/e_sqrtl.c: Likewise.
91500 * math/e_scalb.c: Completely rewritten and optimized.
91501 * math/e_scalbf.c: Likewise.
91502 * math/e_scalbl.c: Likewise.
91503 * math/w_acos.c: Likewise.
91504 * math/w_acosf.c: Likewise.
91505 * math/w_acosl.c: Likewise.
91506 * math/w_acosh.c: Likewise.
91507 * math/w_acoshf.c: Likewise.
91508 * math/w_acoshl.c: Likewise.
91509 * math/w_asin.c: Likewise.
91510 * math/w_asinf.c: Likewise.
91511 * math/w_asinl.c: Likewise.
91512 * math/w_atan2.c: Likewise.
91513 * math/w_atan2f.c: Likewise.
91514 * math/w_atan2l.c: Likewise.
91515 * math/w_atanh.c: Likewise.
91516 * math/w_atanhf.c: Likewise.
91517 * math/w_atanhl.c: Likewise.
91518 * math/w_exp10.c: Likewise.
91519 * math/w_exp10f.c: Likewise.
91520 * math/w_exp10l.c: Likewise.
91521 * math/w_fmod.c: Likewise.
91522 * math/w_fmodf.c: Likewise.
91523 * math/w_fmodl.c: Likewise.
91524 * math/w_j0.c: Likewise.
91525 * math/w_j0f.c: Likewise.
91526 * math/w_j0l.c: Likewise.
91527 * math/w_j1.c: Likewise.
91528 * math/w_j1f.c: Likewise.
91529 * math/w_j1l.c: Likewise.
91530 * math/w_jn.c: Likewise.
91531 * math/w_jnf.c: Likewise.
91532 * math/w_log.c: Likewise.
91533 * math/w_logf.c: Likewise.
91534 * math/w_logl.c: Likewise.
91535 * math/w_log10.c: Likewise.
91536 * math/w_log10f.c: Likewise.
91537 * math/w_log10l.c: Likewise.
91538 * math/w_log2.c: Likewise.
91539 * math/w_log2f.c: Likewise.
91540 * math/w_log2l.c: Likewise.
91541 * math/w_pow.c: Likewise.
91542 * math/w_powf.c: Likewise.
91543 * math/w_powl.c: Likewise.
91544 * math/w_remainder.c: Likewise.
91545 * math/w_remainderf.c: Likewise.
91546 * math/w_remainderl.c: Likewise.
91547 * math/w_scalb.c: Likewise.
91548 * math/w_scalbf.c: Likewise.
91549 * math/w_scalbl.c: Likewise.
91550 * math/w_sqrt.c: Likewise.
91551 * math/w_sqrtf.c: Likewise.
91552 * math/w_sqrtl.c: Likewise.
91553 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91554 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91555 used.
91556 * math/math_private.h: Declare __kernel_standard_f.
91557 * math/w_cosh.c: Remove cruft and optimize a bit.
91558 * math/w_coshf.c: Likewise.
91559 * math/w_coshl.c: Likewise.
91560 * math/w_exp2.c: Likewise.
91561 * math/w_exp2f.c: Likewise.
91562 * math/w_exp2l.c: Likewise.
91563 * math/w_hypot.c: Likewise.
91564 * math/w_hypotf.c: Likewise.
91565 * math/w_hypotl.c: Likewise.
91566 * math/w_lgamma.c: Likewise.
91567 * math/w_lgamma_r.c: Likewise.
91568 * math/w_lgammaf.c: Likewise.
91569 * math/w_lgammaf_r.c: Likewise.
91570 * math/w_lgammal.c: Likewise.
91571 * math/w_lgammal_r.c: Likewise.
91572 * math/w_sinh.c: Likewise.
91573 * math/w_sinhf.c: Likewise.
91574 * math/w_sinhl.c: Likewise.
91575 * math/w_tgamma.c: Likewise.
91576 * math/w_tgammaf.c: Likewise.
91577 * math/w_tgammal.c: Likewise.
91578 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91579 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91580 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91581 Minor optimizations. Pretty printing. Remove cruft.
91582 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91583 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91584 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91585 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91586 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91587 * sysdeps/i386/fpu/e_asin.S: Likewise.
91588 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91589 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91590 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91591 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91592 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91593 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91594 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91595 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91596 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91597 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91598 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91599 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91600 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91601 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91602 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91603 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91604 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91605 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91606 * sysdeps/i386/fpu/e_log.S: Likewise.
91607 * sysdeps/i386/fpu/e_log10.S: Likewise.
91608 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91609 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91610 * sysdeps/i386/fpu/e_log2.S: Likewise.
91611 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91612 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91613 * sysdeps/i386/fpu/e_logf.S: Likewise.
91614 * sysdeps/i386/fpu/e_logl.S: Likewise.
91615 * sysdeps/i386/fpu/e_pow.S: Likewise.
91616 * sysdeps/i386/fpu/e_powf.S: Likewise.
91617 * sysdeps/i386/fpu/e_powl.S: Likewise.
91618 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91619 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91620 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91621 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91622 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91623 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91624 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91625 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91626 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91627 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91628 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91630 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91631 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91632 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91633 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91635 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91636 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91637 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91638 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91641 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91643 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91644 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91645 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91647 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91648 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91649 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91650 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91651 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91652 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91653 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91654 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91655 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91656 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91657 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91658 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91661 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91662 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91663 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91664 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91665 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91666 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91667 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91668 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91669 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91670 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91671 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91672 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91673 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91674 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91675 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91676 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91677 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91678 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91679 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91680 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91681 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91682 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91683 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91684 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91685 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91686 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91687 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91695 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91701 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91702 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91703 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91704 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91705 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91706 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91707 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91708 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91710 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91711 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91712 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91713 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91714 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91715 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91716 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91717 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91718 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91719 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91720 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91721 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91722 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91723 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91724 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91725 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91726 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91727 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91728 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91729 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91730 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91731 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91732 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91733 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91735 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91736 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91737 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91738 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91739 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91740 (__isnanf): Likewise.
91741 (__isinf_ns): Likewise.
91742 (__isinf_nsf): Likewise.
91743 (__finite): Likewise.
91744 (__finitef): Likewise.
91745 (__ieee754_sqrt): Define as macro.
91746 (__ieee754_sqrtf): Define as macro.
91747 (__ieee754_sqrtl): Define as macro.
91748 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91749 inlined copy.
91750 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91751 __FINITE_MATH_ONLY__ consistent.
91752 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91753
917542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91755
91756 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91757 of rawmemchr.
91758
91759 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91760
917612011-10-09 Ulrich Drepper <drepper@gmail.com>
91762
91763 * po/ja.po: Update from translation team.
91764
917652011-10-08 Roland McGrath <roland@hack.frob.com>
91766
91767 * locale/programs/locarchive.c (prepare_address_space): New function.
91768 (create_archive, enlarge_archive, open_archive): Use it.
91769
91770 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91771 inside [SHARED], where it is used.
91772
91773 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91774
91775 * nss/getent.c (netgroup_keys): Remove unused variable.
91776 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91777
917782011-10-08 Ulrich Drepper <drepper@gmail.com>
91779
91780 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91781 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91783 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91784 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91785 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91786 * math/Makefile (libm-calls): Add s_isinf_ns.
91787 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91788 * math/multc3.c: Likewise.
91789 * math/s_casin.c: Likewise.
91790 * math/s_casinf.c: Likewise.
91791 * math/s_casinl.c: Likewise.
91792 * math/s_ccos.c: Likewise.
91793 * math/s_ccosf.c: Likewise.
91794 * math/s_ccosl.c: Likewise.
91795 * math/s_ctan.c: Likewise.
91796 * math/s_ctanf.c: Likewise.
91797 * math/s_ctanh.c: Likewise.
91798 * math/s_ctanhf.c: Likewise.
91799 * math/s_ctanhl.c: Likewise.
91800 * math/s_ctanl.c: Likewise.
91801 * math/w_fmod.c: Likewise.
91802 * math/w_fmodf.c: Likewise.
91803 * math/w_fmodl.c: Likewise.
91804 * math/w_remainder.c: Likewise.
91805 * math/w_remainderf.c: Likewise.
91806 * math/w_remainderl.c: Likewise.
91807 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91808 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91809 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91811 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91812 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91813 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91814 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91815
91816 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91817 of the number.
91818 * stdio-common/printf_fphex.c: Likewise.
91819 * stdio-common/printf_size.c: Likewise.
91820
91821 * math/e_exp10.c: Include math_private.h using <...> not "...".
91822 * math/e_exp10f.c: Likewise.
91823 * math/e_exp10l.c: Likewise.
91824 * math/e_exp2l.c: Likewise.
91825 * math/e_j0l.c: Likewise.
91826 * math/e_j1l.c: Likewise.
91827 * math/e_jnl.c: Likewise.
91828 * math/e_lgammal_r.c: Likewise.
91829 * math/e_rem_pio2l.c: Likewise.
91830 * math/e_scalb.c: Likewise.
91831 * math/e_scalbf.c: Likewise.
91832 * math/e_scalbl.c: Likewise.
91833 * math/k_cosl.c: Likewise.
91834 * math/k_sinl.c: Likewise.
91835 * math/k_tanl.c: Likewise.
91836 * math/s_cacoshf.c: Likewise.
91837 * math/s_catan.c: Likewise.
91838 * math/s_catanf.c: Likewise.
91839 * math/s_catanh.c: Likewise.
91840 * math/s_catanhf.c: Likewise.
91841 * math/s_catanhl.c: Likewise.
91842 * math/s_catanl.c: Likewise.
91843 * math/s_ccosh.c: Likewise.
91844 * math/s_ccoshf.c: Likewise.
91845 * math/s_ccoshl.c: Likewise.
91846 * math/s_cexp.c: Likewise.
91847 * math/s_cexpf.c: Likewise.
91848 * math/s_cexpl.c: Likewise.
91849 * math/s_clog.c: Likewise.
91850 * math/s_clog10.c: Likewise.
91851 * math/s_clog10f.c: Likewise.
91852 * math/s_clog10l.c: Likewise.
91853 * math/s_clogf.c: Likewise.
91854 * math/s_clogl.c: Likewise.
91855 * math/s_csin.c: Likewise.
91856 * math/s_csinf.c: Likewise.
91857 * math/s_csinh.c: Likewise.
91858 * math/s_csinhf.c: Likewise.
91859 * math/s_csinhl.c: Likewise.
91860 * math/s_csinl.c: Likewise.
91861 * math/s_csqrt.c: Likewise.
91862 * math/s_csqrtf.c: Likewise.
91863 * math/s_csqrtl.c: Likewise.
91864 * math/s_ctan.c: Likewise.
91865 * math/s_ctanf.c: Likewise.
91866 * math/s_ctanh.c: Likewise.
91867 * math/s_ctanhf.c: Likewise.
91868 * math/s_ctanhl.c: Likewise.
91869 * math/s_ctanl.c: Likewise.
91870 * math/s_ldexp.c: Likewise.
91871 * math/s_ldexpf.c: Likewise.
91872 * math/s_ldexpl.c: Likewise.
91873 * math/s_significand.c: Likewise.
91874 * math/s_significandf.c: Likewise.
91875 * math/s_significandl.c: Likewise.
91876 * math/w_acos.c: Likewise.
91877 * math/w_acosf.c: Likewise.
91878 * math/w_acosh.c: Likewise.
91879 * math/w_acoshf.c: Likewise.
91880 * math/w_acoshl.c: Likewise.
91881 * math/w_acosl.c: Likewise.
91882 * math/w_asin.c: Likewise.
91883 * math/w_asinf.c: Likewise.
91884 * math/w_asinl.c: Likewise.
91885 * math/w_atan2.c: Likewise.
91886 * math/w_atan2f.c: Likewise.
91887 * math/w_atan2l.c: Likewise.
91888 * math/w_atanh.c: Likewise.
91889 * math/w_atanhf.c: Likewise.
91890 * math/w_atanhl.c: Likewise.
91891 * math/w_cosh.c: Likewise.
91892 * math/w_coshf.c: Likewise.
91893 * math/w_coshl.c: Likewise.
91894 * math/w_dremf.c: Likewise.
91895 * math/w_exp10.c: Likewise.
91896 * math/w_exp10f.c: Likewise.
91897 * math/w_exp10l.c: Likewise.
91898 * math/w_exp2.c: Likewise.
91899 * math/w_exp2f.c: Likewise.
91900 * math/w_fmod.c: Likewise.
91901 * math/w_fmodf.c: Likewise.
91902 * math/w_fmodl.c: Likewise.
91903 * math/w_hypot.c: Likewise.
91904 * math/w_hypotf.c: Likewise.
91905 * math/w_hypotl.c: Likewise.
91906 * math/w_j0.c: Likewise.
91907 * math/w_j0f.c: Likewise.
91908 * math/w_j0l.c: Likewise.
91909 * math/w_j1.c: Likewise.
91910 * math/w_j1f.c: Likewise.
91911 * math/w_j1l.c: Likewise.
91912 * math/w_jn.c: Likewise.
91913 * math/w_jnf.c: Likewise.
91914 * math/w_jnl.c: Likewise.
91915 * math/w_lgamma.c: Likewise.
91916 * math/w_lgamma_r.c: Likewise.
91917 * math/w_lgammaf.c: Likewise.
91918 * math/w_lgammaf_r.c: Likewise.
91919 * math/w_lgammal.c: Likewise.
91920 * math/w_lgammal_r.c: Likewise.
91921 * math/w_log.c: Likewise.
91922 * math/w_log10.c: Likewise.
91923 * math/w_log10f.c: Likewise.
91924 * math/w_log10l.c: Likewise.
91925 * math/w_log2.c: Likewise.
91926 * math/w_log2f.c: Likewise.
91927 * math/w_log2l.c: Likewise.
91928 * math/w_logf.c: Likewise.
91929 * math/w_logl.c: Likewise.
91930 * math/w_pow.c: Likewise.
91931 * math/w_powf.c: Likewise.
91932 * math/w_powl.c: Likewise.
91933 * math/w_remainder.c: Likewise.
91934 * math/w_remainderf.c: Likewise.
91935 * math/w_remainderl.c: Likewise.
91936 * math/w_scalb.c: Likewise.
91937 * math/w_scalbf.c: Likewise.
91938 * math/w_scalbl.c: Likewise.
91939 * math/w_sinh.c: Likewise.
91940 * math/w_sinhf.c: Likewise.
91941 * math/w_sinhl.c: Likewise.
91942 * math/w_sqrt.c: Likewise.
91943 * math/w_sqrtf.c: Likewise.
91944 * math/w_sqrtl.c: Likewise.
91945 * math/w_tgamma.c: Likewise.
91946 * math/w_tgammaf.c: Likewise.
91947 * math/w_tgammal.c: Likewise.
91948
91949 * po/ja.po: Update from translation team.
91950
919512011-09-29 Andreas Jaeger <aj@suse.de>
91952
91953 [BZ #13179]
91954 * sunrpc/netname.c (netname2host): Fix logic.
91955
91956 [BZ #6779]
91957 [BZ #6783]
91958 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91959 correctly.
91960 * math/w_remainder.c (__remainder): Likewise.
91961 * math/w_remainderf.c (__remainderf): Likewise.
91962 * math/libm-test.inc (remainder_test): Add test cases.
91963
919642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91965
91966 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91967 sdiv_qrnnd.
91968
919692011-10-07 Ulrich Drepper <drepper@gmail.com>
91970
91971 * string/test-memcmp.c: Avoid unncessary #defines.
91972 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91973
919742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91975
91976 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91977 Use new sse2 version for core i3 - i7 as it's faster
91978 than sse42 version.
91979 (bit_Prefer_PMINUB_for_stringop): New.
91980 * sysdeps/x86_64/rawmemchr.S: Update.
91981 Replace with faster SSE2 version.
91982 * sysdeps/x86_64/memrchr.S: New file.
91983 * sysdeps/x86_64/memchr.S: Update.
91984 Replace with faster SSE2 version.
91985
919862011-09-12 Marek Polacek <mpolacek@redhat.com>
91987
91988 * elf/dl-load.c (lose): Add cast to avoid warning.
91989
919902011-10-07 Ulrich Drepper <drepper@gmail.com>
92c3af3c 91991
edf66db1 91992 * po/ca.po: Update from translation team.
92c3af3c 91993
edf66db1
SP
91994 * inet/getnetgrent_r.c: Hook up nscd.
91995 * nscd/Makefile (routines): Add nscd_netgroup.
91996 (nscd-modules): Add netgroupcache.
91997 (CFLAGS-netgroupcache.c): Define.
91998 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91999 (cache_search): Add const to second parameter.
92000 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
92001 INNETGR.
92002 (dbs): Add netgrdb entry.
92003 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
92004 (verify_persistent_db): Handle netgrdb.
92005 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
92006 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
92007 GETFDNETGR.
92008 (netgroup_response_header): Define.
92009 (innetgroup_response_header): Define.
92010 (datahead): Add netgroup_response_header and innetgroup_response_header
92011 elements.
92012 * nscd/nscd.conf: Add entries for netgroup cache.
92013 * nscd/nscd.h (dbtype): Add netgrdb.
92014 (_PATH_NSCD_NETGROUP_DB): Define.
92015 (netgroup_iov_disabled): Declare.
92016 (xmalloc, xcalloc, xrealloc): Move declarations here.
92017 (cache_search): Adjust prototype.
92018 Add netgroup-related prototypes.
92019 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
92020 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
92021 (__nscd_innetgr): Declare.
92022 * nscd/selinux.c (perms): Use access_vector_t as element type and
92023 add netgroup-related initializers.
92024 * nscd/netgroupcache.c: New file.
92025 * nscd/nscd_netgroup.c: New file.
92026 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
92027 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
92028 For four parameters use innetgr.
92029 * nss/nss_files/files-init.c: Add definition and callback for netgr.
92030 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
92031 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
92032 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
92033
92034 * nscd/connections.c (register_traced_file): Don't register file
92035 for disabled databases.
92036
920372011-10-06 Ulrich Drepper <drepper@gmail.com>
92038
92039 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
92040
92041 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
92042 from tree and freeing node.
92043
920442011-09-25 Jiri Olsa <jolsa@redhat.com>
92045
92046 * nss/nsswitch.c (__nss_database_lookup): Handle
92047 nss_parse_service_list out of memory case.
92048
920492011-09-15 Jiri Olsa <jolsa@redhat.com>
92050
92051 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
92052 out of memory case.
92053
920542011-10-04 Andreas Schwab <schwab@redhat.com>
92055
92056 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
92057 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
92058 pass it down.
92059 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
92060 elf_machine_rela, elf_machine_lazy_rel.
92061 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
92062 (ELF_DYNAMIC_DO_REL): Likewise.
92063 (ELF_DYNAMIC_DO_RELA): Likewise.
92064 (ELF_DYNAMIC_RELOCATE): Likewise.
92065 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
92066 to ELF_DYNAMIC_DO_REL.
92067 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
92068 (dl_main): In trace mode always set __RTLD_NOIFUNC.
92069 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
92070 elf_machine_rela.
92071 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
92072 skip_ifunc, don't call ifunc function if non-zero.
92073 (elf_machine_rela): Likewise.
92074 (elf_machine_lazy_rel): Likewise.
92075 (elf_machine_lazy_rela): Likewise.
92076 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
92077 (elf_machine_lazy_rel): Likewise.
92078 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
92079 Likewise.
92080 (elf_machine_lazy_rel): Likewise.
92081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92082 Likewise.
92083 (elf_machine_lazy_rel): Likewise.
92084 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
92085 (elf_machine_lazy_rel): Likewise.
92086 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
92087 (elf_machine_lazy_rel): Likewise.
92088 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
92089 (elf_machine_lazy_rel): Likewise.
92090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
92091 (elf_machine_lazy_rel): Likewise.
92092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
92093 (elf_machine_lazy_rel): Likewise.
92094 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
92095 (elf_machine_lazy_rel): Likewise.
92c3af3c 92096
edf66db1 920972011-09-28 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92098
edf66db1
SP
92099 * nss/nss_files/files-init.c (_nss_files_init): Use static
92100 initialization for all the *_traced_file variables.
92c3af3c 92101
edf66db1 921022011-09-28 Andreas Schwab <schwab@redhat.com>
92c3af3c 92103
edf66db1 92104 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92c3af3c 92105
edf66db1 921062011-09-27 Roland McGrath <roland@hack.frob.com>
92c3af3c 92107
edf66db1
SP
92108 [BZ #13226]
92109 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
92110
921112011-09-27 Andreas Schwab <schwab@redhat.com>
92112
92113 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
92114 Reread the line before reparsing it.
92115
921162011-09-26 Andreas Schwab <schwab@redhat.com>
92117
92118 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
92119
921202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
92121 Maxim Kuvyrkov <maxim@codesourcery.com>
92122 Joseph Myers <joseph@codesourcery.com>
92123
92124 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
92125 if needed for __stack_chk_guard.
92126
921272011-09-19 Roland McGrath <roland@hack.frob.com>
92128
92129 * sysdeps/posix/spawni.c (script_execute): Always define it.
92130 It will be optimized away if unused.
92131 (maybe_script_execute): New function.
92132 (__spawni): Call it.
92133
92134 * Makerules: Don't include tls.make.
92135 (config-tls): Always set to thread.
92136 * tls.make.c: File removed.
92137
921382011-09-19 Mike Frysinger <vapier@gentoo.org>
92139
92140 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
92141 * config.make.in (CPPFLAGS-config): New substituted variable.
92142
921432011-09-15 Ulrich Drepper <drepper@gmail.com>
92144
92145 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
92146
92147 [BZ #13192]
92148 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
92149 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
92150
921512011-09-15 Roland McGrath <roland@hack.frob.com>
92152
92153 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
92154 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
92155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92156 (CALL_FAIL): Likewise.
92157 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
92158 (CALL_FAIL): Macro removed.
92159 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
92160
921612011-09-15 Ulrich Drepper <drepper@gmail.com>
92162
92163 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
92164 for __FINITE_MATH_ONLY__ == 1.
92165
921662011-09-15 Andreas Schwab <schwab@redhat.com>
92167
92168 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
92169 __ieee754_sqrt instead of sqrt.
92170 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
92171 __ieee754_sqrtf instead of sqrtf.
92172 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
92173 __floorf instead of floorf.
92174 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
92175 __floorf, __truncf instead of floorf, truncf.
92176
921772011-09-14 Ulrich Drepper <drepper@gmail.com>
92178
92179 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
92180
92181 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
92182 __extern_always_inline.
92183 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
92184 32-bit.
92185
921862011-09-14 Andreas Schwab <schwab@redhat.com>
92187
92188 * elf/rtld.c (dl_main): Also relocate in dependency order when
92189 doing symbol dependency testing.
92190
921912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 92192
edf66db1
SP
92193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92194 Always define `refsym'.
92c3af3c 92195
edf66db1 921962011-09-13 Andreas Schwab <schwab@redhat.com>
92c3af3c 92197
edf66db1
SP
92198 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92199 (__FD_ELT): Renamed from __FDELT.
92200 * misc/bits/select2.h (__FD_ELT): Likewise.
92201 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92202 __FD_MASK instead of __FDELT, __FDMASK.
92203 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92204 Likewise.
92205 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92206 Likewise.
92207
92208 * elf/Makefile (gen-ldd): Fix pattern.
92209
92210 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92211 (init_tls): Likewise.
92c3af3c 92212
edf66db1
SP
922132011-09-12 Ulrich Drepper <drepper@gmail.com>
92214
92215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92216
922172011-09-12 Andreas Schwab <schwab@redhat.com>
92218
92219 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92220 `struct cmsghdr *' instead of `void *'.
92221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92222 Likewise.
92c3af3c 92223
edf66db1 922242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 92225
edf66db1
SP
92226 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92227 if non-absolute.
92228 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92229 ldd_rewrite_script.
92c3af3c 92230
edf66db1 922312011-09-11 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92232
edf66db1
SP
92233 * configure.in: Remove --with-tls option.
92234 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92235 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92236 out in case it is missing.
92237 * sysdeps/ia64/elf/configure.in: Likewise.
92238 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92239 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92240 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92241 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92242 * sysdeps/sh/elf/configure.in: Likewise.
92243 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92244 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92245 * sysdeps/x86_64/elf/configure.in: Likewise.
92246 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92247 * sysdeps/mach/hurd/tls.h: Likewise.
92c3af3c 92248
edf66db1
SP
92249 [BZ #13067]
92250 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92c3af3c 92251
edf66db1
SP
92252 [BZ #13090]
92253 * configure.in: Fix use of AC_INIT.
92c3af3c 92254
edf66db1 92255 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92c3af3c 92256
edf66db1 922572011-09-10 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92258
edf66db1
SP
92259 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92260 __set_errno.
92c3af3c 92261 * malloc/hooks.c: Likewise.
edf66db1
SP
92262
92263 [BZ #11929]
92264 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
92265 variables statically.
92266 (narenas): Initialize.
92267 (list_lock): Initialize.
92268 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
92269 initializtion of main_arena and list_lock. Small cleanups.
92270 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92271 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
92272 Add initializers to main_arena and mp_.
92273 (malloc_state): Remove pagesize member. Change all users to use
92274 GLRO(dl_pagesize).
92275
92276 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92277 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
92278 is always initialized.
92279
92280 * malloc/malloc.c: Removed unused configurations and dead code.
92c3af3c 92281 * malloc/arena.c: Likewise.
edf66db1
SP
92282 * malloc/hooks.c: Likewise.
92283 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92c3af3c 92284
edf66db1
SP
92285 * include/tls.h: Removed. USE___THREAD must always be defined.
92286 * bits/libc-tsd.h: Don't handle !USE___THREAD.
92287 * elf/dl-libc.c: Likewise.
92288 * elf/dl-tsd.c: Likewise.
92289 * include/errno.h: Likewise.
92290 * include/netdb.h: Likewise.
92291 * include/resolv.h: Likewise.
92292 * inet/herrno-loc.c: Likewise.
92293 * inet/herrno.c: Likewise.
92294 * malloc/arena.c: Likewise.
92295 * malloc/hooks.c: Likewise.
92296 * malloc/malloc.c: Likewise.
92297 * resolv/res-state.c: Likewise.
92298 * resolv/res_libc.c: Likewise.
92299 * sysdeps/i386/dl-machine.h: Likewise.
92300 * sysdeps/ia64/dl-machine.h: Likewise.
92301 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92302 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92303 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92304 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92305 * sysdeps/sh/dl-machine.h: Likewise.
92306 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92307 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92308 * sysdeps/unix/i386/sysdep.S: Likewise.
92309 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92310 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92315 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92319 * sysdeps/unix/x86_64/sysdep.S: Likewise.
92320 * sysdeps/x86_64/dl-machine.h: Likewise.
92321 * tls.make.c: Likewise.
92c3af3c 92322
edf66db1
SP
92323 * configure.in: Remove --with-__thread option. Make tests for
92324 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92325 tls_model attribute fail if no support is available. Remove
92326 USE_IN_LIBIO.
92327 * Makeconfig: Adjust for dropped configure option. All features are
92328 now mandatory.
92329 * Makerules: Likewise.
92330 * Versions.def: Likewise.
92331 * argp/argp-fmtstream.c: Likewise.
92332 * argp/argp-fmtstream.h: Likewise.
92333 * argp/argp-help.c: Likewise.
92334 * assert/assert.c: Likewise.
92335 * config.h.in: Likewise.
92336 * config.make.in: Likewise.
92337 * configure: Likewise.
92338 * configure.in: Likewise.
92339 * csu/Versions: Likewise.
92340 * csu/init.c: Likewise.
92341 * elf/tst-audit2.c: Likewise.
92342 * elf/tst-tls10.c: Likewise.
92343 * elf/tst-tls10.h: Likewise.
92344 * elf/tst-tls11.c: Likewise.
92345 * elf/tst-tls12.c: Likewise.
92346 * elf/tst-tls14.c: Likewise.
92347 * elf/tst-tlsmod11.c: Likewise.
92348 * elf/tst-tlsmod12.c: Likewise.
92349 * elf/tst-tlsmod13.c: Likewise.
92350 * elf/tst-tlsmod13a.c: Likewise.
92351 * elf/tst-tlsmod14a.c: Likewise.
92352 * elf/tst-tlsmod15b.c: Likewise.
92353 * elf/tst-tlsmod16a.c: Likewise.
92354 * elf/tst-tlsmod16b.c: Likewise.
92355 * elf/tst-tlsmod7.c: Likewise.
92356 * elf/tst-tlsmod8.c: Likewise.
92357 * elf/tst-tlsmod9.c: Likewise.
92358 * gmon/gmon.c: Likewise.
92359 * grp/fgetgrent_r.c: Likewise.
92360 * grp/putgrent.c: Likewise.
92361 * hurd/fopenport.c: Likewise.
92362 * include/libc-symbols.h: Likewise.
92363 * include/tls.h: Likewise.
92364 * intl/gettextP.h: Likewise.
92365 * intl/loadinfo.h: Likewise.
92366 * locale/global-locale.c: Likewise.
92367 * locale/localeinfo.h: Likewise.
92368 * mach/devstream.c: Likewise.
92369 * malloc/arena.c: Likewise.
92370 * malloc/set-freeres.c: Likewise.
92371 * misc/err.c: Likewise.
92372 * misc/getttyent.c: Likewise.
92373 * misc/mntent_r.c: Likewise.
92374 * posix/getopt.c: Likewise.
92375 * posix/wordexp.c: Likewise.
92376 * pwd/fgetpwent_r.c: Likewise.
92377 * resolv/Versions: Likewise.
92378 * resolv/res_hconf.c: Likewise.
92379 * shadow/fgetspent_r.c: Likewise.
92380 * shadow/putspent.c: Likewise.
92381 * stdio-common/printf_fphex.c: Likewise.
92382 * stdio-common/tmpfile.c: Likewise.
92383 * stdlib/abort.c: Likewise.
92384 * stdlib/fmtmsg.c: Likewise.
92385 * sunrpc/auth_unix.c: Likewise.
92386 * sunrpc/clnt_perr.c: Likewise.
92387 * sunrpc/clnt_tcp.c: Likewise.
92388 * sunrpc/clnt_udp.c: Likewise.
92389 * sunrpc/clnt_unix.c: Likewise.
92390 * sunrpc/openchild.c: Likewise.
92391 * sunrpc/svc_simple.c: Likewise.
92392 * sunrpc/svc_tcp.c: Likewise.
92393 * sunrpc/svc_udp.c: Likewise.
92394 * sunrpc/svc_unix.c: Likewise.
92395 * sunrpc/xdr.c: Likewise.
92396 * sunrpc/xdr_array.c: Likewise.
92397 * sunrpc/xdr_rec.c: Likewise.
92398 * sunrpc/xdr_ref.c: Likewise.
92399 * sunrpc/xdr_stdio.c: Likewise.
92c3af3c 92400
edf66db1 924012011-09-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92402
edf66db1 92403 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92c3af3c 92404
edf66db1 924052011-07-03 Andreas Jaeger <aj@suse.de>
92c3af3c 92406
edf66db1
SP
92407 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92408 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92409 regenerate with gen-libm-tests.pl.
92c3af3c 92410
edf66db1 924112010-05-12 Petr Baudis <pasky@suse.cz>
92c3af3c 92412
edf66db1
SP
92413 [BZ #11589]
92414 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92415 around j0() zero points by switching to j1().
92416 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92417 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92419 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92c3af3c 92420
edf66db1 924212011-09-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92422
edf66db1
SP
92423 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92424 instead of 0.
92425 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92426 instead of 0.
92427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92428 Patch in part by Pavel Roskin <proski@gnu.org>.
92c3af3c 92429
edf66db1
SP
92430 [BZ #13138]
92431 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92432 realloc.
92433 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92434 Free memory block if necessary.
92c3af3c 92435
edf66db1
SP
92436 [BZ #12847]
92437 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92438 be NULL. Don't lock in this case.
92c3af3c 92439
edf66db1 924402011-09-09 Roland McGrath <roland@hack.frob.com>
92c3af3c 92441
edf66db1
SP
92442 * elf/elf.h (ELFOSABI_GNU): New macro.
92443 (ELFOSABI_LINUX): Define to that.
92c3af3c 92444
edf66db1 924452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92c3af3c 92446
edf66db1
SP
92447 * string/strncat.c (strncat): Undef the symbol in case it has been
92448 defined in bits/string.h.
92c3af3c 92449
edf66db1 924502011-09-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92451
edf66db1 92452 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92c3af3c 92453
edf66db1
SP
92454 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92455 link map.
92c3af3c 92456
edf66db1 924572011-08-17 Andreas Jaeger <aj@suse.de>
92c3af3c 92458
edf66db1 92459 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92c3af3c 92460
edf66db1
SP
924612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92462 Ian Lance Taylor <iant@google.com>
92c3af3c 92463
edf66db1
SP
92464 * math/libm-test.inc (lround_test): New testcase.
92465 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92c3af3c 92466
edf66db1 924672011-09-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92468
edf66db1
SP
92469 * Makefile: Remove support for automatic cvs check-ins.
92470 * Makerules: Likewise.
92471 * config.make.in: Likewise.
92472 * configure.in: Likewise.
92473 * intl/Makefile: Likewise.
92474 * locale/Makefile: Likewise.
92475 * po/Makefile: Likewise.
92476 * posix/Makefile: Likewise.
92477 * sysdeps/gnu/Makefile: Likewise.
92478 * sysdeps/mach/hurd/Makefile: Likewise.
92479 * sysdeps/sparc/sparc32/Makefile: Likewise.
92c3af3c 92480
edf66db1
SP
92481 [BZ #13118]
92482 * posix/Makefile (bug-regex32-ENV): Define.
92483 Patch by John Stanley <jpsinthemix@verizon.net>.
92c3af3c 92484
edf66db1
SP
92485 * misc/Makefile (headers): Add bits/select2.h.
92486 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92487 * misc/bits/select2.h: New file.
92488 * include/bits/select2.h: New file.
92489 * debug/Makefile (routines): Add fdelt_chk.
92490 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92491 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92492 FD_ISSET.
92493 * debug/fdelt_chk.c: New file.
92c3af3c 92494
edf66db1
SP
92495 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92496 * wcsmbs/test-wmemcmp.c: Likewise.
92497 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92498 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92c3af3c 92499
edf66db1 925002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 92501
edf66db1
SP
92502 * string/Makefile (strop-tests): Add memcmp.
92503 * string/test-wmemcmp.c: New file.
92504 * string/test-memcmp.c: Add wmemcmp support.
92c3af3c 92505
edf66db1 925062011-09-08 Roland McGrath <roland@hack.frob.com>
92c3af3c 92507
edf66db1
SP
92508 [BZ #13153]
92509 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92510 2011-07-19 change.
92c3af3c 92511
edf66db1
SP
92512 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92513 garbage value in a __mach_port_mod_refs call in the cases of the
92514 task-self and thread-self ports.
92c3af3c 92515
edf66db1 925162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 92517
edf66db1 92518 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92c3af3c 92519
edf66db1 925202011-09-08 Andreas Schwab <schwab@redhat.com>
92c3af3c 92521
edf66db1 92522 * elf/dl-load.c (lose): Check for non-null L.
92c3af3c 92523
edf66db1 925242011-09-07 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92525
edf66db1 92526 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92c3af3c 92527
edf66db1
SP
92528 * elf/dl-libc.c (dlerror_run): Pass back error code from
92529 dl_catch_error.
92c3af3c 92530
edf66db1
SP
92531 [BZ #13123]
92532 * elf/dl-load.c (lose): Free l_origin if it is valid.
92c3af3c 92533
edf66db1
SP
92534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92535 names.
92536 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92537 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92540 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92541 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92c3af3c 92542
edf66db1 925432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92c3af3c 92544
edf66db1
SP
92545 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92546 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92547 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92548 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92549 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92550 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92551 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92552 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92553 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92554 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92c3af3c 92555
edf66db1 925562011-08-15 Alan Modra <amodra@gmail.com>
92c3af3c 92557
edf66db1
SP
92558 [BZ #13092]
92559 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92560 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92561 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92562 ppc_mcount to static-only-routines.
92563 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92564 __mcount_internal.
92565 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92566 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92c3af3c 92567
edf66db1 925682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92c3af3c 92569
edf66db1
SP
92570 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92571 for finite and infinity parameters.
92c3af3c 92572
edf66db1 925732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92c3af3c 92574
edf66db1
SP
92575 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92576 and add nop instructions for throughput optimization.
92577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92c3af3c 92578
edf66db1 925792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92c3af3c 92580
edf66db1
SP
92581 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92582 aligned copy for power7 with vector-scalar instructions.
92583 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92c3af3c 92584
edf66db1 925852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 92586
edf66db1
SP
92587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92588 AVX check.
92c3af3c 92589
edf66db1 925902011-09-07 Andreas Schwab <schwab@redhat.com>
92c3af3c 92591
edf66db1
SP
92592 [BZ #13144]
92593 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92594 last change.
92c3af3c 92595
edf66db1 925962011-09-07 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92597
edf66db1
SP
92598 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92599 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92600 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92601 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92602 clock_gettime.
92603
926042011-09-06 Ulrich Drepper <drepper@gmail.com>
92605
92606 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92607 Forgot to demangle the pointer.
92608
92609 * sysdeps/i386/sysdep.h: Define atom_text_section.
92610 * sysdeps/x86_64/sysdep.h: Likewise.
92611 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92612 section with atom_text_section.
92613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92615 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92617 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92618
92619 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92621 already be defined. Change to take two parameters and don't assign
92622 result to variable. Adjust all users.
92623 Define INTERNAL_GETTIME if not already defined.
92624 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92625 call.
92626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92627 HAVE_CLOCK_GETTIME_VSYSCALL.
92628 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92c3af3c 92629
edf66db1
SP
92630 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92631 gettimeofday vsyscall, just use time.
92c3af3c 92632
edf66db1 926332011-09-06 Andreas Schwab <schwab@redhat.com>
92c3af3c 92634
edf66db1
SP
92635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92636 <errno.h>.
92c3af3c 92637
edf66db1 926382011-09-06 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92639
edf66db1
SP
92640 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92641 syscall on x86-64.
92642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92643 syscall.
92644 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92645 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92646 syscall if possible.
92c3af3c 92647
edf66db1 926482011-09-05 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92649
edf66db1
SP
92650 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92651 e_ident. Don't pass to find_mapsXX.
92652 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92c3af3c 92653
edf66db1 926542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92c3af3c 92655
edf66db1
SP
92656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92657 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92658 * sysdeps/x86_64/multiarch/strchr.S: Update.
92659 Check bit_slow_BSF bit.
92660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92661 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92662 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92663
926642011-09-05 Ulrich Drepper <drepper@gmail.com>
92665
92666 [BZ #13134]
92667 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92668 before glibc 2.15.
92669 (tryshell): Define.
92670 (__spawni): Change last parameter to be flag. Test
92671 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92672 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92673 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92674 * posix/spawni.c: Likewise.
92675 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92676 * posix/spawnp.c: Likewise. Change normal version to use
92677 SPAWN_XFLAGS_USE_PATH.
92678 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92679 SPAWN_XFLAGS_TRY_SHELL.
92680
92681 [BZ #13150]
92682 * posix/glob.h: Remove gcc 1.x support.
92683
92684 [BZ #13068]
92685 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92686
926872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92c3af3c 92688
edf66db1
SP
92689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92690 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92691 strrchr-sse2-bsf
92692 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92693 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92694 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92695 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92696 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92697 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92698
926992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92700
92701 * sysdeps/x86_64/wcscmp.S: New file.
92702
92703 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92704 wcscmp-c wcscmp-sse2
92705 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92706 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92707 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92708 * wcsmbs/wcscmp.c: Allow renaming.
92709
927102011-09-05 David S. Miller <davem@davemloft.net>
92711
92712 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92713 stack slot, rather than the struct return pointer slot.
92714 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92715 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92717 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92718
927192011-09-05 Ulrich Drepper <drepper@gmail.com>
92720
92721 * po/ja.po: Update from translation team.
92722
92723 [BZ #13144]
92724 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92725 kernel in 64-bit binaries.
92726
927272011-09-01 David S. Miller <davem@davemloft.net>
92728
92729 * elf/elf.h (HWCAP_SPARC_*): Move to..
92730 * sysdeps/sparc/sysdep.h: this new file and add new values.
92731 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92732 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92733 _DL_HWCAP_COUNT to 24.
92734 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92735 entries.
92736 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92737 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92738 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92740 instead of magic constants.
92741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92742
927432011-08-31 David S. Miller <davem@davemloft.net>
92744
92745 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92747 Reimplement to do errno handling inline.
92748 (SYSCALL_ERROR_HANDLER): New macro.
92749 (__SYSCALL_STRING): Do not do errno handling in asm.
92750 (__CLONE_SYSCALL_STRING): Delete.
92751 (__INTERNAL_SYSCALL_STRING): Delete.
92752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92753 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92754 (PSEUDO): Reimplement to do errno handling inline.
92755 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92756 (SYSCALL_ERROR_HANDLER): New macro.
92757 (__SYSCALL_STRING): Do not do errno handling in asm.
92758 (__CLONE_SYSCALL_STRING): Delete.
92759 (__INTERNAL_SYSCALL_STRING): Delete.
92760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92761 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92762 i386.
92763 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92764 (inline_syscall*): Add 'err' argument.
92765 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92766 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92767 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92768 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92769
92770 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92771 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92772
927732011-08-30 Andreas Schwab <schwab@redhat.com>
92774
92775 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92776
927772011-08-29 Jiri Olsa <jolsa@redhat.com>
92778
92779 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92780 directive.
92781
927822011-08-24 David S. Miller <davem@davemloft.net>
92783
92784 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92785
927862011-08-24 Andreas Schwab <schwab@redhat.com>
92787
92788 * elf/Makefile: Add rules to build and run unload8 test.
92789 * elf/unload8.c: New file.
92790 * elf/unload8mod1.c: New file.
92791 * elf/unload8mod1x.c: New file.
92792 * elf/unload8mod2.c: New file.
92793 * elf/unload8mod3.c: New file.
92794
92795 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92796 it wasn't used.
92797
927982011-08-23 David S. Miller <davem@davemloft.net>
92799
92800 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92801 subtract stack bias.
92802 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92803 %sp not %fp in calculations.
92804 (_JMPBUF_UNWINDS_ADJ): Likewise.
92805
92806 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92807 (aio_suspend): Call it to force an exception region around the
92808 AIO_MISC_WAIT() invocation.
92809
928102011-08-23 Andreas Schwab <schwab@redhat.com>
92811
92812 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92813 backslash.
92814
928152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92816
92817 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92818 protection macro.
92819 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92820 and <dl-machine.h>.
92821 (Elf64_FuncDesc): Remove.
92822
928232011-08-22 David S. Miller <davem@davemloft.net>
92824
92825 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92826 sigaltstack check, add missing cfi directives.
92827 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92828 missing cfi directives, and sigaltstack handling.
92829
928302011-08-16 Andreas Schwab <schwab@redhat.com>
92831
92832 [BZ #11724]
92833 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92834 object is seen twice.
92835 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92836
92837 * elf/Makefile (distribute): Add tst-initorder2.c.
92838 (tests): Add tst-initorder2.
92839 (modules-names): Add tst-initorder2a tst-initorder2b
92840 tst-initorder2c tst-initorder2d. Add rules to build them.
92841 ($(objpfx)tst-initorder2.out): New rule.
92842 * elf/tst-initorder2.c: New file.
92843 * elf/tst-initorder2.exp: New file.
92844
928452011-08-22 Andreas Schwab <schwab@redhat.com>
92846
92847 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92848
92849 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92850 dependencies back to end of function.
92c3af3c 92851
edf66db1
SP
92852 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92853 $(elfobjdir)/ld.so.
92c3af3c 92854
edf66db1 928552011-08-21 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92856
edf66db1
SP
92857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92858 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92860 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92861 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92862 of __vdso_gettimeofday.
92863 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92864 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92865 attribute_hidden.
92866 (_libc_vdso_platform_setup): Remove initialization of
92867 __vdso_gettimeofday and __vdso_time.
92c3af3c 92868
edf66db1 928692011-08-20 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92870
edf66db1
SP
92871 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92872 and fgetc_unlocked.
92873 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92874 getc_unlocked.
92c3af3c 92875
edf66db1
SP
92876 * elf/dl-open.c (add_to_global): Report additions to the global scope
92877 for LD_DEBUG=scopes.
92878 (dl_open_worker): Also print scope of newly loaded dependencies.
92879 (_dl_show_scope): Indicate if there is no scope.
92c3af3c 92880
edf66db1
SP
92881 [BZ #13114]
92882 * stdio-common/Makefile (tests): Add bug24.
92883 * stdio-common/bug24.c: New file.
92c3af3c 92884
edf66db1 928852011-08-19 Andreas Jaeger <aj@suse.de>
92c3af3c 92886
edf66db1
SP
92887 [BZ #13114]
92888 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92889 non-existant file when using close-on-exec mode.
92c3af3c 92890
edf66db1 928912011-08-20 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92892
edf66db1
SP
92893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92894 the very first instruction.
92c3af3c 92895
edf66db1
SP
92896 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92897 the CFI state in the end.
92898 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92899 inclusion of dl-trampoline.h.
92900 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92c3af3c 92901
edf66db1 929022011-08-19 Andreas Schwab <schwab@redhat.com>
92c3af3c 92903
edf66db1
SP
92904 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92905 expectations for long double.
92c3af3c 92906
edf66db1
SP
92907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92908 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92c3af3c 92909
edf66db1 929102011-08-14 David S. Miller <davem@davemloft.net>
92c3af3c 92911
edf66db1
SP
92912 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92913 artificual limit depends upon the system page size.
92c3af3c 92914
edf66db1 929152011-08-17 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92916
edf66db1
SP
92917 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92918 * resolv/Makefile: Define CFLAGS-libresolv.
92c3af3c 92919
edf66db1 929202011-08-17 Andreas Schwab <schwab@redhat.com>
92c3af3c 92921
edf66db1
SP
92922 * nss/makedb.c (compute_tables): Make variables used in nested
92923 function static.
92c3af3c 92924
edf66db1 929252011-08-17 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92926
edf66db1
SP
92927 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92928 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92929 if buffer was too small.
92c3af3c 92930
edf66db1
SP
92931 * elf/pldd.c (main): Attach to all threads in the process.
92932 Rewrite /proc handling to use *at functions.
92c3af3c 92933
edf66db1
SP
929342011-08-16 Ulrich Drepper <drepper@gmail.com>
92935
92936 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92937 specifies first scope to show.
92938 (dl_open_worker): Update callers. Move printing scope of new
92939 object to before the relocation.
92940 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92941 * sysdeps/generic/ldsodefs.h: Update declaration.
92942
92943 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92944 string for the scope number.
92945
929462011-08-14 Ulrich Drepper <drepper@gmail.com>
92947
92948 * nscd/servicescache.c (cache_addserv): Make sure written is always
92949 initialized.
92950
929512011-08-14 Roland McGrath <roland@hack.frob.com>
92952
92953 * sysdeps/i386/i486/bits/atomic.h
92954 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92955 statement expression, so as to suppress "set but not used" warning.
92956 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92957
92958 * string/strncat.c (STRNCAT): Use prototype definition.
92959
92960 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92961 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92962 -Iprograms here.
92963 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92964 (localedef-modules): Add localedef.
92965 (locale-modules): Add locale.
92c3af3c 92966
edf66db1
SP
92967 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92968 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92969 to avoid a warning.
92c3af3c 92970
edf66db1 929712011-08-14 David S. Miller <davem@davemloft.net>
92c3af3c 92972
edf66db1
SP
92973 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92974 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92c3af3c 92975
edf66db1 929762011-08-13 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92977
edf66db1
SP
92978 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92979 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92980 * elf/rtld.c (dl_main): Set l_name of vDSO.
92981 Call _dl_show_scope when DL_DEBUG_SCOPES.
92982 (process_dl_debug): Recognize scopes flag and also set it for all.
92983 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92984 Declare _dl_show_scope.
92c3af3c 92985
edf66db1
SP
92986 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92987 (do_dlopen): Pass caller_dlopen to dl_open.
92988 (__libc_dlopen_mode): Initialize caller_dlopen.
92c3af3c 92989
edf66db1
SP
92990 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92991 of libc. Make tolower call locale-independent. Optimize a bit by
92992 using isdigit instead of isalnum.
92993 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92c3af3c 92994
edf66db1 929952011-08-12 Ulrich Drepper <drepper@gmail.com>
92c3af3c 92996
edf66db1
SP
92997 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92998 was a dependency or dynamically loaded.
92c3af3c 92999
edf66db1 930002011-08-11 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93001
edf66db1
SP
93002 * intl/l10nflist.c: Allow architecture-specific pop function.
93003 * sysdeps/x86_64/l10nflist.c: New file.
92c3af3c 93004
edf66db1
SP
93005 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
93006 classification.
92c3af3c 93007
edf66db1 930082011-08-10 Andreas Schwab <schwab@redhat.com>
92c3af3c 93009
edf66db1
SP
93010 * include/dirent.h: Add libc_hidden_proto for scandirat and
93011 scandirat64. Don't declare __scandirat64.
93012 * dirent/scandirat.c: Add libc_hidden_def.
93013 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
93014 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92c3af3c 93015
edf66db1 930162011-08-10 David S. Miller <davem@davemloft.net>
92c3af3c 93017
edf66db1
SP
93018 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
93019 enum.
93020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
93022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92c3af3c 93023
edf66db1 930242011-08-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93025
edf66db1
SP
93026 * Versions.def [libc]: Add GLIBC_2.15.
93027 * dirent/Makefile (routines): Add scandirat and scandirat64.
93028 * dirent/Versions [libc]: Export scandirat and scandirat64 for
93029 GLIBC_2.15.
93030 * dirent/dirent.h: Declare scandirat and scandirat64.
93031 * dirent/scandirat.c: New file.
93032 * dirent/scandirat64.c: New file.
93033 * sysdeps/wordsize-64/scandirat.c: New file.
93034 * sysdeps/wordsize-64/scandirat64.c: New file.
93035 * dirent/opendir.c: Define opendirat.
93036 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
93037 using scandirat.
93038 * dirent/scandir64.c: Adjust for scandir.c change.
93039 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
93040 __scandirat64, and __scandir_cancel_handler.
93041 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
93042 additional parameter and use openat instead of open (outside of ld.so).
93043 Add new __opendir as wrapper around __opendirat.
93044 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
93045 here without requiring old scandirat implementation.
92c3af3c 93046
edf66db1 930472011-08-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93048
edf66db1
SP
93049 * dirent/scandir.c (cancel_handler): Renamed to
93050 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
93051 defined. Adjust users.
93052 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
93053 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92c3af3c 93054
edf66db1 930552011-08-04 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93056
edf66db1
SP
93057 * string/test-string.h (IMPL): Use __STRING to expand name and then
93058 stringify it.
92c3af3c 93059
edf66db1
SP
93060 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
93061 of cleanups.
92c3af3c 93062
edf66db1 930632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 93064
edf66db1
SP
93065 * string/Makefile: Update.
93066 (strop-tests): Append strncat.
93067 * string/test-wcscmp.c: New file.
93068 New comprehensive test for wcscmp.
93069 * string/test-strcmp.c: Update.
93070 (WIDE): New define.
92c3af3c 93071
edf66db1 930722011-07-22 Andreas Schwab <schwab@redhat.com>
92c3af3c 93073
edf66db1
SP
93074 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
93075 line.
92c3af3c 93076
edf66db1 930772011-07-26 Andreas Schwab <schwab@redhat.com>
92c3af3c 93078
edf66db1
SP
93079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93080 encoding to ACE if AI_IDN.
92c3af3c 93081
edf66db1 930822011-08-01 Jakub Jelinek <jakub@redhat.com>
92c3af3c 93083
edf66db1
SP
93084 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
93085 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92c3af3c 93086
edf66db1 930872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92c3af3c 93088
edf66db1
SP
93089 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
93090 Fix overflow bug in strncat.
93091 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92c3af3c 93092
edf66db1
SP
93093 * string/test-strncat.c: Update.
93094 Add new tests for checking overflow bugs.
92c3af3c 93095
edf66db1 930962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92c3af3c 93097
edf66db1
SP
93098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93099 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
93100 * sysdeps/i386/i686/multiarch/strcat.S: New file.
93101 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
93102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
93103 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
93104 * sysdeps/i386/i686/multiarch/strncat.S: New file.
93105 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
93106 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92c3af3c 93107
edf66db1
SP
93108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
93109 (USE_AS_STRCAT): Define.
93110 Add strcat and strncat support.
93111 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92c3af3c 93112
edf66db1 931132011-07-25 Andreas Schwab <schwab@redhat.com>
92c3af3c 93114
edf66db1
SP
93115 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
93116 __n bigger than INT_MAX+1.
93117 (__strncmp_g): Likewise.
92c3af3c 93118
edf66db1 931192011-07-23 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93120
edf66db1
SP
93121 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
93122 * libio/stido.h: Likewise.
92c3af3c 93123
edf66db1
SP
93124 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
93125 (AF_NFC): Define.
93126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
93127 (AF_NFC): Define.
92c3af3c 93128
edf66db1
SP
93129 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
93130 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93131 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93132 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
93133 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92c3af3c 93134
edf66db1
SP
93135 [BZ #13021]
93136 * scripts/test-installation.pl: Don't expect libnss_test1 to be
93137 installed.
92c3af3c 93138
edf66db1
SP
93139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
93140 typo.
93141 (_dl_x86_64_save_sse): Likewise.
92c3af3c 93142
edf66db1 931432011-07-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93144
edf66db1
SP
93145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
93146 OSXSAVE.
93147 (_dl_x86_64_save_sse): Likewise.
92c3af3c 93148
edf66db1 93149 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92c3af3c 93150
edf66db1 93151 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92c3af3c 93152
edf66db1 931532011-07-21 Andreas Schwab <schwab@redhat.com>
92c3af3c 93154
edf66db1
SP
93155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
93156 change.
93157 (_dl_x86_64_save_sse): Use correct AVX check.
92c3af3c 93158
edf66db1 931592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92c3af3c 93160
edf66db1
SP
93161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
93162 bug in strncpy/strncat.
93163 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92c3af3c 93164
edf66db1 931652011-07-21 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93166
edf66db1
SP
93167 * string/tester.c (test_strcat): Add tests for different alignments
93168 of source and destination.
93169 (test_strncat): Likewise.
92c3af3c 93170
edf66db1 931712011-07-20 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93172
edf66db1
SP
93173 [BZ #12852]
93174 * posix/glob.c (glob): Check passed in values before using them in
93175 expressions to avoid some overflows.
93176 (glob_in_dir): Likewise.
92c3af3c 93177
edf66db1
SP
93178 [BZ #13007]
93179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
93180 check for AVX enablement so that we don't crash with old kernels and
93181 new hardware.
93182 * elf/tst-audit4.c: Add same checks here.
93183 * elf/tst-audit6.c: Likewise.
92c3af3c 93184
edf66db1 93185 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92c3af3c 93186
edf66db1 931872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 93188
edf66db1 93189 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92c3af3c 93190
edf66db1 931912011-07-20 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93192
edf66db1
SP
93193 * po/cs.po: Update from translation team.
93194 * po/bg.po: Likewise.
92c3af3c 93195
edf66db1 931962011-07-12 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93197
edf66db1
SP
93198 * misc/sys/cdefs.h: Add support for const attribute.
93199 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93200 to gnu_dev_{major,minor,makedev} functions.
92c3af3c 93201
edf66db1 932022011-07-20 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93203
edf66db1 93204 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92c3af3c 93205
edf66db1 932062011-07-20 Andreas Schwab <schwab@redhat.com>
92c3af3c 93207
edf66db1
SP
93208 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93209 strlen results.
92c3af3c 93210
edf66db1 932112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 93212
edf66db1
SP
93213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93214 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93215 register in order to avoid conflicts with the soft frame pointer
93216 being held in r11 when necessary.
93217 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93218 (INTERNAL_VSYSCALL_NCS): Likewise.
92c3af3c 93219
edf66db1 932202011-07-14 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93221
edf66db1
SP
93222 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93223 * elf/dl-fini.c (_dl_fini): Adjust caller.
93224 * elf/dl-close.c (_dl_close_worker): Likewise.
93225 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92c3af3c 93226
edf66db1 932272011-07-15 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93228
edf66db1
SP
93229 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93230 "aux_cache->nlibs < 0".
92c3af3c 93231
edf66db1
SP
93232 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93233 in the reload-count case.
92c3af3c 93234
edf66db1 932352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92c3af3c 93236
edf66db1
SP
93237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93238 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93239 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93240 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93241 * sysdeps/x86_64/multiarch/strcat.S: New file.
93242 * sysdeps/x86_64/multiarch/strncat.S: New file.
93243 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93244 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93245 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93246 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93247 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93248 (USE_AS_STRCAT): Define.
93249 Add strcat and strncat support.
93250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93251 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93252 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93253 * string/strncat.c: Update.
93254 (USE_AS_STRNCAT): Define.
93255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93256 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93257 and i7.
93258 * sysdeps/x86_64/multiarch/init-arch.h
93259 (bit_Prefer_PMINUB_for_stringop): New.
93260 (index_Prefer_PMINUB_for_stringop): Likewise.
93261 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93262 bit_Prefer_PMINUB_for_stringop.
92c3af3c 93263
edf66db1 932642011-07-19 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93265
edf66db1
SP
93266 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93267 buffer64.
93268 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93269 of casting of buffer.
93270 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93271 buffer32 and buffer64.
93272 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93273 writes instead of casting of buffer.
93274 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93275 buffer32.
93276 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93277 casting of buffer.
92c3af3c 93278
edf66db1 932792011-07-19 Andreas Schwab <schwab@redhat.com>
92c3af3c 93280
edf66db1 93281 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92c3af3c 93282
edf66db1 932832011-07-19 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93284
edf66db1
SP
93285 * nscd/nscd.c (termination_handler): Don't do anything for a database
93286 if it has not yet been initialized.
92c3af3c 93287
edf66db1 932882011-07-18 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93289
edf66db1 93290 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92c3af3c 93291
edf66db1 932922011-07-15 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93293
edf66db1 93294 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92c3af3c 93295
edf66db1 932962011-07-18 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93297
edf66db1
SP
93298 * po/nl.po: Update from translation team.
93299 * po/sv.po: Likewise.
92c3af3c 93300
edf66db1 933012011-07-16 Roland McGrath <roland@hack.frob.com>
92c3af3c 93302
edf66db1
SP
93303 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93304 now disallowed by GCC.
92c3af3c 93305
edf66db1
SP
93306 * configure.in (use-default-link): Default to yes if a test -shared
93307 link meets our qualifications.
93308 * configure: Regenerated.
92c3af3c 93309
edf66db1
SP
93310 * config.make.in (output-format): New variable.
93311 * configure.in: Check for ld --print-output-format support.
93312 * configure: Regenerated.
93313 * Makerules ($(common-objpfx)format.lds)
93314 [$(output-format) != unknown]: Just use $(output-format),
93315 instead of the linker-script munging.
92c3af3c 93316
edf66db1 933172011-07-14 Roland McGrath <roland@hack.frob.com>
92c3af3c 93318
edf66db1
SP
93319 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93320 of $(common-objpfx)shlib.lds.
93321 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92c3af3c 93322
edf66db1
SP
93323 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93324 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92c3af3c 93325
edf66db1
SP
93326 * configure.in (-z relro check): Adjust test code to add a large
93327 writable data section after it.
93328 * configure: Regenerated.
92c3af3c 93329
edf66db1 933302011-07-11 Roland McGrath <roland@hack.frob.com>
92c3af3c 93331
edf66db1
SP
93332 * configure.in (-z relro check): Fix test code to make the variable
93333 truly const.
93334 * configure: Regenerated.
92c3af3c 93335
edf66db1
SP
933362011-07-11 Ulrich Drepper <drepper@gmail.com>
93337
93338 * nscd/nscd.h (struct traced_file): Define.
93339 (struct database_dyn): Remove inotify_descr, reset_res, and filename
93340 elements. Add traced_files.
93341 (inotify_fd): Declare.
93342 (register_traced_file): Declare.
93343 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93344 (inotify_fd): Export.
93345 (resolv_conf_descr): Remove.
93346 (nscd_init): Move inotify descriptor creation to main.
93347 Don't register files for notification here.
93348 (register_traced_file): New function.
93349 (invalidate_cache): Don't use reset_res to determine whether to call
93350 res_init, go through the list of registered files.
93351 (main_loop_poll): The inotify descriptors are now stored in the
93352 structures for the traced files.
93353 (main_loop_epoll): Likewise.
93354 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
93355 to __nss_disable_nscd.
93356 * nscd/cache.c (prune_cache): There is no single inotify descriptor
93357 for a database anymore. Check the records for all the registered
93358 files instead.
93359 * nss/Makefile (libnss_files-routines): Add files-init.
93360 (libnss_db-routines): Add db-init.
93361 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93362 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93363 * nss/nss_db/db-init.c: New file.
93364 * nss/nss_files/files-init.c: New file.
93365 * nss/nsswitch.c (nss_load_library): New function. Broken out of
93366 __nss_lookup_function.
93367 (__nss_lookup_function): Call nss_load_library.
93368 (nss_load_all_libraries): New function.
93369 (__nss_disable_nscd): Take parameter with callback function for files
93370 to register. Set is_nscd. Load all the DSOs for the NSS modules
93371 used for the cached services.
93372 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93373 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93374 options for features to all the files in nscd.
93375
93376 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93377
933782011-07-10 Roland McGrath <roland@hack.frob.com>
93379
93380 * csu/elf-init.c (__libc_csu_init): Comment typo.
93381
933822011-07-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93383
edf66db1
SP
93384 * po/pl.po: Update from translation team.
93385 * po/ja.po: Likewise.
93386 * po/ru.po: Likewise.
93387 * po/ko.po: Likewise.
93388 * po/fr.po: Likewise.
92c3af3c 93389
edf66db1 933902011-07-09 Roland McGrath <roland@hack.frob.com>
92c3af3c 93391
edf66db1
SP
93392 * configure.in (.ctors/.dtors header and trailer check):
93393 Use an empirical test on a built program.
93394 * configure: Regenerated.
92c3af3c 93395
edf66db1
SP
93396 * configure.in (-z relro check): Use an empirical test on a built DSO.
93397 Detect, but do not require, on ia64.
93398 * configure: Regenerated.
92c3af3c 93399
edf66db1
SP
93400 * configure.in (READELF): Find it with AC_CHECK_TOOL.
93401 Update tests that use readelf to use $READELF instead.
93402 * configure: Regenerated.
92c3af3c 93403
edf66db1 934042011-07-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93405
edf66db1
SP
93406 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93407 if the result is not used.
92c3af3c 93408
edf66db1 934092011-07-05 Andreas Jaeger <aj@suse.de>
92c3af3c 93410
edf66db1
SP
93411 [BZ #9696]
93412 * stdlib/tst-strtod.c: Add testcase.
92c3af3c 93413
edf66db1 934142011-07-07 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93415
edf66db1
SP
93416 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93417 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93418 The latter has a higher limit. Take additional parameter to pass to
93419 the new function.
93420 (__pathconf): Pass file to __statfs_link_max.
93421 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93422 __statfs_link_max.
93423 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93424 __statfs_link_max.
92c3af3c 93425
edf66db1
SP
93426 [BZ #12868]
93427 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93428 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93429 Handle Lustre.
93430 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93431 (__statfs_filesize_max): Likewise.
93432 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92c3af3c 93433
edf66db1 934342011-07-05 Andreas Jaeger <aj@suse.de>
92c3af3c 93435
edf66db1 93436 * resolv/res_comp.c (dn_skipname): Remove unused variable.
92c3af3c 93437
edf66db1 934382011-07-06 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93439
edf66db1
SP
93440 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93441 `status' variable.
93442 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93443 Likewise.
92c3af3c 93444
edf66db1 934452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 93446
edf66db1
SP
93447 * Makefile (strop-tests): Add strncat.
93448 * string/test-strncat.c: New file.
92c3af3c 93449
edf66db1 934502011-06-30 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93451
edf66db1 93452 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92c3af3c 93453
edf66db1 934542011-06-21 Andreas Jaeger <aj@suse.de>
92c3af3c 93455
edf66db1
SP
93456 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93457 Copy rule from iconvdata/Makefile.
92c3af3c 93458
edf66db1 934592011-07-06 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93460
edf66db1
SP
93461 [BZ #12922]
93462 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93463 but no long options are defined, just return 'W'.
92c3af3c 93464
edf66db1 934652011-06-22 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93466
edf66db1
SP
93467 [BZ #9696]
93468 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92c3af3c 93469
edf66db1 934702011-07-06 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93471
edf66db1
SP
93472 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93473 netgroups to read.
93474 (innetgr): Likewise.
92c3af3c 93475
edf66db1 934762011-07-05 Roland McGrath <roland@hack.frob.com>
92c3af3c 93477
edf66db1 93478 * config.make.in (install_root): Default to $(DESTDIR).
92c3af3c 93479
edf66db1 934802011-07-05 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93481
edf66db1 93482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92c3af3c 93483
edf66db1 934842011-07-02 Roland McGrath <roland@hack.frob.com>
92c3af3c 93485
edf66db1 93486 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92c3af3c 93487
edf66db1
SP
93488 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93489 containing directory rather than embedding absolute directory names.
92c3af3c 93490
edf66db1
SP
93491 * scripts/check-local-headers.sh: Rewritten using awk.
93492 Match by word, not by line. Print error messages for matches.
93493 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92c3af3c 93494
edf66db1
SP
93495 * Makerules [shlib-lds-flags empty]:
93496 ($(common-objpfx)libc_pic.opts): New target.
93497 ($(common-objpfx)libc_pic.os.clean): New target.
93498 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92c3af3c 93499
edf66db1
SP
93500 * config.make.in (OBJCOPY): New variable.
93501 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93502 * configure: Regenerated.
92c3af3c 93503
edf66db1
SP
93504 * config.make.in (use-default-link): New variable.
93505 * configure.in (use_default_link): Grok --with-default-link to set it.
93506 * configure: Regenerated.
93507 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93508 (shlib-lds, shlib-lds-flags): Define to empty.
93509
93510 * Makerules (shlib-lds): New variable.
93511 (shlib-lds-flags): New variable.
93512 (build-shlib, build-moduile, build-module-asneeded): Use it.
93513 ($(common-objpfx)libc.so): Use $(shlib-lds).
93514 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93515 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93516
93517 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93518 DT_FLAGS/DT_FLAGS_1 with zero flags.
93519
93520 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93521 linker script munging.
93522
935232011-07-02 Ulrich Drepper <drepper@gmail.com>
93524
93525 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93526 as 128-bit value.
93527 * crypt/sha512.c (sha512_process_block): Perform total addition using
93528 128-bit if possible.
93529 (__sha512_finish_ctx): Likewise.
93530 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93531 as 64-bit value.
93532 * crypt/sha256.c (SWAP64): Define.
93533 (sha256_process_block): Perform total addition using 64-bit if
93534 possible.
93535 (__sha256_finish_ctx): Likewise.
92c3af3c 93536
edf66db1 935372011-07-01 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93538
edf66db1
SP
93539 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93540 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93541 * nscd/hstcache.c (cache_addhst): Likewise.
93542 * nscd/grpcache.c (cache_addgr): Likewise.
93543 * nscd/aicache.c (addhstaiX): Likewise.
93544 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
92c3af3c 93545
edf66db1 935462011-07-01 Thorsten Kukuk <kukuk@suse.de>
92c3af3c 93547
edf66db1
SP
93548 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93550 * nscd/hstcache.c (cache_addhst): Likewise.
93551 * nscd/grpcache.c (cache_addgr): Likewise.
93552 * nscd/aicache.c (addhstaiX): Likewise.
92c3af3c 93553
edf66db1 935542011-07-01 Andreas Schwab <schwab@redhat.com>
92c3af3c 93555
edf66db1
SP
93556 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93557 domain only when needed.
92c3af3c 93558
edf66db1 935592011-06-30 Andreas Schwab <schwab@redhat.com>
92c3af3c 93560
edf66db1
SP
93561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93562 is always restored.
92c3af3c 93563
edf66db1 935642011-06-29 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93565
edf66db1
SP
93566 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93567 are re-adding the entry.
93568 * nscd/servicescache.c (cache_addserv): Likewise.
92c3af3c 93569
edf66db1 935702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
92c3af3c 93571
edf66db1
SP
93572 * sysdeps/generic/dl-irel.h: fix protection against multiple
93573 inclusions.
93574 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
92c3af3c 93575
edf66db1 935762011-06-28 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93577
edf66db1
SP
93578 [BZ #12935]
93579 * malloc/memusage.sh: Fix quoting in message.
93580 * debug/xtrace.sh: Likewise.
92c3af3c 93581
edf66db1
SP
93582 * configure.in: Remove support for --experimental-malloc option, make
93583 it the default.
93584 * config.make.in: Likewise.
93585 * malloc/Makefile: Likewise.
92c3af3c 93586
edf66db1 935872011-06-27 Andreas Schwab <schwab@redhat.com>
92c3af3c 93588
edf66db1
SP
93589 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93590 two-byte characters.
92c3af3c 93591
edf66db1 935922011-06-27 Roland McGrath <roland@hack.frob.com>
92c3af3c 93593
edf66db1
SP
93594 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93595 AC_CACHE_CHECK invocation.
93596 * configure: Regenerated.
92c3af3c 93597
edf66db1 93598 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
92c3af3c 93599
edf66db1 936002011-06-27 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93601
edf66db1
SP
93602 [BZ #12350]
93603 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93604 bit from old_res_options.
92c3af3c 93605
edf66db1 93606 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
92c3af3c 93607
edf66db1
SP
93608 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93609 value type for setfct.
92c3af3c 93610
edf66db1 936112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 93612
edf66db1
SP
93613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93614 __gettimeofday instead of gettimeofday.
92c3af3c 93615
edf66db1 936162011-06-26 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93617
edf66db1 93618 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
92c3af3c 93619
edf66db1 936202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 93621
edf66db1 93622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
92c3af3c 93623
edf66db1
SP
93624 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93625 info.
92c3af3c 93626
edf66db1 936272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 93628
edf66db1
SP
93629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93630 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93631 strcpy-sse2-unaligned strncpy-sse2-unaligned
93632 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93633 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93634 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93635 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93636 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93637 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93638 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93639 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93640 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93641 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93642 (STRCPY): Support SSE2 and SSSE3 versions.
93643
936442011-06-24 Ulrich Drepper <drepper@gmail.com>
93645
93646 [BZ #12874]
93647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93648 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93649 kernels which artificially limit size of requests.
93650
936512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 93652
edf66db1
SP
93653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93654 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93655 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93656 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93657 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93658 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93659 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93660 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93661 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93663 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93664 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93665 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93666 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93667 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93669 Enable unaligned load optimization for Intel Core i3, i5 and i7
93670 processors.
93671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93672 Define.
93673 (index_Fast_Unaligned_Load): Define.
93674 (HAS_FAST_UNALIGNED_LOAD): Define.
92c3af3c 93675
edf66db1 936762011-06-23 Marek Polacek <mpolacek@redhat.com>
92c3af3c 93677
edf66db1 93678 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
92c3af3c 93679
edf66db1 936802011-06-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93681
edf66db1
SP
93682 [BZ #12907]
93683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93684 until it is clear that the information is realy needed.
93685 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
92c3af3c 93686
edf66db1 936872011-06-22 Andreas Schwab <schwab@redhat.com>
92c3af3c 93688
edf66db1 93689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
92c3af3c 93690
edf66db1 936912011-06-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93692
edf66db1
SP
93693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93694 /sys/devices/system/cpu/online if it is usable.
92c3af3c 93695
edf66db1
SP
93696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93697 reading the information from the /proc filesystem to once a second.
92c3af3c 93698
edf66db1 936992011-06-21 Andreas Jaeger <aj@suse.de>
92c3af3c 93700
edf66db1
SP
93701 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93702 NULL after inclusion of kernel headers.
92c3af3c 93703
edf66db1 937042011-06-21 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93705
edf66db1
SP
93706 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93707 calls to internal_setent.
92c3af3c 93708
edf66db1
SP
93709 [BZ #12885]
93710 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93711 addresses using gethostbyname4_r ignore IPv4 addresses.
92c3af3c 93712
edf66db1
SP
93713 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93714 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
92c3af3c 93715
edf66db1 93716 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
92c3af3c 93717
edf66db1 937182011-06-20 David S. Miller <davem@davemloft.net>
92c3af3c 93719
edf66db1
SP
93720 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93721 inclusions.
93722 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
92c3af3c 93723
edf66db1
SP
93724 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93725 (elf_irel): Use it.
93726 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93727 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93728 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93729 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93730 * sysdeps/x86_64/dl-irel.h: Likewise.
92c3af3c 93731
edf66db1
SP
93732 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93733 * elf/dl-sym.c: Likewise.
92c3af3c 93734
edf66db1 937352011-06-15 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93736
edf66db1
SP
93737 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93738 need to dereference resplen2.
92c3af3c 93739
edf66db1 937402011-06-14 Andreas Schwab <schwab@redhat.com>
92c3af3c 93741
edf66db1 93742 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
92c3af3c 93743
edf66db1 937442011-06-15 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93745
edf66db1
SP
93746 * Makeconfig: Define vardbdir and inst_vardbdir.
93747 * nss/Makefile: Add rules to install db-Makefile.
92c3af3c 93748
edf66db1 93749 * nss/nss_db/db-XXX.c: Cleanup.
92c3af3c 93750
edf66db1
SP
93751 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93752 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93753 GLIBC_PRIVATE.
93754 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93755 * nss/makedb.c: Implement -g option to specify that value strings
93756 are generated and should not be added to table iterated over for
93757 get*ent calls.
93758 * nss/nss_db/db-initgroups.c: New file.
92c3af3c 93759
edf66db1
SP
93760 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93761 interface.
92c3af3c 93762
edf66db1
SP
93763 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93764 (internal_getgrouplist): Adjust to name change.
93765 Update use_initgroups_entry if this is not the first call.
93766 * nss/databases.def: Add initgroups entry.
92c3af3c 93767
edf66db1
SP
93768 * nss/makedb.c (compute_tables): Check result of multiple hash table
93769 sizes to minimize maximum chain length.
92c3af3c 93770
edf66db1 937712011-06-14 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93772
edf66db1
SP
93773 * Versions.def: Add entry for libnss_db.
93774 * shlib-versions: Likewise.
93775 * nss/Makefile: Add rules to build libnss_db.
93776 * nss/Versions: Add libnss_db information. Organize libnss_files
93777 entries better.
93778 * nss/db-Makefile: Add gshadow support. Change rules for the new
93779 makedb progra. Some minor improvements to generate smaller files.
93780 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93781 here from...
93782 * nss/makedb.c: ...here.
93783 Improve database format to be smaller and require less memory at
93784 runtime.
93785 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93786 db anymore.
93787 * nss/nss_db/db-netgrp.c: Likewise.
93788 * nss/nss_db/db-open.c: Likewise.
93789 * nss/nss_files/flies-XXX.x: Adjust comments.
93790 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93791 * nss/nss_files/files-grp.c: Likewise.
93792 * nss/nss_files/files-hosts.c: Likewise.
93793 * nss/nss_files/files-network.c: Likewise.
93794 * nss/nss_files/files-proto.c: Likewise.
93795 * nss/nss_files/files-pwd.c: Likewise.
93796 * nss/nss_files/files-rpc.c: Likewise.
93797 * nss/nss_files/files-service.c: Likewise.
93798 * nss/nss_files/files-sgrp.c: Likewise.
93799 * nss/nss_files/files-spwd.c: Likewise.
93800 * nss/nss_db/db-alias.c: Removed.
93801 * nss/nss_db/dummy-db.h: Removed.
92c3af3c 93802
edf66db1 938032011-06-02 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93804
edf66db1
SP
93805 * nss/makedb.c: Rewritten to not use database library.
93806 * nss/Makefile: Update to build new makedb program.
92c3af3c 93807
edf66db1 938082011-06-14 Andreas Jaeger <aj@suse.de>
92c3af3c 93809
edf66db1
SP
93810 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93811 memset declaration.
92c3af3c 93812
edf66db1 938132011-06-10 Andreas Schwab <schwab@redhat.com>
92c3af3c 93814
edf66db1
SP
93815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93816 tmpbuf.
92c3af3c 93817
edf66db1 938182011-06-10 Roland McGrath <roland@hack.frob.com>
92c3af3c 93819
edf66db1
SP
93820 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93821 * elf/Makefile ($(objpfx)ld.so): Likewise.
92c3af3c 93822
edf66db1
SP
93823 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93824 Don't list ld.so twice in dependencies.
92c3af3c 93825
edf66db1 93826 * posix/bug-regex31.c: Include <stdlib.h>.
92c3af3c 93827
edf66db1 93828 * nscd/hstcache.c (cache_addhst): Remove unused variable.
92c3af3c 93829
edf66db1
SP
93830 * nis/nss_compat/compat-spwd.c
93831 (getspent_next_nss_netgr): Remove unused variable.
93832 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92c3af3c 93833
edf66db1
SP
93834 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93835 nonmembers" output to use the right array.
92c3af3c 93836
edf66db1 93837 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92c3af3c 93838
edf66db1 93839 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92c3af3c 93840
edf66db1
SP
93841 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93842 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93843 * catgets/gencat.c (read_input_file): Likewise.
93844 * locale/programs/locarchive.c (enlarge_archive): Likewise.
92c3af3c 93845
edf66db1
SP
93846 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93847 variable definition inside #if's controlling its use.
92c3af3c 93848
edf66db1 93849 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92c3af3c 93850
edf66db1 93851 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92c3af3c 93852
edf66db1 93853 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92c3af3c 93854
edf66db1
SP
93855 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93856 unreachable code.
92c3af3c 93857
edf66db1 93858 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92c3af3c 93859
edf66db1
SP
93860 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93861 * configure: Regenerated.
92c3af3c 93862
edf66db1
SP
93863 * Makerules: Revert last change.
93864 * elf/Makefile: Likewise.
92c3af3c 93865
edf66db1 938662011-06-09 Roland McGrath <roland@hack.frob.com>
92c3af3c 93867
edf66db1
SP
93868 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93869 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93870 (reloc-link): Likewise.
92c3af3c 93871
edf66db1 938722011-06-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93873
edf66db1
SP
93874 * elf/Makefile: Add rules to build pldd.
93875 * elf/pldd.c: New file.
93876 * elf/pldd-xx.c: New file.
92c3af3c 93877
edf66db1 938782011-06-07 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93879
edf66db1 93880 * version.h: Update for 2.15 development version.
92c3af3c 93881
edf66db1 938822011-06-07 David S. Miller <davem@davemloft.net>
92c3af3c 93883
edf66db1
SP
93884 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93885 ifuncs.
93886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93887 elf_machine_lazy_rel): Likewise.
93888 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93889 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93890 elf_machine_lazy_rel): Likewise.
93891 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93892 dl_hwcap via passed in argument.
93893 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93894 Likewise.
92c3af3c 93895
edf66db1 938962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 93897
edf66db1 93898 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
92c3af3c 93899
edf66db1 939002011-06-06 Roland McGrath <roland@hack.frob.com>
92c3af3c 93901
edf66db1
SP
93902 [BZ #12849]
93903 * manual/fdl-1.1.texi: New file, verbatim from:
93904 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93905 * manual/lgpl-2.1.texi: New file, verbatim from:
93906 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93907 * manual/Makefile (licenses): New variable, list those new file names.
93908 (texis): Use it.
93909 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92c3af3c 93910
edf66db1
SP
93911 * manual/fdl.texi: File removed.
93912 * manual/lesser.texi: File removed.
93913 * manual/libc.texinfo (Copying, Documentation License):
93914 Use new @include file names, put @appendix directive before @include.
92c3af3c 93915
edf66db1 939162011-06-04 Jakub Jelinek <jakub@redhat.com>
92c3af3c 93917
edf66db1
SP
93918 [BZ #12841]
93919 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93920 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93921 (mq_open): Add __NTH.
92c3af3c 93922
edf66db1 939232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 93924
edf66db1
SP
93925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93926 Assume Intel Core i3/i5/i7 processor if AVX is available.
92c3af3c 93927
edf66db1 939282011-05-31 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93929
edf66db1
SP
93930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93931 typo.
92c3af3c 93932
edf66db1 939332011-05-31 Andreas Schwab <schwab@redhat.com>
92c3af3c 93934
edf66db1
SP
93935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93936 memory. Use alloca_account. Fix memory leak when retrying.
92c3af3c 93937
edf66db1 939382011-05-31 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93939
edf66db1
SP
93940 * version.h (RELEASE): Bump for 2.14 release.
93941 * include/features.h (__GLIBC_MINOR__): Bump to 14.
92c3af3c 93942
edf66db1 93943 * config.make.in (RANLIB): Remove entry.
92c3af3c 93944
edf66db1 939452011-05-30 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93946
edf66db1
SP
93947 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93948 (libc.pot): Work around missing support for .ksh extension in xgettext.
92c3af3c 93949
edf66db1
SP
93950 [BZ #12684]
93951 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93952 if both request failed.
93953 (send_dg): In case of server errors clear resplen or *resplen2.
92c3af3c 93954
edf66db1
SP
93955 [BZ #12454]
93956 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93957 when there are multiple maps.
93958 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93959 (_dl_fini): Remove test here.
92c3af3c 93960
edf66db1 93961 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
92c3af3c 93962
edf66db1 939632011-05-29 Ulrich Drepper <drepper@gmail.com>
92c3af3c 93964
edf66db1
SP
93965 [BZ #12350]
93966 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93967 bit from old_res_options.
93968 (gaih_inet): Likewise.
92c3af3c 93969
edf66db1
SP
93970 [BZ #11099]
93971 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93972 as signed.
92c3af3c 93973
edf66db1 93974 * resolv/res_init.c (res_setoptions): Make the code more compact.
92c3af3c 93975
edf66db1
SP
93976 [BZ #11558]
93977 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93978 set RES_USEVC.
92c3af3c 93979
edf66db1
SP
93980 [BZ #11634]
93981 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
92c3af3c 93982
edf66db1 93983 * malloc/malloc.h: Mark malloc hook variables as deprecated.
92c3af3c 93984
edf66db1
SP
93985 [BZ #11781]
93986 * malloc/malloc.h: Declare malloc hook variables as volatile.
92c3af3c 93987
edf66db1
SP
93988 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93989 in last patch.
92c3af3c 93990
edf66db1
SP
93991 [BZ #11799]
93992 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93993 raise in the comment.
93994 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93995 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93996 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93997
939982011-05-28 Ulrich Drepper <drepper@gmail.com>
93999
94000 [BZ #12811]
94001 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
94002 grow the buffers more if it already has to be sufficient.
94003 (build_wcs_upper_buffer): Likewise.
94004 * posix/regexec.c (check_matching): Likewise.
94005 (clean_state_log_if_needed): Likewise.
94006 (extend_buffers): Don't enlarge buffers beyond size of the input
94007 buffer.
94008 Patches mostly by Emil Wojak <emil@wojak.eu>.
94009 * posix/bug-regex32.c: New file.
94010 * posix/Makefile (tests): Add bug-regex32.
92c3af3c 94011
edf66db1
SP
94012 * locale/findlocale.c (_nl_find_locale): Return right away if
94013 _nl_explode_name failed.
94014 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92c3af3c 94015
edf66db1 94016 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92c3af3c 94017
edf66db1
SP
94018 * debug/xtrace.sh: Unify messages.
94019 * malloc/memusage.sh: Likewise.
92c3af3c 94020
edf66db1
SP
94021 [BZ #12813]
94022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
94023 time symbol from vDSO. Substitute with vsyscall if not available.
94024 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
94025 __vdso_time.
94026
94027 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
94028 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
94029 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
94030 Add sendmmsg and internal_sendmmsg.
94031 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
94032 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
94033 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
94034
94035 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
94036 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
94037 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
94038
940392011-05-27 Ulrich Drepper <drepper@gmail.com>
94040
94041 [BZ #12813]
94042 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
94043 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
94044 available.
94045 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
94046 __vdso_getcpu.
92c3af3c 94047
edf66db1
SP
94048 [BZ #12814]
94049 * iconvdata/Makefile (tests): Add bug-iconv9.
94050 * iconvdata/bug-iconv9.c: New file.
92c3af3c 94051
edf66db1 940522011-05-27 Andreas Schwab <schwab@redhat.com>
92c3af3c 94053
edf66db1
SP
94054 [BZ #12814]
94055 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92c3af3c 94056
edf66db1 940572011-05-25 Jakub Jelinek <jakub@redhat.com>
92c3af3c 94058
edf66db1
SP
94059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94060 (struct user_regs_struct): Change intcs field back to cs.
92c3af3c 94061
edf66db1
SP
940622011-05-25 Ulrich Drepper <drepper@gmail.com>
94063
94064 * po/ja.po: Update from translation team.
94065
940662011-05-23 Ulrich Drepper <drepper@gmail.com>
94067
94068 [BZ #12795]
94069 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
94070 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
94071
940722011-05-20 Andreas Schwab <schwab@redhat.com>
94073
94074 * stdlib/longlong.h: Update from GCC.
94075
940762011-05-23 Andreas Schwab <schwab@redhat.com>
94077
94078 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
94079 parameter name.
94080 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
94081 Add parameter name.
94082 (__sysconf): Pass it down.
94083
940842011-05-22 Ulrich Drepper <drepper@gmail.com>
94085
94086 [BZ #12671]
94087 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
94088 some situations.
94089 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
94090 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
94091 add in in __libc_use_alloca calls. Adjust callers.
94092 (glob): Use malloc in some situations.
94093
94094 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
94095 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
94096 pltexit.
94097
940982011-05-21 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94099
edf66db1
SP
94100 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
94101 and CLOCK_BOOTTIME_ALARM.
92c3af3c 94102
edf66db1
SP
94103 [BZ #12782]
94104 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
94105 is returned.
92c3af3c 94106
edf66db1
SP
94107 * string/_strerror.c (__strerror_r): Print negative errors as signed
94108 numbers.
92c3af3c 94109
edf66db1
SP
94110 [BZ #12777]
94111 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
94112 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
94113 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92c3af3c 94114
edf66db1
SP
94115 * configure.in: Fix typo in redirection and correct removal of test
94116 files in two cases.
92c3af3c 94117
edf66db1
SP
94118 [BZ #12788]
94119 * locale/setlocale.c (new_composite_name): Fix test to check for
94120 identical name of all categories.
92c3af3c 94121
edf66db1
SP
94122 [BZ #12792]
94123 * libio/filedoalloc.c (local_isatty): New function.
94124 (_IO_file_doallocate): Use local_isatty.
94125 * stdio-common/perror.c (perror): In case a new stream is used
94126 forward the stream error.
94127 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
94128 error flag.
92c3af3c 94129
edf66db1 941302011-05-20 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94131
edf66db1
SP
94132 [BZ #11884]
94133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
94134 alloca.
94135 * include/alloca.h (extend_alloca_account): Define.
92c3af3c 94136
edf66db1
SP
94137 [BZ #11857]
94138 * posix/regex.h: Fix comments with documentation of user-accessible
94139 fields after compilation and describe correct free'ing of pattern
94140 after re_compile_pattern.
94141 Patch by Reuben Thomas <rrt@sc3d.org>.
92c3af3c 94142
edf66db1 941432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
92c3af3c 94144
edf66db1
SP
94145 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
94146 and -mno-altivec to prevent the compiler from using Altivec and/or
94147 VSX instructions when the corresponding registers are not available.
92c3af3c 94148
edf66db1 941492011-05-19 Andreas Schwab <schwab@redhat.com>
92c3af3c 94150
edf66db1 94151 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92c3af3c 94152
edf66db1 941532011-05-19 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94154
edf66db1
SP
94155 * libio/freopen.c (freopen): Use __dup2, not dup2.
94156 * libio/freopen64.c (freopen64): Likewise.
92c3af3c 94157
edf66db1 941582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 94159
edf66db1
SP
94160 [BZ #12775]
94161 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
94162 * math/Makefile (tests): Add test-powl.
94163 (CFLAGS-test-powl.c): Define.
94164 * math/test-powl.c: New file.
92c3af3c 94165
edf66db1 941662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 94167
edf66db1 94168 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92c3af3c 94169
edf66db1 941702011-05-17 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94171
edf66db1
SP
94172 [BZ #11837]
94173 * iconvdata/gb18030.c: Update to GB18020-2005.
92c3af3c 94174
edf66db1 941752011-05-16 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94176
edf66db1
SP
94177 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
94178 RE_SYNTAX_POSIX_AWK): Update to match recent development.
94179 Patch by Aharon Robbins <arnold@skeeve.com>.
92c3af3c 94180
edf66db1
SP
94181 [BZ #11892]
94182 * stdlib/putenv.c (putenv): Don't always create copy of the variable
94183 on the stack.
92c3af3c 94184
edf66db1
SP
94185 [BZ #11895]
94186 * misc/pselect.c (__pselect): Handle timeout value errors hidden
94187 through underflows.
92c3af3c 94188
edf66db1
SP
94189 [BZ #12766]
94190 * misc/error.c (error_at_line): Ensure file_name and old_file_name
94191 point to strings before performing equality test for error_one_per_line
94192 mode.
92c3af3c 94193
edf66db1
SP
94194 [BZ #11697]
94195 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92c3af3c 94196
edf66db1
SP
94197 [BZ #11820]
94198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94199 (struct user_fpregs_struct): Avoid __uint*_t types.
92c3af3c 94200
edf66db1
SP
94201 [BZ #6420]
94202 * malloc/mtrace.c (tr_where): Add additional parameter to point to
94203 symbol info. Use it instead of calling _dl_addr locally.
94204 (lock_and_info): New function.
94205 (tr_freehook): Call lock_and_info and pass symbol info as additional
94206 parameter to tr_where.
94207 (tr_mallochook): Likewise.
94208 (tr_reallochook): Likewise.
94209 (tr_memalignhook): Likewise.
92c3af3c 94210
edf66db1
SP
94211 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
94212 used and couldn't be at all thread-safe.
92c3af3c 94213
edf66db1 942142011-05-15 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94215
edf66db1
SP
94216 * libio/freopen.c (freopen): Don't close old file descriptor
94217 before the new one is opened. Instead dup the new file descriptor
94218 to the old one after the new stream is created.
94219 * libio/freopen64.c (freopen64): Likewise.
94220 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94221 * libio/fileops.c (_IO_new_file_close_it): Handle new
94222 _IO_FLAGS2_NOCLOSE flag.
94223 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94224 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94225 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94226 _IO_FLAGS2_NOCLOSE flag.
94227 * include/unistd.h: Add hidden_proto for dup3.
94228 Define __have_dup3.
94229 * io/dup3.c: Define hidden symbol.
94230 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94231
94232 [BZ #7101]
94233 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94234 when an incomplete long option is used.
94235 * posix/tst-getopt_long1.c: New file.
94236 * posix/Makefile (tests): Add tst-getopt_long1.
94237
94238 [BZ #10138]
94239 * scripts/config.guess: Update from autoconf-2.68.
94240 * scripts/config.sub: Likewise.
92c3af3c 94241
edf66db1
SP
94242 [BZ #10157]
94243 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94244 tests into ...
94245 (has_cpuclock): ...this. New function.
94246 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94247 macro here based on has_cpuclock code.
94248
94249 [BZ #10149]
94250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94251 First byte (not low byte) is now always NUL.
94252 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94253
94254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94255 Use non-cancelable interfaces.
94256
94257 [BZ #9809]
94258 * locale/iso-639.def: Add entry for Sorani.
94259
94260 [BZ #11901]
94261 * include/stdlib.h: Move include protection to the right place.
94262 Define abort_msg_s. Declare __abort_msg with it.
94263 * stdlib/abort.c (__abort_msg): Adjust type.
94264 * assert/assert.c (__assert_fail_base): New function. Majority
94265 of code from __assert_fail. Allocate memory for __abort_msg with
94266 mmap.
94267 (__assert_fail): Now call __assert_fail_base.
94268 * assert/assert-perr.c: Remove bulk of implementation. Use
94269 __assert_fail_base.
94270 * include/assert.hL Declare __assert_fail_base.
94271 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94272 mmap.
94273 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92c3af3c 94274
edf66db1
SP
942752011-05-14 Ulrich Drepper <drepper@gmail.com>
94276
94277 [BZ #11952]
94278 [BZ #12453]
94279 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94280 until all modules are registered in the DTV.
94281 * elf/Makefile: Add rules to build and run tst-tls19.
94282 * elf/tst-tls19.c: New file.
94283 * elf/tst-tls19mod1.c: New file.
94284 * elf/tst-tls19mod2.c: New file.
94285 * elf/tst-tls19mod3.c: New file.
94286 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94287
94288 [BZ #12083]
94289 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94290 correctly.
94291
94292 [BZ #12601]
94293 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94294 two-byte sequence errors.
94295 * iconvdata/Makefile (tests): Add bug-iconv8.
94296 * iconvdata/bug-iconv8.c: New file.
94297
94298 [BZ #12626]
94299 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94300 buf2 definition.
94301
94302 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94303
94304 [BZ #12432]
94305 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94306 (dummy_getcfa): New function.
94307 (init): Get _Unwind_GetCFA address, use dummy if not found.
94308 (backtrace_helper): In recursion check, also check whether CFA changes.
94309 (__backtrace): Completely initialize arg.
94310
94311 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94312 storing incomplete byte sequence in state object. Avoid testing for
94313 guaranteed too small input if we know there is enough data available.
94314
943152011-05-11 Andreas Schwab <schwab@redhat.com>
94316
94317 * Makeconfig (+link-pie): Indent.
94318 * Rules (binaries-pie): Define if $(have-fpie) and
94319 $(build-shared).
94320 (binaries-shared): Also filter out $(binaries-pie).
94321 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94322 * nscd/Makefile (others-pie): Add nscd.
94323 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94324 ($(objpfx)nscd): Remove command override.
94325 * login/Makefile (others-pie): Add pt_chown.
94326 ($(objpfx)pt_chown): Remove command override.
94327 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94328 remove command overrides.
94329
943302011-05-13 Ulrich Drepper <drepper@gmail.com>
94331
94332 * libio/tst_putwc.c: Fix error messages.
94333
94334 [BZ #12724]
94335 * libio/fileops.c (_IO_new_file_close_it): Always flush when
94336 currently writing and seek to current position when not.
94337 * libio/Makefile (tests): Add bug-fclose1.
94338 * libio/bug-fclose1.c: New file.
94339
943402011-05-12 Ulrich Drepper <drepper@gmail.com>
94341
94342 [BZ #12511]
94343 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94344 don't set DF_1_NODELETE here.
94345 (do_lookup_x): When entering new entry test for copy relocation
94346 and if necessary set DF_1_NODELETE flag.
94347 * elf/tst-unique4.cc: New file.
94348 * elf/tst-unique4.h: New file.
94349 * elf/tst-unique4lib.cc: New file.
94350 * elf/Makefile: Add rules to build and run tst-unique4.
94351 Patch by Piotr Bury <pbury@goahead.com>.
94352
943532011-05-11 Ulrich Drepper <drepper@gmail.com>
94354
94355 [BZ #12052]
94356 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94357
94358 [BZ #12625]
94359 * misc/mntent_r.c (addmntent): Flush the stream after the output
94360
94361 [BZ #12393]
94362 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94363 (is_trusted_path_normalize): Skip initial colon. Append slash
94364 to empty buffer. Duplicate is_trusted_path code but allow
94365 constructed patch to be prefix.
94366 (is_dst): Allow $ORIGIN followed by /.
94367 (_dl_dst_substitute): Correct clearing of check_for_trusted.
94368 Correct testing of result of is_trusted_path_normalize
94369 (decompose_rpath): Fix warning.
94370
943712011-05-10 Ulrich Drepper <drepper@gmail.com>
94372
94373 [BZ #11257]
94374 * grp/initgroups.c (internal_getgrouplist): When we found the service
94375 list through the initgroups entry in nsswitch.conf do not always
94376 continue on a successful lookup. Don't always use the
94377 __nss_group_database value if it is set.
94378 * nss/nsswitch.conf (initgroups): Change action for successful db
94379 lookup to continue for compatibility.
94380
943812011-05-09 Ulrich Drepper <drepper@gmail.com>
94382
94383 [BZ #11532]
94384 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94385 and CP774 modules.
94386 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94387 and CP774 modules.
94388 * iconvdata/tst-tables.sh: Likewise.
94389 * iconvdata/cp770.c: New file.
94390 * iconvdata/cp771.c: New file.
94391 * iconvdata/cp772.c: New file.
94392 * iconvdata/cp773.c: New file.
94393 * iconvdata/cp774.c: New file.
94394 * iconvdata/testdata/CP770: New file.
94395 * iconvdata/testdata/CP770..UTF8: New file.
94396 * iconvdata/testdata/CP771: New file.
94397 * iconvdata/testdata/CP771..UTF8: New file.
94398 * iconvdata/testdata/CP772: New file.
94399 * iconvdata/testdata/CP772..UTF8: New file.
94400 * iconvdata/testdata/CP773: New file.
94401 * iconvdata/testdata/CP773..UTF8: New file.
94402 * iconvdata/testdata/CP774: New file.
94403 * iconvdata/testdata/CP774..UTF8: New file.
94404
94405 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94406 END CHARMAP line.
94407 * iconvdata/gen-8bit-gap.sh: Likewise.
94408 * iconvdata/gen-8bit.sh: Likewise.
94409
94410 * locale/iso-639.def: Add ary entry.
94411
94412 [BZ #11258]
94413 * locale/C-translit.h.in: Add U20A1 transliteration.
94414
94415 [BZ #12178]
94416 * locale/iso-639.def: Add wae entry.
94417 Patch by Kevin Bortis <bortis@translate-wae.ch>.
94418
94419 [BZ #12545]
94420 * locale/programs/localedef.c (construct_output_path): Use ssize_t
94421 for n.
94422
94423 [BZ #12711]
94424 * locale/C-translit.h.in: Add entry for U20B9.
94425 Patch by pravin.d.s@gmail.com.
94426
944272011-05-08 Ulrich Drepper <drepper@gmail.com>
94428
94429 [BZ #12713]
94430 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94431 ENAMETOOLONG use generic getcwd.
94432 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94433 in rtld. Use *stat64.
94434 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94435 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94436 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94437 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94438 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94439 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94440 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94441 __fstatat64 macros.
94442 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94443 * dirent/rewinddir.c: Add libc_hidden_def.
94444 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94445 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94446
94447 * include/dirent.h (__alloc_dir): Add flags parameter.
94448 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94449 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94450 __alloc_dir.
94451 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94452 from fdopendir if O_CLOEXEC is already set.
92c3af3c 94453
edf66db1 944542011-03-15 Alan Modra <amodra@gmail.com>
92c3af3c 94455
edf66db1
SP
94456 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94457 l_tls_firstbyte_offset non-zero. Save padding offset in
94458 l_tls_firstbyte_offset for later use.
94459 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94460 freeing static tls block.
92c3af3c 94461
edf66db1 944622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
92c3af3c 94463
edf66db1
SP
94464 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94465 where #ifdef was intended. The intent is to prevent ARG_MAX from
94466 being defined by the kernel headers.
92c3af3c 94467
edf66db1 944682011-05-07 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94469
edf66db1
SP
94470 [BZ #12734]
94471 * resolv/resolv.h: Define RES_NOTLDQUERY.
94472 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94473 no-tld-query and set RES_NOTLDQUERY.
94474 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94475 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94476 modern BIND to search name as TLD unless forbidden.
92c3af3c 94477
edf66db1
SP
944782011-05-07 Petr Baudis <pasky@suse.cz>
94479 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94480
edf66db1
SP
94481 [BZ #12393]
94482 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94483 (is_trusted_path): ...to here.
94484 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94485 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94486 using is_trusted_path_normalize() in setuid scripts.
92c3af3c 94487
edf66db1 944882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
92c3af3c 94489
edf66db1
SP
94490 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94491 __BEGIN/__END_DECLS.
92c3af3c 94492
edf66db1 944932011-05-06 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94494
edf66db1
SP
94495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94496 NSS_STATUS_NOTFOUND if no record was found.
92c3af3c 94497
edf66db1 944982011-05-05 Andreas Schwab <schwab@redhat.com>
92c3af3c 94499
edf66db1
SP
94500 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94501 (headers-not-in-tirpc): Remove rpc/netdb.h
94502 * resolv/netdb.h: Revert last change.
92c3af3c 94503
edf66db1 945042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
92c3af3c 94505
edf66db1
SP
94506 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94507 circular dependency between libgcc.a and libc.a.
92c3af3c 94508
edf66db1 945092011-05-05 Andreas Schwab <schwab@redhat.com>
92c3af3c 94510
edf66db1
SP
94511 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94512 * nis/Makefile: Don't install rpcsvc/*.
94513 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94514 instead of <rpc/types.h>.
94515 (MAXHOSTNAMELEN): Define.
92c3af3c 94516
edf66db1 945172011-05-03 Andreas Schwab <schwab@redhat.com>
92c3af3c 94518
edf66db1 94519 * elf/ldconfig.c (add_dir): Don't crash on empty path.
92c3af3c 94520
edf66db1 945212011-04-28 Maciej Babinski <mbabinski@google.com>
92c3af3c 94522
edf66db1
SP
94523 [BZ #12714]
94524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94525 gethostbyname4_r when IPv6 results are possible.
92c3af3c 94526
edf66db1 945272011-05-02 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94528
edf66db1
SP
94529 [BZ #12723]
94530 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94531 _PC_PIPE_BUF handling.
92c3af3c 94532
edf66db1 945332011-04-30 Bruno Haible <bruno@clisp.org>
92c3af3c 94534
edf66db1
SP
94535 [BZ #12717]
94536 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94537 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94538 to 'int'.
94539 * inet/getnameinfo.c (getnameinfo): Likewise.
92c3af3c 94540
edf66db1 945412011-04-29 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94542
edf66db1
SP
94543 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94544 to groups setting in database lookup.
94545 * nss/nsswitch.conf: Add initgroups entry.
92c3af3c 94546
edf66db1 945472011-04-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94548
edf66db1
SP
94549 [BZ #12685]
94550 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94551 mode string.
94552 Patch by Eric Blake <eblake@redhat.com>.
92c3af3c 94553
edf66db1 945542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 94555
edf66db1
SP
94556 * sunrpc/Makefile (need-export-routines): Add svc_run.
94557 (routines): Remove svc_run.
94558 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94559 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94560 * sunrpc/svc_run.c (svc_run): Likewise.
94561 * sunrpc/svc_udp.c (svcudp_create): Likewise.
92c3af3c 94562
edf66db1 945632011-04-21 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94564
edf66db1
SP
94565 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94566 problem in reallocation in last patch.
92c3af3c 94567
edf66db1 945682011-04-20 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94569
edf66db1 94570 * sunrpc/Makefile: Move inclusion of Rules.
92c3af3c 94571
edf66db1 945722011-04-19 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94573
edf66db1
SP
94574 * nss/nss_files/files-initgroups.c: New file.
94575 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94576 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94577 _nss_files_initgroups_dyn.
92c3af3c 94578
edf66db1 945792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
92c3af3c 94580
edf66db1 94581 * elf/elf.h (R_ARM_IRELATIVE): Define.
92c3af3c 94582
edf66db1 945832011-04-19 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94584
edf66db1 94585 * po/ru.po: Update from translation team.
92c3af3c 94586
edf66db1 945872011-04-17 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94588
edf66db1
SP
94589 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94590 dependencies.
92c3af3c 94591
edf66db1
SP
945922011-02-06 Mike Frysinger <vapier@gentoo.org>
94593
94594 [BZ #12653]
94595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94596 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94599 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94600
946012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94602
94603 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94604 differing bytes.
94605 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94608
946092011-04-17 Ulrich Drepper <drepper@gmail.com>
94610
94611 [BZ #12420]
94612 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94613 storing it.
94614 * stdlib/bug-getcontext.c: New file.
94615 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94616
946172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94618
94619 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94620 instructions into .machine "z9-109".
94621 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94622 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94623
946242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94625
94626 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94627 between environment variables and auxiliary vector.
94628
946292011-04-16 Ulrich Drepper <drepper@gmail.com>
94630
94631 * Makefile: Add rules to build linkobj/libc.so.
94632 * include/libc-symbols.h: Define libc_hidden_nolink.
94633 * include/rpc/auth.h: Mark functions which are to be hidden.
94634 * include/rpc/auth_des.h: Likewise.
94635 * include/rpc/auth_unix.h: Likewise.
94636 * include/rpc/clnt.h: Likewise.
94637 * include/rpc/des_crypt.h: Likewise.
94638 * include/rpc/key_prot.h: Likewise.
94639 * include/rpc/pmap_clnt.h: Likewise.
94640 * include/rpc/pmap_prot.h: Likewise.
94641 * include/rpc/pmap_rmt.h: Likewise.
94642 * include/rpc/rpc_msg.h: Likewise.
94643 * include/rpc/svc.h: Likewise.
94644 * include/rpc/svc_auth.h: Likewise.
94645 * include/rpc/xdr.h: Likewise.
94646 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94647 * nss/Makefile: Likewise.
94648 * sunrpc/Makefile: Don't install headers. Build library with normal
94649 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94650 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94651 for the compat linking library. Remove use of INTDEF/INTUSE.
94652 * sunrpc/auth_none.c: Likewise.
94653 * sunrpc/auth_unix.c: Likewise.
94654 * sunrpc/authdes_prot.c: Likewise.
94655 * sunrpc/authuxprot.c: Likewise.
94656 * sunrpc/clnt_gen.c: Likewise.
94657 * sunrpc/clnt_perr.c: Likewise.
94658 * sunrpc/clnt_raw.c: Likewise.
94659 * sunrpc/clnt_simp.c: Likewise.
94660 * sunrpc/clnt_tcp.c: Likewise.
94661 * sunrpc/clnt_udp.c: Likewise.
94662 * sunrpc/clnt_unix.c: Likewise.
94663 * sunrpc/des_crypt.c: Likewise.
94664 * sunrpc/des_soft.c: Likewise.
94665 * sunrpc/get_myaddr.c: Likewise.
94666 * sunrpc/key_call.c: Likewise.
94667 * sunrpc/key_prot.c: Likewise.
94668 * sunrpc/netname.c: Likewise.
94669 * sunrpc/pm_getmaps.c: Likewise.
94670 * sunrpc/pm_getport.c: Likewise.
94671 * sunrpc/pmap_clnt.c: Likewise.
94672 * sunrpc/pmap_prot.c: Likewise.
94673 * sunrpc/pmap_prot2.c: Likewise.
94674 * sunrpc/pmap_rmt.c: Likewise.
94675 * sunrpc/publickey.c: Likewise.
94676 * sunrpc/rpc_cmsg.c: Likewise.
94677 * sunrpc/rpc_common.c: Likewise.
94678 * sunrpc/rpc_dtable.c: Likewise.
94679 * sunrpc/rpc_prot.c: Likewise.
94680 * sunrpc/rpc_thread.c: Likewise.
94681 * sunrpc/rtime.c: Likewise.
94682 * sunrpc/svc.c: Likewise.
94683 * sunrpc/svc_auth.c: Likewise.
94684 * sunrpc/svc_authux.c: Likewise.
94685 * sunrpc/svc_raw.c: Likewise.
94686 * sunrpc/svc_run.c: Likewise.
94687 * sunrpc/svc_simple.c: Likewise.
94688 * sunrpc/svc_tcp.c: Likewise.
94689 * sunrpc/svc_udp.c: Likewise.
94690 * sunrpc/svc_unix.c: Likewise.
94691 * sunrpc/svcauth_des.c: Likewise.
94692 * sunrpc/xcrypt.c: Likewise.
94693 * sunrpc/xdr.c: Likewise.
94694 * sunrpc/xdr_array.c: Likewise.
94695 * sunrpc/xdr_float.c: Likewise.
94696 * sunrpc/xdr_intXX_t.c: Likewise.
94697 * sunrpc/xdr_mem.c: Likewise.
94698 * sunrpc/xdr_rec.c: Likewise.
94699 * sunrpc/xdr_ref.c: Likewise.
94700 * sunrpc/xdr_sizeof.c: Likewise.
94701 * sunrpc/xdr_stdio.c: Likewise.
92c3af3c 94702
edf66db1 947032011-04-10 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94704
edf66db1
SP
94705 [BZ #12650]
94706 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94707 * sysdeps/ia64/dl-tls.h: Likewise.
94708 * sysdeps/powerpc/dl-tls.h: Likewise.
94709 * sysdeps/s390/dl-tls.h: Likewise.
94710 * sysdeps/sh/dl-tls.h: Likewise.
94711 * sysdeps/sparc/dl-tls.h: Likewise.
94712 * sysdeps/x86_64/dl-tls.h: Likewise.
94713 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92c3af3c 94714
edf66db1 947152011-03-14 Andreas Schwab <schwab@redhat.com>
92c3af3c 94716
edf66db1
SP
94717 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94718 rpath element also skip the following colon.
94719 (expand_dynamic_string_token): Add is_path parameter and pass
94720 down to DL_DST_REQUIRED and _dl_dst_substitute.
94721 (decompose_rpath): Call expand_dynamic_string_token with
94722 non-zero is_path. Ignore empty rpaths.
94723 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94724 with zero is_path.
92c3af3c 94725
edf66db1 947262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 94727
edf66db1
SP
94728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94729 Make cancelable.
92c3af3c 94730
edf66db1 947312011-04-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94732
edf66db1
SP
94733 [BZ #12655]
94734 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94735 Patch by Filipe David Manana <fdmanana@apache.org>.
92c3af3c 94736
edf66db1 947372011-04-07 Andreas Schwab <schwab@redhat.com>
92c3af3c 94738
edf66db1
SP
94739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94740 Maintain aligned stack.
94741 (CHECK_RSP): Remove unused macro.
92c3af3c 94742
edf66db1 947432011-04-03 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94744
edf66db1
SP
94745 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94746 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92c3af3c 94747
edf66db1 947482011-04-02 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94749
edf66db1 94750 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92c3af3c 94751
edf66db1 94752 * include/features.h: Mention __USE_XOPEN2K8 in comment.
92c3af3c 94753
edf66db1 947542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 94755
edf66db1
SP
94756 [BZ #12518]
94757 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94758 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94759 * sysdeps/x86_64/memmove.c: New file.
94760 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94761 (memcpy): Renamed to ...
94762 (__new_memcpy): This.
94763 (memcpy): Provide GLIBC_2_14 memcpy.
94764 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94765 (memcpy): Provide GLIBC_2_2_5 memcpy.
92c3af3c 94766
edf66db1 947672011-04-01 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94768
edf66db1
SP
94769 [BZ #12631]
94770 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92c3af3c 94771
edf66db1 947722011-03-30 Andreas Schwab <schwab@redhat.com>
92c3af3c 94773
edf66db1
SP
94774 * misc/syncfs.c: New file.
94775 * misc/Makefile (routines): Add syncfs.
94776 * posix/unistd.h: Declare syncfs.
94777 * sysdeps/unix/syscalls.list: Add syncfs.
92c3af3c 94778
edf66db1 947792011-04-01 Andreas Schwab <schwab@redhat.com>
92c3af3c 94780
edf66db1
SP
94781 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94782 open_by_handle_at.
94783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94786 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94788 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94790
947912011-04-01 Ulrich Drepper <drepper@gmail.com>
94792
94793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94794 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94795 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94799 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94800
94801 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94802 sync_file_range.c with -fexceptions.
94803 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94804 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94805 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94806 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94807 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94808 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94809 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94810 sync_file_range as cancellation point
94811 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94812 now a wrapper around __call_sync_file_range with cancellation handling.
94813 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94814 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94815 function name to __call_sync_file_range.
94816 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94817 Add call_sync_file_range.
94818
948192011-04-01 Andreas Schwab <schwab@redhat.com>
94820
94821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94822 bits/timex.h.
94823
948242011-04-01 Ulrich Drepper <drepper@gmail.com>
94825
94826 * iconv/iconv.h: Fix typo in comment.
94827 * io/fcntl.h: Likewise.
94828 * libio/stdio.h: Likewise.
94829 * posix/spawn.h: Likewise.
94830 * posix/unistd.h: Likewise.
94831 * stdlib/stdlib.h: Likewise.
94832 * time/time.h: Likewise.
94833 * wcsmbs/wchar.h: Likewise.
92c3af3c 94834
edf66db1
SP
94835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94836 open_by_handle): Add.
94837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94838 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94839 Augment a few comments.
94840 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94842 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94845 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94846 open_by_handle.
92c3af3c 94847
edf66db1 94848 * io/fcntl.h (AT_EMPTY_PATH): Define.
92c3af3c 94849
edf66db1 948502011-03-30 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94851
edf66db1
SP
94852 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94853 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94854 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94855 to...
94856 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94857 * Versions.def: Add GLIBC_2.14.
94858 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94859 Export.
92c3af3c 94860
edf66db1 948612011-03-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94862
edf66db1
SP
94863 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94864 round counter.
94865 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92c3af3c 94866
edf66db1 948672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 94868
edf66db1
SP
94869 [BZ #12597]
94870 * string/test-strncmp.c (do_page_test): New function.
94871 (check2): Likewise.
94872 (test_main): Call check2.
94873 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
92c3af3c 94874
edf66db1 948752011-03-20 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94876
edf66db1
SP
94877 [BZ #12587]
94878 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94879 Handle cache information in CPU leaf 4.
94880 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92c3af3c 94881
edf66db1 948822011-03-18 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94883
edf66db1
SP
94884 [BZ #12583]
94885 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94886 character representation.
94887 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
92c3af3c 94888
edf66db1 948892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
92c3af3c 94890
edf66db1
SP
94891 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94892 END(__isnan) to END(__isnanf) to match function entry point/label
94893 EALIGN(__isnanf,...).
92c3af3c 94894
edf66db1 948952011-03-10 Jakub Jelinek <jakub@redhat.com>
92c3af3c 94896
edf66db1 94897 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
92c3af3c 94898
edf66db1 948992011-03-10 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94900
edf66db1
SP
94901 [BZ #12510]
94902 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94903 copy from the symbol referenced in the relocation to initialize the
94904 used variable.
94905 Patch by Piotr Bury <pbury@goahead.com>.
94906 * elf/Makefile: Add rules to build and tst-unique3.
94907 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94908 * elf/tst-unique3.cc: New file.
94909 * elf/tst-unique3.h: New file.
94910 * elf/tst-unique3lib.cc: New file.
94911 * elf/tst-unique3lib2.cc: New file.
92c3af3c 94912
edf66db1 94913 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
92c3af3c 94914
edf66db1 949152011-03-10 Mike Frysinger <vapier@gentoo.org>
92c3af3c 94916
edf66db1
SP
94917 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94918 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94919 to _start.
92c3af3c 94920
edf66db1 949212011-03-06 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94922
edf66db1
SP
94923 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94924 to-be-loaded object along a path to loader is ld.so.
92c3af3c 94925
edf66db1
SP
949262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94927 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94928
edf66db1
SP
94929 * sysdeps/x86_64/memset.S: After aligning destination, code
94930 branches to different locations depending on the value of
94931 misalignment, when multiarch is enabled. Fix this.
92c3af3c 94932
edf66db1 949332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
92c3af3c 94934
edf66db1
SP
94935 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94936 Set _x86_64_preferred_memory_instruction for AMD processsors.
94937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94938 Set bit_Prefer_SSE_for_memop for AMD processors.
92c3af3c 94939
edf66db1 949402011-03-04 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94941
edf66db1 94942 * libio/fmemopen.c (fmemopen): Optimize a bit.
92c3af3c 94943
edf66db1 949442011-03-03 Andreas Schwab <schwab@redhat.com>
92c3af3c 94945
edf66db1 94946 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
92c3af3c 94947
edf66db1 949482011-03-03 Roland McGrath <roland@redhat.com>
92c3af3c 94949
edf66db1 94950 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
92c3af3c 94951
edf66db1 949522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
92c3af3c 94953
edf66db1
SP
94954 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94955 __bzero_ultra1 instead of __memset_ultra1.
92c3af3c 94956
edf66db1
SP
949572011-02-23 Andreas Schwab <schwab@redhat.com>
94958 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94959
edf66db1
SP
94960 [BZ #12509]
94961 * include/link.h (struct link_map): Add l_orig_initfini.
94962 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94963 returning unsuccessfully.
94964 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94965 close of a file loaded at startup, restore the original l_initfini
94966 list.
94967 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94968 list, store the pointer.
94969 * elf/Makefile ($(objpfx)noload-mem): New rule.
94970 (noload-ENV): Define.
94971 (tests): Add $(objpfx)noload-mem.
94972 * elf/noload.c: Include <memcheck.h>.
94973 (main): Call mtrace. Close all opened handles.
92c3af3c 94974
edf66db1 949752011-02-17 Andreas Schwab <schwab@redhat.com>
92c3af3c 94976
edf66db1
SP
94977 [BZ #12454]
94978 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94979 dependencies are missing.
92c3af3c 94980
edf66db1 949812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 94982
edf66db1
SP
94983 Fix __if_freereq crash: Unlike the generic version which uses free,
94984 Hurd needs munmap.
94985 * sysdeps/mach/hurd/ifreq.h: New file.
92c3af3c 94986
edf66db1
SP
949872011-01-27 Petr Baudis <pasky@suse.cz>
94988 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94989
edf66db1
SP
94990 [BZ 12445]#
94991 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94992 to extend_alloca().
94993 * stdio-common/bug23.c: New file.
94994 * stdio-common/Makefile (tests): Add bug23.
92c3af3c 94995
edf66db1
SP
949962010-09-28 Andreas Schwab <schwab@redhat.com>
94997 Ulrich Drepper <drepper@gmail.com>
92c3af3c 94998
edf66db1
SP
94999 [BZ #12489]
95000 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
95001 before performing relro protection. At old place add assertion
95002 to make sure nothing changed.
95003
950042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
95005 Glauber de Oliveira Costa <glommer@gmail.com>
92c3af3c 95006
edf66db1 95007 * elf/elf.h: Add new ARM TLS relocs.
92c3af3c 95008
edf66db1 950092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
92c3af3c 95010
edf66db1
SP
95011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
95012 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
95013 cast from r3.
95014 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
95015 'tests' variable.
95016 * sysdeps/wordsize-64/tst-writev.c: New file.
92c3af3c 95017
edf66db1 950182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
92c3af3c 95019
edf66db1
SP
95020 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
95021 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
95022 insns in _dl_start to prevent a TOC reference before relocs are
95023 resolved.
92c3af3c 95024
edf66db1 950252011-02-15 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95026
edf66db1
SP
95027 [BZ #12469]
95028 * Makeconfig: Remove RANLIB definition.
95029 * Makerules: Don't use RANLIB.
95030 * aclocal.m4: Remove ranlib test.
95031 * configure.in: No need to check for ranlib.
95032 * elf/rtld-Rules: Don't use RANLIB.
95033
950342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
95035
95036 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
95037 protection macro.
95038 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
95039 inclusion protection macro.
95040
95041 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
95042 SIGRTMIN and SIGRTMAX and print information in that case only when
95043 SIGRTMIN is defined.
95044
950452011-02-11 Jakub Jelinek <jakub@redhat.com>
95046
95047 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
95048 arginfo fn returning -1.
95049
95050 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
95051 and thousands string is zero terminated.
95052
950532011-02-03 Andreas Schwab <schwab@redhat.com>
95054
95055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
95056 sysdeps/unix/sysv/linux/bits/socket.h.
95057
950582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
95059
95060 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
95061 (__CPU_COUNT): Remove old macros.
95062 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
95063 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
95064 (__CPU_ALLOC, __CPU_FREE): Add macros.
95065 (__sched_cpualloc, __sched_cpufree): Add declarations.
95066
950672011-02-05 Ulrich Drepper <drepper@gmail.com>
95068
95069 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
95070 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
95071 * nscd/aicache.c (addhstaiX): Return timeout of added value.
95072 (readdhstai): Return value of addhstaiX call.
95073 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
95074 (addgrbyX): Return value returned by cache_addgr.
95075 (readdgrbyname): Return value returned by addgrbyX.
95076 (readdgrbygid): Likewise.
95077 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
95078 (addpwbyX): Return value returned by cache_addpw.
95079 (readdpwbyname): Return value returned by addhstbyX.
95080 (readdpwbyuid): Likewise.
95081 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
95082 (addservbyX): Return value returned by cache_addserv.
95083 (readdservbyname): Return value returned by addservbyX:
95084 (readdservbyport): Likewise.
95085 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
95086 (addhstbyX): Return value returned by cache_addhst.
95087 (readdhstbyname): Return value returned by addhstbyX.
95088 (readdhstbyaddr): Likewise.
95089 (readdhstbynamev6): Likewise.
95090 (readdhstbyaddrv6): Likewise.
95091 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
95092 (readdinitgroups): Return value returned by addinitgroupsX.
95093 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
95094 (prune_cache): Keep track of timeout value of re-added entries.
95095 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
95096 * nscd/nscd.h: Adjust prototypes of readd* functions.
95097
950982011-02-04 Roland McGrath <roland@redhat.com>
95099
95100 * nis/nis_server.c (nis_servstate): Use the right name for 0.
95101 (nis_stats): Likewise.
95102 * nis/nis_modify.c (nis_modify): Likewise.
95103 * nis/nis_remove.c (nis_remove): Likewise.
95104 * nis/nis_add.c (nis_add): Likewise.
95105
95106 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
95107
95108 * posix/fnmatch_loop.c: Add some consts.
95109
95110 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
95111
951122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
95113
95114 [BZ #12460]
95115 * config.make.in (config-cflags-novzeroupper): Define.
95116 * configure.in: Substitute libc_cv_cc_novzeroupper.
95117 * elf/Makefile (AVX-CFLAGS): Define.
95118 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
95119 (CFLAGS-tst-auditmod4a.c): Likewise.
95120 (CFLAGS-tst-auditmod4b.c): Likewise.
95121 (CFLAGS-tst-auditmod6b.c): Likewise.
95122 (CFLAGS-tst-auditmod6c.c): Likewise.
95123 (CFLAGS-tst-auditmod7b.c): Likewise.
95124 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
92c3af3c 95125
edf66db1 951262011-02-02 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95127
edf66db1
SP
95128 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
95129 function to the callback.
95130 Patch partly by Jiri Olsa <jolsa@redhat.com>.
92c3af3c 95131
edf66db1 951322011-02-02 Andreas Schwab <schwab@redhat.com>
92c3af3c 95133
edf66db1
SP
95134 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
95135 of errno.
92c3af3c 95136
edf66db1 951372011-01-19 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95138
edf66db1
SP
95139 [BZ #11724]
95140 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
95141 of constructors.
95142 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
95143 of destructors.
95144 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
92c3af3c 95145
edf66db1
SP
95146 [BZ #11724]
95147 * elf/Makefile: Add rules to build and run new test.
95148 * elf/tst-initorder.c: New file.
95149 * elf/tst-initorder.exp: New file.
95150 * elf/tst-initordera1.c: New file.
95151 * elf/tst-initordera2.c: New file.
95152 * elf/tst-initordera3.c: New file.
95153 * elf/tst-initordera4.c: New file.
95154 * elf/tst-initorderb1.c: New file.
95155 * elf/tst-initorderb2.c: New file.
95156 * elf/tst-order-a1.c: New file.
95157 * elf/tst-order-a2.c: New file.
95158 * elf/tst-order-a3.c: New file.
95159 * elf/tst-order-a4.c: New file.
95160 * elf/tst-order-b1.c: New file.
95161 * elf/tst-order-b2.c: New file.
95162 * elf/tst-order-main.c: New file.
95163 New test case by George Gensure <werkt0@gmail.com>.
92c3af3c 95164
edf66db1 951652010-10-01 Andreas Schwab <schwab@redhat.com>
92c3af3c 95166
edf66db1
SP
95167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
95168 decoding ACE if AI_CANONIDN.
92c3af3c 95169
edf66db1 951702011-01-18 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95171
edf66db1 95172 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
92c3af3c 95173
edf66db1 951742011-01-17 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95175
edf66db1
SP
95176 * version.h (RELEASE): Bump for 2.13 release.
95177 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
92c3af3c 95178
edf66db1 95179 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
92c3af3c 95180
edf66db1
SP
95181 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
95182 MADV_NOHUGEPAGE.
95183 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
95184 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95185 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95186 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95188 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92c3af3c 95189
edf66db1
SP
95190 * posix/getconf.c: Update copyright year.
95191 * catgets/gencat.c: Likewise.
95192 * csu/version.c: Likewise.
95193 * debug/catchsegv.sh: Likewise.
95194 * debug/xtrace.sh: Likewise.
95195 * elf/ldconfig.c: Likewise.
95196 * elf/ldd.bash.in: Likewise.
95197 * elf/sprof.c (print_version): Likewise.
95198 * iconv/iconv_prog.c: Likewise.
95199 * iconv/iconvconfig.c: Likewise.
95200 * locale/programs/locale.c: Likewise.
95201 * locale/programs/localedef.c: Likewise.
95202 * malloc/memusage.sh: Likewise.
95203 * malloc/mtrace.pl: Likewise.
95204 * nscd/nscd.c (print_version): Likewise.
95205 * nss/getent.c: Likewise.
92c3af3c 95206
edf66db1
SP
95207 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95208 PF_CAIF, and PF_ALG.
95209 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92c3af3c 95210
edf66db1 952112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 95212
edf66db1
SP
95213 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95214 (modules-names): Use them.
95215 (ifunc-test-modules, ifunc-pie-tests): Define.
95216 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95217 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95218 (test-extras): Likewise.
95219 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95220 $(compile-command.c).
95221 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95222 (all-built-dso): Define.
95223 (check-textrel.out, check-execstack.out): Depend on it.
92c3af3c 95224
edf66db1 95225 * configure.in: Don't override --enable-multi-arch.
92c3af3c 95226
edf66db1 952272011-01-15 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95228
edf66db1
SP
95229 [BZ #6812]
95230 * nscd/hstcache.c (tryagain): Define.
95231 (cache_addhst): Return tryagain not notfound for temporary errors.
95232 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95233 failed.
92c3af3c 95234
edf66db1 952352011-01-14 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95236
edf66db1
SP
95237 [BZ #10563]
95238 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95239 to make the syscall.
95240 * sysdeps/unix/sysv/linux/setgroups.c: New file.
92c3af3c 95241
edf66db1
SP
95242 [BZ #12378]
95243 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95244 and fall back to matching as normal character if the string ends before
95245 the matching ']' is found. This is what POSIX requires.
95246 * posix/testfnm.c: Adjust test result.
95247 * posix/globtest.sh: Adjust test result. Add new test.
95248 * posix/tst-fnmatch.input: Likewise.
95249 * posix/tst-fnmatch2.c: Add new test.
92c3af3c 95250
edf66db1 952512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 95252
edf66db1
SP
95253 * elf/Makefile (check-execstack): Revert last change. Depend on
95254 check-execstack.h.
95255 (check-execstack.h): New target.
95256 (generated): Add check-execstack.h.
95257 * elf/check-execstack.c: Include "check-execstack.h".
95258 (main): Revert last change.
95259 (handle_file): Return zero if GNU_STACK is absent and
95260 DEFAULT_STACK_PERMS doesn't include PF_X.
92c3af3c 95261
edf66db1 952622011-01-13 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95263
edf66db1
SP
95264 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95265 in child fails because the descriptor is already closed.
95266 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95267 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92c3af3c 95269
edf66db1
SP
95270 [BZ #12397]
95271 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95272 syscall.
95273
95274 [BZ #10484]
95275 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95276 temporary buffer used to handle multi lookups locally.
95277 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95278
952792011-01-12 Ulrich Drepper <drepper@gmail.com>
95280
95281 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95282 loader is ld.so.
95283
952842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
95285
95286 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95287 alignment for SSE2.
92c3af3c 95288
edf66db1 952892011-01-12 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95290
edf66db1
SP
95291 [BZ #12394]
95292 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95293 characters. When rounding increased number of integer digits recompute
95294 number of groups.
95295 * stdio-common/tst-grouping.c: New file.
95296 * stdio-common/Makefile: Add rules to build and run tst-grouping.
92c3af3c 95297
edf66db1 952982011-01-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95299
edf66db1
SP
95300 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95301 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
92c3af3c 95302
edf66db1
SP
95303 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95304 void.
95305 * bits/select.h: Likewise.
92c3af3c 95306
edf66db1 953072011-01-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95308
edf66db1 95309 * po/ja.po: Update from translation team.
92c3af3c 95310
edf66db1 953112011-01-04 David S. Miller <davem@sunset.davemloft.net>
92c3af3c 95312
edf66db1
SP
95313 [BZ #11155]
95314 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95315 implementation just like for lxstat, fxstatat, et al.
92c3af3c 95316
edf66db1 953172010-12-27 Jim Meyering <meyering@redhat.com>
92c3af3c 95318
edf66db1
SP
95319 [BZ #12348]
95320 * posix/regexec.c (build_trtable): Return failure indication upon
95321 calloc failure. Otherwise, re_search_internal could infloop on OOM.
92c3af3c 95322
edf66db1 953232010-12-25 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95324
edf66db1
SP
95325 [BZ #12201]
95326 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95327 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95328 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92c3af3c 95330
edf66db1
SP
95331 [BZ #12207]
95332 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92c3af3c 95333
edf66db1
SP
95334 [BZ #12204]
95335 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95336 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92c3af3c 95337
edf66db1 953382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 95339
edf66db1
SP
95340 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95341 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95342 script has SORT_BY_INIT_PRIORITY.
95343 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95344 NO_CTORS_DTORS_SECTIONS is defined.
95345 * elf/soinit.c: Likewise.
95346 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95347 NO_CTORS_DTORS_SECTIONS is defined.
95348 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95349 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95350 * sysdeps/sh/init-first.c: Likewise.
95351 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92c3af3c 95352
edf66db1 953532010-12-24 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95354
edf66db1
SP
95355 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95356 always use the slow path.
92c3af3c 95357
edf66db1 953582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
92c3af3c 95359
edf66db1
SP
95360 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95361 similar rule which adds the sysdep directories to the header search in
95362 order to pick up the correct platform stackinfo.h.
95363 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95364 perform test if it is, otherwise return successfully without testing.
95365 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95366 DEFAULT_STACK_PERMS define in stackinfo.h.
95367 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95368 defined in stackinfo.h.
95369 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95370 DEFAULT_STACK_PERMS defined in stackinfo.h.
95371 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95372 * sysdeps/ia64/stackinfo.h: Likewise.
95373 * sysdeps/s390/stackinfo.h: Likewise.
95374 * sysdeps/sh/stackinfo.h: Likewise.
95375 * sysdeps/sparc/stackinfo.h: Likewise.
95376 * sysdeps/x86_64/stackinfo.h: Likewise.
95377 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95378 PF_X for powerpc64. Retain PF_X for powerpc32.
92c3af3c 95379
edf66db1 953802010-12-19 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95381
edf66db1
SP
95382 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95383 accurately.
95384 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95385 GETDENTS_64BIT_ALIGNED.
92c3af3c 95386
edf66db1 953872010-12-14 Ulrich Drepper <dreper@gmail.com>
92c3af3c 95388
edf66db1 95389 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92c3af3c 95390
edf66db1 953912010-12-10 Andreas Schwab <schwab@redhat.com>
92c3af3c 95392
edf66db1
SP
95393 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95394 _GNU_SOURCE.
92c3af3c 95395
edf66db1
SP
95396 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95397 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95398 Remove __restrict.
95399 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95400 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92c3af3c 95401
edf66db1 954022010-12-09 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95403
edf66db1
SP
95404 [BZ #11655]
95405 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95406 are initialized.
92c3af3c 95407
edf66db1 954082010-12-09 Jakub Jelinek <jakub@redhat.com>
92c3af3c 95409
edf66db1 95410 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92c3af3c 95411
edf66db1 954122010-12-03 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95413
edf66db1 95414 * po/it.po: Update from translation team.
92c3af3c 95415
edf66db1 954162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 95417
edf66db1
SP
95418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95419 unused codes.
92c3af3c 95420
edf66db1 954212010-11-30 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95422
edf66db1 95423 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92c3af3c 95424
edf66db1 954252010-11-24 Andreas Schwab <schwab@redhat.com>
92c3af3c 95426
edf66db1
SP
95427 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95428 specially.
95429 (gaih_getanswer_slice): Likewise.
92c3af3c 95430
edf66db1 954312010-10-20 Jakub Jelinek <jakub@redhat.com>
92c3af3c 95432
edf66db1 95433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92c3af3c 95434
edf66db1 954352010-05-31 Petr Baudis <pasky@suse.cz>
92c3af3c 95436
edf66db1
SP
95437 [BZ #11149]
95438 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95439 silently even in the chroot mode.
92c3af3c 95440
edf66db1 954412010-11-22 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95442
edf66db1
SP
95443 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95444 last patch a bit. Pretty printing
92c3af3c 95445
edf66db1 954462010-05-31 Petr Baudis <pasky@suse.cz>
92c3af3c 95447
edf66db1
SP
95448 [BZ #10085]
95449 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95450 initialization of skip_initgroups_dyn.
92c3af3c 95451
edf66db1 954522010-11-19 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95453
edf66db1
SP
95454 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95455 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92c3af3c 95456
edf66db1 954572010-11-16 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95458
edf66db1 95459 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
92c3af3c 95460
edf66db1 954612010-11-11 Andreas Schwab <schwab@redhat.com>
92c3af3c 95462
edf66db1
SP
95463 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95464 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95465 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95466 ($(objpfx)tst-fnmatch-mem): New rule.
95467 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95468 * posix/tst-fnmatch.c (main): Call mtrace.
92c3af3c 95469
edf66db1 954702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 95471
edf66db1
SP
95472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95473 Support Intel processor model 6 and model 0x2c.
92c3af3c 95474
edf66db1 954752010-11-10 Luis Machado <luisgpm@br.ibm.com>
92c3af3c 95476
edf66db1
SP
95477 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95478 signed comparison.
92c3af3c 95479
edf66db1 954802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 95481
edf66db1
SP
95482 [BZ #12205]
95483 * string/test-strncasecmp.c (check_result): New function.
95484 (do_one_test): Use it.
95485 (check1): New function.
95486 (test_main): Use it.
95487 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95488 Support strcasecmp and strncasecmp.
92c3af3c 95489
edf66db1 954902010-11-08 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95491
edf66db1
SP
95492 [BZ #12194]
95493 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95494 * sysdeps/x86_64/bits/byteswap.h: Likewise.
92c3af3c 95495
edf66db1 954962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 95497
edf66db1
SP
95498 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95499 IFUNC support.
95500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95501 memset-x86-64.
95502 * sysdeps/x86_64/multiarch/bzero.S: New file.
95503 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95504 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95505 * sysdeps/x86_64/multiarch/memset.S: New file.
95506 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95508 Set bit_Prefer_SSE_for_memop for Intel processors.
95509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95510 Define.
95511 (index_Prefer_SSE_for_memop): Define.
95512 (HAS_PREFER_SSE_FOR_MEMOP): Define.
92c3af3c 95513
edf66db1 955142010-11-04 Luis Machado <luisgpm@br.ibm.com>
92c3af3c 95515
edf66db1
SP
95516 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95517 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
92c3af3c 95518
edf66db1 955192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 95520
edf66db1
SP
95521 [BZ #12191]
95522 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95523 (__x86_64_raw_data_cache_size_half): Likewise.
95524 (__x86_64_raw_shared_cache_size): Likewise.
95525 (__x86_64_raw_shared_cache_size_half): Likewise.
92c3af3c 95526
edf66db1
SP
95527 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95528 (__x86_64_raw_data_cache_size_half): Likewise.
95529 (__x86_64_raw_shared_cache_size): Likewise.
95530 (__x86_64_raw_shared_cache_size_half): Likewise.
95531 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95532 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95533 and __x86_64_raw_shared_cache_size_half. Round
95534 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95535 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95536 to multiple of 256 bytes.
92c3af3c 95537
edf66db1 955382010-11-03 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95539
edf66db1
SP
95540 [BZ #12167]
95541 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95542 of inacessible symlinks. Verify result of symlink before returning it.
95543 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95544 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
92c3af3c 95545
edf66db1 955462010-10-28 Erich Ritz <erichritz@gmail.com>
92c3af3c 95547
edf66db1 95548 * math/math.h (isinf): Fix typo in comment.
92c3af3c 95549
edf66db1 955502010-11-01 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95551
edf66db1 95552 * po/da.po: Update from translation team.
92c3af3c 95553
edf66db1
SP
955542010-10-26 Ulrich Drepper <drepper@gmail.com>
95555
95556 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95557 is added to the list.
95558
955592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95560 Ulrich Drepper <drepper@gmail.com>
95561
95562 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95563 the global list here. Move code to...
95564 (_dl_add_to_namespace_list): ...here. New function.
95565 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95566 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95567 * elf/dl-load.c (lose): Don't remove the element from the list.
95568 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95569 (_dl_map_object): Likewise.
95570
955712010-10-25 Ulrich Drepper <drepper@gmail.com>
95572
95573 [BZ #12159]
95574 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95575 into all bytes of SSE register.
95576 Patch by Richard Li <richardpku@gmail.com>.
95577
955782010-10-24 Ulrich Drepper <drepper@gmail.com>
92c3af3c 95579
edf66db1
SP
95580 [BZ #12140]
95581 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95582 perturbing.
95583
955842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95585
95586 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95587 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95588 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95589 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95591 submachine.
95592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95593
955942010-10-22 Andreas Schwab <schwab@redhat.com>
95595
95596 * include/dlfcn.h (__RTLD_SECURE): Define.
95597 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95598 mode & __RTLD_SECURE instead.
95599 (open_path): Rename preloaded parameter to secure.
95600 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95601 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95602 * elf/dl-deps.c (openaux): Likewise.
95603 * elf/rtld.c (struct map_args): Remove is_preloaded.
95604 (map_doit): Don't use it.
95605 (dl_main): Likewise.
95606 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95607 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95608
956092010-09-09 Andreas Schwab <schwab@redhat.com>
95610
95611 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95612 (sysd-rules-targets): Remove duplicates.
95613 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95614 rtld-%.$o dependency.
95615
956162010-10-18 Andreas Schwab <schwab@redhat.com>
95617
95618 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95619 _dl_map_object do it.
95620
956212010-10-19 Ulrich Drepper <drepper@gmail.com>
95622
95623 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95624 fast fma builtins, define the macros in the C99 standard.
95625 (FP_FAST_FMAF): Likewise.
95626 (FP_FAST_FMAL): Likewise.
95627 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95628
95629 * bits/mathdef.h: Update copyright year.
95630 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95631
956322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95633
95634 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95635 builtins, define the macros in the C99 standard.
95636 (FP_FAST_FMAF): Likewise.
95637 (FP_FAST_FMAL): Likewise.
95638 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95639 multiply/add.
95640 (FP_FAST_FMAF): Likewise.
95641
956422010-10-15 Jakub Jelinek <jakub@redhat.com>
95643
95644 [BZ #3268]
95645 * math/libm-test.inc (fma_test): Some new testcases.
95646 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95647 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95648 y and infinite z. Do multiplication by C already in long double.
95649 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95651 y and infinite z. Do bitwise or of inexact bit into u.d.
95652 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95653 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95654 * sysdeps/i386/fpu/s_fma.S: Removed.
95655 * sysdeps/i386/fpu/s_fmal.S: Removed.
95656
956572010-10-16 Jakub Jelinek <jakub@redhat.com>
95658
95659 [BZ #3268]
95660 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95662 computation is not scheduled after fetestexcept. Fix value
95663 of minimum denormal long double.
95664
956652010-10-14 Jakub Jelinek <jakub@redhat.com>
95666
95667 [BZ #3268]
95668 * math/libm-test.inc (fma_test): Add some more tests.
95669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95670 correctly.
95671
956722010-10-15 Andreas Schwab <schwab@redhat.com>
95673
95674 * scripts/data/localplt-s390-linux-gnu.data: New file.
95675 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95676
956772010-10-13 Jakub Jelinek <jakub@redhat.com>
95678
95679 [BZ #3268]
95680 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95681 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95682 instead of dbl-64.
95683 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95684 inlines.
95685 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95687 if one of x and y is very large and the other is subnormal.
95688 * sysdeps/s390/fpu/s_fmaf.c: New file.
95689 * sysdeps/s390/fpu/s_fma.c: New file.
95690 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95691 * sysdeps/powerpc/fpu/s_fma.S: New file.
95692 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95693 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95694 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95695
956962010-10-12 Jakub Jelinek <jakub@redhat.com>
95697
95698 [BZ #3268]
95699 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95700 fma tests.
95701 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95702 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95703 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95704 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95705 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95706 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95707 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95708
957092010-10-12 Ulrich Drepper <drepper@redhat.com>
95710
95711 [BZ #12078]
95712 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95713 * posix/bug-regex31.input: Add test case.
95714
957152010-10-11 Ulrich Drepper <drepper@gmail.com>
95716
95717 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95718 * posix/bug-regex31.input: New file.
95719
95720 [BZ #12078]
95721 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95722 (parse_sub_exp): Fix last change, use postorder.
95723
95724 * posix/bug-regex31.c: New file.
95725 * posix/Makefile: Add rules to build and run bug-regex31.
95726
95727 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95728
95729 [BZ #12078]
95730 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95731
95732 [BZ #12108]
95733 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95734 to have entries in sys_siglist.
95735
95736 [BZ #12093]
95737 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95738 be NULL.
95739
957402010-10-07 Jakub Jelinek <jakub@redhat.com>
95741
95742 [BZ #3268]
95743 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95744 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95745 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95746 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95747 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95748 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95749 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95750 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95751 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95752 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95753 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95754 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95755 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95756 * math/ftestexcept.c (fetestexcept): Likewise.
95757 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95758 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95759 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95760 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95761 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95762 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95763 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95764
957652010-10-11 Ulrich Drepper <drepper@gmail.com>
95766
95767 [BZ #12107]
95768 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95769 newline.
95770
957712010-10-06 Ulrich Drepper <drepper@gmail.com>
95772
95773 * string/bug-strstr1.c: New file.
95774 * string/Makefile: Add rules to build and run bug-strstr1.
95775
957762010-10-05 Eric Blake <eblake@redhat.com>
95777
95778 [BZ #12092]
95779 * string/str-two-way.h (two_way_long_needle): Always clear memory
95780 when skipping input due to the shift table.
95781
957822010-10-03 Ulrich Drepper <drepper@gmail.com>
95783
95784 [BZ #12005]
95785 * malloc/mcheck.c: Handle large requests.
95786
95787 [BZ #12077]
95788 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95789 for strncmp and strncasecmp.
95790 * string/stratcliff.c: Add tests for strcmp and strncmp.
95791 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92c3af3c 95792
edf66db1 957932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
92c3af3c 95794
edf66db1
SP
95795 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95796 __set_fpscr.
92c3af3c 95797
edf66db1 957982010-09-30 Andreas Jaeger <aj@suse.de>
92c3af3c 95799
edf66db1
SP
95800 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95801 (CGROUP_SUPER_MAGIC): Define.
95802 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95803 Handle btrfs and cgroup file systems.
95804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95805 Likewise.
92c3af3c 95806
edf66db1 958072010-09-27 Luis Machado <luisgpm@br.ibm.com>
92c3af3c 95808
edf66db1
SP
95809 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95810 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92c3af3c 95811
edf66db1 958122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92c3af3c 95813
edf66db1
SP
95814 [BZ #12067]
95815 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95816 trying to locate the ELF header.
92c3af3c 95817
edf66db1 958182010-09-27 Andreas Schwab <schwab@redhat.com>
92c3af3c 95819
edf66db1
SP
95820 [BZ #11611]
95821 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95822 Mask out sign-bit copies when constructing f_fsid.
92c3af3c 95823
edf66db1 958242010-09-24 Petr Baudis <pasky@suse.cz>
92c3af3c 95825
edf66db1
SP
95826 * debug/stack_chk_fail_local.c: Add missing licence exception.
95827 * debug/warning-nop.c: Likewise.
92c3af3c 95828
edf66db1 958292010-09-15 Joseph Myers <joseph@codesourcery.com>
92c3af3c 95830
edf66db1
SP
95831 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95832 implementing getdents64 using getdents syscall, set d_type if
95833 __ASSUME_GETDENTS32_D_TYPE.
92c3af3c 95834
edf66db1 958352010-09-16 Andreas Schwab <schwab@redhat.com>
92c3af3c 95836
edf66db1
SP
95837 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95838 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92c3af3c 95839
edf66db1 958402010-09-21 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95841
edf66db1
SP
95842 [BZ #12037]
95843 * posix/unistd.h: Undo change of feature selection for ftruncate from
95844 2010-01-11.
92c3af3c 95845
edf66db1 958462010-09-20 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95847
edf66db1
SP
95848 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95849 detection.
92c3af3c 95850
edf66db1 958512010-09-20 Andreas Schwab <schwab@redhat.com>
92c3af3c 95852
edf66db1
SP
95853 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95854 fanotify_mark.
95855 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92c3af3c 95856
edf66db1 958572010-09-14 Andreas Schwab <schwab@redhat.com>
92c3af3c 95858
edf66db1
SP
95859 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95860 variables after CHECK_SP call.
95861 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92c3af3c 95862
edf66db1
SP
958632010-09-13 Andreas Schwab <schwab@redhat.com>
95864 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95865
edf66db1
SP
95866 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95867 re-relocationg ld.so.
95868 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95869 _dl_init_paths call.
95870 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95871 here anymore.
92c3af3c 95872
edf66db1 958732010-09-14 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95874
edf66db1 95875 * resolv/res_init.c (__res_vinit): Count the default server we added.
92c3af3c 95876
edf66db1
SP
958772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95878 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95879
edf66db1
SP
95880 [BZ #11968]
95881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95882 (____longjmp_chk): Use %ebx for saving value across system call.
95883 Add unwind info.
92c3af3c 95884
edf66db1 958852010-09-06 Andreas Schwab <schwab@redhat.com>
92c3af3c 95886
edf66db1 95887 * manual/Makefile: Don't mix pattern rules with normal rules.
92c3af3c 95888
edf66db1 958892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 95890
edf66db1
SP
95891 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95892 operation.
95893 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95894 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95895 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95896 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95897 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95898 Likewise.
92c3af3c 95899
edf66db1 959002010-09-04 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95901
edf66db1
SP
95902 [BZ #11979]
95903 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95904 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92c3af3c 95905
edf66db1 959062010-09-02 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95907
edf66db1
SP
95908 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95909 * sysdeps/x86_64/addmul_1.S: Likewise.
95910 * sysdeps/x86_64/lshift.S: Likewise.
95911 * sysdeps/x86_64/mul_1.S: Likewise.
95912 * sysdeps/x86_64/rshift.S: Likewise.
95913 * sysdeps/x86_64/sub_n.S: Likewise.
95914 * sysdeps/x86_64/submul_1.S: Likewise.
92c3af3c 95915
edf66db1 959162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
92c3af3c 95917
edf66db1
SP
95918 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95919 Define __sched_param instead of SCHED_* and sched_param when
95920 <bits/sched.h> is included with __need_schedparam defined.
95921 * bits/sched.h [__need_schedparam]
95922 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95923 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95924 (__defined_schedparam): Define to 1.
95925 (__sched_param): New structure, identical to sched_param.
95926 (__need_schedparam): Undefine.
92c3af3c 95927
edf66db1 959282010-08-31 Mike Frysinger <vapier@gentoo.org>
92c3af3c 95929
edf66db1
SP
95930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95931 (epoll_create1): Declare.
92c3af3c 95932
edf66db1 95933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92c3af3c 95934
edf66db1 959352010-08-31 Andreas Schwab <schwab@redhat.com>
92c3af3c 95936
edf66db1
SP
95937 [BZ #7066]
95938 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95939 shifting retval into place.
92c3af3c 95940
edf66db1 959412010-09-01 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95942
edf66db1
SP
95943 * nis/rpcsvc/nis.h: Update copyright notice.
95944 * nis/rpcsvc/nis.x: Likewise.
95945 * nis/rpcsvc/nis_callback.h: Likewise.
95946 * nis/rpcsvc/nis_callback.x: Likewise.
95947 * nis/rpcsvc/nis_object.x: Likewise.
95948 * nis/rpcsvc/nis_tags.h: Likewise.
95949 * nis/rpcsvc/yp.h: Likewise.
95950 * nis/rpcsvc/yp.x: Likewise.
95951 * nis/rpcsvc/ypupd.h: Likewise.
95952 * nis/yp_xdr.c: Likewise.
95953 * nis/ypupdate_xdr.c: Likewise.
92c3af3c 95954
edf66db1
SP
95955 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95956 mainly the body of pmap_getport. Add parameters to specify timeouts.
95957 (pmap_getport): Use __libc_rpc_getport.
95958 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95959 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95960 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92c3af3c 95961
edf66db1 959622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 95963
edf66db1
SP
95964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95965 fanotify_mark.
92c3af3c 95966
edf66db1 959672010-08-27 Roland McGrath <roland@redhat.com>
92c3af3c 95968
edf66db1
SP
95969 * sysdeps/i386/i686/multiarch/Makefile
95970 (CFLAGS-varshift.c): New variable.
92c3af3c 95971
edf66db1 959722010-08-27 Ulrich Drepper <drepper@redhat.com>
92c3af3c 95973
edf66db1
SP
95974 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95975 * sysdeps/i386/i686/multiarch/varshift.c: New file.
92c3af3c 95976
edf66db1 95977 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92c3af3c 95978
edf66db1 95979 * sysdeps/x86_64/strlen.S: Minimal code improvement.
92c3af3c 95980
edf66db1 959812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 95982
edf66db1
SP
95983 * sysdeps/x86_64/strlen.S: Unroll the loop.
95984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95985 strlen-sse2 strlen-sse2-bsf.
95986 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95987 __strlen_no_bsf if bit_Slow_BSF is set.
95988 (__strlen_sse42): Removed.
95989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95990 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92c3af3c 95991
edf66db1 959922010-08-25 Roland McGrath <roland@redhat.com>
92c3af3c 95993
edf66db1
SP
95994 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95995 * sysdeps/x86_64/multiarch/varshift.c: New file.
95996 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95997 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95998 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95999 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92c3af3c 96000
edf66db1 960012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 96002
edf66db1
SP
96003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96004 strlen-sse2 strlen-sse2-bsf.
96005 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
96006 __strlen_sse2_bsf if bit_Slow_BSF is unset.
96007 (__strlen_sse2): Removed.
96008 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
96009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
96010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
96011 bit_Slow_BSF for Atom.
96012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
96013 (index_Slow_BSF): Define.
96014 (HAS_SLOW_BSF): Define.
96015
960162010-08-25 Ulrich Drepper <drepper@redhat.com>
96017
96018 [BZ #10851]
96019 * resolv/res_init.c (__res_vinit): When no server address at all
96020 is given default to loopback.
96021
960222010-08-24 Roland McGrath <roland@redhat.com>
96023
96024 * configure.in: Remove config-name.h generation.
96025 * configure: Regenerated.
96026 * config-name.in: File removed.
96027 * scripts/config-uname.sh: New file.
96028 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
96029 ($(objdir)config-name.h): New target.
92c3af3c 96030
edf66db1 96031 * sunrpc/rpc_parse.h: Avoid nested comment.
92c3af3c 96032
edf66db1
SP
960332010-08-24 Richard Henderson <rth@redhat.com>
96034 Ulrich Drepper <drepper@redhat.com>
96035 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 96036
edf66db1
SP
96037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
96038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
96039 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
96040 Replace _mm_srli_si128 with __m128i_shift_right. Replace
96041 _mm_alignr_epi8 with _mm_loadu_si128.
96042 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
96043 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
96044 (__m128i_shift_right): Removed.
96045 * sysdeps/i386/i686/multiarch/varshift.h: New file.
96046 * sysdeps/i386/i686/multiarch/varshift.S: New file.
96047 * sysdeps/x86_64/multiarch/varshift.h: New file.
96048 * sysdeps/x86_64/multiarch/varshift.S: New file.
92c3af3c 96049
edf66db1 960502010-08-21 Mike Frysinger <vapier@gentoo.org>
92c3af3c 96051
edf66db1 96052 * configure.in: Move assembler checks to before sysdep dir checking.
92c3af3c 96053
edf66db1 960542010-08-20 Petr Baudis <pasky@suse.cz>
92c3af3c 96055
edf66db1 96056 * LICENSES: Sync the sunrpc license.
92c3af3c 96057
edf66db1 960582010-08-19 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96059
edf66db1
SP
96060 * sunrpc/auth_des.c: Update copyright notice once again.
96061 * sunrpc/auth_none.c: Likewise.
96062 * sunrpc/auth_unix.c: Likewise.
96063 * sunrpc/authdes_prot.c: Likewise.
96064 * sunrpc/authuxprot.c: Likewise.
96065 * sunrpc/bindrsvprt.c: Likewise.
96066 * sunrpc/clnt_gen.c: Likewise.
96067 * sunrpc/clnt_perr.c: Likewise.
96068 * sunrpc/clnt_raw.c: Likewise.
96069 * sunrpc/clnt_simp.c: Likewise.
96070 * sunrpc/clnt_tcp.c: Likewise.
96071 * sunrpc/clnt_udp.c: Likewise.
96072 * sunrpc/clnt_unix.c: Likewise.
96073 * sunrpc/des_crypt.c: Likewise.
96074 * sunrpc/des_soft.c: Likewise.
96075 * sunrpc/get_myaddr.c: Likewise.
96076 * sunrpc/getrpcport.c: Likewise.
96077 * sunrpc/key_call.c: Likewise.
96078 * sunrpc/key_prot.c: Likewise.
96079 * sunrpc/openchild.c: Likewise.
96080 * sunrpc/pm_getmaps.c: Likewise.
96081 * sunrpc/pm_getport.c: Likewise.
96082 * sunrpc/pmap_clnt.c: Likewise.
96083 * sunrpc/pmap_prot.c: Likewise.
96084 * sunrpc/pmap_prot2.c: Likewise.
96085 * sunrpc/pmap_rmt.c: Likewise.
96086 * sunrpc/rpc/auth.h: Likewise.
96087 * sunrpc/rpc/auth_unix.h: Likewise.
96088 * sunrpc/rpc/clnt.h: Likewise.
96089 * sunrpc/rpc/des_crypt.h: Likewise.
96090 * sunrpc/rpc/key_prot.h: Likewise.
96091 * sunrpc/rpc/netdb.h: Likewise.
96092 * sunrpc/rpc/pmap_clnt.h: Likewise.
96093 * sunrpc/rpc/pmap_prot.h: Likewise.
96094 * sunrpc/rpc/pmap_rmt.h: Likewise.
96095 * sunrpc/rpc/rpc.h: Likewise.
96096 * sunrpc/rpc/rpc_des.h: Likewise.
96097 * sunrpc/rpc/rpc_msg.h: Likewise.
96098 * sunrpc/rpc/svc.h: Likewise.
96099 * sunrpc/rpc/svc_auth.h: Likewise.
96100 * sunrpc/rpc/types.h: Likewise.
96101 * sunrpc/rpc/xdr.h: Likewise.
96102 * sunrpc/rpc_clntout.c: Likewise.
96103 * sunrpc/rpc_cmsg.c: Likewise.
96104 * sunrpc/rpc_common.c: Likewise.
96105 * sunrpc/rpc_cout.c: Likewise.
96106 * sunrpc/rpc_dtable.c: Likewise.
96107 * sunrpc/rpc_hout.c: Likewise.
96108 * sunrpc/rpc_main.c: Likewise.
96109 * sunrpc/rpc_parse.c: Likewise.
96110 * sunrpc/rpc_parse.h: Likewise.
96111 * sunrpc/rpc_prot.c: Likewise.
96112 * sunrpc/rpc_sample.c: Likewise.
96113 * sunrpc/rpc_scan.c: Likewise.
96114 * sunrpc/rpc_scan.h: Likewise.
96115 * sunrpc/rpc_svcout.c: Likewise.
96116 * sunrpc/rpc_tblout.c: Likewise.
96117 * sunrpc/rpc_util.c: Likewise.
96118 * sunrpc/rpc_util.h: Likewise.
96119 * sunrpc/rpcinfo.c: Likewise.
96120 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
96121 * sunrpc/rpcsvc/key_prot.x: Likewise.
96122 * sunrpc/rpcsvc/klm_prot.x: Likewise.
96123 * sunrpc/rpcsvc/mount.x: Likewise.
96124 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
96125 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
96126 * sunrpc/rpcsvc/rex.x: Likewise.
96127 * sunrpc/rpcsvc/rstat.x: Likewise.
96128 * sunrpc/rpcsvc/rusers.x: Likewise.
96129 * sunrpc/rpcsvc/sm_inter.x: Likewise.
96130 * sunrpc/rpcsvc/spray.x: Likewise.
96131 * sunrpc/rpcsvc/yppasswd.x: Likewise.
96132 * sunrpc/rtime.c: Likewise.
96133 * sunrpc/svc.c: Likewise.
96134 * sunrpc/svc_auth.c: Likewise.
96135 * sunrpc/svc_authux.c: Likewise.
96136 * sunrpc/svc_raw.c: Likewise.
96137 * sunrpc/svc_run.c: Likewise.
96138 * sunrpc/svc_simple.c: Likewise.
96139 * sunrpc/svc_tcp.c: Likewise.
96140 * sunrpc/svc_udp.c: Likewise.
96141 * sunrpc/svc_unix.c: Likewise.
96142 * sunrpc/svcauth_des.c: Likewise.
96143 * sunrpc/xcrypt.c: Likewise.
96144 * sunrpc/xdr.c: Likewise.
96145 * sunrpc/xdr_array.c: Likewise.
96146 * sunrpc/xdr_float.c: Likewise.
96147 * sunrpc/xdr_mem.c: Likewise.
96148 * sunrpc/xdr_rec.c: Likewise.
96149 * sunrpc/xdr_ref.c: Likewise.
96150 * sunrpc/xdr_sizeof.c: Likewise.
96151 * sunrpc/xdr_stdio.c: Likewise.
92c3af3c 96152
edf66db1
SP
96153 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
96154 handling.
92c3af3c 96155
edf66db1 961562010-08-19 Andreas Schwab <schwab@redhat.com>
92c3af3c 96157
edf66db1 96158 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92c3af3c 96159
edf66db1 961602010-08-19 Luis Machado <luisgpm@br.ibm.com>
92c3af3c 96161
edf66db1
SP
96162 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
96163 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
96164 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
96165 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
96166 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
96167 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
96168 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
96169 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
96170 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
96171 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
96172 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
96173 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
96174 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
96175 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92c3af3c 96176
edf66db1 961772010-07-26 Anton Blanchard <anton@samba.org>
92c3af3c 96178
edf66db1
SP
96179 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
96180 * malloc/arena.c (heap_trim): Likewise.
92c3af3c 96181
edf66db1 961822010-08-16 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96183
edf66db1
SP
96184 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96185 here. Not...
96186 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96187 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92c3af3c 96188
edf66db1 961892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 96190
edf66db1 96191 * sysdeps/i386/elf/Makefile: New file.
92c3af3c 96192
edf66db1 961932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
92c3af3c 96194
edf66db1
SP
96195 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96196 from fanotify_init.
96197 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92c3af3c 96199
edf66db1 962002010-08-15 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96201
edf66db1
SP
96202 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96203 of strncasecmp_l.
96204 * sysdeps/multiarch/strcmp.S: Likewise.
92c3af3c 96205
edf66db1 962062010-08-14 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96207
edf66db1
SP
96208 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96209 strncase_l-nonascii.
96210 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96211 Add strncase_l-ssse3.
96212 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96213 * sysdeps/x86_64/strcmp.S: Likewise.
96214 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96215 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96216 * sysdeps/x86_64/strncase.S: New file.
96217 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96218 * sysdeps/x86_64/strncase_l.S: New file.
96219 * string/Makefile (strop-tests): Add strncasecmp.
96220 * string/test-strncasecmp.c: New file.
96221
96222 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96223 warning.
92c3af3c 96224
edf66db1
SP
96225 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96226 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96227
962282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96229
96230 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96231
962322010-08-12 Ulrich Drepper <drepper@redhat.com>
96233
96234 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96235 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96236 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96237
962382010-05-01 Alan Modra <amodra@gmail.com>
96239
96240 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96241 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96242 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96243 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96244 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96245 tidying. Don't tail-call __sigjmp_save for static lib.
96246 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96247 save location.
96248 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96249 (CALL_MCOUNT): Add eh info, and nop after bl.
96250 (TAIL_CALL_SYSCALL_ERROR): New macro.
96251 (PSEUDO_RET): Use it.
96252 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96253 Correct save location of integer regs and cr.
96254 (_dl_profile_resolve): Correct cr save location. Delete nops
96255 after bl when SHARED. Reduce cfi size a little by better
96256 placement of cfi directives.
96257 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96258 make a stack frame. Instead use parm save area as a temp.
96259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96260 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
96261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96262 Don't make a stack frame for parent, use parm save area.
96263 Increase child stack frame to 112 bytes. Don't save unused reg,
96264 and adjust reg usage. Set up cfi on error recovery and
96265 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96267 (__makecontext): Add dummy nop after jump to exit.
96268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96269 Use correct parm save area and cr save, reduce stack frame.
96270 Correct cfi for possible PSEUDO_RET frame setup.
96271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96272 Branch to local label emitted by PSEUDO_RET rather than
96273 __syscall_error.
96274
962752010-08-12 Andreas Schwab <schwab@redhat.com>
96276
96277 [BZ #11904]
96278 * locale/programs/locale.c (print_assignment): New function.
96279 (show_locale_vars): Use it.
96280
962812010-08-11 Ulrich Drepper <drepper@redhat.com>
96282
96283 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96284 field.
96285 (struct statfs64): Likewise.
96286 (_STATFS_F_FLAGS): Define.
96287 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96288 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96289 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96290 (ST_VALID): Define locally.
96291 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96292 __statvfs_getflags, use the provided value.
96293 * sysdeps/unix/sysv/linux/kernel-features.h: Define
96294 __ASSUME_STATFS_F_FLAGS.
92c3af3c 96295
edf66db1 96296 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
92c3af3c 96297
edf66db1
SP
96298 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96299 Add sys/fanotify.h.
96300 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96301 fanotify_mask for GLIBC_2.13.
96302 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96303 fanotify_init and fanotify_mark.
96304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96305 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96306
96307 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96308 Add prlimit.
96309 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96310 prlimit64 for GLIBC_2.13.
96311 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96312 prlimit64.
96313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96314 syscall.
96315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96316 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96317 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96318 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
96320 add prlimit alias.
96321 * sysdeps/unix/sysv/linux/prlimit.c: New file.
96322
96323 [BZ #11903]
96324 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96325 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96326
96327 * nss/Makefile: Add rules to build and run tst-nss-test1.
96328 * shlib-versions: Add entry for libnss_test1.
96329 * nss/nss_test1.c: New file.
96330 * nss/tst-nss-test1.c: New file.
96331
96332 * nss/nsswitch.c (__nss_database_custom): Define new variable.
96333 (__nss_configure_lookup): Set appropriate entry in
96334 __nss_configure_lookup to true.
96335 * nss/nsswitch.h: Define enum with indeces of databases in
96336 databases and __nss_database_custom arrays. Declare
96337 __nss_database_custom.
96338 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96339 to avoid using nscd when custom rules are installed.
96340 * nss/getXXbyYY_r.c: Likewise.
96341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96342
96343 * nss/nss_files/files-parse.c: Whitespace fixes.
96344
963452010-08-09 Ulrich Drepper <drepper@redhat.com>
96346
96347 [BZ #11883]
96348 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96349 * posix/fnmatch_loop.c: Likewise.
96350
963512010-07-17 Andi Kleen <ak@linux.intel.com>
96352
96353 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96354 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96355 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96356 * Versions.def [GLIBC_2.13]: Add.
96357
963582010-08-06 Ulrich Drepper <drepper@redhat.com>
96359
96360 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96361 Also fail if tpwd after pwuid call is NULL.
96362
963632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
96364
96365 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96366 when converting to ms.
96367
963682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
96369
96370 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96371 EOPNOTSUPP errors with ENOTTY.
96372 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96373 EOPNOTSUPP errors with ENOTTY.
96374
963752010-07-31 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96376
edf66db1
SP
96377 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96378 Add strcasecmp_l-ssse3.
96379 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96380 strcasecmp.
96381 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96382 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96383 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92c3af3c 96384
edf66db1 963852010-07-30 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96386
edf66db1 96387 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92c3af3c 96388
edf66db1
SP
96389 * string/Makefile (strop-tests): Add strcasecmp.
96390 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96391 strcasecmp_l-nonascii.
96392 (gen-as-const-headers): Add locale-defines.sym.
96393 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96394 * sysdeps/x86_64/strcasecmp.S: New file.
96395 * sysdeps/x86_64/strcasecmp_l.S: New file.
96396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96397 * sysdeps/x86_64/locale-defines.sym: New file.
96398 * string/test-strcasecmp.c: New file.
92c3af3c 96399
edf66db1
SP
96400 * string/test-strcasestr.c: Test both ends of the range of characters.
96401 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92c3af3c 96402
edf66db1 964032010-07-29 Roland McGrath <roland@redhat.com>
92c3af3c 96404
edf66db1
SP
96405 [BZ #11856]
96406 * manual/locale.texi (Yes-or-No Questions): Fix example code.
92c3af3c 96407
edf66db1 964082010-07-27 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96409
edf66db1
SP
96410 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96411 for ld.so.
92c3af3c 96412
edf66db1 964132010-07-27 Andreas Schwab <schwab@redhat.com>
92c3af3c 96414
edf66db1
SP
96415 * manual/memory.texi (Malloc Tunable Parameters): Document
96416 M_PERTURB.
92c3af3c 96417
edf66db1 964182010-07-26 Roland McGrath <roland@redhat.com>
92c3af3c 96419
edf66db1
SP
96420 [BZ #11840]
96421 * configure.in (-fgnu89-inline check): Set and substitute
96422 gnu89_inline, not libc_cv_gnu89_inline.
96423 * configure: Regenerated.
96424 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92c3af3c 96425
edf66db1 964262010-07-26 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96427
edf66db1
SP
96428 * string/test-strnlen.c: New file.
96429 * string/Makefile (strop-tests): Add strnlen.
96430 * string/tester.c (test_strnlen): Add a few more test cases.
96431 * string/tst-strlen.c: Better error reporting.
92c3af3c 96432
edf66db1 96433 * sysdeps/x86_64/strnlen.S: New file.
92c3af3c 96434
edf66db1 964352010-07-24 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96436
edf66db1
SP
96437 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96438 lower-latency instructions.
92c3af3c 96439
edf66db1 964402010-07-23 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96441
edf66db1
SP
96442 * string/test-strcasestr.c: New file.
96443 * string/test-strstr.c: New file.
96444 * string/Makefile (strop-tests): Add strstr and strcasestr.
96445 * string/str-two-way.h: Don't undefine MAX.
96446 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92c3af3c 96447
edf66db1 964482010-07-21 Andreas Schwab <schwab@redhat.com>
92c3af3c 96449
edf66db1
SP
96450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96451 strcasestr-nonascii.
96452 (CFLAGS-strcasestr-nonascii.c): Define.
96453 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96454 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96455 Remove unused attribute.
96456
964572010-07-20 Roland McGrath <roland@redhat.com>
96458
96459 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96460 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96461 ld.so.cache was broken. With it, there is no way to disable dsocaps
96462 like LD_HWCAP_MASK can disable hwcaps.
96463
964642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96465
96466 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96467
964682010-07-16 Ulrich Drepper <drepper@redhat.com>
96469
96470 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96471 call in strcasestr.
96472 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96473 __strcasestr_sse42_nonascii.
96474 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96475 strcasestr-nonascii.c.
96476 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96477
964782010-06-15 Luis Machado <luisgpm@br.ibm.com>
96479
96480 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96481 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96482 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96484
964852010-07-09 Ulrich Drepper <drepper@redhat.com>
96486
96487 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96488 fcntl.
96489
964902010-07-06 Andreas Schwab <schwab@redhat.com>
96491
96492 [BZ #11577]
96493 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96494 dl_signal_cerror.
96495
964962010-07-06 Ulrich Drepper <drepper@redhat.com>
96497
96498 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96499 _PC_PIPE_BUF using F_GETPIPE_SZ.
96500
965012010-07-05 Roland McGrath <roland@redhat.com>
96502
96503 * manual/arith.texi (Rounding Functions): Fix rint description
96504 implicit in round description.
96505
965062010-07-02 Ulrich Drepper <drepper@redhat.com>
96507
96508 * elf/Makefile: Fix linking for a few tests to make recent linker
96509 happy.
96510
965112010-06-30 Andreas Schwab <schwab@redhat.com>
96512
96513 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96514 $(common-objpfx)libc_nonshared.a.
96515
965162010-06-21 Luis Machado <luisgpm@br.ibm.com>
96517
96518 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96519 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96520 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96521 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96522 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96523 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96524 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96525 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96540 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96541 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96542 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96543 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96544 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96545 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96546 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96547 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96548 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96549 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96550 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96551 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96566
965672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96568
96569 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96570 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96571 * string/memmove.c (memmove): Renamed to ...
96572 (MEMMOVE): ...this. Default to memmove.
96573 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96574 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96575 (END_CHK): Define.
96576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96577 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96578 mempcpy-ssse3-back memmove-ssse3-back.
96579 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96580 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96581 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96582 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96583 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96584 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96585 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96586 * sysdeps/x86_64/multiarch/memmove.c: New file.
96587 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96588 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96589 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96590 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96591 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96592 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96593 Define.
96594 (index_Fast_Copy_Backward): Define.
96595 (HAS_ARCH_FEATURE): Define.
96596 (HAS_FAST_REP_STRING): Define.
96597 (HAS_FAST_COPY_BACKWARD): Define.
92c3af3c 96598
edf66db1 965992010-06-21 Andreas Schwab <schwab@redhat.com>
92c3af3c 96600
edf66db1
SP
96601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96602 Restore proper fallback handling.
92c3af3c 96603
edf66db1 966042010-06-19 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96605
edf66db1
SP
96606 [BZ #11701]
96607 * posix/group_member.c (__group_member): Correct checking loop.
92c3af3c 96608
edf66db1
SP
96609 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96610 OOM in getpwuid_r correctly. Return error number when the caller
96611 should return, otherwise -1.
96612 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96613 call returning > 0 value.
96614 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92c3af3c 96615
edf66db1 966162010-06-07 Andreas Schwab <schwab@redhat.com>
92c3af3c 96617
edf66db1
SP
96618 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96619 libc_nonshared.a from targets in modules-names.
92c3af3c 96620
edf66db1 966212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
92c3af3c 96622
edf66db1
SP
96623 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96624 requires it.
92c3af3c 96625
edf66db1 966262010-06-10 Luis Machado <luisgpm@br.ibm.com>
92c3af3c 96627
edf66db1
SP
96628 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96629 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96630 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92c3af3c 96632
edf66db1 966332010-06-02 Andreas Schwab <schwab@redhat.com>
92c3af3c 96634
edf66db1 96635 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92c3af3c 96636
edf66db1 966372010-06-14 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96638
edf66db1
SP
96639 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96640 and F_GETPIPE_SZ.
96641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96645 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92c3af3c 96647
edf66db1 966482010-06-14 Roland McGrath <roland@redhat.com>
92c3af3c 96649
edf66db1 96650 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92c3af3c 96651
edf66db1 966522010-06-07 Jakub Jelinek <jakub@redhat.com>
92c3af3c 96653
edf66db1
SP
96654 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96655 __REDIRECT followed by __THROW.
96656 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96657 * posix/getopt.h (getopt): Likewise.
92c3af3c 96658
edf66db1 966592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
92c3af3c 96660
edf66db1
SP
96661 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96662 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96663 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96664 in AT_FLAGS.
96665 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96666 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92c3af3c 96667
edf66db1 966682010-05-28 Luis Machado <luisgpm@br.ibm.com>
92c3af3c 96669
edf66db1 96670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92c3af3c 96671
edf66db1 966722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
92c3af3c 96673
edf66db1
SP
96674 [BZ #11640]
96675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96676 Properly check family and model.
92c3af3c 96677
edf66db1 966782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
92c3af3c 96679
edf66db1 96680 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92c3af3c 96681
edf66db1 966822010-05-24 Luis Machado <luisgpm@br.ibm.com>
92c3af3c 96683
edf66db1 96684 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92c3af3c 96685
edf66db1 966862010-05-21 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96687
edf66db1
SP
96688 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96689 symbol reference.
92c3af3c 96690
edf66db1 966912010-05-19 Andreas Schwab <schwab@redhat.com>
92c3af3c 96692
edf66db1
SP
96693 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96694 symbol reference.
92c3af3c 96695
edf66db1 966962010-05-21 Andreas Schwab <schwab@redhat.com>
92c3af3c 96697
edf66db1
SP
96698 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96699 and internal_recvmmsg.
96700 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96701 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96702 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96703 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92c3af3c 96704
edf66db1
SP
96705 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96706 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96707 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92c3af3c 96708
edf66db1 967092010-05-20 Andreas Schwab <schwab@redhat.com>
92c3af3c 96710
edf66db1 96711 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92c3af3c 96712
edf66db1 967132010-05-17 Luis Machado <luisgpm@br.ibm.com>
92c3af3c 96714
edf66db1
SP
96715 POWER7 optimizations.
96716 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96717 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92c3af3c 96718
edf66db1 967192010-05-19 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96720
edf66db1 96721 * version.h: Update for 2.13 development version.
92c3af3c 96722
edf66db1 967232010-05-12 Andrew Stubbs <ams@codesourcery.com>
92c3af3c 96724
edf66db1
SP
96725 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96726 exceptions. Return 0.
92c3af3c 96727
edf66db1 967282010-05-07 Roland McGrath <roland@redhat.com>
92c3af3c 96729
edf66db1 96730 * elf/ldconfig.c (main): Add a const.
92c3af3c 96731
edf66db1 967322010-05-06 Ulrich Drepper <drepper@redhat.com>
92c3af3c 96733
edf66db1
SP
96734 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96735 (args_options): Add no-idn option.
96736 (ahosts_keys_int): Add idn_flags to ai_flags.
96737 (parse_option): Handle 'i' option to clear idn_flags.
92c3af3c 96738
edf66db1
SP
96739 * malloc/malloc.c (_int_free): Possible race in the most recently
96740 added check. Only act on the data if no current modification
96741 happened.
92c3af3c 96742
edf66db1 96743See ChangeLog.17 for earlier changes.